aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/embryo/configure
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:29:19 +1000
committerDavid Walter Seikel2013-01-13 17:29:19 +1000
commit07274513e984f0b5544586c74508ccd16e7dcafa (patch)
treeb32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/embryo/configure
parentAdded Irrlicht 1.8, but without all the Windows binaries. (diff)
downloadSledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz
Remove EFL, since it's been released now.
Diffstat (limited to '')
-rwxr-xr-xlibraries/embryo/configure15960
-rw-r--r--libraries/embryo/configure.ac222
2 files changed, 0 insertions, 16182 deletions
diff --git a/libraries/embryo/configure b/libraries/embryo/configure
deleted file mode 100755
index 7f04eec..0000000
--- a/libraries/embryo/configure
+++ /dev/null
@@ -1,15960 +0,0 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for embryo 1.2.0-alpha.
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.2.0-alpha'
705PACKAGE_STRING='embryo 1.2.0-alpha'
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
757EXOTIC_LIBS
758EXOTIC_CFLAGS
759EINA_LIBS
760EINA_CFLAGS
761EFL_EMBRYO_BUILD
762EVIL_LIBS
763EVIL_CFLAGS
764pkgconfig_requires_private
765PKG_CONFIG_LIBDIR
766PKG_CONFIG_PATH
767PKG_CONFIG
768EFL_BUILD_DOC_FALSE
769EFL_BUILD_DOC_TRUE
770efl_doxygen
771efl_have_doxygen
772BUILD_EMBRYO_CC_FALSE
773BUILD_EMBRYO_CC_TRUE
774EMBRYO_CC_PRG
775VMAJ
776release_info
777version_info
778CPP
779OTOOL64
780OTOOL
781LIPO
782NMEDIT
783DSYMUTIL
784lt_ECHO
785RANLIB
786AR
787LN_S
788NM
789ac_ct_DUMPBIN
790DUMPBIN
791LD
792FGREP
793EGREP
794GREP
795SED
796am__fastdepCC_FALSE
797am__fastdepCC_TRUE
798CCDEPMODE
799AMDEPBACKSLASH
800AMDEP_FALSE
801AMDEP_TRUE
802am__quote
803am__include
804DEPDIR
805OBJEXT
806EXEEXT
807ac_ct_CC
808CPPFLAGS
809LDFLAGS
810CFLAGS
811CC
812LIBTOOL
813OBJDUMP
814DLLTOOL
815AS
816host_os
817host_vendor
818host_cpu
819host
820build_os
821build_vendor
822build_cpu
823build
824AM_BACKSLASH
825AM_DEFAULT_VERBOSITY
826am__untar
827am__tar
828AMTAR
829am__leading_dot
830SET_MAKE
831AWK
832mkdir_p
833MKDIR_P
834INSTALL_STRIP_PROGRAM
835STRIP
836install_sh
837MAKEINFO
838AUTOHEADER
839AUTOMAKE
840AUTOCONF
841ACLOCAL
842VERSION
843PACKAGE
844CYGPATH_W
845am__isrc
846INSTALL_DATA
847INSTALL_SCRIPT
848INSTALL_PROGRAM
849target_alias
850host_alias
851build_alias
852LIBS
853ECHO_T
854ECHO_N
855ECHO_C
856DEFS
857mandir
858localedir
859libdir
860psdir
861pdfdir
862dvidir
863htmldir
864infodir
865docdir
866oldincludedir
867includedir
868localstatedir
869sharedstatedir
870sysconfdir
871datadir
872datarootdir
873libexecdir
874sbindir
875bindir
876program_transform_name
877prefix
878exec_prefix
879PACKAGE_URL
880PACKAGE_BUGREPORT
881PACKAGE_STRING
882PACKAGE_VERSION
883PACKAGE_TARNAME
884PACKAGE_NAME
885PATH_SEPARATOR
886SHELL'
887ac_subst_files=''
888ac_user_opts='
889enable_option_checking
890enable_silent_rules
891enable_shared
892enable_static
893with_pic
894enable_fast_install
895enable_dependency_tracking
896with_gnu_ld
897enable_libtool_lock
898enable_embryo_cc
899enable_doc
900with_doxygen
901'
902 ac_precious_vars='build_alias
903host_alias
904target_alias
905CC
906CFLAGS
907LDFLAGS
908LIBS
909CPPFLAGS
910CPP
911PKG_CONFIG
912PKG_CONFIG_PATH
913PKG_CONFIG_LIBDIR
914EVIL_CFLAGS
915EVIL_LIBS
916EINA_CFLAGS
917EINA_LIBS
918EXOTIC_CFLAGS
919EXOTIC_LIBS'
920
921
922# Initialize some variables set by options.
923ac_init_help=
924ac_init_version=false
925ac_unrecognized_opts=
926ac_unrecognized_sep=
927# The variables have the same names as the options, with
928# dashes changed to underlines.
929cache_file=/dev/null
930exec_prefix=NONE
931no_create=
932no_recursion=
933prefix=NONE
934program_prefix=NONE
935program_suffix=NONE
936program_transform_name=s,x,x,
937silent=
938site=
939srcdir=
940verbose=
941x_includes=NONE
942x_libraries=NONE
943
944# Installation directory options.
945# These are left unexpanded so users can "make install exec_prefix=/foo"
946# and all the variables that are supposed to be based on exec_prefix
947# by default will actually change.
948# Use braces instead of parens because sh, perl, etc. also accept them.
949# (The list follows the same order as the GNU Coding Standards.)
950bindir='${exec_prefix}/bin'
951sbindir='${exec_prefix}/sbin'
952libexecdir='${exec_prefix}/libexec'
953datarootdir='${prefix}/share'
954datadir='${datarootdir}'
955sysconfdir='${prefix}/etc'
956sharedstatedir='${prefix}/com'
957localstatedir='${prefix}/var'
958includedir='${prefix}/include'
959oldincludedir='/usr/include'
960docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
961infodir='${datarootdir}/info'
962htmldir='${docdir}'
963dvidir='${docdir}'
964pdfdir='${docdir}'
965psdir='${docdir}'
966libdir='${exec_prefix}/lib'
967localedir='${datarootdir}/locale'
968mandir='${datarootdir}/man'
969
970ac_prev=
971ac_dashdash=
972for ac_option
973do
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\$ac_option
977 ac_prev=
978 continue
979 fi
980
981 case $ac_option in
982 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
983 *=) ac_optarg= ;;
984 *) ac_optarg=yes ;;
985 esac
986
987 # Accept the important Cygnus configure options, so we can diagnose typos.
988
989 case $ac_dashdash$ac_option in
990 --)
991 ac_dashdash=yes ;;
992
993 -bindir | --bindir | --bindi | --bind | --bin | --bi)
994 ac_prev=bindir ;;
995 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
996 bindir=$ac_optarg ;;
997
998 -build | --build | --buil | --bui | --bu)
999 ac_prev=build_alias ;;
1000 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001 build_alias=$ac_optarg ;;
1002
1003 -cache-file | --cache-file | --cache-fil | --cache-fi \
1004 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005 ac_prev=cache_file ;;
1006 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008 cache_file=$ac_optarg ;;
1009
1010 --config-cache | -C)
1011 cache_file=config.cache ;;
1012
1013 -datadir | --datadir | --datadi | --datad)
1014 ac_prev=datadir ;;
1015 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016 datadir=$ac_optarg ;;
1017
1018 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019 | --dataroo | --dataro | --datar)
1020 ac_prev=datarootdir ;;
1021 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023 datarootdir=$ac_optarg ;;
1024
1025 -disable-* | --disable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error $? "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1033 *"
1034"enable_$ac_useropt"
1035"*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=no ;;
1040
1041 -docdir | --docdir | --docdi | --doc | --do)
1042 ac_prev=docdir ;;
1043 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044 docdir=$ac_optarg ;;
1045
1046 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1047 ac_prev=dvidir ;;
1048 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049 dvidir=$ac_optarg ;;
1050
1051 -enable-* | --enable-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 as_fn_error $? "invalid feature name: $ac_useropt"
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1059 *"
1060"enable_$ac_useropt"
1061"*) ;;
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1064 esac
1065 eval enable_$ac_useropt=\$ac_optarg ;;
1066
1067 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1068 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1069 | --exec | --exe | --ex)
1070 ac_prev=exec_prefix ;;
1071 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1072 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1073 | --exec=* | --exe=* | --ex=*)
1074 exec_prefix=$ac_optarg ;;
1075
1076 -gas | --gas | --ga | --g)
1077 # Obsolete; use --with-gas.
1078 with_gas=yes ;;
1079
1080 -help | --help | --hel | --he | -h)
1081 ac_init_help=long ;;
1082 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1083 ac_init_help=recursive ;;
1084 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1085 ac_init_help=short ;;
1086
1087 -host | --host | --hos | --ho)
1088 ac_prev=host_alias ;;
1089 -host=* | --host=* | --hos=* | --ho=*)
1090 host_alias=$ac_optarg ;;
1091
1092 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093 ac_prev=htmldir ;;
1094 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095 | --ht=*)
1096 htmldir=$ac_optarg ;;
1097
1098 -includedir | --includedir | --includedi | --included | --include \
1099 | --includ | --inclu | --incl | --inc)
1100 ac_prev=includedir ;;
1101 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1102 | --includ=* | --inclu=* | --incl=* | --inc=*)
1103 includedir=$ac_optarg ;;
1104
1105 -infodir | --infodir | --infodi | --infod | --info | --inf)
1106 ac_prev=infodir ;;
1107 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1108 infodir=$ac_optarg ;;
1109
1110 -libdir | --libdir | --libdi | --libd)
1111 ac_prev=libdir ;;
1112 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1113 libdir=$ac_optarg ;;
1114
1115 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1116 | --libexe | --libex | --libe)
1117 ac_prev=libexecdir ;;
1118 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1119 | --libexe=* | --libex=* | --libe=*)
1120 libexecdir=$ac_optarg ;;
1121
1122 -localedir | --localedir | --localedi | --localed | --locale)
1123 ac_prev=localedir ;;
1124 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1125 localedir=$ac_optarg ;;
1126
1127 -localstatedir | --localstatedir | --localstatedi | --localstated \
1128 | --localstate | --localstat | --localsta | --localst | --locals)
1129 ac_prev=localstatedir ;;
1130 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1131 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1132 localstatedir=$ac_optarg ;;
1133
1134 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135 ac_prev=mandir ;;
1136 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1137 mandir=$ac_optarg ;;
1138
1139 -nfp | --nfp | --nf)
1140 # Obsolete; use --without-fp.
1141 with_fp=no ;;
1142
1143 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1144 | --no-cr | --no-c | -n)
1145 no_create=yes ;;
1146
1147 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1148 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1149 no_recursion=yes ;;
1150
1151 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1152 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1153 | --oldin | --oldi | --old | --ol | --o)
1154 ac_prev=oldincludedir ;;
1155 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1156 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1157 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1158 oldincludedir=$ac_optarg ;;
1159
1160 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161 ac_prev=prefix ;;
1162 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1163 prefix=$ac_optarg ;;
1164
1165 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1166 | --program-pre | --program-pr | --program-p)
1167 ac_prev=program_prefix ;;
1168 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1169 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1170 program_prefix=$ac_optarg ;;
1171
1172 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1173 | --program-suf | --program-su | --program-s)
1174 ac_prev=program_suffix ;;
1175 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1176 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1177 program_suffix=$ac_optarg ;;
1178
1179 -program-transform-name | --program-transform-name \
1180 | --program-transform-nam | --program-transform-na \
1181 | --program-transform-n | --program-transform- \
1182 | --program-transform | --program-transfor \
1183 | --program-transfo | --program-transf \
1184 | --program-trans | --program-tran \
1185 | --progr-tra | --program-tr | --program-t)
1186 ac_prev=program_transform_name ;;
1187 -program-transform-name=* | --program-transform-name=* \
1188 | --program-transform-nam=* | --program-transform-na=* \
1189 | --program-transform-n=* | --program-transform-=* \
1190 | --program-transform=* | --program-transfor=* \
1191 | --program-transfo=* | --program-transf=* \
1192 | --program-trans=* | --program-tran=* \
1193 | --progr-tra=* | --program-tr=* | --program-t=*)
1194 program_transform_name=$ac_optarg ;;
1195
1196 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197 ac_prev=pdfdir ;;
1198 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1199 pdfdir=$ac_optarg ;;
1200
1201 -psdir | --psdir | --psdi | --psd | --ps)
1202 ac_prev=psdir ;;
1203 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1204 psdir=$ac_optarg ;;
1205
1206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1207 | -silent | --silent | --silen | --sile | --sil)
1208 silent=yes ;;
1209
1210 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211 ac_prev=sbindir ;;
1212 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213 | --sbi=* | --sb=*)
1214 sbindir=$ac_optarg ;;
1215
1216 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1217 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1218 | --sharedst | --shareds | --shared | --share | --shar \
1219 | --sha | --sh)
1220 ac_prev=sharedstatedir ;;
1221 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1222 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1223 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224 | --sha=* | --sh=*)
1225 sharedstatedir=$ac_optarg ;;
1226
1227 -site | --site | --sit)
1228 ac_prev=site ;;
1229 -site=* | --site=* | --sit=*)
1230 site=$ac_optarg ;;
1231
1232 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233 ac_prev=srcdir ;;
1234 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1235 srcdir=$ac_optarg ;;
1236
1237 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1238 | --syscon | --sysco | --sysc | --sys | --sy)
1239 ac_prev=sysconfdir ;;
1240 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1241 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1242 sysconfdir=$ac_optarg ;;
1243
1244 -target | --target | --targe | --targ | --tar | --ta | --t)
1245 ac_prev=target_alias ;;
1246 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1247 target_alias=$ac_optarg ;;
1248
1249 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1250 verbose=yes ;;
1251
1252 -version | --version | --versio | --versi | --vers | -V)
1253 ac_init_version=: ;;
1254
1255 -with-* | --with-*)
1256 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259 as_fn_error $? "invalid package name: $ac_useropt"
1260 ac_useropt_orig=$ac_useropt
1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in
1263 *"
1264"with_$ac_useropt"
1265"*) ;;
1266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1267 ac_unrecognized_sep=', ';;
1268 esac
1269 eval with_$ac_useropt=\$ac_optarg ;;
1270
1271 -without-* | --without-*)
1272 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275 as_fn_error $? "invalid package name: $ac_useropt"
1276 ac_useropt_orig=$ac_useropt
1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1279 *"
1280"with_$ac_useropt"
1281"*) ;;
1282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1283 ac_unrecognized_sep=', ';;
1284 esac
1285 eval with_$ac_useropt=no ;;
1286
1287 --x)
1288 # Obsolete; use --with-x.
1289 with_x=yes ;;
1290
1291 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1292 | --x-incl | --x-inc | --x-in | --x-i)
1293 ac_prev=x_includes ;;
1294 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1295 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1296 x_includes=$ac_optarg ;;
1297
1298 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1299 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1300 ac_prev=x_libraries ;;
1301 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1302 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303 x_libraries=$ac_optarg ;;
1304
1305 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1306Try \`$0 --help' for more information"
1307 ;;
1308
1309 *=*)
1310 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311 # Reject names that are not valid shell variable names.
1312 case $ac_envvar in #(
1313 '' | [0-9]* | *[!_$as_cr_alnum]* )
1314 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1315 esac
1316 eval $ac_envvar=\$ac_optarg
1317 export $ac_envvar ;;
1318
1319 *)
1320 # FIXME: should be removed in autoconf 3.0.
1321 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325 ;;
1326
1327 esac
1328done
1329
1330if test -n "$ac_prev"; then
1331 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332 as_fn_error $? "missing argument to $ac_option"
1333fi
1334
1335if test -n "$ac_unrecognized_opts"; then
1336 case $enable_option_checking in
1337 no) ;;
1338 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1339 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 esac
1341fi
1342
1343# Check all directory arguments for consistency.
1344for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345 datadir sysconfdir sharedstatedir localstatedir includedir \
1346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347 libdir localedir mandir
1348do
1349 eval ac_val=\$$ac_var
1350 # Remove trailing slashes.
1351 case $ac_val in
1352 */ )
1353 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1354 eval $ac_var=\$ac_val;;
1355 esac
1356 # Be sure to have absolute directory names.
1357 case $ac_val in
1358 [\\/$]* | ?:[\\/]* ) continue;;
1359 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360 esac
1361 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1362done
1363
1364# There might be people who depend on the old broken behavior: `$host'
1365# used to hold the argument of --host etc.
1366# FIXME: To remove some day.
1367build=$build_alias
1368host=$host_alias
1369target=$target_alias
1370
1371# FIXME: To remove some day.
1372if test "x$host_alias" != x; then
1373 if test "x$build_alias" = x; then
1374 cross_compiling=maybe
1375 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1376 If a cross compiler is detected then cross compile mode will be used" >&2
1377 elif test "x$build_alias" != "x$host_alias"; then
1378 cross_compiling=yes
1379 fi
1380fi
1381
1382ac_tool_prefix=
1383test -n "$host_alias" && ac_tool_prefix=$host_alias-
1384
1385test "$silent" = yes && exec 6>/dev/null
1386
1387
1388ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389ac_ls_di=`ls -di .` &&
1390ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391 as_fn_error $? "working directory cannot be determined"
1392test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393 as_fn_error $? "pwd does not report name of working directory"
1394
1395
1396# Find the source files, if location was not specified.
1397if test -z "$srcdir"; then
1398 ac_srcdir_defaulted=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir=`$as_dirname -- "$as_myself" ||
1401$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$as_myself" : 'X\(//\)[^/]' \| \
1403 X"$as_myself" : 'X\(//\)$' \| \
1404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405$as_echo X"$as_myself" |
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407 s//\1/
1408 q
1409 }
1410 /^X\(\/\/\)[^/].*/{
1411 s//\1/
1412 q
1413 }
1414 /^X\(\/\/\)$/{
1415 s//\1/
1416 q
1417 }
1418 /^X\(\/\).*/{
1419 s//\1/
1420 q
1421 }
1422 s/.*/./; q'`
1423 srcdir=$ac_confdir
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 srcdir=..
1426 fi
1427else
1428 ac_srcdir_defaulted=no
1429fi
1430if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1432 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1433fi
1434ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1435ac_abs_confdir=`(
1436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1437 pwd)`
1438# When building in place, set srcdir=.
1439if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 srcdir=.
1441fi
1442# Remove unnecessary trailing slashes from srcdir.
1443# Double slashes in file names in object file debugging info
1444# mess up M-x gdb in Emacs.
1445case $srcdir in
1446*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447esac
1448for ac_var in $ac_precious_vars; do
1449 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_env_${ac_var}_value=\$${ac_var}
1451 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453done
1454
1455#
1456# Report the --help message.
1457#
1458if test "$ac_init_help" = "long"; then
1459 # Omit some internal or obsolete options to make the list less imposing.
1460 # This message is too long to be a string in the A/UX 3.1 sh.
1461 cat <<_ACEOF
1462\`configure' configures embryo 1.2.0-alpha to adapt to many kinds of systems.
1463
1464Usage: $0 [OPTION]... [VAR=VALUE]...
1465
1466To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467VAR=VALUE. See below for descriptions of some of the useful variables.
1468
1469Defaults for the options are specified in brackets.
1470
1471Configuration:
1472 -h, --help display this help and exit
1473 --help=short display options specific to this package
1474 --help=recursive display the short help of all the included packages
1475 -V, --version display version information and exit
1476 -q, --quiet, --silent do not print \`checking ...' messages
1477 --cache-file=FILE cache test results in FILE [disabled]
1478 -C, --config-cache alias for \`--cache-file=config.cache'
1479 -n, --no-create do not create output files
1480 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1481
1482Installation directories:
1483 --prefix=PREFIX install architecture-independent files in PREFIX
1484 [$ac_default_prefix]
1485 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 [PREFIX]
1487
1488By default, \`make install' will install all the files in
1489\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1490an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491for instance \`--prefix=\$HOME'.
1492
1493For better control, use the options below.
1494
1495Fine tuning of the installation directories:
1496 --bindir=DIR user executables [EPREFIX/bin]
1497 --sbindir=DIR system admin executables [EPREFIX/sbin]
1498 --libexecdir=DIR program executables [EPREFIX/libexec]
1499 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1500 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1501 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1502 --libdir=DIR object code libraries [EPREFIX/lib]
1503 --includedir=DIR C header files [PREFIX/include]
1504 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1505 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1506 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1507 --infodir=DIR info documentation [DATAROOTDIR/info]
1508 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1509 --mandir=DIR man documentation [DATAROOTDIR/man]
1510 --docdir=DIR documentation root [DATAROOTDIR/doc/embryo]
1511 --htmldir=DIR html documentation [DOCDIR]
1512 --dvidir=DIR dvi documentation [DOCDIR]
1513 --pdfdir=DIR pdf documentation [DOCDIR]
1514 --psdir=DIR ps documentation [DOCDIR]
1515_ACEOF
1516
1517 cat <<\_ACEOF
1518
1519Program names:
1520 --program-prefix=PREFIX prepend PREFIX to installed program names
1521 --program-suffix=SUFFIX append SUFFIX to installed program names
1522 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1523
1524System types:
1525 --build=BUILD configure for building on BUILD [guessed]
1526 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1527_ACEOF
1528fi
1529
1530if test -n "$ac_init_help"; then
1531 case $ac_init_help in
1532 short | recursive ) echo "Configuration of embryo 1.2.0-alpha:";;
1533 esac
1534 cat <<\_ACEOF
1535
1536Optional Features:
1537 --disable-option-checking ignore unrecognized --enable/--with options
1538 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1539 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1540 --enable-silent-rules less verbose build output (undo: `make V=1')
1541 --disable-silent-rules verbose build output (undo: `make V=0')
1542 --enable-shared[=PKGS] build shared libraries [default=yes]
1543 --enable-static[=PKGS] build static libraries [default=yes]
1544 --enable-fast-install[=PKGS]
1545 optimize for fast installation [default=yes]
1546 --disable-dependency-tracking speeds up one-time build
1547 --enable-dependency-tracking do not reject slow dependency extractors
1548 --disable-libtool-lock avoid locking (might break parallel builds)
1549 --disable-embryo-cc disable building of embryo_cc
1550 --disable-doc Disable documentation build [default=enabled]
1551
1552Optional Packages:
1553 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1554 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1555 --with-pic try to use only PIC/non-PIC objects [default=use
1556 both]
1557 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1558 --with-doxygen=FILE doxygen program to use [default=doxygen]
1559
1560Some influential environment variables:
1561 CC C compiler command
1562 CFLAGS C compiler flags
1563 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1564 nonstandard directory <lib dir>
1565 LIBS libraries to pass to the linker, e.g. -l<library>
1566 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1567 you have headers in a nonstandard directory <include dir>
1568 CPP C preprocessor
1569 PKG_CONFIG path to pkg-config utility
1570 PKG_CONFIG_PATH
1571 directories to add to pkg-config's search path
1572 PKG_CONFIG_LIBDIR
1573 path overriding pkg-config's built-in search path
1574 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1575 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1576 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1577 EINA_LIBS linker flags for EINA, overriding pkg-config
1578 EXOTIC_CFLAGS
1579 C compiler flags for EXOTIC, overriding pkg-config
1580 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
1581
1582Use these variables to override the choices made by `configure' or to help
1583it to find libraries and programs with nonstandard names/locations.
1584
1585Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1586_ACEOF
1587ac_status=$?
1588fi
1589
1590if test "$ac_init_help" = "recursive"; then
1591 # If there are subdirs, report their specific --help.
1592 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1593 test -d "$ac_dir" ||
1594 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1595 continue
1596 ac_builddir=.
1597
1598case "$ac_dir" in
1599.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600*)
1601 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1602 # A ".." for each directory in $ac_dir_suffix.
1603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1604 case $ac_top_builddir_sub in
1605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1607 esac ;;
1608esac
1609ac_abs_top_builddir=$ac_pwd
1610ac_abs_builddir=$ac_pwd$ac_dir_suffix
1611# for backward compatibility:
1612ac_top_builddir=$ac_top_build_prefix
1613
1614case $srcdir in
1615 .) # We are building in place.
1616 ac_srcdir=.
1617 ac_top_srcdir=$ac_top_builddir_sub
1618 ac_abs_top_srcdir=$ac_pwd ;;
1619 [\\/]* | ?:[\\/]* ) # Absolute name.
1620 ac_srcdir=$srcdir$ac_dir_suffix;
1621 ac_top_srcdir=$srcdir
1622 ac_abs_top_srcdir=$srcdir ;;
1623 *) # Relative name.
1624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1625 ac_top_srcdir=$ac_top_build_prefix$srcdir
1626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1627esac
1628ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1629
1630 cd "$ac_dir" || { ac_status=$?; continue; }
1631 # Check for guested configure.
1632 if test -f "$ac_srcdir/configure.gnu"; then
1633 echo &&
1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1635 elif test -f "$ac_srcdir/configure"; then
1636 echo &&
1637 $SHELL "$ac_srcdir/configure" --help=recursive
1638 else
1639 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1640 fi || ac_status=$?
1641 cd "$ac_pwd" || { ac_status=$?; break; }
1642 done
1643fi
1644
1645test -n "$ac_init_help" && exit $ac_status
1646if $ac_init_version; then
1647 cat <<\_ACEOF
1648embryo configure 1.2.0-alpha
1649generated by GNU Autoconf 2.67
1650
1651Copyright (C) 2010 Free Software Foundation, Inc.
1652This configure script is free software; the Free Software Foundation
1653gives unlimited permission to copy, distribute and modify it.
1654_ACEOF
1655 exit
1656fi
1657
1658## ------------------------ ##
1659## Autoconf initialization. ##
1660## ------------------------ ##
1661
1662# ac_fn_c_try_compile LINENO
1663# --------------------------
1664# Try to compile conftest.$ac_ext, and return whether this succeeded.
1665ac_fn_c_try_compile ()
1666{
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 rm -f conftest.$ac_objext
1669 if { { ac_try="$ac_compile"
1670case "(($ac_try" in
1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672 *) ac_try_echo=$ac_try;;
1673esac
1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675$as_echo "$ac_try_echo"; } >&5
1676 (eval "$ac_compile") 2>conftest.err
1677 ac_status=$?
1678 if test -s conftest.err; then
1679 grep -v '^ *+' conftest.err >conftest.er1
1680 cat conftest.er1 >&5
1681 mv -f conftest.er1 conftest.err
1682 fi
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; } && {
1685 test -z "$ac_c_werror_flag" ||
1686 test ! -s conftest.err
1687 } && test -s conftest.$ac_objext; then :
1688 ac_retval=0
1689else
1690 $as_echo "$as_me: failed program was:" >&5
1691sed 's/^/| /' conftest.$ac_ext >&5
1692
1693 ac_retval=1
1694fi
1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696 as_fn_set_status $ac_retval
1697
1698} # ac_fn_c_try_compile
1699
1700# ac_fn_c_try_link LINENO
1701# -----------------------
1702# Try to link conftest.$ac_ext, and return whether this succeeded.
1703ac_fn_c_try_link ()
1704{
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 rm -f conftest.$ac_objext conftest$ac_exeext
1707 if { { ac_try="$ac_link"
1708case "(($ac_try" in
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1711esac
1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713$as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>conftest.err
1715 ac_status=$?
1716 if test -s conftest.err; then
1717 grep -v '^ *+' conftest.err >conftest.er1
1718 cat conftest.er1 >&5
1719 mv -f conftest.er1 conftest.err
1720 fi
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && {
1723 test -z "$ac_c_werror_flag" ||
1724 test ! -s conftest.err
1725 } && test -s conftest$ac_exeext && {
1726 test "$cross_compiling" = yes ||
1727 $as_test_x conftest$ac_exeext
1728 }; then :
1729 ac_retval=0
1730else
1731 $as_echo "$as_me: failed program was:" >&5
1732sed 's/^/| /' conftest.$ac_ext >&5
1733
1734 ac_retval=1
1735fi
1736 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1737 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1738 # interfere with the next link command; also delete a directory that is
1739 # left behind by Apple's compiler. We do this before executing the actions.
1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742 as_fn_set_status $ac_retval
1743
1744} # ac_fn_c_try_link
1745
1746# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747# -------------------------------------------------------
1748# Tests whether HEADER exists and can be compiled using the include files in
1749# INCLUDES, setting the cache variable VAR accordingly.
1750ac_fn_c_check_header_compile ()
1751{
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754$as_echo_n "checking for $2... " >&6; }
1755if eval "test \"\${$3+set}\"" = set; then :
1756 $as_echo_n "(cached) " >&6
1757else
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759/* end confdefs.h. */
1760$4
1761#include <$2>
1762_ACEOF
1763if ac_fn_c_try_compile "$LINENO"; then :
1764 eval "$3=yes"
1765else
1766 eval "$3=no"
1767fi
1768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769fi
1770eval ac_res=\$$3
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772$as_echo "$ac_res" >&6; }
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774
1775} # ac_fn_c_check_header_compile
1776
1777# ac_fn_c_try_cpp LINENO
1778# ----------------------
1779# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1780ac_fn_c_try_cpp ()
1781{
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 if { { ac_try="$ac_cpp conftest.$ac_ext"
1784case "(($ac_try" in
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1787esac
1788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789$as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1791 ac_status=$?
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1796 fi
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } > conftest.i && {
1799 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1800 test ! -s conftest.err
1801 }; then :
1802 ac_retval=0
1803else
1804 $as_echo "$as_me: failed program was:" >&5
1805sed 's/^/| /' conftest.$ac_ext >&5
1806
1807 ac_retval=1
1808fi
1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810 as_fn_set_status $ac_retval
1811
1812} # ac_fn_c_try_cpp
1813
1814# ac_fn_c_try_run LINENO
1815# ----------------------
1816# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1817# that executables *can* be run.
1818ac_fn_c_try_run ()
1819{
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if { { ac_try="$ac_link"
1822case "(($ac_try" in
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1825esac
1826eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827$as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_link") 2>&5
1829 ac_status=$?
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1832 { { case "(($ac_try" in
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1835esac
1836eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837$as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_try") 2>&5
1839 ac_status=$?
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; }; }; then :
1842 ac_retval=0
1843else
1844 $as_echo "$as_me: program exited with status $ac_status" >&5
1845 $as_echo "$as_me: failed program was:" >&5
1846sed 's/^/| /' conftest.$ac_ext >&5
1847
1848 ac_retval=$ac_status
1849fi
1850 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1851 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1852 as_fn_set_status $ac_retval
1853
1854} # ac_fn_c_try_run
1855
1856# ac_fn_c_check_func LINENO FUNC VAR
1857# ----------------------------------
1858# Tests whether FUNC exists, setting the cache variable VAR accordingly
1859ac_fn_c_check_func ()
1860{
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863$as_echo_n "checking for $2... " >&6; }
1864if eval "test \"\${$3+set}\"" = set; then :
1865 $as_echo_n "(cached) " >&6
1866else
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868/* end confdefs.h. */
1869/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1871#define $2 innocuous_$2
1872
1873/* System header to define __stub macros and hopefully few prototypes,
1874 which can conflict with char $2 (); below.
1875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1876 <limits.h> exists even on freestanding compilers. */
1877
1878#ifdef __STDC__
1879# include <limits.h>
1880#else
1881# include <assert.h>
1882#endif
1883
1884#undef $2
1885
1886/* Override any GCC internal prototype to avoid an error.
1887 Use char because int might match the return type of a GCC
1888 builtin and then its argument prototype would still apply. */
1889#ifdef __cplusplus
1890extern "C"
1891#endif
1892char $2 ();
1893/* The GNU C library defines this for functions which it implements
1894 to always fail with ENOSYS. Some functions are actually named
1895 something starting with __ and the normal name is an alias. */
1896#if defined __stub_$2 || defined __stub___$2
1897choke me
1898#endif
1899
1900int
1901main ()
1902{
1903return $2 ();
1904 ;
1905 return 0;
1906}
1907_ACEOF
1908if ac_fn_c_try_link "$LINENO"; then :
1909 eval "$3=yes"
1910else
1911 eval "$3=no"
1912fi
1913rm -f core conftest.err conftest.$ac_objext \
1914 conftest$ac_exeext conftest.$ac_ext
1915fi
1916eval ac_res=\$$3
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918$as_echo "$ac_res" >&6; }
1919 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1920
1921} # ac_fn_c_check_func
1922
1923# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1924# -------------------------------------------------------
1925# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1926# the include files in INCLUDES and setting the cache variable VAR
1927# accordingly.
1928ac_fn_c_check_header_mongrel ()
1929{
1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931 if eval "test \"\${$3+set}\"" = set; then :
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933$as_echo_n "checking for $2... " >&6; }
1934if eval "test \"\${$3+set}\"" = set; then :
1935 $as_echo_n "(cached) " >&6
1936fi
1937eval ac_res=\$$3
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939$as_echo "$ac_res" >&6; }
1940else
1941 # Is the header compilable?
1942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1943$as_echo_n "checking $2 usability... " >&6; }
1944cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945/* end confdefs.h. */
1946$4
1947#include <$2>
1948_ACEOF
1949if ac_fn_c_try_compile "$LINENO"; then :
1950 ac_header_compiler=yes
1951else
1952 ac_header_compiler=no
1953fi
1954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1956$as_echo "$ac_header_compiler" >&6; }
1957
1958# Is the header present?
1959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1960$as_echo_n "checking $2 presence... " >&6; }
1961cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962/* end confdefs.h. */
1963#include <$2>
1964_ACEOF
1965if ac_fn_c_try_cpp "$LINENO"; then :
1966 ac_header_preproc=yes
1967else
1968 ac_header_preproc=no
1969fi
1970rm -f conftest.err conftest.i conftest.$ac_ext
1971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1972$as_echo "$ac_header_preproc" >&6; }
1973
1974# So? What about this header?
1975case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1976 yes:no: )
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1978$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1980$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1981 ;;
1982 no:yes:* )
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1984$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1986$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1988$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1990$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1992$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1993( $as_echo "## -------------------------------------------------------- ##
1994## Report this to enlightenment-devel@lists.sourceforge.net ##
1995## -------------------------------------------------------- ##"
1996 ) | sed "s/^/$as_me: WARNING: /" >&2
1997 ;;
1998esac
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2000$as_echo_n "checking for $2... " >&6; }
2001if eval "test \"\${$3+set}\"" = set; then :
2002 $as_echo_n "(cached) " >&6
2003else
2004 eval "$3=\$ac_header_compiler"
2005fi
2006eval ac_res=\$$3
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008$as_echo "$ac_res" >&6; }
2009fi
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011
2012} # ac_fn_c_check_header_mongrel
2013cat >config.log <<_ACEOF
2014This file contains any messages produced by compilers while
2015running configure, to aid debugging if configure makes a mistake.
2016
2017It was created by embryo $as_me 1.2.0-alpha, which was
2018generated by GNU Autoconf 2.67. Invocation command line was
2019
2020 $ $0 $@
2021
2022_ACEOF
2023exec 5>>config.log
2024{
2025cat <<_ASUNAME
2026## --------- ##
2027## Platform. ##
2028## --------- ##
2029
2030hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2031uname -m = `(uname -m) 2>/dev/null || echo unknown`
2032uname -r = `(uname -r) 2>/dev/null || echo unknown`
2033uname -s = `(uname -s) 2>/dev/null || echo unknown`
2034uname -v = `(uname -v) 2>/dev/null || echo unknown`
2035
2036/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2037/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2038
2039/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2040/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2041/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2042/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2043/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2044/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2045/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2046
2047_ASUNAME
2048
2049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050for as_dir in $PATH
2051do
2052 IFS=$as_save_IFS
2053 test -z "$as_dir" && as_dir=.
2054 $as_echo "PATH: $as_dir"
2055 done
2056IFS=$as_save_IFS
2057
2058} >&5
2059
2060cat >&5 <<_ACEOF
2061
2062
2063## ----------- ##
2064## Core tests. ##
2065## ----------- ##
2066
2067_ACEOF
2068
2069
2070# Keep a trace of the command line.
2071# Strip out --no-create and --no-recursion so they do not pile up.
2072# Strip out --silent because we don't want to record it for future runs.
2073# Also quote any args containing shell meta-characters.
2074# Make two passes to allow for proper duplicate-argument suppression.
2075ac_configure_args=
2076ac_configure_args0=
2077ac_configure_args1=
2078ac_must_keep_next=false
2079for ac_pass in 1 2
2080do
2081 for ac_arg
2082 do
2083 case $ac_arg in
2084 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2086 | -silent | --silent | --silen | --sile | --sil)
2087 continue ;;
2088 *\'*)
2089 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090 esac
2091 case $ac_pass in
2092 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2093 2)
2094 as_fn_append ac_configure_args1 " '$ac_arg'"
2095 if test $ac_must_keep_next = true; then
2096 ac_must_keep_next=false # Got value, back to normal.
2097 else
2098 case $ac_arg in
2099 *=* | --config-cache | -C | -disable-* | --disable-* \
2100 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2101 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2102 | -with-* | --with-* | -without-* | --without-* | --x)
2103 case "$ac_configure_args0 " in
2104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105 esac
2106 ;;
2107 -* ) ac_must_keep_next=true ;;
2108 esac
2109 fi
2110 as_fn_append ac_configure_args " '$ac_arg'"
2111 ;;
2112 esac
2113 done
2114done
2115{ ac_configure_args0=; unset ac_configure_args0;}
2116{ ac_configure_args1=; unset ac_configure_args1;}
2117
2118# When interrupted or exit'd, cleanup temporary files, and complete
2119# config.log. We remove comments because anyway the quotes in there
2120# would cause problems or look ugly.
2121# WARNING: Use '\'' to represent an apostrophe within the trap.
2122# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2123trap 'exit_status=$?
2124 # Save into config.log some information that might help in debugging.
2125 {
2126 echo
2127
2128 $as_echo "## ---------------- ##
2129## Cache variables. ##
2130## ---------------- ##"
2131 echo
2132 # The following way of writing the cache mishandles newlines in values,
2133(
2134 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2135 eval ac_val=\$$ac_var
2136 case $ac_val in #(
2137 *${as_nl}*)
2138 case $ac_var in #(
2139 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2140$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141 esac
2142 case $ac_var in #(
2143 _ | IFS | as_nl) ;; #(
2144 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2145 *) { eval $ac_var=; unset $ac_var;} ;;
2146 esac ;;
2147 esac
2148 done
2149 (set) 2>&1 |
2150 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2151 *${as_nl}ac_space=\ *)
2152 sed -n \
2153 "s/'\''/'\''\\\\'\'''\''/g;
2154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155 ;; #(
2156 *)
2157 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2158 ;;
2159 esac |
2160 sort
2161)
2162 echo
2163
2164 $as_echo "## ----------------- ##
2165## Output variables. ##
2166## ----------------- ##"
2167 echo
2168 for ac_var in $ac_subst_vars
2169 do
2170 eval ac_val=\$$ac_var
2171 case $ac_val in
2172 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 esac
2174 $as_echo "$ac_var='\''$ac_val'\''"
2175 done | sort
2176 echo
2177
2178 if test -n "$ac_subst_files"; then
2179 $as_echo "## ------------------- ##
2180## File substitutions. ##
2181## ------------------- ##"
2182 echo
2183 for ac_var in $ac_subst_files
2184 do
2185 eval ac_val=\$$ac_var
2186 case $ac_val in
2187 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 esac
2189 $as_echo "$ac_var='\''$ac_val'\''"
2190 done | sort
2191 echo
2192 fi
2193
2194 if test -s confdefs.h; then
2195 $as_echo "## ----------- ##
2196## confdefs.h. ##
2197## ----------- ##"
2198 echo
2199 cat confdefs.h
2200 echo
2201 fi
2202 test "$ac_signal" != 0 &&
2203 $as_echo "$as_me: caught signal $ac_signal"
2204 $as_echo "$as_me: exit $exit_status"
2205 } >&5
2206 rm -f core *.core core.conftest.* &&
2207 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208 exit $exit_status
2209' 0
2210for ac_signal in 1 2 13 15; do
2211 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2212done
2213ac_signal=0
2214
2215# confdefs.h avoids OS command line length limits that DEFS can exceed.
2216rm -f -r conftest* confdefs.h
2217
2218$as_echo "/* confdefs.h */" > confdefs.h
2219
2220# Predefined preprocessor variables.
2221
2222cat >>confdefs.h <<_ACEOF
2223#define PACKAGE_NAME "$PACKAGE_NAME"
2224_ACEOF
2225
2226cat >>confdefs.h <<_ACEOF
2227#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228_ACEOF
2229
2230cat >>confdefs.h <<_ACEOF
2231#define PACKAGE_VERSION "$PACKAGE_VERSION"
2232_ACEOF
2233
2234cat >>confdefs.h <<_ACEOF
2235#define PACKAGE_STRING "$PACKAGE_STRING"
2236_ACEOF
2237
2238cat >>confdefs.h <<_ACEOF
2239#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240_ACEOF
2241
2242cat >>confdefs.h <<_ACEOF
2243#define PACKAGE_URL "$PACKAGE_URL"
2244_ACEOF
2245
2246
2247# Let the site file select an alternate cache file if it wants to.
2248# Prefer an explicitly selected file to automatically selected ones.
2249ac_site_file1=NONE
2250ac_site_file2=NONE
2251if test -n "$CONFIG_SITE"; then
2252 # We do not want a PATH search for config.site.
2253 case $CONFIG_SITE in #((
2254 -*) ac_site_file1=./$CONFIG_SITE;;
2255 */*) ac_site_file1=$CONFIG_SITE;;
2256 *) ac_site_file1=./$CONFIG_SITE;;
2257 esac
2258elif test "x$prefix" != xNONE; then
2259 ac_site_file1=$prefix/share/config.site
2260 ac_site_file2=$prefix/etc/config.site
2261else
2262 ac_site_file1=$ac_default_prefix/share/config.site
2263 ac_site_file2=$ac_default_prefix/etc/config.site
2264fi
2265for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2266do
2267 test "x$ac_site_file" = xNONE && continue
2268 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2270$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2271 sed 's/^/| /' "$ac_site_file" >&5
2272 . "$ac_site_file" \
2273 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2274$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275as_fn_error $? "failed to load site script $ac_site_file
2276See \`config.log' for more details" "$LINENO" 5 ; }
2277 fi
2278done
2279
2280if test -r "$cache_file"; then
2281 # Some versions of bash will fail to source /dev/null (special files
2282 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2283 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2285$as_echo "$as_me: loading cache $cache_file" >&6;}
2286 case $cache_file in
2287 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2288 *) . "./$cache_file";;
2289 esac
2290 fi
2291else
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2293$as_echo "$as_me: creating cache $cache_file" >&6;}
2294 >$cache_file
2295fi
2296
2297# Check that the precious variables saved in the cache have kept the same
2298# value.
2299ac_cache_corrupted=false
2300for ac_var in $ac_precious_vars; do
2301 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2302 eval ac_new_set=\$ac_env_${ac_var}_set
2303 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2304 eval ac_new_val=\$ac_env_${ac_var}_value
2305 case $ac_old_set,$ac_new_set in
2306 set,)
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2308$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2310 ,set)
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2312$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2313 ac_cache_corrupted=: ;;
2314 ,);;
2315 *)
2316 if test "x$ac_old_val" != "x$ac_new_val"; then
2317 # differences in whitespace do not lead to failure.
2318 ac_old_val_w=`echo x $ac_old_val`
2319 ac_new_val_w=`echo x $ac_new_val`
2320 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2322$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323 ac_cache_corrupted=:
2324 else
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2326$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2327 eval $ac_var=\$ac_old_val
2328 fi
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2330$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2332$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2333 fi;;
2334 esac
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2337 case $ac_new_val in
2338 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2340 esac
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2344 esac
2345 fi
2346done
2347if $ac_cache_corrupted; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2351$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2353fi
2354## -------------------- ##
2355## Main body of script. ##
2356## -------------------- ##
2357
2358ac_ext=c
2359ac_cpp='$CPP $CPPFLAGS'
2360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364
2365
2366
2367
2368
2369ac_config_headers="$ac_config_headers config.h"
2370
2371
2372
2373
2374am__api_version='1.11'
2375
2376ac_aux_dir=
2377for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2378 if test -f "$ac_dir/install-sh"; then
2379 ac_aux_dir=$ac_dir
2380 ac_install_sh="$ac_aux_dir/install-sh -c"
2381 break
2382 elif test -f "$ac_dir/install.sh"; then
2383 ac_aux_dir=$ac_dir
2384 ac_install_sh="$ac_aux_dir/install.sh -c"
2385 break
2386 elif test -f "$ac_dir/shtool"; then
2387 ac_aux_dir=$ac_dir
2388 ac_install_sh="$ac_aux_dir/shtool install -c"
2389 break
2390 fi
2391done
2392if test -z "$ac_aux_dir"; then
2393 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2394fi
2395
2396# These three variables are undocumented and unsupported,
2397# and are intended to be withdrawn in a future Autoconf release.
2398# They can cause serious problems if a builder's source tree is in a directory
2399# whose full name contains unusual characters.
2400ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2401ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2402ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2403
2404
2405# Find a good install program. We prefer a C program (faster),
2406# so one script is as good as another. But avoid the broken or
2407# incompatible versions:
2408# SysV /etc/install, /usr/sbin/install
2409# SunOS /usr/etc/install
2410# IRIX /sbin/install
2411# AIX /bin/install
2412# AmigaOS /C/install, which installs bootblocks on floppy discs
2413# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2414# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2415# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2416# OS/2's system install, which has a completely different semantic
2417# ./install, which can be erroneously created by make from ./install.sh.
2418# Reject install programs that cannot install multiple files.
2419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2420$as_echo_n "checking for a BSD-compatible install... " >&6; }
2421if test -z "$INSTALL"; then
2422if test "${ac_cv_path_install+set}" = set; then :
2423 $as_echo_n "(cached) " >&6
2424else
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426for as_dir in $PATH
2427do
2428 IFS=$as_save_IFS
2429 test -z "$as_dir" && as_dir=.
2430 # Account for people who put trailing slashes in PATH elements.
2431case $as_dir/ in #((
2432 ./ | .// | /[cC]/* | \
2433 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2434 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2435 /usr/ucb/* ) ;;
2436 *)
2437 # OSF1 and SCO ODT 3.0 have their own names for install.
2438 # Don't use installbsd from OSF since it installs stuff as root
2439 # by default.
2440 for ac_prog in ginstall scoinst install; do
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2443 if test $ac_prog = install &&
2444 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2445 # AIX install. It has an incompatible calling convention.
2446 :
2447 elif test $ac_prog = install &&
2448 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2449 # program-specific install script used by HP pwplus--don't use.
2450 :
2451 else
2452 rm -rf conftest.one conftest.two conftest.dir
2453 echo one > conftest.one
2454 echo two > conftest.two
2455 mkdir conftest.dir
2456 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2457 test -s conftest.one && test -s conftest.two &&
2458 test -s conftest.dir/conftest.one &&
2459 test -s conftest.dir/conftest.two
2460 then
2461 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2462 break 3
2463 fi
2464 fi
2465 fi
2466 done
2467 done
2468 ;;
2469esac
2470
2471 done
2472IFS=$as_save_IFS
2473
2474rm -rf conftest.one conftest.two conftest.dir
2475
2476fi
2477 if test "${ac_cv_path_install+set}" = set; then
2478 INSTALL=$ac_cv_path_install
2479 else
2480 # As a last resort, use the slow shell script. Don't cache a
2481 # value for INSTALL within a source directory, because that will
2482 # break other packages using the cache if that directory is
2483 # removed, or if the value is a relative name.
2484 INSTALL=$ac_install_sh
2485 fi
2486fi
2487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2488$as_echo "$INSTALL" >&6; }
2489
2490# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2491# It thinks the first close brace ends the variable substitution.
2492test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2493
2494test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2495
2496test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2497
2498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2499$as_echo_n "checking whether build environment is sane... " >&6; }
2500# Just in case
2501sleep 1
2502echo timestamp > conftest.file
2503# Reject unsafe characters in $srcdir or the absolute working directory
2504# name. Accept space and tab only in the latter.
2505am_lf='
2506'
2507case `pwd` in
2508 *[\\\"\#\$\&\'\`$am_lf]*)
2509 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2510esac
2511case $srcdir in
2512 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2513 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2514esac
2515
2516# Do `set' in a subshell so we don't clobber the current shell's
2517# arguments. Must try -L first in case configure is actually a
2518# symlink; some systems play weird games with the mod time of symlinks
2519# (eg FreeBSD returns the mod time of the symlink's containing
2520# directory).
2521if (
2522 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2523 if test "$*" = "X"; then
2524 # -L didn't work.
2525 set X `ls -t "$srcdir/configure" conftest.file`
2526 fi
2527 rm -f conftest.file
2528 if test "$*" != "X $srcdir/configure conftest.file" \
2529 && test "$*" != "X conftest.file $srcdir/configure"; then
2530
2531 # If neither matched, then we have a broken ls. This can happen
2532 # if, for instance, CONFIG_SHELL is bash and it inherits a
2533 # broken ls alias from the environment. This has actually
2534 # happened. Such a system could not be considered "sane".
2535 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2536alias in your environment" "$LINENO" 5
2537 fi
2538
2539 test "$2" = conftest.file
2540 )
2541then
2542 # Ok.
2543 :
2544else
2545 as_fn_error $? "newly created file is older than distributed files!
2546Check your system clock" "$LINENO" 5
2547fi
2548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2549$as_echo "yes" >&6; }
2550test "$program_prefix" != NONE &&
2551 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2552# Use a double $ so make ignores it.
2553test "$program_suffix" != NONE &&
2554 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2555# Double any \ or $.
2556# By default was `s,x,x', remove it if useless.
2557ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2558program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2559
2560# expand $ac_aux_dir to an absolute path
2561am_aux_dir=`cd $ac_aux_dir && pwd`
2562
2563if test x"${MISSING+set}" != xset; then
2564 case $am_aux_dir in
2565 *\ * | *\ *)
2566 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2567 *)
2568 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2569 esac
2570fi
2571# Use eval to expand $SHELL
2572if eval "$MISSING --run true"; then
2573 am_missing_run="$MISSING --run "
2574else
2575 am_missing_run=
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2577$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2578fi
2579
2580if test x"${install_sh}" != xset; then
2581 case $am_aux_dir in
2582 *\ * | *\ *)
2583 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2584 *)
2585 install_sh="\${SHELL} $am_aux_dir/install-sh"
2586 esac
2587fi
2588
2589# Installed binaries are usually stripped using `strip' when the user
2590# run `make install-strip'. However `strip' might not be the right
2591# tool to use in cross-compilation environments, therefore Automake
2592# will honor the `STRIP' environment variable to overrule this program.
2593if test "$cross_compiling" != no; then
2594 if test -n "$ac_tool_prefix"; then
2595 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2596set dummy ${ac_tool_prefix}strip; ac_word=$2
2597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2598$as_echo_n "checking for $ac_word... " >&6; }
2599if test "${ac_cv_prog_STRIP+set}" = set; then :
2600 $as_echo_n "(cached) " >&6
2601else
2602 if test -n "$STRIP"; then
2603 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2604else
2605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606for as_dir in $PATH
2607do
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 break 2
2615 fi
2616done
2617 done
2618IFS=$as_save_IFS
2619
2620fi
2621fi
2622STRIP=$ac_cv_prog_STRIP
2623if test -n "$STRIP"; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2625$as_echo "$STRIP" >&6; }
2626else
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2628$as_echo "no" >&6; }
2629fi
2630
2631
2632fi
2633if test -z "$ac_cv_prog_STRIP"; then
2634 ac_ct_STRIP=$STRIP
2635 # Extract the first word of "strip", so it can be a program name with args.
2636set dummy strip; ac_word=$2
2637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638$as_echo_n "checking for $ac_word... " >&6; }
2639if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2640 $as_echo_n "(cached) " >&6
2641else
2642 if test -n "$ac_ct_STRIP"; then
2643 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2644else
2645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646for as_dir in $PATH
2647do
2648 IFS=$as_save_IFS
2649 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2652 ac_cv_prog_ac_ct_STRIP="strip"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 break 2
2655 fi
2656done
2657 done
2658IFS=$as_save_IFS
2659
2660fi
2661fi
2662ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2663if test -n "$ac_ct_STRIP"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2665$as_echo "$ac_ct_STRIP" >&6; }
2666else
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668$as_echo "no" >&6; }
2669fi
2670
2671 if test "x$ac_ct_STRIP" = x; then
2672 STRIP=":"
2673 else
2674 case $cross_compiling:$ac_tool_warned in
2675yes:)
2676{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2677$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2678ac_tool_warned=yes ;;
2679esac
2680 STRIP=$ac_ct_STRIP
2681 fi
2682else
2683 STRIP="$ac_cv_prog_STRIP"
2684fi
2685
2686fi
2687INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2688
2689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2690$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2691if test -z "$MKDIR_P"; then
2692 if test "${ac_cv_path_mkdir+set}" = set; then :
2693 $as_echo_n "(cached) " >&6
2694else
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2697do
2698 IFS=$as_save_IFS
2699 test -z "$as_dir" && as_dir=.
2700 for ac_prog in mkdir gmkdir; do
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2703 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2704 'mkdir (GNU coreutils) '* | \
2705 'mkdir (coreutils) '* | \
2706 'mkdir (fileutils) '4.1*)
2707 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2708 break 3;;
2709 esac
2710 done
2711 done
2712 done
2713IFS=$as_save_IFS
2714
2715fi
2716
2717 test -d ./--version && rmdir ./--version
2718 if test "${ac_cv_path_mkdir+set}" = set; then
2719 MKDIR_P="$ac_cv_path_mkdir -p"
2720 else
2721 # As a last resort, use the slow shell script. Don't cache a
2722 # value for MKDIR_P within a source directory, because that will
2723 # break other packages using the cache if that directory is
2724 # removed, or if the value is a relative name.
2725 MKDIR_P="$ac_install_sh -d"
2726 fi
2727fi
2728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2729$as_echo "$MKDIR_P" >&6; }
2730
2731mkdir_p="$MKDIR_P"
2732case $mkdir_p in
2733 [\\/$]* | ?:[\\/]*) ;;
2734 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2735esac
2736
2737for ac_prog in gawk mawk nawk awk
2738do
2739 # Extract the first word of "$ac_prog", so it can be a program name with args.
2740set dummy $ac_prog; ac_word=$2
2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742$as_echo_n "checking for $ac_word... " >&6; }
2743if test "${ac_cv_prog_AWK+set}" = set; then :
2744 $as_echo_n "(cached) " >&6
2745else
2746 if test -n "$AWK"; then
2747 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2748else
2749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750for as_dir in $PATH
2751do
2752 IFS=$as_save_IFS
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_AWK="$ac_prog"
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 break 2
2759 fi
2760done
2761 done
2762IFS=$as_save_IFS
2763
2764fi
2765fi
2766AWK=$ac_cv_prog_AWK
2767if test -n "$AWK"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2769$as_echo "$AWK" >&6; }
2770else
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772$as_echo "no" >&6; }
2773fi
2774
2775
2776 test -n "$AWK" && break
2777done
2778
2779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2780$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2781set x ${MAKE-make}
2782ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2783if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2784 $as_echo_n "(cached) " >&6
2785else
2786 cat >conftest.make <<\_ACEOF
2787SHELL = /bin/sh
2788all:
2789 @echo '@@@%%%=$(MAKE)=@@@%%%'
2790_ACEOF
2791# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2792case `${MAKE-make} -f conftest.make 2>/dev/null` in
2793 *@@@%%%=?*=@@@%%%*)
2794 eval ac_cv_prog_make_${ac_make}_set=yes;;
2795 *)
2796 eval ac_cv_prog_make_${ac_make}_set=no;;
2797esac
2798rm -f conftest.make
2799fi
2800if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2802$as_echo "yes" >&6; }
2803 SET_MAKE=
2804else
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806$as_echo "no" >&6; }
2807 SET_MAKE="MAKE=${MAKE-make}"
2808fi
2809
2810rm -rf .tst 2>/dev/null
2811mkdir .tst 2>/dev/null
2812if test -d .tst; then
2813 am__leading_dot=.
2814else
2815 am__leading_dot=_
2816fi
2817rmdir .tst 2>/dev/null
2818
2819if test "`cd $srcdir && pwd`" != "`pwd`"; then
2820 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2821 # is not polluted with repeated "-I."
2822 am__isrc=' -I$(srcdir)'
2823 # test to see if srcdir already configured
2824 if test -f $srcdir/config.status; then
2825 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2826 fi
2827fi
2828
2829# test whether we have cygpath
2830if test -z "$CYGPATH_W"; then
2831 if (cygpath --version) >/dev/null 2>/dev/null; then
2832 CYGPATH_W='cygpath -w'
2833 else
2834 CYGPATH_W=echo
2835 fi
2836fi
2837
2838
2839# Define the identity of the package.
2840 PACKAGE='embryo'
2841 VERSION='1.2.0-alpha'
2842
2843
2844cat >>confdefs.h <<_ACEOF
2845#define PACKAGE "$PACKAGE"
2846_ACEOF
2847
2848
2849cat >>confdefs.h <<_ACEOF
2850#define VERSION "$VERSION"
2851_ACEOF
2852
2853# Some tools Automake needs.
2854
2855ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2856
2857
2858AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2859
2860
2861AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2862
2863
2864AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2865
2866
2867MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2868
2869# We need awk for the "check" target. The system "awk" is bad on
2870# some platforms.
2871# Always define AMTAR for backward compatibility.
2872
2873AMTAR=${AMTAR-"${am_missing_run}tar"}
2874
2875am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2876
2877
2878
2879
2880
2881# Check whether --enable-silent-rules was given.
2882if test "${enable_silent_rules+set}" = set; then :
2883 enableval=$enable_silent_rules;
2884fi
2885
2886case $enable_silent_rules in
2887yes) AM_DEFAULT_VERBOSITY=0;;
2888no) AM_DEFAULT_VERBOSITY=1;;
2889*) AM_DEFAULT_VERBOSITY=0;;
2890esac
2891AM_BACKSLASH='\'
2892
2893
2894# Make sure we can run config.sub.
2895$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2896 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2897
2898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2899$as_echo_n "checking build system type... " >&6; }
2900if test "${ac_cv_build+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2902else
2903 ac_build_alias=$build_alias
2904test "x$ac_build_alias" = x &&
2905 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2906test "x$ac_build_alias" = x &&
2907 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2908ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2909 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2910
2911fi
2912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2913$as_echo "$ac_cv_build" >&6; }
2914case $ac_cv_build in
2915*-*-*) ;;
2916*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2917esac
2918build=$ac_cv_build
2919ac_save_IFS=$IFS; IFS='-'
2920set x $ac_cv_build
2921shift
2922build_cpu=$1
2923build_vendor=$2
2924shift; shift
2925# Remember, the first character of IFS is used to create $*,
2926# except with old shells:
2927build_os=$*
2928IFS=$ac_save_IFS
2929case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2930
2931
2932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2933$as_echo_n "checking host system type... " >&6; }
2934if test "${ac_cv_host+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936else
2937 if test "x$host_alias" = x; then
2938 ac_cv_host=$ac_cv_build
2939else
2940 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2941 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2942fi
2943
2944fi
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2946$as_echo "$ac_cv_host" >&6; }
2947case $ac_cv_host in
2948*-*-*) ;;
2949*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2950esac
2951host=$ac_cv_host
2952ac_save_IFS=$IFS; IFS='-'
2953set x $ac_cv_host
2954shift
2955host_cpu=$1
2956host_vendor=$2
2957shift; shift
2958# Remember, the first character of IFS is used to create $*,
2959# except with old shells:
2960host_os=$*
2961IFS=$ac_save_IFS
2962case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2963
2964
2965enable_win32_dll=yes
2966
2967case $host in
2968*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
2969 if test -n "$ac_tool_prefix"; then
2970 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2971set dummy ${ac_tool_prefix}as; ac_word=$2
2972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973$as_echo_n "checking for $ac_word... " >&6; }
2974if test "${ac_cv_prog_AS+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2976else
2977 if test -n "$AS"; then
2978 ac_cv_prog_AS="$AS" # Let the user override the test.
2979else
2980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981for as_dir in $PATH
2982do
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_AS="${ac_tool_prefix}as"
2988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 break 2
2990 fi
2991done
2992 done
2993IFS=$as_save_IFS
2994
2995fi
2996fi
2997AS=$ac_cv_prog_AS
2998if test -n "$AS"; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3000$as_echo "$AS" >&6; }
3001else
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003$as_echo "no" >&6; }
3004fi
3005
3006
3007fi
3008if test -z "$ac_cv_prog_AS"; then
3009 ac_ct_AS=$AS
3010 # Extract the first word of "as", so it can be a program name with args.
3011set dummy as; ac_word=$2
3012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013$as_echo_n "checking for $ac_word... " >&6; }
3014if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3015 $as_echo_n "(cached) " >&6
3016else
3017 if test -n "$ac_ct_AS"; then
3018 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3019else
3020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021for as_dir in $PATH
3022do
3023 IFS=$as_save_IFS
3024 test -z "$as_dir" && as_dir=.
3025 for ac_exec_ext in '' $ac_executable_extensions; do
3026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027 ac_cv_prog_ac_ct_AS="as"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 break 2
3030 fi
3031done
3032 done
3033IFS=$as_save_IFS
3034
3035fi
3036fi
3037ac_ct_AS=$ac_cv_prog_ac_ct_AS
3038if test -n "$ac_ct_AS"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3040$as_echo "$ac_ct_AS" >&6; }
3041else
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043$as_echo "no" >&6; }
3044fi
3045
3046 if test "x$ac_ct_AS" = x; then
3047 AS="false"
3048 else
3049 case $cross_compiling:$ac_tool_warned in
3050yes:)
3051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3053ac_tool_warned=yes ;;
3054esac
3055 AS=$ac_ct_AS
3056 fi
3057else
3058 AS="$ac_cv_prog_AS"
3059fi
3060
3061 if test -n "$ac_tool_prefix"; then
3062 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3063set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065$as_echo_n "checking for $ac_word... " >&6; }
3066if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3067 $as_echo_n "(cached) " >&6
3068else
3069 if test -n "$DLLTOOL"; then
3070 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3071else
3072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073for as_dir in $PATH
3074do
3075 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 break 2
3082 fi
3083done
3084 done
3085IFS=$as_save_IFS
3086
3087fi
3088fi
3089DLLTOOL=$ac_cv_prog_DLLTOOL
3090if test -n "$DLLTOOL"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3092$as_echo "$DLLTOOL" >&6; }
3093else
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095$as_echo "no" >&6; }
3096fi
3097
3098
3099fi
3100if test -z "$ac_cv_prog_DLLTOOL"; then
3101 ac_ct_DLLTOOL=$DLLTOOL
3102 # Extract the first word of "dlltool", so it can be a program name with args.
3103set dummy dlltool; ac_word=$2
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105$as_echo_n "checking for $ac_word... " >&6; }
3106if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3107 $as_echo_n "(cached) " >&6
3108else
3109 if test -n "$ac_ct_DLLTOOL"; then
3110 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3111else
3112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113for as_dir in $PATH
3114do
3115 IFS=$as_save_IFS
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3119 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 break 2
3122 fi
3123done
3124 done
3125IFS=$as_save_IFS
3126
3127fi
3128fi
3129ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3130if test -n "$ac_ct_DLLTOOL"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3132$as_echo "$ac_ct_DLLTOOL" >&6; }
3133else
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135$as_echo "no" >&6; }
3136fi
3137
3138 if test "x$ac_ct_DLLTOOL" = x; then
3139 DLLTOOL="false"
3140 else
3141 case $cross_compiling:$ac_tool_warned in
3142yes:)
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3144$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3145ac_tool_warned=yes ;;
3146esac
3147 DLLTOOL=$ac_ct_DLLTOOL
3148 fi
3149else
3150 DLLTOOL="$ac_cv_prog_DLLTOOL"
3151fi
3152
3153 if test -n "$ac_tool_prefix"; then
3154 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3155set dummy ${ac_tool_prefix}objdump; ac_word=$2
3156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157$as_echo_n "checking for $ac_word... " >&6; }
3158if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3159 $as_echo_n "(cached) " >&6
3160else
3161 if test -n "$OBJDUMP"; then
3162 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3163else
3164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165for as_dir in $PATH
3166do
3167 IFS=$as_save_IFS
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 break 2
3174 fi
3175done
3176 done
3177IFS=$as_save_IFS
3178
3179fi
3180fi
3181OBJDUMP=$ac_cv_prog_OBJDUMP
3182if test -n "$OBJDUMP"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3184$as_echo "$OBJDUMP" >&6; }
3185else
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187$as_echo "no" >&6; }
3188fi
3189
3190
3191fi
3192if test -z "$ac_cv_prog_OBJDUMP"; then
3193 ac_ct_OBJDUMP=$OBJDUMP
3194 # Extract the first word of "objdump", so it can be a program name with args.
3195set dummy objdump; ac_word=$2
3196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197$as_echo_n "checking for $ac_word... " >&6; }
3198if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3199 $as_echo_n "(cached) " >&6
3200else
3201 if test -n "$ac_ct_OBJDUMP"; then
3202 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3203else
3204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205for as_dir in $PATH
3206do
3207 IFS=$as_save_IFS
3208 test -z "$as_dir" && as_dir=.
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 break 2
3214 fi
3215done
3216 done
3217IFS=$as_save_IFS
3218
3219fi
3220fi
3221ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3222if test -n "$ac_ct_OBJDUMP"; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3224$as_echo "$ac_ct_OBJDUMP" >&6; }
3225else
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227$as_echo "no" >&6; }
3228fi
3229
3230 if test "x$ac_ct_OBJDUMP" = x; then
3231 OBJDUMP="false"
3232 else
3233 case $cross_compiling:$ac_tool_warned in
3234yes:)
3235{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3236$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3237ac_tool_warned=yes ;;
3238esac
3239 OBJDUMP=$ac_ct_OBJDUMP
3240 fi
3241else
3242 OBJDUMP="$ac_cv_prog_OBJDUMP"
3243fi
3244
3245 ;;
3246esac
3247
3248test -z "$AS" && AS=as
3249
3250
3251
3252
3253
3254test -z "$DLLTOOL" && DLLTOOL=dlltool
3255
3256
3257
3258
3259
3260test -z "$OBJDUMP" && OBJDUMP=objdump
3261
3262
3263
3264
3265
3266
3267
3268case `pwd` in
3269 *\ * | *\ *)
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3271$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3272esac
3273
3274
3275
3276macro_version='2.2.6b'
3277macro_revision='1.3017'
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291ltmain="$ac_aux_dir/ltmain.sh"
3292
3293DEPDIR="${am__leading_dot}deps"
3294
3295ac_config_commands="$ac_config_commands depfiles"
3296
3297
3298am_make=${MAKE-make}
3299cat > confinc << 'END'
3300am__doit:
3301 @echo this is the am__doit target
3302.PHONY: am__doit
3303END
3304# If we don't find an include directive, just comment out the code.
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3306$as_echo_n "checking for style of include used by $am_make... " >&6; }
3307am__include="#"
3308am__quote=
3309_am_result=none
3310# First try GNU make style include.
3311echo "include confinc" > confmf
3312# Ignore all kinds of additional output from `make'.
3313case `$am_make -s -f confmf 2> /dev/null` in #(
3314*the\ am__doit\ target*)
3315 am__include=include
3316 am__quote=
3317 _am_result=GNU
3318 ;;
3319esac
3320# Now try BSD make style include.
3321if test "$am__include" = "#"; then
3322 echo '.include "confinc"' > confmf
3323 case `$am_make -s -f confmf 2> /dev/null` in #(
3324 *the\ am__doit\ target*)
3325 am__include=.include
3326 am__quote="\""
3327 _am_result=BSD
3328 ;;
3329 esac
3330fi
3331
3332
3333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3334$as_echo "$_am_result" >&6; }
3335rm -f confinc confmf
3336
3337# Check whether --enable-dependency-tracking was given.
3338if test "${enable_dependency_tracking+set}" = set; then :
3339 enableval=$enable_dependency_tracking;
3340fi
3341
3342if test "x$enable_dependency_tracking" != xno; then
3343 am_depcomp="$ac_aux_dir/depcomp"
3344 AMDEPBACKSLASH='\'
3345fi
3346 if test "x$enable_dependency_tracking" != xno; then
3347 AMDEP_TRUE=
3348 AMDEP_FALSE='#'
3349else
3350 AMDEP_TRUE='#'
3351 AMDEP_FALSE=
3352fi
3353
3354
3355ac_ext=c
3356ac_cpp='$CPP $CPPFLAGS'
3357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3359ac_compiler_gnu=$ac_cv_c_compiler_gnu
3360if test -n "$ac_tool_prefix"; then
3361 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3362set dummy ${ac_tool_prefix}gcc; ac_word=$2
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364$as_echo_n "checking for $ac_word... " >&6; }
3365if test "${ac_cv_prog_CC+set}" = set; then :
3366 $as_echo_n "(cached) " >&6
3367else
3368 if test -n "$CC"; then
3369 ac_cv_prog_CC="$CC" # Let the user override the test.
3370else
3371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3372for as_dir in $PATH
3373do
3374 IFS=$as_save_IFS
3375 test -z "$as_dir" && as_dir=.
3376 for ac_exec_ext in '' $ac_executable_extensions; do
3377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3378 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 break 2
3381 fi
3382done
3383 done
3384IFS=$as_save_IFS
3385
3386fi
3387fi
3388CC=$ac_cv_prog_CC
3389if test -n "$CC"; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3391$as_echo "$CC" >&6; }
3392else
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394$as_echo "no" >&6; }
3395fi
3396
3397
3398fi
3399if test -z "$ac_cv_prog_CC"; then
3400 ac_ct_CC=$CC
3401 # Extract the first word of "gcc", so it can be a program name with args.
3402set dummy gcc; ac_word=$2
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404$as_echo_n "checking for $ac_word... " >&6; }
3405if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3406 $as_echo_n "(cached) " >&6
3407else
3408 if test -n "$ac_ct_CC"; then
3409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3410else
3411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412for as_dir in $PATH
3413do
3414 IFS=$as_save_IFS
3415 test -z "$as_dir" && as_dir=.
3416 for ac_exec_ext in '' $ac_executable_extensions; do
3417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3418 ac_cv_prog_ac_ct_CC="gcc"
3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 break 2
3421 fi
3422done
3423 done
3424IFS=$as_save_IFS
3425
3426fi
3427fi
3428ac_ct_CC=$ac_cv_prog_ac_ct_CC
3429if test -n "$ac_ct_CC"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3431$as_echo "$ac_ct_CC" >&6; }
3432else
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434$as_echo "no" >&6; }
3435fi
3436
3437 if test "x$ac_ct_CC" = x; then
3438 CC=""
3439 else
3440 case $cross_compiling:$ac_tool_warned in
3441yes:)
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3443$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3444ac_tool_warned=yes ;;
3445esac
3446 CC=$ac_ct_CC
3447 fi
3448else
3449 CC="$ac_cv_prog_CC"
3450fi
3451
3452if test -z "$CC"; then
3453 if test -n "$ac_tool_prefix"; then
3454 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3455set dummy ${ac_tool_prefix}cc; ac_word=$2
3456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457$as_echo_n "checking for $ac_word... " >&6; }
3458if test "${ac_cv_prog_CC+set}" = set; then :
3459 $as_echo_n "(cached) " >&6
3460else
3461 if test -n "$CC"; then
3462 ac_cv_prog_CC="$CC" # Let the user override the test.
3463else
3464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465for as_dir in $PATH
3466do
3467 IFS=$as_save_IFS
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3471 ac_cv_prog_CC="${ac_tool_prefix}cc"
3472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 break 2
3474 fi
3475done
3476 done
3477IFS=$as_save_IFS
3478
3479fi
3480fi
3481CC=$ac_cv_prog_CC
3482if test -n "$CC"; then
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3484$as_echo "$CC" >&6; }
3485else
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487$as_echo "no" >&6; }
3488fi
3489
3490
3491 fi
3492fi
3493if test -z "$CC"; then
3494 # Extract the first word of "cc", so it can be a program name with args.
3495set dummy cc; ac_word=$2
3496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3497$as_echo_n "checking for $ac_word... " >&6; }
3498if test "${ac_cv_prog_CC+set}" = set; then :
3499 $as_echo_n "(cached) " >&6
3500else
3501 if test -n "$CC"; then
3502 ac_cv_prog_CC="$CC" # Let the user override the test.
3503else
3504 ac_prog_rejected=no
3505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506for as_dir in $PATH
3507do
3508 IFS=$as_save_IFS
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3512 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3513 ac_prog_rejected=yes
3514 continue
3515 fi
3516 ac_cv_prog_CC="cc"
3517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 break 2
3519 fi
3520done
3521 done
3522IFS=$as_save_IFS
3523
3524if test $ac_prog_rejected = yes; then
3525 # We found a bogon in the path, so make sure we never use it.
3526 set dummy $ac_cv_prog_CC
3527 shift
3528 if test $# != 0; then
3529 # We chose a different compiler from the bogus one.
3530 # However, it has the same basename, so the bogon will be chosen
3531 # first if we set CC to just the basename; use the full file name.
3532 shift
3533 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3534 fi
3535fi
3536fi
3537fi
3538CC=$ac_cv_prog_CC
3539if test -n "$CC"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3541$as_echo "$CC" >&6; }
3542else
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544$as_echo "no" >&6; }
3545fi
3546
3547
3548fi
3549if test -z "$CC"; then
3550 if test -n "$ac_tool_prefix"; then
3551 for ac_prog in cl.exe
3552 do
3553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3554set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556$as_echo_n "checking for $ac_word... " >&6; }
3557if test "${ac_cv_prog_CC+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3559else
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC="$CC" # Let the user override the test.
3562else
3563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564for as_dir in $PATH
3565do
3566 IFS=$as_save_IFS
3567 test -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3570 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 break 2
3573 fi
3574done
3575 done
3576IFS=$as_save_IFS
3577
3578fi
3579fi
3580CC=$ac_cv_prog_CC
3581if test -n "$CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3583$as_echo "$CC" >&6; }
3584else
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586$as_echo "no" >&6; }
3587fi
3588
3589
3590 test -n "$CC" && break
3591 done
3592fi
3593if test -z "$CC"; then
3594 ac_ct_CC=$CC
3595 for ac_prog in cl.exe
3596do
3597 # Extract the first word of "$ac_prog", so it can be a program name with args.
3598set dummy $ac_prog; ac_word=$2
3599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600$as_echo_n "checking for $ac_word... " >&6; }
3601if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606else
3607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608for as_dir in $PATH
3609do
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="$ac_prog"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3617 fi
3618done
3619 done
3620IFS=$as_save_IFS
3621
3622fi
3623fi
3624ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627$as_echo "$ac_ct_CC" >&6; }
3628else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630$as_echo "no" >&6; }
3631fi
3632
3633
3634 test -n "$ac_ct_CC" && break
3635done
3636
3637 if test "x$ac_ct_CC" = x; then
3638 CC=""
3639 else
3640 case $cross_compiling:$ac_tool_warned in
3641yes:)
3642{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3643$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3644ac_tool_warned=yes ;;
3645esac
3646 CC=$ac_ct_CC
3647 fi
3648fi
3649
3650fi
3651
3652
3653test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3654$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3655as_fn_error $? "no acceptable C compiler found in \$PATH
3656See \`config.log' for more details" "$LINENO" 5 ; }
3657
3658# Provide some information about the compiler.
3659$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3660set X $ac_compile
3661ac_compiler=$2
3662for ac_option in --version -v -V -qversion; do
3663 { { ac_try="$ac_compiler $ac_option >&5"
3664case "(($ac_try" in
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3667esac
3668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669$as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3671 ac_status=$?
3672 if test -s conftest.err; then
3673 sed '10a\
3674... rest of stderr output deleted ...
3675 10q' conftest.err >conftest.er1
3676 cat conftest.er1 >&5
3677 fi
3678 rm -f conftest.er1 conftest.err
3679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680 test $ac_status = 0; }
3681done
3682
3683cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684/* end confdefs.h. */
3685
3686int
3687main ()
3688{
3689
3690 ;
3691 return 0;
3692}
3693_ACEOF
3694ac_clean_files_save=$ac_clean_files
3695ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3696# Try to create an executable without -o first, disregard a.out.
3697# It will help us diagnose broken compilers, and finding out an intuition
3698# of exeext.
3699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3700$as_echo_n "checking whether the C compiler works... " >&6; }
3701ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3702
3703# The possible output files:
3704ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3705
3706ac_rmfiles=
3707for ac_file in $ac_files
3708do
3709 case $ac_file in
3710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3711 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3712 esac
3713done
3714rm -f $ac_rmfiles
3715
3716if { { ac_try="$ac_link_default"
3717case "(($ac_try" in
3718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3720esac
3721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3722$as_echo "$ac_try_echo"; } >&5
3723 (eval "$ac_link_default") 2>&5
3724 ac_status=$?
3725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3726 test $ac_status = 0; }; then :
3727 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3728# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3729# in a Makefile. We should not override ac_cv_exeext if it was cached,
3730# so that the user can short-circuit this test for compilers unknown to
3731# Autoconf.
3732for ac_file in $ac_files ''
3733do
3734 test -f "$ac_file" || continue
3735 case $ac_file in
3736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3737 ;;
3738 [ab].out )
3739 # We found the default executable, but exeext='' is most
3740 # certainly right.
3741 break;;
3742 *.* )
3743 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3744 then :; else
3745 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3746 fi
3747 # We set ac_cv_exeext here because the later test for it is not
3748 # safe: cross compilers may not add the suffix if given an `-o'
3749 # argument, so we may need to know it at that point already.
3750 # Even if this section looks crufty: it has the advantage of
3751 # actually working.
3752 break;;
3753 * )
3754 break;;
3755 esac
3756done
3757test "$ac_cv_exeext" = no && ac_cv_exeext=
3758
3759else
3760 ac_file=''
3761fi
3762if test -z "$ac_file"; then :
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764$as_echo "no" >&6; }
3765$as_echo "$as_me: failed program was:" >&5
3766sed 's/^/| /' conftest.$ac_ext >&5
3767
3768{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770as_fn_error 77 "C compiler cannot create executables
3771See \`config.log' for more details" "$LINENO" 5 ; }
3772else
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3774$as_echo "yes" >&6; }
3775fi
3776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3777$as_echo_n "checking for C compiler default output file name... " >&6; }
3778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3779$as_echo "$ac_file" >&6; }
3780ac_exeext=$ac_cv_exeext
3781
3782rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3783ac_clean_files=$ac_clean_files_save
3784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3785$as_echo_n "checking for suffix of executables... " >&6; }
3786if { { ac_try="$ac_link"
3787case "(($ac_try" in
3788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789 *) ac_try_echo=$ac_try;;
3790esac
3791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3792$as_echo "$ac_try_echo"; } >&5
3793 (eval "$ac_link") 2>&5
3794 ac_status=$?
3795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3796 test $ac_status = 0; }; then :
3797 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3798# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3799# work properly (i.e., refer to `conftest.exe'), while it won't with
3800# `rm'.
3801for ac_file in conftest.exe conftest conftest.*; do
3802 test -f "$ac_file" || continue
3803 case $ac_file in
3804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3805 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3806 break;;
3807 * ) break;;
3808 esac
3809done
3810else
3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3813as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3814See \`config.log' for more details" "$LINENO" 5 ; }
3815fi
3816rm -f conftest conftest$ac_cv_exeext
3817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3818$as_echo "$ac_cv_exeext" >&6; }
3819
3820rm -f conftest.$ac_ext
3821EXEEXT=$ac_cv_exeext
3822ac_exeext=$EXEEXT
3823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824/* end confdefs.h. */
3825#include <stdio.h>
3826int
3827main ()
3828{
3829FILE *f = fopen ("conftest.out", "w");
3830 return ferror (f) || fclose (f) != 0;
3831
3832 ;
3833 return 0;
3834}
3835_ACEOF
3836ac_clean_files="$ac_clean_files conftest.out"
3837# Check that the compiler produces executables we can run. If not, either
3838# the compiler is broken, or we cross compile.
3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3840$as_echo_n "checking whether we are cross compiling... " >&6; }
3841if test "$cross_compiling" != yes; then
3842 { { ac_try="$ac_link"
3843case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3846esac
3847eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848$as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_link") 2>&5
3850 ac_status=$?
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }
3853 if { ac_try='./conftest$ac_cv_exeext'
3854 { { case "(($ac_try" in
3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3857esac
3858eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859$as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_try") 2>&5
3861 ac_status=$?
3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863 test $ac_status = 0; }; }; then
3864 cross_compiling=no
3865 else
3866 if test "$cross_compiling" = maybe; then
3867 cross_compiling=yes
3868 else
3869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871as_fn_error $? "cannot run C compiled programs.
3872If you meant to cross compile, use \`--host'.
3873See \`config.log' for more details" "$LINENO" 5 ; }
3874 fi
3875 fi
3876fi
3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3878$as_echo "$cross_compiling" >&6; }
3879
3880rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3881ac_clean_files=$ac_clean_files_save
3882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3883$as_echo_n "checking for suffix of object files... " >&6; }
3884if test "${ac_cv_objext+set}" = set; then :
3885 $as_echo_n "(cached) " >&6
3886else
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888/* end confdefs.h. */
3889
3890int
3891main ()
3892{
3893
3894 ;
3895 return 0;
3896}
3897_ACEOF
3898rm -f conftest.o conftest.obj
3899if { { ac_try="$ac_compile"
3900case "(($ac_try" in
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3903esac
3904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905$as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_compile") 2>&5
3907 ac_status=$?
3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909 test $ac_status = 0; }; then :
3910 for ac_file in conftest.o conftest.obj conftest.*; do
3911 test -f "$ac_file" || continue;
3912 case $ac_file in
3913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3914 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3915 break;;
3916 esac
3917done
3918else
3919 $as_echo "$as_me: failed program was:" >&5
3920sed 's/^/| /' conftest.$ac_ext >&5
3921
3922{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924as_fn_error $? "cannot compute suffix of object files: cannot compile
3925See \`config.log' for more details" "$LINENO" 5 ; }
3926fi
3927rm -f conftest.$ac_cv_objext conftest.$ac_ext
3928fi
3929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3930$as_echo "$ac_cv_objext" >&6; }
3931OBJEXT=$ac_cv_objext
3932ac_objext=$OBJEXT
3933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3934$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3935if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3937else
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939/* end confdefs.h. */
3940
3941int
3942main ()
3943{
3944#ifndef __GNUC__
3945 choke me
3946#endif
3947
3948 ;
3949 return 0;
3950}
3951_ACEOF
3952if ac_fn_c_try_compile "$LINENO"; then :
3953 ac_compiler_gnu=yes
3954else
3955 ac_compiler_gnu=no
3956fi
3957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958ac_cv_c_compiler_gnu=$ac_compiler_gnu
3959
3960fi
3961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3962$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3963if test $ac_compiler_gnu = yes; then
3964 GCC=yes
3965else
3966 GCC=
3967fi
3968ac_test_CFLAGS=${CFLAGS+set}
3969ac_save_CFLAGS=$CFLAGS
3970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3971$as_echo_n "checking whether $CC accepts -g... " >&6; }
3972if test "${ac_cv_prog_cc_g+set}" = set; then :
3973 $as_echo_n "(cached) " >&6
3974else
3975 ac_save_c_werror_flag=$ac_c_werror_flag
3976 ac_c_werror_flag=yes
3977 ac_cv_prog_cc_g=no
3978 CFLAGS="-g"
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980/* end confdefs.h. */
3981
3982int
3983main ()
3984{
3985
3986 ;
3987 return 0;
3988}
3989_ACEOF
3990if ac_fn_c_try_compile "$LINENO"; then :
3991 ac_cv_prog_cc_g=yes
3992else
3993 CFLAGS=""
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995/* end confdefs.h. */
3996
3997int
3998main ()
3999{
4000
4001 ;
4002 return 0;
4003}
4004_ACEOF
4005if ac_fn_c_try_compile "$LINENO"; then :
4006
4007else
4008 ac_c_werror_flag=$ac_save_c_werror_flag
4009 CFLAGS="-g"
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011/* end confdefs.h. */
4012
4013int
4014main ()
4015{
4016
4017 ;
4018 return 0;
4019}
4020_ACEOF
4021if ac_fn_c_try_compile "$LINENO"; then :
4022 ac_cv_prog_cc_g=yes
4023fi
4024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4025fi
4026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027fi
4028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 ac_c_werror_flag=$ac_save_c_werror_flag
4030fi
4031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4032$as_echo "$ac_cv_prog_cc_g" >&6; }
4033if test "$ac_test_CFLAGS" = set; then
4034 CFLAGS=$ac_save_CFLAGS
4035elif test $ac_cv_prog_cc_g = yes; then
4036 if test "$GCC" = yes; then
4037 CFLAGS="-g -O2"
4038 else
4039 CFLAGS="-g"
4040 fi
4041else
4042 if test "$GCC" = yes; then
4043 CFLAGS="-O2"
4044 else
4045 CFLAGS=
4046 fi
4047fi
4048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4049$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4050if test "${ac_cv_prog_cc_c89+set}" = set; then :
4051 $as_echo_n "(cached) " >&6
4052else
4053 ac_cv_prog_cc_c89=no
4054ac_save_CC=$CC
4055cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056/* end confdefs.h. */
4057#include <stdarg.h>
4058#include <stdio.h>
4059#include <sys/types.h>
4060#include <sys/stat.h>
4061/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4062struct buf { int x; };
4063FILE * (*rcsopen) (struct buf *, struct stat *, int);
4064static char *e (p, i)
4065 char **p;
4066 int i;
4067{
4068 return p[i];
4069}
4070static char *f (char * (*g) (char **, int), char **p, ...)
4071{
4072 char *s;
4073 va_list v;
4074 va_start (v,p);
4075 s = g (p, va_arg (v,int));
4076 va_end (v);
4077 return s;
4078}
4079
4080/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4081 function prototypes and stuff, but not '\xHH' hex character constants.
4082 These don't provoke an error unfortunately, instead are silently treated
4083 as 'x'. The following induces an error, until -std is added to get
4084 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4085 array size at least. It's necessary to write '\x00'==0 to get something
4086 that's true only with -std. */
4087int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4088
4089/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4090 inside strings and character constants. */
4091#define FOO(x) 'x'
4092int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4093
4094int test (int i, double x);
4095struct s1 {int (*f) (int a);};
4096struct s2 {int (*f) (double a);};
4097int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4098int argc;
4099char **argv;
4100int
4101main ()
4102{
4103return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4104 ;
4105 return 0;
4106}
4107_ACEOF
4108for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4110do
4111 CC="$ac_save_CC $ac_arg"
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113 ac_cv_prog_cc_c89=$ac_arg
4114fi
4115rm -f core conftest.err conftest.$ac_objext
4116 test "x$ac_cv_prog_cc_c89" != "xno" && break
4117done
4118rm -f conftest.$ac_ext
4119CC=$ac_save_CC
4120
4121fi
4122# AC_CACHE_VAL
4123case "x$ac_cv_prog_cc_c89" in
4124 x)
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4126$as_echo "none needed" >&6; } ;;
4127 xno)
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4129$as_echo "unsupported" >&6; } ;;
4130 *)
4131 CC="$CC $ac_cv_prog_cc_c89"
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4133$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4134esac
4135if test "x$ac_cv_prog_cc_c89" != xno; then :
4136
4137fi
4138
4139ac_ext=c
4140ac_cpp='$CPP $CPPFLAGS'
4141ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4142ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4143ac_compiler_gnu=$ac_cv_c_compiler_gnu
4144
4145depcc="$CC" am_compiler_list=
4146
4147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4148$as_echo_n "checking dependency style of $depcc... " >&6; }
4149if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4150 $as_echo_n "(cached) " >&6
4151else
4152 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4153 # We make a subdir and do the tests there. Otherwise we can end up
4154 # making bogus files that we don't know about and never remove. For
4155 # instance it was reported that on HP-UX the gcc test will end up
4156 # making a dummy file named `D' -- because `-MD' means `put the output
4157 # in D'.
4158 mkdir conftest.dir
4159 # Copy depcomp to subdir because otherwise we won't find it if we're
4160 # using a relative directory.
4161 cp "$am_depcomp" conftest.dir
4162 cd conftest.dir
4163 # We will build objects and dependencies in a subdirectory because
4164 # it helps to detect inapplicable dependency modes. For instance
4165 # both Tru64's cc and ICC support -MD to output dependencies as a
4166 # side effect of compilation, but ICC will put the dependencies in
4167 # the current directory while Tru64 will put them in the object
4168 # directory.
4169 mkdir sub
4170
4171 am_cv_CC_dependencies_compiler_type=none
4172 if test "$am_compiler_list" = ""; then
4173 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4174 fi
4175 am__universal=false
4176 case " $depcc " in #(
4177 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4178 esac
4179
4180 for depmode in $am_compiler_list; do
4181 # Setup a source with many dependencies, because some compilers
4182 # like to wrap large dependency lists on column 80 (with \), and
4183 # we should not choose a depcomp mode which is confused by this.
4184 #
4185 # We need to recreate these files for each test, as the compiler may
4186 # overwrite some of them when testing with obscure command lines.
4187 # This happens at least with the AIX C compiler.
4188 : > sub/conftest.c
4189 for i in 1 2 3 4 5 6; do
4190 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4191 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4192 # Solaris 8's {/usr,}/bin/sh.
4193 touch sub/conftst$i.h
4194 done
4195 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4196
4197 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4198 # mode. It turns out that the SunPro C++ compiler does not properly
4199 # handle `-M -o', and we need to detect this. Also, some Intel
4200 # versions had trouble with output in subdirs
4201 am__obj=sub/conftest.${OBJEXT-o}
4202 am__minus_obj="-o $am__obj"
4203 case $depmode in
4204 gcc)
4205 # This depmode causes a compiler race in universal mode.
4206 test "$am__universal" = false || continue
4207 ;;
4208 nosideeffect)
4209 # after this tag, mechanisms are not by side-effect, so they'll
4210 # only be used when explicitly requested
4211 if test "x$enable_dependency_tracking" = xyes; then
4212 continue
4213 else
4214 break
4215 fi
4216 ;;
4217 msvisualcpp | msvcmsys)
4218 # This compiler won't grok `-c -o', but also, the minuso test has
4219 # not run yet. These depmodes are late enough in the game, and
4220 # so weak that their functioning should not be impacted.
4221 am__obj=conftest.${OBJEXT-o}
4222 am__minus_obj=
4223 ;;
4224 none) break ;;
4225 esac
4226 if depmode=$depmode \
4227 source=sub/conftest.c object=$am__obj \
4228 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4229 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4230 >/dev/null 2>conftest.err &&
4231 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4232 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4233 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4234 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4235 # icc doesn't choke on unknown options, it will just issue warnings
4236 # or remarks (even with -Werror). So we grep stderr for any message
4237 # that says an option was ignored or not supported.
4238 # When given -MP, icc 7.0 and 7.1 complain thusly:
4239 # icc: Command line warning: ignoring option '-M'; no argument required
4240 # The diagnosis changed in icc 8.0:
4241 # icc: Command line remark: option '-MP' not supported
4242 if (grep 'ignoring option' conftest.err ||
4243 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4244 am_cv_CC_dependencies_compiler_type=$depmode
4245 break
4246 fi
4247 fi
4248 done
4249
4250 cd ..
4251 rm -rf conftest.dir
4252else
4253 am_cv_CC_dependencies_compiler_type=none
4254fi
4255
4256fi
4257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4258$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4259CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4260
4261 if
4262 test "x$enable_dependency_tracking" != xno \
4263 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4264 am__fastdepCC_TRUE=
4265 am__fastdepCC_FALSE='#'
4266else
4267 am__fastdepCC_TRUE='#'
4268 am__fastdepCC_FALSE=
4269fi
4270
4271
4272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4273$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4274if test "${ac_cv_path_SED+set}" = set; then :
4275 $as_echo_n "(cached) " >&6
4276else
4277 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4278 for ac_i in 1 2 3 4 5 6 7; do
4279 ac_script="$ac_script$as_nl$ac_script"
4280 done
4281 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4282 { ac_script=; unset ac_script;}
4283 if test -z "$SED"; then
4284 ac_path_SED_found=false
4285 # Loop through the user's path and test for each of PROGNAME-LIST
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287for as_dir in $PATH
4288do
4289 IFS=$as_save_IFS
4290 test -z "$as_dir" && as_dir=.
4291 for ac_prog in sed gsed; do
4292 for ac_exec_ext in '' $ac_executable_extensions; do
4293 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4294 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4295# Check for GNU ac_path_SED and select it if it is found.
4296 # Check for GNU $ac_path_SED
4297case `"$ac_path_SED" --version 2>&1` in
4298*GNU*)
4299 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4300*)
4301 ac_count=0
4302 $as_echo_n 0123456789 >"conftest.in"
4303 while :
4304 do
4305 cat "conftest.in" "conftest.in" >"conftest.tmp"
4306 mv "conftest.tmp" "conftest.in"
4307 cp "conftest.in" "conftest.nl"
4308 $as_echo '' >> "conftest.nl"
4309 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4311 as_fn_arith $ac_count + 1 && ac_count=$as_val
4312 if test $ac_count -gt ${ac_path_SED_max-0}; then
4313 # Best one so far, save it but keep looking for a better one
4314 ac_cv_path_SED="$ac_path_SED"
4315 ac_path_SED_max=$ac_count
4316 fi
4317 # 10*(2^10) chars as input seems more than enough
4318 test $ac_count -gt 10 && break
4319 done
4320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4321esac
4322
4323 $ac_path_SED_found && break 3
4324 done
4325 done
4326 done
4327IFS=$as_save_IFS
4328 if test -z "$ac_cv_path_SED"; then
4329 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4330 fi
4331else
4332 ac_cv_path_SED=$SED
4333fi
4334
4335fi
4336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4337$as_echo "$ac_cv_path_SED" >&6; }
4338 SED="$ac_cv_path_SED"
4339 rm -f conftest.sed
4340
4341test -z "$SED" && SED=sed
4342Xsed="$SED -e 1s/^X//"
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4355$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4356if test "${ac_cv_path_GREP+set}" = set; then :
4357 $as_echo_n "(cached) " >&6
4358else
4359 if test -z "$GREP"; then
4360 ac_path_GREP_found=false
4361 # Loop through the user's path and test for each of PROGNAME-LIST
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4364do
4365 IFS=$as_save_IFS
4366 test -z "$as_dir" && as_dir=.
4367 for ac_prog in grep ggrep; do
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4370 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4371# Check for GNU ac_path_GREP and select it if it is found.
4372 # Check for GNU $ac_path_GREP
4373case `"$ac_path_GREP" --version 2>&1` in
4374*GNU*)
4375 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4376*)
4377 ac_count=0
4378 $as_echo_n 0123456789 >"conftest.in"
4379 while :
4380 do
4381 cat "conftest.in" "conftest.in" >"conftest.tmp"
4382 mv "conftest.tmp" "conftest.in"
4383 cp "conftest.in" "conftest.nl"
4384 $as_echo 'GREP' >> "conftest.nl"
4385 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4387 as_fn_arith $ac_count + 1 && ac_count=$as_val
4388 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4389 # Best one so far, save it but keep looking for a better one
4390 ac_cv_path_GREP="$ac_path_GREP"
4391 ac_path_GREP_max=$ac_count
4392 fi
4393 # 10*(2^10) chars as input seems more than enough
4394 test $ac_count -gt 10 && break
4395 done
4396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4397esac
4398
4399 $ac_path_GREP_found && break 3
4400 done
4401 done
4402 done
4403IFS=$as_save_IFS
4404 if test -z "$ac_cv_path_GREP"; then
4405 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4406 fi
4407else
4408 ac_cv_path_GREP=$GREP
4409fi
4410
4411fi
4412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4413$as_echo "$ac_cv_path_GREP" >&6; }
4414 GREP="$ac_cv_path_GREP"
4415
4416
4417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4418$as_echo_n "checking for egrep... " >&6; }
4419if test "${ac_cv_path_EGREP+set}" = set; then :
4420 $as_echo_n "(cached) " >&6
4421else
4422 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4423 then ac_cv_path_EGREP="$GREP -E"
4424 else
4425 if test -z "$EGREP"; then
4426 ac_path_EGREP_found=false
4427 # Loop through the user's path and test for each of PROGNAME-LIST
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4430do
4431 IFS=$as_save_IFS
4432 test -z "$as_dir" && as_dir=.
4433 for ac_prog in egrep; do
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4436 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4437# Check for GNU ac_path_EGREP and select it if it is found.
4438 # Check for GNU $ac_path_EGREP
4439case `"$ac_path_EGREP" --version 2>&1` in
4440*GNU*)
4441 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4442*)
4443 ac_count=0
4444 $as_echo_n 0123456789 >"conftest.in"
4445 while :
4446 do
4447 cat "conftest.in" "conftest.in" >"conftest.tmp"
4448 mv "conftest.tmp" "conftest.in"
4449 cp "conftest.in" "conftest.nl"
4450 $as_echo 'EGREP' >> "conftest.nl"
4451 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4452 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4453 as_fn_arith $ac_count + 1 && ac_count=$as_val
4454 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4455 # Best one so far, save it but keep looking for a better one
4456 ac_cv_path_EGREP="$ac_path_EGREP"
4457 ac_path_EGREP_max=$ac_count
4458 fi
4459 # 10*(2^10) chars as input seems more than enough
4460 test $ac_count -gt 10 && break
4461 done
4462 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4463esac
4464
4465 $ac_path_EGREP_found && break 3
4466 done
4467 done
4468 done
4469IFS=$as_save_IFS
4470 if test -z "$ac_cv_path_EGREP"; then
4471 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4472 fi
4473else
4474 ac_cv_path_EGREP=$EGREP
4475fi
4476
4477 fi
4478fi
4479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4480$as_echo "$ac_cv_path_EGREP" >&6; }
4481 EGREP="$ac_cv_path_EGREP"
4482
4483
4484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4485$as_echo_n "checking for fgrep... " >&6; }
4486if test "${ac_cv_path_FGREP+set}" = set; then :
4487 $as_echo_n "(cached) " >&6
4488else
4489 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4490 then ac_cv_path_FGREP="$GREP -F"
4491 else
4492 if test -z "$FGREP"; then
4493 ac_path_FGREP_found=false
4494 # Loop through the user's path and test for each of PROGNAME-LIST
4495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4497do
4498 IFS=$as_save_IFS
4499 test -z "$as_dir" && as_dir=.
4500 for ac_prog in fgrep; do
4501 for ac_exec_ext in '' $ac_executable_extensions; do
4502 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4503 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4504# Check for GNU ac_path_FGREP and select it if it is found.
4505 # Check for GNU $ac_path_FGREP
4506case `"$ac_path_FGREP" --version 2>&1` in
4507*GNU*)
4508 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4509*)
4510 ac_count=0
4511 $as_echo_n 0123456789 >"conftest.in"
4512 while :
4513 do
4514 cat "conftest.in" "conftest.in" >"conftest.tmp"
4515 mv "conftest.tmp" "conftest.in"
4516 cp "conftest.in" "conftest.nl"
4517 $as_echo 'FGREP' >> "conftest.nl"
4518 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4519 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4520 as_fn_arith $ac_count + 1 && ac_count=$as_val
4521 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4522 # Best one so far, save it but keep looking for a better one
4523 ac_cv_path_FGREP="$ac_path_FGREP"
4524 ac_path_FGREP_max=$ac_count
4525 fi
4526 # 10*(2^10) chars as input seems more than enough
4527 test $ac_count -gt 10 && break
4528 done
4529 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4530esac
4531
4532 $ac_path_FGREP_found && break 3
4533 done
4534 done
4535 done
4536IFS=$as_save_IFS
4537 if test -z "$ac_cv_path_FGREP"; then
4538 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4539 fi
4540else
4541 ac_cv_path_FGREP=$FGREP
4542fi
4543
4544 fi
4545fi
4546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4547$as_echo "$ac_cv_path_FGREP" >&6; }
4548 FGREP="$ac_cv_path_FGREP"
4549
4550
4551test -z "$GREP" && GREP=grep
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571# Check whether --with-gnu-ld was given.
4572if test "${with_gnu_ld+set}" = set; then :
4573 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4574else
4575 with_gnu_ld=no
4576fi
4577
4578ac_prog=ld
4579if test "$GCC" = yes; then
4580 # Check if gcc -print-prog-name=ld gives a path.
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4582$as_echo_n "checking for ld used by $CC... " >&6; }
4583 case $host in
4584 *-*-mingw*)
4585 # gcc leaves a trailing carriage return which upsets mingw
4586 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4587 *)
4588 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4589 esac
4590 case $ac_prog in
4591 # Accept absolute paths.
4592 [\\/]* | ?:[\\/]*)
4593 re_direlt='/[^/][^/]*/\.\./'
4594 # Canonicalize the pathname of ld
4595 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4596 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4597 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4598 done
4599 test -z "$LD" && LD="$ac_prog"
4600 ;;
4601 "")
4602 # If it fails, then pretend we aren't using GCC.
4603 ac_prog=ld
4604 ;;
4605 *)
4606 # If it is relative, then search for the first ld in PATH.
4607 with_gnu_ld=unknown
4608 ;;
4609 esac
4610elif test "$with_gnu_ld" = yes; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4612$as_echo_n "checking for GNU ld... " >&6; }
4613else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4615$as_echo_n "checking for non-GNU ld... " >&6; }
4616fi
4617if test "${lt_cv_path_LD+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4619else
4620 if test -z "$LD"; then
4621 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4622 for ac_dir in $PATH; do
4623 IFS="$lt_save_ifs"
4624 test -z "$ac_dir" && ac_dir=.
4625 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4626 lt_cv_path_LD="$ac_dir/$ac_prog"
4627 # Check to see if the program is GNU ld. I'd rather use --version,
4628 # but apparently some variants of GNU ld only accept -v.
4629 # Break only if it was the GNU/non-GNU ld that we prefer.
4630 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4631 *GNU* | *'with BFD'*)
4632 test "$with_gnu_ld" != no && break
4633 ;;
4634 *)
4635 test "$with_gnu_ld" != yes && break
4636 ;;
4637 esac
4638 fi
4639 done
4640 IFS="$lt_save_ifs"
4641else
4642 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4643fi
4644fi
4645
4646LD="$lt_cv_path_LD"
4647if test -n "$LD"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4649$as_echo "$LD" >&6; }
4650else
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652$as_echo "no" >&6; }
4653fi
4654test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4656$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4657if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4658 $as_echo_n "(cached) " >&6
4659else
4660 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4661case `$LD -v 2>&1 </dev/null` in
4662*GNU* | *'with BFD'*)
4663 lt_cv_prog_gnu_ld=yes
4664 ;;
4665*)
4666 lt_cv_prog_gnu_ld=no
4667 ;;
4668esac
4669fi
4670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4671$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4672with_gnu_ld=$lt_cv_prog_gnu_ld
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4683$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4684if test "${lt_cv_path_NM+set}" = set; then :
4685 $as_echo_n "(cached) " >&6
4686else
4687 if test -n "$NM"; then
4688 # Let the user override the test.
4689 lt_cv_path_NM="$NM"
4690else
4691 lt_nm_to_check="${ac_tool_prefix}nm"
4692 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4693 lt_nm_to_check="$lt_nm_to_check nm"
4694 fi
4695 for lt_tmp_nm in $lt_nm_to_check; do
4696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4697 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4698 IFS="$lt_save_ifs"
4699 test -z "$ac_dir" && ac_dir=.
4700 tmp_nm="$ac_dir/$lt_tmp_nm"
4701 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4702 # Check to see if the nm accepts a BSD-compat flag.
4703 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4704 # nm: unknown option "B" ignored
4705 # Tru64's nm complains that /dev/null is an invalid object file
4706 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4707 */dev/null* | *'Invalid file or object type'*)
4708 lt_cv_path_NM="$tmp_nm -B"
4709 break
4710 ;;
4711 *)
4712 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4713 */dev/null*)
4714 lt_cv_path_NM="$tmp_nm -p"
4715 break
4716 ;;
4717 *)
4718 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4719 continue # so that we can try to find one that supports BSD flags
4720 ;;
4721 esac
4722 ;;
4723 esac
4724 fi
4725 done
4726 IFS="$lt_save_ifs"
4727 done
4728 : ${lt_cv_path_NM=no}
4729fi
4730fi
4731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4732$as_echo "$lt_cv_path_NM" >&6; }
4733if test "$lt_cv_path_NM" != "no"; then
4734 NM="$lt_cv_path_NM"
4735else
4736 # Didn't find any BSD compatible name lister, look for dumpbin.
4737 if test -n "$ac_tool_prefix"; then
4738 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4739 do
4740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4741set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4743$as_echo_n "checking for $ac_word... " >&6; }
4744if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4745 $as_echo_n "(cached) " >&6
4746else
4747 if test -n "$DUMPBIN"; then
4748 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4749else
4750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4751for as_dir in $PATH
4752do
4753 IFS=$as_save_IFS
4754 test -z "$as_dir" && as_dir=.
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4757 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4759 break 2
4760 fi
4761done
4762 done
4763IFS=$as_save_IFS
4764
4765fi
4766fi
4767DUMPBIN=$ac_cv_prog_DUMPBIN
4768if test -n "$DUMPBIN"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4770$as_echo "$DUMPBIN" >&6; }
4771else
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773$as_echo "no" >&6; }
4774fi
4775
4776
4777 test -n "$DUMPBIN" && break
4778 done
4779fi
4780if test -z "$DUMPBIN"; then
4781 ac_ct_DUMPBIN=$DUMPBIN
4782 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4783do
4784 # Extract the first word of "$ac_prog", so it can be a program name with args.
4785set dummy $ac_prog; ac_word=$2
4786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787$as_echo_n "checking for $ac_word... " >&6; }
4788if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4789 $as_echo_n "(cached) " >&6
4790else
4791 if test -n "$ac_ct_DUMPBIN"; then
4792 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4793else
4794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795for as_dir in $PATH
4796do
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4801 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 break 2
4804 fi
4805done
4806 done
4807IFS=$as_save_IFS
4808
4809fi
4810fi
4811ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4812if test -n "$ac_ct_DUMPBIN"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4814$as_echo "$ac_ct_DUMPBIN" >&6; }
4815else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817$as_echo "no" >&6; }
4818fi
4819
4820
4821 test -n "$ac_ct_DUMPBIN" && break
4822done
4823
4824 if test "x$ac_ct_DUMPBIN" = x; then
4825 DUMPBIN=":"
4826 else
4827 case $cross_compiling:$ac_tool_warned in
4828yes:)
4829{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4830$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4831ac_tool_warned=yes ;;
4832esac
4833 DUMPBIN=$ac_ct_DUMPBIN
4834 fi
4835fi
4836
4837
4838 if test "$DUMPBIN" != ":"; then
4839 NM="$DUMPBIN"
4840 fi
4841fi
4842test -z "$NM" && NM=nm
4843
4844
4845
4846
4847
4848
4849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4850$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4851if test "${lt_cv_nm_interface+set}" = set; then :
4852 $as_echo_n "(cached) " >&6
4853else
4854 lt_cv_nm_interface="BSD nm"
4855 echo "int some_variable = 0;" > conftest.$ac_ext
4856 (eval echo "\"\$as_me:4856: $ac_compile\"" >&5)
4857 (eval "$ac_compile" 2>conftest.err)
4858 cat conftest.err >&5
4859 (eval echo "\"\$as_me:4859: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4860 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4861 cat conftest.err >&5
4862 (eval echo "\"\$as_me:4862: output\"" >&5)
4863 cat conftest.out >&5
4864 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4865 lt_cv_nm_interface="MS dumpbin"
4866 fi
4867 rm -f conftest*
4868fi
4869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4870$as_echo "$lt_cv_nm_interface" >&6; }
4871
4872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4873$as_echo_n "checking whether ln -s works... " >&6; }
4874LN_S=$as_ln_s
4875if test "$LN_S" = "ln -s"; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4877$as_echo "yes" >&6; }
4878else
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4880$as_echo "no, using $LN_S" >&6; }
4881fi
4882
4883# find the maximum length of command line arguments
4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4885$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4886if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4888else
4889 i=0
4890 teststring="ABCD"
4891
4892 case $build_os in
4893 msdosdjgpp*)
4894 # On DJGPP, this test can blow up pretty badly due to problems in libc
4895 # (any single argument exceeding 2000 bytes causes a buffer overrun
4896 # during glob expansion). Even if it were fixed, the result of this
4897 # check would be larger than it should be.
4898 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4899 ;;
4900
4901 gnu*)
4902 # Under GNU Hurd, this test is not required because there is
4903 # no limit to the length of command line arguments.
4904 # Libtool will interpret -1 as no limit whatsoever
4905 lt_cv_sys_max_cmd_len=-1;
4906 ;;
4907
4908 cygwin* | mingw* | cegcc*)
4909 # On Win9x/ME, this test blows up -- it succeeds, but takes
4910 # about 5 minutes as the teststring grows exponentially.
4911 # Worse, since 9x/ME are not pre-emptively multitasking,
4912 # you end up with a "frozen" computer, even though with patience
4913 # the test eventually succeeds (with a max line length of 256k).
4914 # Instead, let's just punt: use the minimum linelength reported by
4915 # all of the supported platforms: 8192 (on NT/2K/XP).
4916 lt_cv_sys_max_cmd_len=8192;
4917 ;;
4918
4919 amigaos*)
4920 # On AmigaOS with pdksh, this test takes hours, literally.
4921 # So we just punt and use a minimum line length of 8192.
4922 lt_cv_sys_max_cmd_len=8192;
4923 ;;
4924
4925 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4926 # This has been around since 386BSD, at least. Likely further.
4927 if test -x /sbin/sysctl; then
4928 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4929 elif test -x /usr/sbin/sysctl; then
4930 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4931 else
4932 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4933 fi
4934 # And add a safety zone
4935 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4936 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4937 ;;
4938
4939 interix*)
4940 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4941 lt_cv_sys_max_cmd_len=196608
4942 ;;
4943
4944 osf*)
4945 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4946 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4947 # nice to cause kernel panics so lets avoid the loop below.
4948 # First set a reasonable default.
4949 lt_cv_sys_max_cmd_len=16384
4950 #
4951 if test -x /sbin/sysconfig; then
4952 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4953 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4954 esac
4955 fi
4956 ;;
4957 sco3.2v5*)
4958 lt_cv_sys_max_cmd_len=102400
4959 ;;
4960 sysv5* | sco5v6* | sysv4.2uw2*)
4961 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4962 if test -n "$kargmax"; then
4963 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4964 else
4965 lt_cv_sys_max_cmd_len=32768
4966 fi
4967 ;;
4968 *)
4969 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4970 if test -n "$lt_cv_sys_max_cmd_len"; then
4971 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4972 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4973 else
4974 # Make teststring a little bigger before we do anything with it.
4975 # a 1K string should be a reasonable start.
4976 for i in 1 2 3 4 5 6 7 8 ; do
4977 teststring=$teststring$teststring
4978 done
4979 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4980 # If test is not a shell built-in, we'll probably end up computing a
4981 # maximum length that is only half of the actual maximum length, but
4982 # we can't tell.
4983 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4984 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4985 test $i != 17 # 1/2 MB should be enough
4986 do
4987 i=`expr $i + 1`
4988 teststring=$teststring$teststring
4989 done
4990 # Only check the string length outside the loop.
4991 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4992 teststring=
4993 # Add a significant safety factor because C++ compilers can tack on
4994 # massive amounts of additional arguments before passing them to the
4995 # linker. It appears as though 1/2 is a usable value.
4996 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4997 fi
4998 ;;
4999 esac
5000
5001fi
5002
5003if test -n $lt_cv_sys_max_cmd_len ; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5005$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5006else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5008$as_echo "none" >&6; }
5009fi
5010max_cmd_len=$lt_cv_sys_max_cmd_len
5011
5012
5013
5014
5015
5016
5017: ${CP="cp -f"}
5018: ${MV="mv -f"}
5019: ${RM="rm -f"}
5020
5021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5022$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5023# Try some XSI features
5024xsi_shell=no
5025( _lt_dummy="a/b/c"
5026 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5027 = c,a/b,, \
5028 && eval 'test $(( 1 + 1 )) -eq 2 \
5029 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5030 && xsi_shell=yes
5031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5032$as_echo "$xsi_shell" >&6; }
5033
5034
5035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5036$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5037lt_shell_append=no
5038( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5039 >/dev/null 2>&1 \
5040 && lt_shell_append=yes
5041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5042$as_echo "$lt_shell_append" >&6; }
5043
5044
5045if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5046 lt_unset=unset
5047else
5048 lt_unset=false
5049fi
5050
5051
5052
5053
5054
5055# test EBCDIC or ASCII
5056case `echo X|tr X '\101'` in
5057 A) # ASCII based system
5058 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5059 lt_SP2NL='tr \040 \012'
5060 lt_NL2SP='tr \015\012 \040\040'
5061 ;;
5062 *) # EBCDIC based system
5063 lt_SP2NL='tr \100 \n'
5064 lt_NL2SP='tr \r\n \100\100'
5065 ;;
5066esac
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5077$as_echo_n "checking for $LD option to reload object files... " >&6; }
5078if test "${lt_cv_ld_reload_flag+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5080else
5081 lt_cv_ld_reload_flag='-r'
5082fi
5083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5084$as_echo "$lt_cv_ld_reload_flag" >&6; }
5085reload_flag=$lt_cv_ld_reload_flag
5086case $reload_flag in
5087"" | " "*) ;;
5088*) reload_flag=" $reload_flag" ;;
5089esac
5090reload_cmds='$LD$reload_flag -o $output$reload_objs'
5091case $host_os in
5092 darwin*)
5093 if test "$GCC" = yes; then
5094 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5095 else
5096 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5097 fi
5098 ;;
5099esac
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109if test -n "$ac_tool_prefix"; then
5110 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5111set dummy ${ac_tool_prefix}objdump; ac_word=$2
5112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113$as_echo_n "checking for $ac_word... " >&6; }
5114if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5115 $as_echo_n "(cached) " >&6
5116else
5117 if test -n "$OBJDUMP"; then
5118 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5119else
5120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121for as_dir in $PATH
5122do
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5130 fi
5131done
5132 done
5133IFS=$as_save_IFS
5134
5135fi
5136fi
5137OBJDUMP=$ac_cv_prog_OBJDUMP
5138if test -n "$OBJDUMP"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5140$as_echo "$OBJDUMP" >&6; }
5141else
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143$as_echo "no" >&6; }
5144fi
5145
5146
5147fi
5148if test -z "$ac_cv_prog_OBJDUMP"; then
5149 ac_ct_OBJDUMP=$OBJDUMP
5150 # Extract the first word of "objdump", so it can be a program name with args.
5151set dummy objdump; ac_word=$2
5152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153$as_echo_n "checking for $ac_word... " >&6; }
5154if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5155 $as_echo_n "(cached) " >&6
5156else
5157 if test -n "$ac_ct_OBJDUMP"; then
5158 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5159else
5160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161for as_dir in $PATH
5162do
5163 IFS=$as_save_IFS
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5167 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 break 2
5170 fi
5171done
5172 done
5173IFS=$as_save_IFS
5174
5175fi
5176fi
5177ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5178if test -n "$ac_ct_OBJDUMP"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5180$as_echo "$ac_ct_OBJDUMP" >&6; }
5181else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183$as_echo "no" >&6; }
5184fi
5185
5186 if test "x$ac_ct_OBJDUMP" = x; then
5187 OBJDUMP="false"
5188 else
5189 case $cross_compiling:$ac_tool_warned in
5190yes:)
5191{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5192$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5193ac_tool_warned=yes ;;
5194esac
5195 OBJDUMP=$ac_ct_OBJDUMP
5196 fi
5197else
5198 OBJDUMP="$ac_cv_prog_OBJDUMP"
5199fi
5200
5201test -z "$OBJDUMP" && OBJDUMP=objdump
5202
5203
5204
5205
5206
5207
5208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5209$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5210if test "${lt_cv_deplibs_check_method+set}" = set; then :
5211 $as_echo_n "(cached) " >&6
5212else
5213 lt_cv_file_magic_cmd='$MAGIC_CMD'
5214lt_cv_file_magic_test_file=
5215lt_cv_deplibs_check_method='unknown'
5216# Need to set the preceding variable on all platforms that support
5217# interlibrary dependencies.
5218# 'none' -- dependencies not supported.
5219# `unknown' -- same as none, but documents that we really don't know.
5220# 'pass_all' -- all dependencies passed with no checks.
5221# 'test_compile' -- check by making test program.
5222# 'file_magic [[regex]]' -- check by looking for files in library path
5223# which responds to the $file_magic_cmd with a given extended regex.
5224# If you have `file' or equivalent on your system and you're not sure
5225# whether `pass_all' will *always* work, you probably want this one.
5226
5227case $host_os in
5228aix[4-9]*)
5229 lt_cv_deplibs_check_method=pass_all
5230 ;;
5231
5232beos*)
5233 lt_cv_deplibs_check_method=pass_all
5234 ;;
5235
5236bsdi[45]*)
5237 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5238 lt_cv_file_magic_cmd='/usr/bin/file -L'
5239 lt_cv_file_magic_test_file=/shlib/libc.so
5240 ;;
5241
5242cygwin*)
5243 # func_win32_libid is a shell function defined in ltmain.sh
5244 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5245 lt_cv_file_magic_cmd='func_win32_libid'
5246 ;;
5247
5248mingw* | pw32*)
5249 # Base MSYS/MinGW do not provide the 'file' command needed by
5250 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5251 # unless we find 'file', for example because we are cross-compiling.
5252 if ( file / ) >/dev/null 2>&1; then
5253 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5254 lt_cv_file_magic_cmd='func_win32_libid'
5255 else
5256 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5257 lt_cv_file_magic_cmd='$OBJDUMP -f'
5258 fi
5259 ;;
5260
5261cegcc)
5262 # use the weaker test based on 'objdump'. See mingw*.
5263 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5264 lt_cv_file_magic_cmd='$OBJDUMP -f'
5265 ;;
5266
5267darwin* | rhapsody*)
5268 lt_cv_deplibs_check_method=pass_all
5269 ;;
5270
5271freebsd* | dragonfly*)
5272 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5273 case $host_cpu in
5274 i*86 )
5275 # Not sure whether the presence of OpenBSD here was a mistake.
5276 # Let's accept both of them until this is cleared up.
5277 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5278 lt_cv_file_magic_cmd=/usr/bin/file
5279 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5280 ;;
5281 esac
5282 else
5283 lt_cv_deplibs_check_method=pass_all
5284 fi
5285 ;;
5286
5287gnu*)
5288 lt_cv_deplibs_check_method=pass_all
5289 ;;
5290
5291hpux10.20* | hpux11*)
5292 lt_cv_file_magic_cmd=/usr/bin/file
5293 case $host_cpu in
5294 ia64*)
5295 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5296 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5297 ;;
5298 hppa*64*)
5299 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]'
5300 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5301 ;;
5302 *)
5303 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5304 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5305 ;;
5306 esac
5307 ;;
5308
5309interix[3-9]*)
5310 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5312 ;;
5313
5314irix5* | irix6* | nonstopux*)
5315 case $LD in
5316 *-32|*"-32 ") libmagic=32-bit;;
5317 *-n32|*"-n32 ") libmagic=N32;;
5318 *-64|*"-64 ") libmagic=64-bit;;
5319 *) libmagic=never-match;;
5320 esac
5321 lt_cv_deplibs_check_method=pass_all
5322 ;;
5323
5324# This must be Linux ELF.
5325linux* | k*bsd*-gnu | kopensolaris*-gnu)
5326 lt_cv_deplibs_check_method=pass_all
5327 ;;
5328
5329netbsd* | netbsdelf*-gnu)
5330 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5332 else
5333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5334 fi
5335 ;;
5336
5337newos6*)
5338 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5339 lt_cv_file_magic_cmd=/usr/bin/file
5340 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5341 ;;
5342
5343*nto* | *qnx*)
5344 lt_cv_deplibs_check_method=pass_all
5345 ;;
5346
5347openbsd*)
5348 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5349 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5350 else
5351 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5352 fi
5353 ;;
5354
5355osf3* | osf4* | osf5*)
5356 lt_cv_deplibs_check_method=pass_all
5357 ;;
5358
5359rdos*)
5360 lt_cv_deplibs_check_method=pass_all
5361 ;;
5362
5363solaris*)
5364 lt_cv_deplibs_check_method=pass_all
5365 ;;
5366
5367sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5368 lt_cv_deplibs_check_method=pass_all
5369 ;;
5370
5371sysv4 | sysv4.3*)
5372 case $host_vendor in
5373 motorola)
5374 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]'
5375 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5376 ;;
5377 ncr)
5378 lt_cv_deplibs_check_method=pass_all
5379 ;;
5380 sequent)
5381 lt_cv_file_magic_cmd='/bin/file'
5382 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5383 ;;
5384 sni)
5385 lt_cv_file_magic_cmd='/bin/file'
5386 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5387 lt_cv_file_magic_test_file=/lib/libc.so
5388 ;;
5389 siemens)
5390 lt_cv_deplibs_check_method=pass_all
5391 ;;
5392 pc)
5393 lt_cv_deplibs_check_method=pass_all
5394 ;;
5395 esac
5396 ;;
5397
5398tpf*)
5399 lt_cv_deplibs_check_method=pass_all
5400 ;;
5401esac
5402
5403fi
5404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5405$as_echo "$lt_cv_deplibs_check_method" >&6; }
5406file_magic_cmd=$lt_cv_file_magic_cmd
5407deplibs_check_method=$lt_cv_deplibs_check_method
5408test -z "$deplibs_check_method" && deplibs_check_method=unknown
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421if test -n "$ac_tool_prefix"; then
5422 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5423set dummy ${ac_tool_prefix}ar; ac_word=$2
5424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425$as_echo_n "checking for $ac_word... " >&6; }
5426if test "${ac_cv_prog_AR+set}" = set; then :
5427 $as_echo_n "(cached) " >&6
5428else
5429 if test -n "$AR"; then
5430 ac_cv_prog_AR="$AR" # Let the user override the test.
5431else
5432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433for as_dir in $PATH
5434do
5435 IFS=$as_save_IFS
5436 test -z "$as_dir" && as_dir=.
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5439 ac_cv_prog_AR="${ac_tool_prefix}ar"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 break 2
5442 fi
5443done
5444 done
5445IFS=$as_save_IFS
5446
5447fi
5448fi
5449AR=$ac_cv_prog_AR
5450if test -n "$AR"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5452$as_echo "$AR" >&6; }
5453else
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455$as_echo "no" >&6; }
5456fi
5457
5458
5459fi
5460if test -z "$ac_cv_prog_AR"; then
5461 ac_ct_AR=$AR
5462 # Extract the first word of "ar", so it can be a program name with args.
5463set dummy ar; ac_word=$2
5464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465$as_echo_n "checking for $ac_word... " >&6; }
5466if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5467 $as_echo_n "(cached) " >&6
5468else
5469 if test -n "$ac_ct_AR"; then
5470 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5471else
5472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473for as_dir in $PATH
5474do
5475 IFS=$as_save_IFS
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5479 ac_cv_prog_ac_ct_AR="ar"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 break 2
5482 fi
5483done
5484 done
5485IFS=$as_save_IFS
5486
5487fi
5488fi
5489ac_ct_AR=$ac_cv_prog_ac_ct_AR
5490if test -n "$ac_ct_AR"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5492$as_echo "$ac_ct_AR" >&6; }
5493else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495$as_echo "no" >&6; }
5496fi
5497
5498 if test "x$ac_ct_AR" = x; then
5499 AR="false"
5500 else
5501 case $cross_compiling:$ac_tool_warned in
5502yes:)
5503{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5504$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5505ac_tool_warned=yes ;;
5506esac
5507 AR=$ac_ct_AR
5508 fi
5509else
5510 AR="$ac_cv_prog_AR"
5511fi
5512
5513test -z "$AR" && AR=ar
5514test -z "$AR_FLAGS" && AR_FLAGS=cru
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526if test -n "$ac_tool_prefix"; then
5527 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5528set dummy ${ac_tool_prefix}strip; ac_word=$2
5529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530$as_echo_n "checking for $ac_word... " >&6; }
5531if test "${ac_cv_prog_STRIP+set}" = set; then :
5532 $as_echo_n "(cached) " >&6
5533else
5534 if test -n "$STRIP"; then
5535 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5536else
5537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538for as_dir in $PATH
5539do
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5547 fi
5548done
5549 done
5550IFS=$as_save_IFS
5551
5552fi
5553fi
5554STRIP=$ac_cv_prog_STRIP
5555if test -n "$STRIP"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5557$as_echo "$STRIP" >&6; }
5558else
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560$as_echo "no" >&6; }
5561fi
5562
5563
5564fi
5565if test -z "$ac_cv_prog_STRIP"; then
5566 ac_ct_STRIP=$STRIP
5567 # Extract the first word of "strip", so it can be a program name with args.
5568set dummy strip; ac_word=$2
5569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570$as_echo_n "checking for $ac_word... " >&6; }
5571if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5572 $as_echo_n "(cached) " >&6
5573else
5574 if test -n "$ac_ct_STRIP"; then
5575 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5576else
5577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5578for as_dir in $PATH
5579do
5580 IFS=$as_save_IFS
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5584 ac_cv_prog_ac_ct_STRIP="strip"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 break 2
5587 fi
5588done
5589 done
5590IFS=$as_save_IFS
5591
5592fi
5593fi
5594ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5595if test -n "$ac_ct_STRIP"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5597$as_echo "$ac_ct_STRIP" >&6; }
5598else
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600$as_echo "no" >&6; }
5601fi
5602
5603 if test "x$ac_ct_STRIP" = x; then
5604 STRIP=":"
5605 else
5606 case $cross_compiling:$ac_tool_warned in
5607yes:)
5608{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5609$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5610ac_tool_warned=yes ;;
5611esac
5612 STRIP=$ac_ct_STRIP
5613 fi
5614else
5615 STRIP="$ac_cv_prog_STRIP"
5616fi
5617
5618test -z "$STRIP" && STRIP=:
5619
5620
5621
5622
5623
5624
5625if test -n "$ac_tool_prefix"; then
5626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5627set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5629$as_echo_n "checking for $ac_word... " >&6; }
5630if test "${ac_cv_prog_RANLIB+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5632else
5633 if test -n "$RANLIB"; then
5634 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5635else
5636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637for as_dir in $PATH
5638do
5639 IFS=$as_save_IFS
5640 test -z "$as_dir" && as_dir=.
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 break 2
5646 fi
5647done
5648 done
5649IFS=$as_save_IFS
5650
5651fi
5652fi
5653RANLIB=$ac_cv_prog_RANLIB
5654if test -n "$RANLIB"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5656$as_echo "$RANLIB" >&6; }
5657else
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659$as_echo "no" >&6; }
5660fi
5661
5662
5663fi
5664if test -z "$ac_cv_prog_RANLIB"; then
5665 ac_ct_RANLIB=$RANLIB
5666 # Extract the first word of "ranlib", so it can be a program name with args.
5667set dummy ranlib; ac_word=$2
5668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669$as_echo_n "checking for $ac_word... " >&6; }
5670if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5671 $as_echo_n "(cached) " >&6
5672else
5673 if test -n "$ac_ct_RANLIB"; then
5674 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5675else
5676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677for as_dir in $PATH
5678do
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5683 ac_cv_prog_ac_ct_RANLIB="ranlib"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 break 2
5686 fi
5687done
5688 done
5689IFS=$as_save_IFS
5690
5691fi
5692fi
5693ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5694if test -n "$ac_ct_RANLIB"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5696$as_echo "$ac_ct_RANLIB" >&6; }
5697else
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699$as_echo "no" >&6; }
5700fi
5701
5702 if test "x$ac_ct_RANLIB" = x; then
5703 RANLIB=":"
5704 else
5705 case $cross_compiling:$ac_tool_warned in
5706yes:)
5707{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5708$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5709ac_tool_warned=yes ;;
5710esac
5711 RANLIB=$ac_ct_RANLIB
5712 fi
5713else
5714 RANLIB="$ac_cv_prog_RANLIB"
5715fi
5716
5717test -z "$RANLIB" && RANLIB=:
5718
5719
5720
5721
5722
5723
5724# Determine commands to create old-style static archives.
5725old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5726old_postinstall_cmds='chmod 644 $oldlib'
5727old_postuninstall_cmds=
5728
5729if test -n "$RANLIB"; then
5730 case $host_os in
5731 openbsd*)
5732 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5733 ;;
5734 *)
5735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5736 ;;
5737 esac
5738 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5739fi
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
5768
5769
5770
5771
5772
5773
5774# If no C compiler was specified, use CC.
5775LTCC=${LTCC-"$CC"}
5776
5777# If no C compiler flags were specified, use CFLAGS.
5778LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5779
5780# Allow CC to be a program name with arguments.
5781compiler=$CC
5782
5783
5784# Check for command to grab the raw symbol name followed by C symbol from nm.
5785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5786$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5787if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789else
5790
5791# These are sane defaults that work on at least a few old systems.
5792# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5793
5794# Character class describing NM global symbol codes.
5795symcode='[BCDEGRST]'
5796
5797# Regexp to match symbols that can be accessed directly from C.
5798sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5799
5800# Define system-specific variables.
5801case $host_os in
5802aix*)
5803 symcode='[BCDT]'
5804 ;;
5805cygwin* | mingw* | pw32* | cegcc*)
5806 symcode='[ABCDGISTW]'
5807 ;;
5808hpux*)
5809 if test "$host_cpu" = ia64; then
5810 symcode='[ABCDEGRST]'
5811 fi
5812 ;;
5813irix* | nonstopux*)
5814 symcode='[BCDEGRST]'
5815 ;;
5816osf*)
5817 symcode='[BCDEGQRST]'
5818 ;;
5819solaris*)
5820 symcode='[BDRT]'
5821 ;;
5822sco3.2v5*)
5823 symcode='[DT]'
5824 ;;
5825sysv4.2uw2*)
5826 symcode='[DT]'
5827 ;;
5828sysv5* | sco5v6* | unixware* | OpenUNIX*)
5829 symcode='[ABDT]'
5830 ;;
5831sysv4)
5832 symcode='[DFNSTU]'
5833 ;;
5834esac
5835
5836# If we're using GNU nm, then use its standard symbol codes.
5837case `$NM -V 2>&1` in
5838*GNU* | *'with BFD'*)
5839 symcode='[ABCDGIRSTW]' ;;
5840esac
5841
5842# Transform an extracted symbol line into a proper C declaration.
5843# Some systems (esp. on ia64) link data and code symbols differently,
5844# so use this general approach.
5845lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5846
5847# Transform an extracted symbol line into symbol name and symbol address
5848lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5849lt_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'"
5850
5851# Handle CRLF in mingw tool chain
5852opt_cr=
5853case $build_os in
5854mingw*)
5855 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5856 ;;
5857esac
5858
5859# Try without a prefix underscore, then with it.
5860for ac_symprfx in "" "_"; do
5861
5862 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5863 symxfrm="\\1 $ac_symprfx\\2 \\2"
5864
5865 # Write the raw and C identifiers.
5866 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5867 # Fake it for dumpbin and say T for any non-static function
5868 # and D for any global variable.
5869 # Also find C++ and __fastcall symbols from MSVC++,
5870 # which start with @ or ?.
5871 lt_cv_sys_global_symbol_pipe="$AWK '"\
5872" {last_section=section; section=\$ 3};"\
5873" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5874" \$ 0!~/External *\|/{next};"\
5875" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5876" {if(hide[section]) next};"\
5877" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5878" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5879" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5880" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5881" ' prfx=^$ac_symprfx"
5882 else
5883 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5884 fi
5885
5886 # Check to see that the pipe works correctly.
5887 pipe_works=no
5888
5889 rm -f conftest*
5890 cat > conftest.$ac_ext <<_LT_EOF
5891#ifdef __cplusplus
5892extern "C" {
5893#endif
5894char nm_test_var;
5895void nm_test_func(void);
5896void nm_test_func(void){}
5897#ifdef __cplusplus
5898}
5899#endif
5900int main(){nm_test_var='a';nm_test_func();return(0);}
5901_LT_EOF
5902
5903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5904 (eval $ac_compile) 2>&5
5905 ac_status=$?
5906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5907 test $ac_status = 0; }; then
5908 # Now try to grab the symbols.
5909 nlist=conftest.nm
5910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5911 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5912 ac_status=$?
5913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5914 test $ac_status = 0; } && test -s "$nlist"; then
5915 # Try sorting and uniquifying the output.
5916 if sort "$nlist" | uniq > "$nlist"T; then
5917 mv -f "$nlist"T "$nlist"
5918 else
5919 rm -f "$nlist"T
5920 fi
5921
5922 # Make sure that we snagged all the symbols we need.
5923 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5924 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5925 cat <<_LT_EOF > conftest.$ac_ext
5926#ifdef __cplusplus
5927extern "C" {
5928#endif
5929
5930_LT_EOF
5931 # Now generate the symbol file.
5932 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5933
5934 cat <<_LT_EOF >> conftest.$ac_ext
5935
5936/* The mapping between symbol names and symbols. */
5937const struct {
5938 const char *name;
5939 void *address;
5940}
5941lt__PROGRAM__LTX_preloaded_symbols[] =
5942{
5943 { "@PROGRAM@", (void *) 0 },
5944_LT_EOF
5945 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5946 cat <<\_LT_EOF >> conftest.$ac_ext
5947 {0, (void *) 0}
5948};
5949
5950/* This works around a problem in FreeBSD linker */
5951#ifdef FREEBSD_WORKAROUND
5952static const void *lt_preloaded_setup() {
5953 return lt__PROGRAM__LTX_preloaded_symbols;
5954}
5955#endif
5956
5957#ifdef __cplusplus
5958}
5959#endif
5960_LT_EOF
5961 # Now try linking the two files.
5962 mv conftest.$ac_objext conftstm.$ac_objext
5963 lt_save_LIBS="$LIBS"
5964 lt_save_CFLAGS="$CFLAGS"
5965 LIBS="conftstm.$ac_objext"
5966 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5968 (eval $ac_link) 2>&5
5969 ac_status=$?
5970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5971 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5972 pipe_works=yes
5973 fi
5974 LIBS="$lt_save_LIBS"
5975 CFLAGS="$lt_save_CFLAGS"
5976 else
5977 echo "cannot find nm_test_func in $nlist" >&5
5978 fi
5979 else
5980 echo "cannot find nm_test_var in $nlist" >&5
5981 fi
5982 else
5983 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5984 fi
5985 else
5986 echo "$progname: failed program was:" >&5
5987 cat conftest.$ac_ext >&5
5988 fi
5989 rm -rf conftest* conftst*
5990
5991 # Do not use the global_symbol_pipe unless it works.
5992 if test "$pipe_works" = yes; then
5993 break
5994 else
5995 lt_cv_sys_global_symbol_pipe=
5996 fi
5997done
5998
5999fi
6000
6001if test -z "$lt_cv_sys_global_symbol_pipe"; then
6002 lt_cv_sys_global_symbol_to_cdecl=
6003fi
6004if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6006$as_echo "failed" >&6; }
6007else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6009$as_echo "ok" >&6; }
6010fi
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034# Check whether --enable-libtool-lock was given.
6035if test "${enable_libtool_lock+set}" = set; then :
6036 enableval=$enable_libtool_lock;
6037fi
6038
6039test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6040
6041# Some flags need to be propagated to the compiler or linker for good
6042# libtool support.
6043case $host in
6044ia64-*-hpux*)
6045 # Find out which ABI we are using.
6046 echo 'int i;' > conftest.$ac_ext
6047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6048 (eval $ac_compile) 2>&5
6049 ac_status=$?
6050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6051 test $ac_status = 0; }; then
6052 case `/usr/bin/file conftest.$ac_objext` in
6053 *ELF-32*)
6054 HPUX_IA64_MODE="32"
6055 ;;
6056 *ELF-64*)
6057 HPUX_IA64_MODE="64"
6058 ;;
6059 esac
6060 fi
6061 rm -rf conftest*
6062 ;;
6063*-*-irix6*)
6064 # Find out which ABI we are using.
6065 echo '#line 6065 "configure"' > conftest.$ac_ext
6066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6067 (eval $ac_compile) 2>&5
6068 ac_status=$?
6069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6070 test $ac_status = 0; }; then
6071 if test "$lt_cv_prog_gnu_ld" = yes; then
6072 case `/usr/bin/file conftest.$ac_objext` in
6073 *32-bit*)
6074 LD="${LD-ld} -melf32bsmip"
6075 ;;
6076 *N32*)
6077 LD="${LD-ld} -melf32bmipn32"
6078 ;;
6079 *64-bit*)
6080 LD="${LD-ld} -melf64bmip"
6081 ;;
6082 esac
6083 else
6084 case `/usr/bin/file conftest.$ac_objext` in
6085 *32-bit*)
6086 LD="${LD-ld} -32"
6087 ;;
6088 *N32*)
6089 LD="${LD-ld} -n32"
6090 ;;
6091 *64-bit*)
6092 LD="${LD-ld} -64"
6093 ;;
6094 esac
6095 fi
6096 fi
6097 rm -rf conftest*
6098 ;;
6099
6100x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6101s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6102 # Find out which ABI we are using.
6103 echo 'int i;' > conftest.$ac_ext
6104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6105 (eval $ac_compile) 2>&5
6106 ac_status=$?
6107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6108 test $ac_status = 0; }; then
6109 case `/usr/bin/file conftest.o` in
6110 *32-bit*)
6111 case $host in
6112 x86_64-*kfreebsd*-gnu)
6113 LD="${LD-ld} -m elf_i386_fbsd"
6114 ;;
6115 x86_64-*linux*)
6116 LD="${LD-ld} -m elf_i386"
6117 ;;
6118 ppc64-*linux*|powerpc64-*linux*)
6119 LD="${LD-ld} -m elf32ppclinux"
6120 ;;
6121 s390x-*linux*)
6122 LD="${LD-ld} -m elf_s390"
6123 ;;
6124 sparc64-*linux*)
6125 LD="${LD-ld} -m elf32_sparc"
6126 ;;
6127 esac
6128 ;;
6129 *64-bit*)
6130 case $host in
6131 x86_64-*kfreebsd*-gnu)
6132 LD="${LD-ld} -m elf_x86_64_fbsd"
6133 ;;
6134 x86_64-*linux*)
6135 LD="${LD-ld} -m elf_x86_64"
6136 ;;
6137 ppc*-*linux*|powerpc*-*linux*)
6138 LD="${LD-ld} -m elf64ppc"
6139 ;;
6140 s390*-*linux*|s390*-*tpf*)
6141 LD="${LD-ld} -m elf64_s390"
6142 ;;
6143 sparc*-*linux*)
6144 LD="${LD-ld} -m elf64_sparc"
6145 ;;
6146 esac
6147 ;;
6148 esac
6149 fi
6150 rm -rf conftest*
6151 ;;
6152
6153*-*-sco3.2v5*)
6154 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6155 SAVE_CFLAGS="$CFLAGS"
6156 CFLAGS="$CFLAGS -belf"
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6158$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6159if test "${lt_cv_cc_needs_belf+set}" = set; then :
6160 $as_echo_n "(cached) " >&6
6161else
6162 ac_ext=c
6163ac_cpp='$CPP $CPPFLAGS'
6164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6166ac_compiler_gnu=$ac_cv_c_compiler_gnu
6167
6168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6169/* end confdefs.h. */
6170
6171int
6172main ()
6173{
6174
6175 ;
6176 return 0;
6177}
6178_ACEOF
6179if ac_fn_c_try_link "$LINENO"; then :
6180 lt_cv_cc_needs_belf=yes
6181else
6182 lt_cv_cc_needs_belf=no
6183fi
6184rm -f core conftest.err conftest.$ac_objext \
6185 conftest$ac_exeext conftest.$ac_ext
6186 ac_ext=c
6187ac_cpp='$CPP $CPPFLAGS'
6188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6190ac_compiler_gnu=$ac_cv_c_compiler_gnu
6191
6192fi
6193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6194$as_echo "$lt_cv_cc_needs_belf" >&6; }
6195 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6197 CFLAGS="$SAVE_CFLAGS"
6198 fi
6199 ;;
6200sparc*-*solaris*)
6201 # Find out which ABI we are using.
6202 echo 'int i;' > conftest.$ac_ext
6203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6204 (eval $ac_compile) 2>&5
6205 ac_status=$?
6206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6207 test $ac_status = 0; }; then
6208 case `/usr/bin/file conftest.o` in
6209 *64-bit*)
6210 case $lt_cv_prog_gnu_ld in
6211 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6212 *)
6213 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6214 LD="${LD-ld} -64"
6215 fi
6216 ;;
6217 esac
6218 ;;
6219 esac
6220 fi
6221 rm -rf conftest*
6222 ;;
6223esac
6224
6225need_locks="$enable_libtool_lock"
6226
6227
6228 case $host_os in
6229 rhapsody* | darwin*)
6230 if test -n "$ac_tool_prefix"; then
6231 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6232set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234$as_echo_n "checking for $ac_word... " >&6; }
6235if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6236 $as_echo_n "(cached) " >&6
6237else
6238 if test -n "$DSYMUTIL"; then
6239 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6240else
6241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242for as_dir in $PATH
6243do
6244 IFS=$as_save_IFS
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 break 2
6251 fi
6252done
6253 done
6254IFS=$as_save_IFS
6255
6256fi
6257fi
6258DSYMUTIL=$ac_cv_prog_DSYMUTIL
6259if test -n "$DSYMUTIL"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6261$as_echo "$DSYMUTIL" >&6; }
6262else
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264$as_echo "no" >&6; }
6265fi
6266
6267
6268fi
6269if test -z "$ac_cv_prog_DSYMUTIL"; then
6270 ac_ct_DSYMUTIL=$DSYMUTIL
6271 # Extract the first word of "dsymutil", so it can be a program name with args.
6272set dummy dsymutil; ac_word=$2
6273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6274$as_echo_n "checking for $ac_word... " >&6; }
6275if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6276 $as_echo_n "(cached) " >&6
6277else
6278 if test -n "$ac_ct_DSYMUTIL"; then
6279 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6280else
6281as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282for as_dir in $PATH
6283do
6284 IFS=$as_save_IFS
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 break 2
6291 fi
6292done
6293 done
6294IFS=$as_save_IFS
6295
6296fi
6297fi
6298ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6299if test -n "$ac_ct_DSYMUTIL"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6301$as_echo "$ac_ct_DSYMUTIL" >&6; }
6302else
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304$as_echo "no" >&6; }
6305fi
6306
6307 if test "x$ac_ct_DSYMUTIL" = x; then
6308 DSYMUTIL=":"
6309 else
6310 case $cross_compiling:$ac_tool_warned in
6311yes:)
6312{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6313$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6314ac_tool_warned=yes ;;
6315esac
6316 DSYMUTIL=$ac_ct_DSYMUTIL
6317 fi
6318else
6319 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6320fi
6321
6322 if test -n "$ac_tool_prefix"; then
6323 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6324set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326$as_echo_n "checking for $ac_word... " >&6; }
6327if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6328 $as_echo_n "(cached) " >&6
6329else
6330 if test -n "$NMEDIT"; then
6331 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6332else
6333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334for as_dir in $PATH
6335do
6336 IFS=$as_save_IFS
6337 test -z "$as_dir" && as_dir=.
6338 for ac_exec_ext in '' $ac_executable_extensions; do
6339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 break 2
6343 fi
6344done
6345 done
6346IFS=$as_save_IFS
6347
6348fi
6349fi
6350NMEDIT=$ac_cv_prog_NMEDIT
6351if test -n "$NMEDIT"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6353$as_echo "$NMEDIT" >&6; }
6354else
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356$as_echo "no" >&6; }
6357fi
6358
6359
6360fi
6361if test -z "$ac_cv_prog_NMEDIT"; then
6362 ac_ct_NMEDIT=$NMEDIT
6363 # Extract the first word of "nmedit", so it can be a program name with args.
6364set dummy nmedit; ac_word=$2
6365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366$as_echo_n "checking for $ac_word... " >&6; }
6367if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6368 $as_echo_n "(cached) " >&6
6369else
6370 if test -n "$ac_ct_NMEDIT"; then
6371 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6372else
6373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374for as_dir in $PATH
6375do
6376 IFS=$as_save_IFS
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 break 2
6383 fi
6384done
6385 done
6386IFS=$as_save_IFS
6387
6388fi
6389fi
6390ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6391if test -n "$ac_ct_NMEDIT"; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6393$as_echo "$ac_ct_NMEDIT" >&6; }
6394else
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6396$as_echo "no" >&6; }
6397fi
6398
6399 if test "x$ac_ct_NMEDIT" = x; then
6400 NMEDIT=":"
6401 else
6402 case $cross_compiling:$ac_tool_warned in
6403yes:)
6404{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6405$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6406ac_tool_warned=yes ;;
6407esac
6408 NMEDIT=$ac_ct_NMEDIT
6409 fi
6410else
6411 NMEDIT="$ac_cv_prog_NMEDIT"
6412fi
6413
6414 if test -n "$ac_tool_prefix"; then
6415 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6416set dummy ${ac_tool_prefix}lipo; ac_word=$2
6417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6418$as_echo_n "checking for $ac_word... " >&6; }
6419if test "${ac_cv_prog_LIPO+set}" = set; then :
6420 $as_echo_n "(cached) " >&6
6421else
6422 if test -n "$LIPO"; then
6423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6424else
6425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426for as_dir in $PATH
6427do
6428 IFS=$as_save_IFS
6429 test -z "$as_dir" && as_dir=.
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6434 break 2
6435 fi
6436done
6437 done
6438IFS=$as_save_IFS
6439
6440fi
6441fi
6442LIPO=$ac_cv_prog_LIPO
6443if test -n "$LIPO"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6445$as_echo "$LIPO" >&6; }
6446else
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448$as_echo "no" >&6; }
6449fi
6450
6451
6452fi
6453if test -z "$ac_cv_prog_LIPO"; then
6454 ac_ct_LIPO=$LIPO
6455 # Extract the first word of "lipo", so it can be a program name with args.
6456set dummy lipo; ac_word=$2
6457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458$as_echo_n "checking for $ac_word... " >&6; }
6459if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6460 $as_echo_n "(cached) " >&6
6461else
6462 if test -n "$ac_ct_LIPO"; then
6463 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6464else
6465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466for as_dir in $PATH
6467do
6468 IFS=$as_save_IFS
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_ac_ct_LIPO="lipo"
6473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6474 break 2
6475 fi
6476done
6477 done
6478IFS=$as_save_IFS
6479
6480fi
6481fi
6482ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6483if test -n "$ac_ct_LIPO"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6485$as_echo "$ac_ct_LIPO" >&6; }
6486else
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6488$as_echo "no" >&6; }
6489fi
6490
6491 if test "x$ac_ct_LIPO" = x; then
6492 LIPO=":"
6493 else
6494 case $cross_compiling:$ac_tool_warned in
6495yes:)
6496{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6497$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6498ac_tool_warned=yes ;;
6499esac
6500 LIPO=$ac_ct_LIPO
6501 fi
6502else
6503 LIPO="$ac_cv_prog_LIPO"
6504fi
6505
6506 if test -n "$ac_tool_prefix"; then
6507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6508set dummy ${ac_tool_prefix}otool; ac_word=$2
6509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510$as_echo_n "checking for $ac_word... " >&6; }
6511if test "${ac_cv_prog_OTOOL+set}" = set; then :
6512 $as_echo_n "(cached) " >&6
6513else
6514 if test -n "$OTOOL"; then
6515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6516else
6517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518for as_dir in $PATH
6519do
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6527 fi
6528done
6529 done
6530IFS=$as_save_IFS
6531
6532fi
6533fi
6534OTOOL=$ac_cv_prog_OTOOL
6535if test -n "$OTOOL"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6537$as_echo "$OTOOL" >&6; }
6538else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540$as_echo "no" >&6; }
6541fi
6542
6543
6544fi
6545if test -z "$ac_cv_prog_OTOOL"; then
6546 ac_ct_OTOOL=$OTOOL
6547 # Extract the first word of "otool", so it can be a program name with args.
6548set dummy otool; ac_word=$2
6549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550$as_echo_n "checking for $ac_word... " >&6; }
6551if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6552 $as_echo_n "(cached) " >&6
6553else
6554 if test -n "$ac_ct_OTOOL"; then
6555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6556else
6557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558for as_dir in $PATH
6559do
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6564 ac_cv_prog_ac_ct_OTOOL="otool"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6567 fi
6568done
6569 done
6570IFS=$as_save_IFS
6571
6572fi
6573fi
6574ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6575if test -n "$ac_ct_OTOOL"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6577$as_echo "$ac_ct_OTOOL" >&6; }
6578else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580$as_echo "no" >&6; }
6581fi
6582
6583 if test "x$ac_ct_OTOOL" = x; then
6584 OTOOL=":"
6585 else
6586 case $cross_compiling:$ac_tool_warned in
6587yes:)
6588{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6589$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6590ac_tool_warned=yes ;;
6591esac
6592 OTOOL=$ac_ct_OTOOL
6593 fi
6594else
6595 OTOOL="$ac_cv_prog_OTOOL"
6596fi
6597
6598 if test -n "$ac_tool_prefix"; then
6599 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6600set dummy ${ac_tool_prefix}otool64; ac_word=$2
6601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602$as_echo_n "checking for $ac_word... " >&6; }
6603if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6604 $as_echo_n "(cached) " >&6
6605else
6606 if test -n "$OTOOL64"; then
6607 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6608else
6609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610for as_dir in $PATH
6611do
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6616 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6619 fi
6620done
6621 done
6622IFS=$as_save_IFS
6623
6624fi
6625fi
6626OTOOL64=$ac_cv_prog_OTOOL64
6627if test -n "$OTOOL64"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6629$as_echo "$OTOOL64" >&6; }
6630else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632$as_echo "no" >&6; }
6633fi
6634
6635
6636fi
6637if test -z "$ac_cv_prog_OTOOL64"; then
6638 ac_ct_OTOOL64=$OTOOL64
6639 # Extract the first word of "otool64", so it can be a program name with args.
6640set dummy otool64; ac_word=$2
6641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642$as_echo_n "checking for $ac_word... " >&6; }
6643if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6644 $as_echo_n "(cached) " >&6
6645else
6646 if test -n "$ac_ct_OTOOL64"; then
6647 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6648else
6649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650for as_dir in $PATH
6651do
6652 IFS=$as_save_IFS
6653 test -z "$as_dir" && as_dir=.
6654 for ac_exec_ext in '' $ac_executable_extensions; do
6655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656 ac_cv_prog_ac_ct_OTOOL64="otool64"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658 break 2
6659 fi
6660done
6661 done
6662IFS=$as_save_IFS
6663
6664fi
6665fi
6666ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6667if test -n "$ac_ct_OTOOL64"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6669$as_echo "$ac_ct_OTOOL64" >&6; }
6670else
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672$as_echo "no" >&6; }
6673fi
6674
6675 if test "x$ac_ct_OTOOL64" = x; then
6676 OTOOL64=":"
6677 else
6678 case $cross_compiling:$ac_tool_warned in
6679yes:)
6680{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6681$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6682ac_tool_warned=yes ;;
6683esac
6684 OTOOL64=$ac_ct_OTOOL64
6685 fi
6686else
6687 OTOOL64="$ac_cv_prog_OTOOL64"
6688fi
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6717$as_echo_n "checking for -single_module linker flag... " >&6; }
6718if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6719 $as_echo_n "(cached) " >&6
6720else
6721 lt_cv_apple_cc_single_mod=no
6722 if test -z "${LT_MULTI_MODULE}"; then
6723 # By default we will add the -single_module flag. You can override
6724 # by either setting the environment variable LT_MULTI_MODULE
6725 # non-empty at configure time, or by adding -multi_module to the
6726 # link flags.
6727 rm -rf libconftest.dylib*
6728 echo "int foo(void){return 1;}" > conftest.c
6729 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6730-dynamiclib -Wl,-single_module conftest.c" >&5
6731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6732 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6733 _lt_result=$?
6734 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6735 lt_cv_apple_cc_single_mod=yes
6736 else
6737 cat conftest.err >&5
6738 fi
6739 rm -rf libconftest.dylib*
6740 rm -f conftest.*
6741 fi
6742fi
6743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6744$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6746$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6747if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6748 $as_echo_n "(cached) " >&6
6749else
6750 lt_cv_ld_exported_symbols_list=no
6751 save_LDFLAGS=$LDFLAGS
6752 echo "_main" > conftest.sym
6753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6755/* end confdefs.h. */
6756
6757int
6758main ()
6759{
6760
6761 ;
6762 return 0;
6763}
6764_ACEOF
6765if ac_fn_c_try_link "$LINENO"; then :
6766 lt_cv_ld_exported_symbols_list=yes
6767else
6768 lt_cv_ld_exported_symbols_list=no
6769fi
6770rm -f core conftest.err conftest.$ac_objext \
6771 conftest$ac_exeext conftest.$ac_ext
6772 LDFLAGS="$save_LDFLAGS"
6773
6774fi
6775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6776$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6777 case $host_os in
6778 rhapsody* | darwin1.[012])
6779 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6780 darwin1.*)
6781 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6782 darwin*) # darwin 5.x on
6783 # if running on 10.5 or later, the deployment target defaults
6784 # to the OS version, if on x86, and 10.4, the deployment
6785 # target defaults to 10.4. Don't you love it?
6786 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6787 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6788 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6789 10.[012]*)
6790 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6791 10.*)
6792 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6793 esac
6794 ;;
6795 esac
6796 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6797 _lt_dar_single_mod='$single_module'
6798 fi
6799 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6800 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6801 else
6802 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6803 fi
6804 if test "$DSYMUTIL" != ":"; then
6805 _lt_dsymutil='~$DSYMUTIL $lib || :'
6806 else
6807 _lt_dsymutil=
6808 fi
6809 ;;
6810 esac
6811
6812ac_ext=c
6813ac_cpp='$CPP $CPPFLAGS'
6814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6816ac_compiler_gnu=$ac_cv_c_compiler_gnu
6817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6818$as_echo_n "checking how to run the C preprocessor... " >&6; }
6819# On Suns, sometimes $CPP names a directory.
6820if test -n "$CPP" && test -d "$CPP"; then
6821 CPP=
6822fi
6823if test -z "$CPP"; then
6824 if test "${ac_cv_prog_CPP+set}" = set; then :
6825 $as_echo_n "(cached) " >&6
6826else
6827 # Double quotes because CPP needs to be expanded
6828 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6829 do
6830 ac_preproc_ok=false
6831for ac_c_preproc_warn_flag in '' yes
6832do
6833 # Use a header file that comes with gcc, so configuring glibc
6834 # with a fresh cross-compiler works.
6835 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6836 # <limits.h> exists even on freestanding compilers.
6837 # On the NeXT, cc -E runs the code through the compiler's parser,
6838 # not just through cpp. "Syntax error" is here to catch this case.
6839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6840/* end confdefs.h. */
6841#ifdef __STDC__
6842# include <limits.h>
6843#else
6844# include <assert.h>
6845#endif
6846 Syntax error
6847_ACEOF
6848if ac_fn_c_try_cpp "$LINENO"; then :
6849
6850else
6851 # Broken: fails on valid input.
6852continue
6853fi
6854rm -f conftest.err conftest.i conftest.$ac_ext
6855
6856 # OK, works on sane cases. Now check whether nonexistent headers
6857 # can be detected and how.
6858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6859/* end confdefs.h. */
6860#include <ac_nonexistent.h>
6861_ACEOF
6862if ac_fn_c_try_cpp "$LINENO"; then :
6863 # Broken: success on invalid input.
6864continue
6865else
6866 # Passes both tests.
6867ac_preproc_ok=:
6868break
6869fi
6870rm -f conftest.err conftest.i conftest.$ac_ext
6871
6872done
6873# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6874rm -f conftest.i conftest.err conftest.$ac_ext
6875if $ac_preproc_ok; then :
6876 break
6877fi
6878
6879 done
6880 ac_cv_prog_CPP=$CPP
6881
6882fi
6883 CPP=$ac_cv_prog_CPP
6884else
6885 ac_cv_prog_CPP=$CPP
6886fi
6887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6888$as_echo "$CPP" >&6; }
6889ac_preproc_ok=false
6890for ac_c_preproc_warn_flag in '' yes
6891do
6892 # Use a header file that comes with gcc, so configuring glibc
6893 # with a fresh cross-compiler works.
6894 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6895 # <limits.h> exists even on freestanding compilers.
6896 # On the NeXT, cc -E runs the code through the compiler's parser,
6897 # not just through cpp. "Syntax error" is here to catch this case.
6898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6899/* end confdefs.h. */
6900#ifdef __STDC__
6901# include <limits.h>
6902#else
6903# include <assert.h>
6904#endif
6905 Syntax error
6906_ACEOF
6907if ac_fn_c_try_cpp "$LINENO"; then :
6908
6909else
6910 # Broken: fails on valid input.
6911continue
6912fi
6913rm -f conftest.err conftest.i conftest.$ac_ext
6914
6915 # OK, works on sane cases. Now check whether nonexistent headers
6916 # can be detected and how.
6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6918/* end confdefs.h. */
6919#include <ac_nonexistent.h>
6920_ACEOF
6921if ac_fn_c_try_cpp "$LINENO"; then :
6922 # Broken: success on invalid input.
6923continue
6924else
6925 # Passes both tests.
6926ac_preproc_ok=:
6927break
6928fi
6929rm -f conftest.err conftest.i conftest.$ac_ext
6930
6931done
6932# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6933rm -f conftest.i conftest.err conftest.$ac_ext
6934if $ac_preproc_ok; then :
6935
6936else
6937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6938$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6939as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6940See \`config.log' for more details" "$LINENO" 5 ; }
6941fi
6942
6943ac_ext=c
6944ac_cpp='$CPP $CPPFLAGS'
6945ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6946ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6947ac_compiler_gnu=$ac_cv_c_compiler_gnu
6948
6949
6950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6951$as_echo_n "checking for ANSI C header files... " >&6; }
6952if test "${ac_cv_header_stdc+set}" = set; then :
6953 $as_echo_n "(cached) " >&6
6954else
6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956/* end confdefs.h. */
6957#include <stdlib.h>
6958#include <stdarg.h>
6959#include <string.h>
6960#include <float.h>
6961
6962int
6963main ()
6964{
6965
6966 ;
6967 return 0;
6968}
6969_ACEOF
6970if ac_fn_c_try_compile "$LINENO"; then :
6971 ac_cv_header_stdc=yes
6972else
6973 ac_cv_header_stdc=no
6974fi
6975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6976
6977if test $ac_cv_header_stdc = yes; then
6978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980/* end confdefs.h. */
6981#include <string.h>
6982
6983_ACEOF
6984if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6985 $EGREP "memchr" >/dev/null 2>&1; then :
6986
6987else
6988 ac_cv_header_stdc=no
6989fi
6990rm -f conftest*
6991
6992fi
6993
6994if test $ac_cv_header_stdc = yes; then
6995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6997/* end confdefs.h. */
6998#include <stdlib.h>
6999
7000_ACEOF
7001if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7002 $EGREP "free" >/dev/null 2>&1; then :
7003
7004else
7005 ac_cv_header_stdc=no
7006fi
7007rm -f conftest*
7008
7009fi
7010
7011if test $ac_cv_header_stdc = yes; then
7012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7013 if test "$cross_compiling" = yes; then :
7014 :
7015else
7016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017/* end confdefs.h. */
7018#include <ctype.h>
7019#include <stdlib.h>
7020#if ((' ' & 0x0FF) == 0x020)
7021# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7022# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7023#else
7024# define ISLOWER(c) \
7025 (('a' <= (c) && (c) <= 'i') \
7026 || ('j' <= (c) && (c) <= 'r') \
7027 || ('s' <= (c) && (c) <= 'z'))
7028# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7029#endif
7030
7031#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7032int
7033main ()
7034{
7035 int i;
7036 for (i = 0; i < 256; i++)
7037 if (XOR (islower (i), ISLOWER (i))
7038 || toupper (i) != TOUPPER (i))
7039 return 2;
7040 return 0;
7041}
7042_ACEOF
7043if ac_fn_c_try_run "$LINENO"; then :
7044
7045else
7046 ac_cv_header_stdc=no
7047fi
7048rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7049 conftest.$ac_objext conftest.beam conftest.$ac_ext
7050fi
7051
7052fi
7053fi
7054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7055$as_echo "$ac_cv_header_stdc" >&6; }
7056if test $ac_cv_header_stdc = yes; then
7057
7058$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7059
7060fi
7061
7062# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7063for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7064 inttypes.h stdint.h unistd.h
7065do :
7066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7067ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7068"
7069if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7070 cat >>confdefs.h <<_ACEOF
7071#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7072_ACEOF
7073
7074fi
7075
7076done
7077
7078
7079for ac_header in dlfcn.h
7080do :
7081 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7082"
7083if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7084 cat >>confdefs.h <<_ACEOF
7085#define HAVE_DLFCN_H 1
7086_ACEOF
7087
7088fi
7089
7090done
7091
7092
7093
7094# Set options
7095
7096
7097
7098 enable_dlopen=no
7099
7100
7101
7102 # Check whether --enable-shared was given.
7103if test "${enable_shared+set}" = set; then :
7104 enableval=$enable_shared; p=${PACKAGE-default}
7105 case $enableval in
7106 yes) enable_shared=yes ;;
7107 no) enable_shared=no ;;
7108 *)
7109 enable_shared=no
7110 # Look at the argument we got. We use all the common list separators.
7111 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7112 for pkg in $enableval; do
7113 IFS="$lt_save_ifs"
7114 if test "X$pkg" = "X$p"; then
7115 enable_shared=yes
7116 fi
7117 done
7118 IFS="$lt_save_ifs"
7119 ;;
7120 esac
7121else
7122 enable_shared=yes
7123fi
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133 # Check whether --enable-static was given.
7134if test "${enable_static+set}" = set; then :
7135 enableval=$enable_static; p=${PACKAGE-default}
7136 case $enableval in
7137 yes) enable_static=yes ;;
7138 no) enable_static=no ;;
7139 *)
7140 enable_static=no
7141 # Look at the argument we got. We use all the common list separators.
7142 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7143 for pkg in $enableval; do
7144 IFS="$lt_save_ifs"
7145 if test "X$pkg" = "X$p"; then
7146 enable_static=yes
7147 fi
7148 done
7149 IFS="$lt_save_ifs"
7150 ;;
7151 esac
7152else
7153 enable_static=yes
7154fi
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165# Check whether --with-pic was given.
7166if test "${with_pic+set}" = set; then :
7167 withval=$with_pic; pic_mode="$withval"
7168else
7169 pic_mode=default
7170fi
7171
7172
7173test -z "$pic_mode" && pic_mode=default
7174
7175
7176
7177
7178
7179
7180
7181 # Check whether --enable-fast-install was given.
7182if test "${enable_fast_install+set}" = set; then :
7183 enableval=$enable_fast_install; p=${PACKAGE-default}
7184 case $enableval in
7185 yes) enable_fast_install=yes ;;
7186 no) enable_fast_install=no ;;
7187 *)
7188 enable_fast_install=no
7189 # Look at the argument we got. We use all the common list separators.
7190 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7191 for pkg in $enableval; do
7192 IFS="$lt_save_ifs"
7193 if test "X$pkg" = "X$p"; then
7194 enable_fast_install=yes
7195 fi
7196 done
7197 IFS="$lt_save_ifs"
7198 ;;
7199 esac
7200else
7201 enable_fast_install=yes
7202fi
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214# This can be used to rebuild libtool when needed
7215LIBTOOL_DEPS="$ltmain"
7216
7217# Always use our own libtool.
7218LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244test -z "$LN_S" && LN_S="ln -s"
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259if test -n "${ZSH_VERSION+set}" ; then
7260 setopt NO_GLOB_SUBST
7261fi
7262
7263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7264$as_echo_n "checking for objdir... " >&6; }
7265if test "${lt_cv_objdir+set}" = set; then :
7266 $as_echo_n "(cached) " >&6
7267else
7268 rm -f .libs 2>/dev/null
7269mkdir .libs 2>/dev/null
7270if test -d .libs; then
7271 lt_cv_objdir=.libs
7272else
7273 # MS-DOS does not allow filenames that begin with a dot.
7274 lt_cv_objdir=_libs
7275fi
7276rmdir .libs 2>/dev/null
7277fi
7278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7279$as_echo "$lt_cv_objdir" >&6; }
7280objdir=$lt_cv_objdir
7281
7282
7283
7284
7285
7286cat >>confdefs.h <<_ACEOF
7287#define LT_OBJDIR "$lt_cv_objdir/"
7288_ACEOF
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306case $host_os in
7307aix3*)
7308 # AIX sometimes has problems with the GCC collect2 program. For some
7309 # reason, if we set the COLLECT_NAMES environment variable, the problems
7310 # vanish in a puff of smoke.
7311 if test "X${COLLECT_NAMES+set}" != Xset; then
7312 COLLECT_NAMES=
7313 export COLLECT_NAMES
7314 fi
7315 ;;
7316esac
7317
7318# Sed substitution that helps us do robust quoting. It backslashifies
7319# metacharacters that are still active within double-quoted strings.
7320sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7321
7322# Same as above, but do not quote variable references.
7323double_quote_subst='s/\(["`\\]\)/\\\1/g'
7324
7325# Sed substitution to delay expansion of an escaped shell variable in a
7326# double_quote_subst'ed string.
7327delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7328
7329# Sed substitution to delay expansion of an escaped single quote.
7330delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7331
7332# Sed substitution to avoid accidental globbing in evaled expressions
7333no_glob_subst='s/\*/\\\*/g'
7334
7335# Global variables:
7336ofile=libtool
7337can_build_shared=yes
7338
7339# All known linkers require a `.a' archive for static linking (except MSVC,
7340# which needs '.lib').
7341libext=a
7342
7343with_gnu_ld="$lt_cv_prog_gnu_ld"
7344
7345old_CC="$CC"
7346old_CFLAGS="$CFLAGS"
7347
7348# Set sane defaults for various variables
7349test -z "$CC" && CC=cc
7350test -z "$LTCC" && LTCC=$CC
7351test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7352test -z "$LD" && LD=ld
7353test -z "$ac_objext" && ac_objext=o
7354
7355for cc_temp in $compiler""; do
7356 case $cc_temp in
7357 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7358 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7359 \-*) ;;
7360 *) break;;
7361 esac
7362done
7363cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7364
7365
7366# Only perform the check for file, if the check method requires it
7367test -z "$MAGIC_CMD" && MAGIC_CMD=file
7368case $deplibs_check_method in
7369file_magic*)
7370 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7372$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7373if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7374 $as_echo_n "(cached) " >&6
7375else
7376 case $MAGIC_CMD in
7377[\\/*] | ?:[\\/]*)
7378 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7379 ;;
7380*)
7381 lt_save_MAGIC_CMD="$MAGIC_CMD"
7382 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7383 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7384 for ac_dir in $ac_dummy; do
7385 IFS="$lt_save_ifs"
7386 test -z "$ac_dir" && ac_dir=.
7387 if test -f $ac_dir/${ac_tool_prefix}file; then
7388 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7389 if test -n "$file_magic_test_file"; then
7390 case $deplibs_check_method in
7391 "file_magic "*)
7392 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7393 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7394 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7395 $EGREP "$file_magic_regex" > /dev/null; then
7396 :
7397 else
7398 cat <<_LT_EOF 1>&2
7399
7400*** Warning: the command libtool uses to detect shared libraries,
7401*** $file_magic_cmd, produces output that libtool cannot recognize.
7402*** The result is that libtool may fail to recognize shared libraries
7403*** as such. This will affect the creation of libtool libraries that
7404*** depend on shared libraries, but programs linked with such libtool
7405*** libraries will work regardless of this problem. Nevertheless, you
7406*** may want to report the problem to your system manager and/or to
7407*** bug-libtool@gnu.org
7408
7409_LT_EOF
7410 fi ;;
7411 esac
7412 fi
7413 break
7414 fi
7415 done
7416 IFS="$lt_save_ifs"
7417 MAGIC_CMD="$lt_save_MAGIC_CMD"
7418 ;;
7419esac
7420fi
7421
7422MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7423if test -n "$MAGIC_CMD"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7425$as_echo "$MAGIC_CMD" >&6; }
7426else
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428$as_echo "no" >&6; }
7429fi
7430
7431
7432
7433
7434
7435if test -z "$lt_cv_path_MAGIC_CMD"; then
7436 if test -n "$ac_tool_prefix"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7438$as_echo_n "checking for file... " >&6; }
7439if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7440 $as_echo_n "(cached) " >&6
7441else
7442 case $MAGIC_CMD in
7443[\\/*] | ?:[\\/]*)
7444 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7445 ;;
7446*)
7447 lt_save_MAGIC_CMD="$MAGIC_CMD"
7448 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7449 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7450 for ac_dir in $ac_dummy; do
7451 IFS="$lt_save_ifs"
7452 test -z "$ac_dir" && ac_dir=.
7453 if test -f $ac_dir/file; then
7454 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7455 if test -n "$file_magic_test_file"; then
7456 case $deplibs_check_method in
7457 "file_magic "*)
7458 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7459 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7460 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7461 $EGREP "$file_magic_regex" > /dev/null; then
7462 :
7463 else
7464 cat <<_LT_EOF 1>&2
7465
7466*** Warning: the command libtool uses to detect shared libraries,
7467*** $file_magic_cmd, produces output that libtool cannot recognize.
7468*** The result is that libtool may fail to recognize shared libraries
7469*** as such. This will affect the creation of libtool libraries that
7470*** depend on shared libraries, but programs linked with such libtool
7471*** libraries will work regardless of this problem. Nevertheless, you
7472*** may want to report the problem to your system manager and/or to
7473*** bug-libtool@gnu.org
7474
7475_LT_EOF
7476 fi ;;
7477 esac
7478 fi
7479 break
7480 fi
7481 done
7482 IFS="$lt_save_ifs"
7483 MAGIC_CMD="$lt_save_MAGIC_CMD"
7484 ;;
7485esac
7486fi
7487
7488MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7489if test -n "$MAGIC_CMD"; then
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7491$as_echo "$MAGIC_CMD" >&6; }
7492else
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7494$as_echo "no" >&6; }
7495fi
7496
7497
7498 else
7499 MAGIC_CMD=:
7500 fi
7501fi
7502
7503 fi
7504 ;;
7505esac
7506
7507# Use C for the default configuration in the libtool script
7508
7509lt_save_CC="$CC"
7510ac_ext=c
7511ac_cpp='$CPP $CPPFLAGS'
7512ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7513ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7514ac_compiler_gnu=$ac_cv_c_compiler_gnu
7515
7516
7517# Source file extension for C test sources.
7518ac_ext=c
7519
7520# Object file extension for compiled C test sources.
7521objext=o
7522objext=$objext
7523
7524# Code to be used in simple compile tests
7525lt_simple_compile_test_code="int some_variable = 0;"
7526
7527# Code to be used in simple link tests
7528lt_simple_link_test_code='int main(){return(0);}'
7529
7530
7531
7532
7533
7534
7535
7536# If no C compiler was specified, use CC.
7537LTCC=${LTCC-"$CC"}
7538
7539# If no C compiler flags were specified, use CFLAGS.
7540LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7541
7542# Allow CC to be a program name with arguments.
7543compiler=$CC
7544
7545# Save the default compiler, since it gets overwritten when the other
7546# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7547compiler_DEFAULT=$CC
7548
7549# save warnings/boilerplate of simple test code
7550ac_outfile=conftest.$ac_objext
7551echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7552eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7553_lt_compiler_boilerplate=`cat conftest.err`
7554$RM conftest*
7555
7556ac_outfile=conftest.$ac_objext
7557echo "$lt_simple_link_test_code" >conftest.$ac_ext
7558eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7559_lt_linker_boilerplate=`cat conftest.err`
7560$RM -r conftest*
7561
7562
7563## CAVEAT EMPTOR:
7564## There is no encapsulation within the following macros, do not change
7565## the running order or otherwise move them around unless you know exactly
7566## what you are doing...
7567if test -n "$compiler"; then
7568
7569lt_prog_compiler_no_builtin_flag=
7570
7571if test "$GCC" = yes; then
7572 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7573
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7575$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7576if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7577 $as_echo_n "(cached) " >&6
7578else
7579 lt_cv_prog_compiler_rtti_exceptions=no
7580 ac_outfile=conftest.$ac_objext
7581 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7582 lt_compiler_flag="-fno-rtti -fno-exceptions"
7583 # Insert the option either (1) after the last *FLAGS variable, or
7584 # (2) before a word containing "conftest.", or (3) at the end.
7585 # Note that $ac_compile itself does not contain backslashes and begins
7586 # with a dollar sign (not a hyphen), so the echo should work correctly.
7587 # The option is referenced via a variable to avoid confusing sed.
7588 lt_compile=`echo "$ac_compile" | $SED \
7589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7591 -e 's:$: $lt_compiler_flag:'`
7592 (eval echo "\"\$as_me:7592: $lt_compile\"" >&5)
7593 (eval "$lt_compile" 2>conftest.err)
7594 ac_status=$?
7595 cat conftest.err >&5
7596 echo "$as_me:7596: \$? = $ac_status" >&5
7597 if (exit $ac_status) && test -s "$ac_outfile"; then
7598 # The compiler can only warn and ignore the option if not recognized
7599 # So say no if there are warnings other than the usual output.
7600 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7601 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7602 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7603 lt_cv_prog_compiler_rtti_exceptions=yes
7604 fi
7605 fi
7606 $RM conftest*
7607
7608fi
7609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7610$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7611
7612if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7613 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7614else
7615 :
7616fi
7617
7618fi
7619
7620
7621
7622
7623
7624
7625 lt_prog_compiler_wl=
7626lt_prog_compiler_pic=
7627lt_prog_compiler_static=
7628
7629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7630$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7631
7632 if test "$GCC" = yes; then
7633 lt_prog_compiler_wl='-Wl,'
7634 lt_prog_compiler_static='-static'
7635
7636 case $host_os in
7637 aix*)
7638 # All AIX code is PIC.
7639 if test "$host_cpu" = ia64; then
7640 # AIX 5 now supports IA64 processor
7641 lt_prog_compiler_static='-Bstatic'
7642 fi
7643 ;;
7644
7645 amigaos*)
7646 case $host_cpu in
7647 powerpc)
7648 # see comment about AmigaOS4 .so support
7649 lt_prog_compiler_pic='-fPIC'
7650 ;;
7651 m68k)
7652 # FIXME: we need at least 68020 code to build shared libraries, but
7653 # adding the `-m68020' flag to GCC prevents building anything better,
7654 # like `-m68040'.
7655 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7656 ;;
7657 esac
7658 ;;
7659
7660 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7661 # PIC is the default for these OSes.
7662 ;;
7663
7664 mingw* | cygwin* | pw32* | os2* | cegcc*)
7665 # This hack is so that the source file can tell whether it is being
7666 # built for inclusion in a dll (and should export symbols for example).
7667 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7668 # (--disable-auto-import) libraries
7669 lt_prog_compiler_pic='-DDLL_EXPORT'
7670 ;;
7671
7672 darwin* | rhapsody*)
7673 # PIC is the default on this platform
7674 # Common symbols not allowed in MH_DYLIB files
7675 lt_prog_compiler_pic='-fno-common'
7676 ;;
7677
7678 hpux*)
7679 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7680 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7681 # sets the default TLS model and affects inlining.
7682 case $host_cpu in
7683 hppa*64*)
7684 # +Z the default
7685 ;;
7686 *)
7687 lt_prog_compiler_pic='-fPIC'
7688 ;;
7689 esac
7690 ;;
7691
7692 interix[3-9]*)
7693 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7694 # Instead, we relocate shared libraries at runtime.
7695 ;;
7696
7697 msdosdjgpp*)
7698 # Just because we use GCC doesn't mean we suddenly get shared libraries
7699 # on systems that don't support them.
7700 lt_prog_compiler_can_build_shared=no
7701 enable_shared=no
7702 ;;
7703
7704 *nto* | *qnx*)
7705 # QNX uses GNU C++, but need to define -shared option too, otherwise
7706 # it will coredump.
7707 lt_prog_compiler_pic='-fPIC -shared'
7708 ;;
7709
7710 sysv4*MP*)
7711 if test -d /usr/nec; then
7712 lt_prog_compiler_pic=-Kconform_pic
7713 fi
7714 ;;
7715
7716 *)
7717 lt_prog_compiler_pic='-fPIC'
7718 ;;
7719 esac
7720 else
7721 # PORTME Check for flag to pass linker flags through the system compiler.
7722 case $host_os in
7723 aix*)
7724 lt_prog_compiler_wl='-Wl,'
7725 if test "$host_cpu" = ia64; then
7726 # AIX 5 now supports IA64 processor
7727 lt_prog_compiler_static='-Bstatic'
7728 else
7729 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7730 fi
7731 ;;
7732
7733 mingw* | cygwin* | pw32* | os2* | cegcc*)
7734 # This hack is so that the source file can tell whether it is being
7735 # built for inclusion in a dll (and should export symbols for example).
7736 lt_prog_compiler_pic='-DDLL_EXPORT'
7737 ;;
7738
7739 hpux9* | hpux10* | hpux11*)
7740 lt_prog_compiler_wl='-Wl,'
7741 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7742 # not for PA HP-UX.
7743 case $host_cpu in
7744 hppa*64*|ia64*)
7745 # +Z the default
7746 ;;
7747 *)
7748 lt_prog_compiler_pic='+Z'
7749 ;;
7750 esac
7751 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7752 lt_prog_compiler_static='${wl}-a ${wl}archive'
7753 ;;
7754
7755 irix5* | irix6* | nonstopux*)
7756 lt_prog_compiler_wl='-Wl,'
7757 # PIC (with -KPIC) is the default.
7758 lt_prog_compiler_static='-non_shared'
7759 ;;
7760
7761 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7762 case $cc_basename in
7763 # old Intel for x86_64 which still supported -KPIC.
7764 ecc*)
7765 lt_prog_compiler_wl='-Wl,'
7766 lt_prog_compiler_pic='-KPIC'
7767 lt_prog_compiler_static='-static'
7768 ;;
7769 # icc used to be incompatible with GCC.
7770 # ICC 10 doesn't accept -KPIC any more.
7771 icc* | ifort*)
7772 lt_prog_compiler_wl='-Wl,'
7773 lt_prog_compiler_pic='-fPIC'
7774 lt_prog_compiler_static='-static'
7775 ;;
7776 # Lahey Fortran 8.1.
7777 lf95*)
7778 lt_prog_compiler_wl='-Wl,'
7779 lt_prog_compiler_pic='--shared'
7780 lt_prog_compiler_static='--static'
7781 ;;
7782 pgcc* | pgf77* | pgf90* | pgf95*)
7783 # Portland Group compilers (*not* the Pentium gcc compiler,
7784 # which looks to be a dead project)
7785 lt_prog_compiler_wl='-Wl,'
7786 lt_prog_compiler_pic='-fpic'
7787 lt_prog_compiler_static='-Bstatic'
7788 ;;
7789 ccc*)
7790 lt_prog_compiler_wl='-Wl,'
7791 # All Alpha code is PIC.
7792 lt_prog_compiler_static='-non_shared'
7793 ;;
7794 xl*)
7795 # IBM XL C 8.0/Fortran 10.1 on PPC
7796 lt_prog_compiler_wl='-Wl,'
7797 lt_prog_compiler_pic='-qpic'
7798 lt_prog_compiler_static='-qstaticlink'
7799 ;;
7800 *)
7801 case `$CC -V 2>&1 | sed 5q` in
7802 *Sun\ C*)
7803 # Sun C 5.9
7804 lt_prog_compiler_pic='-KPIC'
7805 lt_prog_compiler_static='-Bstatic'
7806 lt_prog_compiler_wl='-Wl,'
7807 ;;
7808 *Sun\ F*)
7809 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7810 lt_prog_compiler_pic='-KPIC'
7811 lt_prog_compiler_static='-Bstatic'
7812 lt_prog_compiler_wl=''
7813 ;;
7814 esac
7815 ;;
7816 esac
7817 ;;
7818
7819 newsos6)
7820 lt_prog_compiler_pic='-KPIC'
7821 lt_prog_compiler_static='-Bstatic'
7822 ;;
7823
7824 *nto* | *qnx*)
7825 # QNX uses GNU C++, but need to define -shared option too, otherwise
7826 # it will coredump.
7827 lt_prog_compiler_pic='-fPIC -shared'
7828 ;;
7829
7830 osf3* | osf4* | osf5*)
7831 lt_prog_compiler_wl='-Wl,'
7832 # All OSF/1 code is PIC.
7833 lt_prog_compiler_static='-non_shared'
7834 ;;
7835
7836 rdos*)
7837 lt_prog_compiler_static='-non_shared'
7838 ;;
7839
7840 solaris*)
7841 lt_prog_compiler_pic='-KPIC'
7842 lt_prog_compiler_static='-Bstatic'
7843 case $cc_basename in
7844 f77* | f90* | f95*)
7845 lt_prog_compiler_wl='-Qoption ld ';;
7846 *)
7847 lt_prog_compiler_wl='-Wl,';;
7848 esac
7849 ;;
7850
7851 sunos4*)
7852 lt_prog_compiler_wl='-Qoption ld '
7853 lt_prog_compiler_pic='-PIC'
7854 lt_prog_compiler_static='-Bstatic'
7855 ;;
7856
7857 sysv4 | sysv4.2uw2* | sysv4.3*)
7858 lt_prog_compiler_wl='-Wl,'
7859 lt_prog_compiler_pic='-KPIC'
7860 lt_prog_compiler_static='-Bstatic'
7861 ;;
7862
7863 sysv4*MP*)
7864 if test -d /usr/nec ;then
7865 lt_prog_compiler_pic='-Kconform_pic'
7866 lt_prog_compiler_static='-Bstatic'
7867 fi
7868 ;;
7869
7870 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7871 lt_prog_compiler_wl='-Wl,'
7872 lt_prog_compiler_pic='-KPIC'
7873 lt_prog_compiler_static='-Bstatic'
7874 ;;
7875
7876 unicos*)
7877 lt_prog_compiler_wl='-Wl,'
7878 lt_prog_compiler_can_build_shared=no
7879 ;;
7880
7881 uts4*)
7882 lt_prog_compiler_pic='-pic'
7883 lt_prog_compiler_static='-Bstatic'
7884 ;;
7885
7886 *)
7887 lt_prog_compiler_can_build_shared=no
7888 ;;
7889 esac
7890 fi
7891
7892case $host_os in
7893 # For platforms which do not support PIC, -DPIC is meaningless:
7894 *djgpp*)
7895 lt_prog_compiler_pic=
7896 ;;
7897 *)
7898 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7899 ;;
7900esac
7901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7902$as_echo "$lt_prog_compiler_pic" >&6; }
7903
7904
7905
7906
7907
7908
7909#
7910# Check to make sure the PIC flag actually works.
7911#
7912if test -n "$lt_prog_compiler_pic"; then
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7914$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7915if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7916 $as_echo_n "(cached) " >&6
7917else
7918 lt_cv_prog_compiler_pic_works=no
7919 ac_outfile=conftest.$ac_objext
7920 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7921 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7922 # Insert the option either (1) after the last *FLAGS variable, or
7923 # (2) before a word containing "conftest.", or (3) at the end.
7924 # Note that $ac_compile itself does not contain backslashes and begins
7925 # with a dollar sign (not a hyphen), so the echo should work correctly.
7926 # The option is referenced via a variable to avoid confusing sed.
7927 lt_compile=`echo "$ac_compile" | $SED \
7928 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7929 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7930 -e 's:$: $lt_compiler_flag:'`
7931 (eval echo "\"\$as_me:7931: $lt_compile\"" >&5)
7932 (eval "$lt_compile" 2>conftest.err)
7933 ac_status=$?
7934 cat conftest.err >&5
7935 echo "$as_me:7935: \$? = $ac_status" >&5
7936 if (exit $ac_status) && test -s "$ac_outfile"; then
7937 # The compiler can only warn and ignore the option if not recognized
7938 # So say no if there are warnings other than the usual output.
7939 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7940 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7941 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7942 lt_cv_prog_compiler_pic_works=yes
7943 fi
7944 fi
7945 $RM conftest*
7946
7947fi
7948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7949$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7950
7951if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7952 case $lt_prog_compiler_pic in
7953 "" | " "*) ;;
7954 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7955 esac
7956else
7957 lt_prog_compiler_pic=
7958 lt_prog_compiler_can_build_shared=no
7959fi
7960
7961fi
7962
7963
7964
7965
7966
7967
7968#
7969# Check to make sure the static flag actually works.
7970#
7971wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7973$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7974if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7975 $as_echo_n "(cached) " >&6
7976else
7977 lt_cv_prog_compiler_static_works=no
7978 save_LDFLAGS="$LDFLAGS"
7979 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7980 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7981 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7982 # The linker can only warn and ignore the option if not recognized
7983 # So say no if there are warnings
7984 if test -s conftest.err; then
7985 # Append any errors to the config.log.
7986 cat conftest.err 1>&5
7987 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7988 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7989 if diff conftest.exp conftest.er2 >/dev/null; then
7990 lt_cv_prog_compiler_static_works=yes
7991 fi
7992 else
7993 lt_cv_prog_compiler_static_works=yes
7994 fi
7995 fi
7996 $RM -r conftest*
7997 LDFLAGS="$save_LDFLAGS"
7998
7999fi
8000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8001$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8002
8003if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8004 :
8005else
8006 lt_prog_compiler_static=
8007fi
8008
8009
8010
8011
8012
8013
8014
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8016$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8017if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8018 $as_echo_n "(cached) " >&6
8019else
8020 lt_cv_prog_compiler_c_o=no
8021 $RM -r conftest 2>/dev/null
8022 mkdir conftest
8023 cd conftest
8024 mkdir out
8025 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8026
8027 lt_compiler_flag="-o out/conftest2.$ac_objext"
8028 # Insert the option either (1) after the last *FLAGS variable, or
8029 # (2) before a word containing "conftest.", or (3) at the end.
8030 # Note that $ac_compile itself does not contain backslashes and begins
8031 # with a dollar sign (not a hyphen), so the echo should work correctly.
8032 lt_compile=`echo "$ac_compile" | $SED \
8033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8035 -e 's:$: $lt_compiler_flag:'`
8036 (eval echo "\"\$as_me:8036: $lt_compile\"" >&5)
8037 (eval "$lt_compile" 2>out/conftest.err)
8038 ac_status=$?
8039 cat out/conftest.err >&5
8040 echo "$as_me:8040: \$? = $ac_status" >&5
8041 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8042 then
8043 # The compiler can only warn and ignore the option if not recognized
8044 # So say no if there are warnings
8045 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8046 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8047 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8048 lt_cv_prog_compiler_c_o=yes
8049 fi
8050 fi
8051 chmod u+w . 2>&5
8052 $RM conftest*
8053 # SGI C++ compiler will create directory out/ii_files/ for
8054 # template instantiation
8055 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8056 $RM out/* && rmdir out
8057 cd ..
8058 $RM -r conftest
8059 $RM conftest*
8060
8061fi
8062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8063$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8064
8065
8066
8067
8068
8069
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8071$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8072if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8073 $as_echo_n "(cached) " >&6
8074else
8075 lt_cv_prog_compiler_c_o=no
8076 $RM -r conftest 2>/dev/null
8077 mkdir conftest
8078 cd conftest
8079 mkdir out
8080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8081
8082 lt_compiler_flag="-o out/conftest2.$ac_objext"
8083 # Insert the option either (1) after the last *FLAGS variable, or
8084 # (2) before a word containing "conftest.", or (3) at the end.
8085 # Note that $ac_compile itself does not contain backslashes and begins
8086 # with a dollar sign (not a hyphen), so the echo should work correctly.
8087 lt_compile=`echo "$ac_compile" | $SED \
8088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8090 -e 's:$: $lt_compiler_flag:'`
8091 (eval echo "\"\$as_me:8091: $lt_compile\"" >&5)
8092 (eval "$lt_compile" 2>out/conftest.err)
8093 ac_status=$?
8094 cat out/conftest.err >&5
8095 echo "$as_me:8095: \$? = $ac_status" >&5
8096 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8097 then
8098 # The compiler can only warn and ignore the option if not recognized
8099 # So say no if there are warnings
8100 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8101 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8102 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8103 lt_cv_prog_compiler_c_o=yes
8104 fi
8105 fi
8106 chmod u+w . 2>&5
8107 $RM conftest*
8108 # SGI C++ compiler will create directory out/ii_files/ for
8109 # template instantiation
8110 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8111 $RM out/* && rmdir out
8112 cd ..
8113 $RM -r conftest
8114 $RM conftest*
8115
8116fi
8117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8118$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8119
8120
8121
8122
8123hard_links="nottested"
8124if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8125 # do not overwrite the value of need_locks provided by the user
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8127$as_echo_n "checking if we can lock with hard links... " >&6; }
8128 hard_links=yes
8129 $RM conftest*
8130 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8131 touch conftest.a
8132 ln conftest.a conftest.b 2>&5 || hard_links=no
8133 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8135$as_echo "$hard_links" >&6; }
8136 if test "$hard_links" = no; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8138$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8139 need_locks=warn
8140 fi
8141else
8142 need_locks=no
8143fi
8144
8145
8146
8147
8148
8149
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8151$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8152
8153 runpath_var=
8154 allow_undefined_flag=
8155 always_export_symbols=no
8156 archive_cmds=
8157 archive_expsym_cmds=
8158 compiler_needs_object=no
8159 enable_shared_with_static_runtimes=no
8160 export_dynamic_flag_spec=
8161 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8162 hardcode_automatic=no
8163 hardcode_direct=no
8164 hardcode_direct_absolute=no
8165 hardcode_libdir_flag_spec=
8166 hardcode_libdir_flag_spec_ld=
8167 hardcode_libdir_separator=
8168 hardcode_minus_L=no
8169 hardcode_shlibpath_var=unsupported
8170 inherit_rpath=no
8171 link_all_deplibs=unknown
8172 module_cmds=
8173 module_expsym_cmds=
8174 old_archive_from_new_cmds=
8175 old_archive_from_expsyms_cmds=
8176 thread_safe_flag_spec=
8177 whole_archive_flag_spec=
8178 # include_expsyms should be a list of space-separated symbols to be *always*
8179 # included in the symbol list
8180 include_expsyms=
8181 # exclude_expsyms can be an extended regexp of symbols to exclude
8182 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8183 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8184 # as well as any symbol that contains `d'.
8185 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8186 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8187 # platforms (ab)use it in PIC code, but their linkers get confused if
8188 # the symbol is explicitly referenced. Since portable code cannot
8189 # rely on this symbol name, it's probably fine to never include it in
8190 # preloaded symbol tables.
8191 # Exclude shared library initialization/finalization symbols.
8192 extract_expsyms_cmds=
8193
8194 case $host_os in
8195 cygwin* | mingw* | pw32* | cegcc*)
8196 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8197 # When not using gcc, we currently assume that we are using
8198 # Microsoft Visual C++.
8199 if test "$GCC" != yes; then
8200 with_gnu_ld=no
8201 fi
8202 ;;
8203 interix*)
8204 # we just hope/assume this is gcc and not c89 (= MSVC++)
8205 with_gnu_ld=yes
8206 ;;
8207 openbsd*)
8208 with_gnu_ld=no
8209 ;;
8210 linux* | k*bsd*-gnu)
8211 link_all_deplibs=no
8212 ;;
8213 esac
8214
8215 ld_shlibs=yes
8216 if test "$with_gnu_ld" = yes; then
8217 # If archive_cmds runs LD, not CC, wlarc should be empty
8218 wlarc='${wl}'
8219
8220 # Set some defaults for GNU ld with shared library support. These
8221 # are reset later if shared libraries are not supported. Putting them
8222 # here allows them to be overridden if necessary.
8223 runpath_var=LD_RUN_PATH
8224 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8225 export_dynamic_flag_spec='${wl}--export-dynamic'
8226 # ancient GNU ld didn't support --whole-archive et. al.
8227 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8228 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8229 else
8230 whole_archive_flag_spec=
8231 fi
8232 supports_anon_versioning=no
8233 case `$LD -v 2>&1` in
8234 *GNU\ gold*) supports_anon_versioning=yes ;;
8235 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8236 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8237 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8238 *\ 2.11.*) ;; # other 2.11 versions
8239 *) supports_anon_versioning=yes ;;
8240 esac
8241
8242 # See if GNU ld supports shared libraries.
8243 case $host_os in
8244 aix[3-9]*)
8245 # On AIX/PPC, the GNU linker is very broken
8246 if test "$host_cpu" != ia64; then
8247 ld_shlibs=no
8248 cat <<_LT_EOF 1>&2
8249
8250*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8251*** to be unable to reliably create shared libraries on AIX.
8252*** Therefore, libtool is disabling shared libraries support. If you
8253*** really care for shared libraries, you may want to modify your PATH
8254*** so that a non-GNU linker is found, and then restart.
8255
8256_LT_EOF
8257 fi
8258 ;;
8259
8260 amigaos*)
8261 case $host_cpu in
8262 powerpc)
8263 # see comment about AmigaOS4 .so support
8264 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8265 archive_expsym_cmds=''
8266 ;;
8267 m68k)
8268 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)'
8269 hardcode_libdir_flag_spec='-L$libdir'
8270 hardcode_minus_L=yes
8271 ;;
8272 esac
8273 ;;
8274
8275 beos*)
8276 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8277 allow_undefined_flag=unsupported
8278 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8279 # support --undefined. This deserves some investigation. FIXME
8280 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8281 else
8282 ld_shlibs=no
8283 fi
8284 ;;
8285
8286 cygwin* | mingw* | pw32* | cegcc*)
8287 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8288 # as there is no search path for DLLs.
8289 hardcode_libdir_flag_spec='-L$libdir'
8290 allow_undefined_flag=unsupported
8291 always_export_symbols=no
8292 enable_shared_with_static_runtimes=yes
8293 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8294
8295 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8297 # If the export-symbols file already is a .def file (1st line
8298 # is EXPORTS), use it as is; otherwise, prepend...
8299 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8300 cp $export_symbols $output_objdir/$soname.def;
8301 else
8302 echo EXPORTS > $output_objdir/$soname.def;
8303 cat $export_symbols >> $output_objdir/$soname.def;
8304 fi~
8305 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8306 else
8307 ld_shlibs=no
8308 fi
8309 ;;
8310
8311 interix[3-9]*)
8312 hardcode_direct=no
8313 hardcode_shlibpath_var=no
8314 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8315 export_dynamic_flag_spec='${wl}-E'
8316 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8317 # Instead, shared libraries are loaded at an image base (0x10000000 by
8318 # default) and relocated if they conflict, which is a slow very memory
8319 # consuming and fragmenting process. To avoid this, we pick a random,
8320 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8321 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8322 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8323 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'
8324 ;;
8325
8326 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8327 tmp_diet=no
8328 if test "$host_os" = linux-dietlibc; then
8329 case $cc_basename in
8330 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8331 esac
8332 fi
8333 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8334 && test "$tmp_diet" = no
8335 then
8336 tmp_addflag=
8337 tmp_sharedflag='-shared'
8338 case $cc_basename,$host_cpu in
8339 pgcc*) # Portland Group C compiler
8340 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'
8341 tmp_addflag=' $pic_flag'
8342 ;;
8343 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8344 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'
8345 tmp_addflag=' $pic_flag -Mnomain' ;;
8346 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8347 tmp_addflag=' -i_dynamic' ;;
8348 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8349 tmp_addflag=' -i_dynamic -nofor_main' ;;
8350 ifc* | ifort*) # Intel Fortran compiler
8351 tmp_addflag=' -nofor_main' ;;
8352 lf95*) # Lahey Fortran 8.1
8353 whole_archive_flag_spec=
8354 tmp_sharedflag='--shared' ;;
8355 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8356 tmp_sharedflag='-qmkshrobj'
8357 tmp_addflag= ;;
8358 esac
8359 case `$CC -V 2>&1 | sed 5q` in
8360 *Sun\ C*) # Sun C 5.9
8361 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'
8362 compiler_needs_object=yes
8363 tmp_sharedflag='-G' ;;
8364 *Sun\ F*) # Sun Fortran 8.3
8365 tmp_sharedflag='-G' ;;
8366 esac
8367 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8368
8369 if test "x$supports_anon_versioning" = xyes; then
8370 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8371 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8372 echo "local: *; };" >> $output_objdir/$libname.ver~
8373 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8374 fi
8375
8376 case $cc_basename in
8377 xlf*)
8378 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8379 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8380 hardcode_libdir_flag_spec=
8381 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8382 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8383 if test "x$supports_anon_versioning" = xyes; then
8384 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8385 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8386 echo "local: *; };" >> $output_objdir/$libname.ver~
8387 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8388 fi
8389 ;;
8390 esac
8391 else
8392 ld_shlibs=no
8393 fi
8394 ;;
8395
8396 netbsd* | netbsdelf*-gnu)
8397 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8398 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8399 wlarc=
8400 else
8401 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8402 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8403 fi
8404 ;;
8405
8406 solaris*)
8407 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8408 ld_shlibs=no
8409 cat <<_LT_EOF 1>&2
8410
8411*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8412*** create shared libraries on Solaris systems. Therefore, libtool
8413*** is disabling shared libraries support. We urge you to upgrade GNU
8414*** binutils to release 2.9.1 or newer. Another option is to modify
8415*** your PATH or compiler configuration so that the native linker is
8416*** used, and then restart.
8417
8418_LT_EOF
8419 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8420 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8421 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8422 else
8423 ld_shlibs=no
8424 fi
8425 ;;
8426
8427 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8428 case `$LD -v 2>&1` in
8429 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8430 ld_shlibs=no
8431 cat <<_LT_EOF 1>&2
8432
8433*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8434*** reliably create shared libraries on SCO systems. Therefore, libtool
8435*** is disabling shared libraries support. We urge you to upgrade GNU
8436*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8437*** your PATH or compiler configuration so that the native linker is
8438*** used, and then restart.
8439
8440_LT_EOF
8441 ;;
8442 *)
8443 # For security reasons, it is highly recommended that you always
8444 # use absolute paths for naming shared libraries, and exclude the
8445 # DT_RUNPATH tag from executables and libraries. But doing so
8446 # requires that you compile everything twice, which is a pain.
8447 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8448 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8451 else
8452 ld_shlibs=no
8453 fi
8454 ;;
8455 esac
8456 ;;
8457
8458 sunos4*)
8459 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8460 wlarc=
8461 hardcode_direct=yes
8462 hardcode_shlibpath_var=no
8463 ;;
8464
8465 *)
8466 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8467 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8468 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8469 else
8470 ld_shlibs=no
8471 fi
8472 ;;
8473 esac
8474
8475 if test "$ld_shlibs" = no; then
8476 runpath_var=
8477 hardcode_libdir_flag_spec=
8478 export_dynamic_flag_spec=
8479 whole_archive_flag_spec=
8480 fi
8481 else
8482 # PORTME fill in a description of your system's linker (not GNU ld)
8483 case $host_os in
8484 aix3*)
8485 allow_undefined_flag=unsupported
8486 always_export_symbols=yes
8487 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'
8488 # Note: this linker hardcodes the directories in LIBPATH if there
8489 # are no directories specified by -L.
8490 hardcode_minus_L=yes
8491 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8492 # Neither direct hardcoding nor static linking is supported with a
8493 # broken collect2.
8494 hardcode_direct=unsupported
8495 fi
8496 ;;
8497
8498 aix[4-9]*)
8499 if test "$host_cpu" = ia64; then
8500 # On IA64, the linker does run time linking by default, so we don't
8501 # have to do anything special.
8502 aix_use_runtimelinking=no
8503 exp_sym_flag='-Bexport'
8504 no_entry_flag=""
8505 else
8506 # If we're using GNU nm, then we don't want the "-C" option.
8507 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8508 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8509 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'
8510 else
8511 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'
8512 fi
8513 aix_use_runtimelinking=no
8514
8515 # Test if we are trying to use run time linking or normal
8516 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8517 # need to do runtime linking.
8518 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8519 for ld_flag in $LDFLAGS; do
8520 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8521 aix_use_runtimelinking=yes
8522 break
8523 fi
8524 done
8525 ;;
8526 esac
8527
8528 exp_sym_flag='-bexport'
8529 no_entry_flag='-bnoentry'
8530 fi
8531
8532 # When large executables or shared objects are built, AIX ld can
8533 # have problems creating the table of contents. If linking a library
8534 # or program results in "error TOC overflow" add -mminimal-toc to
8535 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8536 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8537
8538 archive_cmds=''
8539 hardcode_direct=yes
8540 hardcode_direct_absolute=yes
8541 hardcode_libdir_separator=':'
8542 link_all_deplibs=yes
8543 file_list_spec='${wl}-f,'
8544
8545 if test "$GCC" = yes; then
8546 case $host_os in aix4.[012]|aix4.[012].*)
8547 # We only want to do this on AIX 4.2 and lower, the check
8548 # below for broken collect2 doesn't work under 4.3+
8549 collect2name=`${CC} -print-prog-name=collect2`
8550 if test -f "$collect2name" &&
8551 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8552 then
8553 # We have reworked collect2
8554 :
8555 else
8556 # We have old collect2
8557 hardcode_direct=unsupported
8558 # It fails to find uninstalled libraries when the uninstalled
8559 # path is not listed in the libpath. Setting hardcode_minus_L
8560 # to unsupported forces relinking
8561 hardcode_minus_L=yes
8562 hardcode_libdir_flag_spec='-L$libdir'
8563 hardcode_libdir_separator=
8564 fi
8565 ;;
8566 esac
8567 shared_flag='-shared'
8568 if test "$aix_use_runtimelinking" = yes; then
8569 shared_flag="$shared_flag "'${wl}-G'
8570 fi
8571 link_all_deplibs=no
8572 else
8573 # not using gcc
8574 if test "$host_cpu" = ia64; then
8575 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8576 # chokes on -Wl,-G. The following line is correct:
8577 shared_flag='-G'
8578 else
8579 if test "$aix_use_runtimelinking" = yes; then
8580 shared_flag='${wl}-G'
8581 else
8582 shared_flag='${wl}-bM:SRE'
8583 fi
8584 fi
8585 fi
8586
8587 export_dynamic_flag_spec='${wl}-bexpall'
8588 # It seems that -bexpall does not export symbols beginning with
8589 # underscore (_), so it is better to generate a list of symbols to export.
8590 always_export_symbols=yes
8591 if test "$aix_use_runtimelinking" = yes; then
8592 # Warning - without using the other runtime loading flags (-brtl),
8593 # -berok will link without error, but may produce a broken library.
8594 allow_undefined_flag='-berok'
8595 # Determine the default libpath from the value encoded in an
8596 # empty executable.
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598/* end confdefs.h. */
8599
8600int
8601main ()
8602{
8603
8604 ;
8605 return 0;
8606}
8607_ACEOF
8608if ac_fn_c_try_link "$LINENO"; then :
8609
8610lt_aix_libpath_sed='
8611 /Import File Strings/,/^$/ {
8612 /^0/ {
8613 s/^0 *\(.*\)$/\1/
8614 p
8615 }
8616 }'
8617aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8618# Check for a 64-bit object if we didn't find anything.
8619if test -z "$aix_libpath"; then
8620 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8621fi
8622fi
8623rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8626
8627 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8628 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"
8629 else
8630 if test "$host_cpu" = ia64; then
8631 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8632 allow_undefined_flag="-z nodefs"
8633 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"
8634 else
8635 # Determine the default libpath from the value encoded in an
8636 # empty executable.
8637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638/* end confdefs.h. */
8639
8640int
8641main ()
8642{
8643
8644 ;
8645 return 0;
8646}
8647_ACEOF
8648if ac_fn_c_try_link "$LINENO"; then :
8649
8650lt_aix_libpath_sed='
8651 /Import File Strings/,/^$/ {
8652 /^0/ {
8653 s/^0 *\(.*\)$/\1/
8654 p
8655 }
8656 }'
8657aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8658# Check for a 64-bit object if we didn't find anything.
8659if test -z "$aix_libpath"; then
8660 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8661fi
8662fi
8663rm -f core conftest.err conftest.$ac_objext \
8664 conftest$ac_exeext conftest.$ac_ext
8665if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8666
8667 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8668 # Warning - without using the other run time loading flags,
8669 # -berok will link without error, but may produce a broken library.
8670 no_undefined_flag=' ${wl}-bernotok'
8671 allow_undefined_flag=' ${wl}-berok'
8672 # Exported symbols can be pulled into shared objects from archives
8673 whole_archive_flag_spec='$convenience'
8674 archive_cmds_need_lc=yes
8675 # This is similar to how AIX traditionally builds its shared libraries.
8676 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'
8677 fi
8678 fi
8679 ;;
8680
8681 amigaos*)
8682 case $host_cpu in
8683 powerpc)
8684 # see comment about AmigaOS4 .so support
8685 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686 archive_expsym_cmds=''
8687 ;;
8688 m68k)
8689 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)'
8690 hardcode_libdir_flag_spec='-L$libdir'
8691 hardcode_minus_L=yes
8692 ;;
8693 esac
8694 ;;
8695
8696 bsdi[45]*)
8697 export_dynamic_flag_spec=-rdynamic
8698 ;;
8699
8700 cygwin* | mingw* | pw32* | cegcc*)
8701 # When not using gcc, we currently assume that we are using
8702 # Microsoft Visual C++.
8703 # hardcode_libdir_flag_spec is actually meaningless, as there is
8704 # no search path for DLLs.
8705 hardcode_libdir_flag_spec=' '
8706 allow_undefined_flag=unsupported
8707 # Tell ltmain to make .lib files, not .a files.
8708 libext=lib
8709 # Tell ltmain to make .dll files, not .so files.
8710 shrext_cmds=".dll"
8711 # FIXME: Setting linknames here is a bad hack.
8712 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8713 # The linker will automatically build a .lib file if we build a DLL.
8714 old_archive_from_new_cmds='true'
8715 # FIXME: Should let the user specify the lib program.
8716 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8717 fix_srcfile_path='`cygpath -w "$srcfile"`'
8718 enable_shared_with_static_runtimes=yes
8719 ;;
8720
8721 darwin* | rhapsody*)
8722
8723
8724 archive_cmds_need_lc=no
8725 hardcode_direct=no
8726 hardcode_automatic=yes
8727 hardcode_shlibpath_var=unsupported
8728 whole_archive_flag_spec=''
8729 link_all_deplibs=yes
8730 allow_undefined_flag="$_lt_dar_allow_undefined"
8731 case $cc_basename in
8732 ifort*) _lt_dar_can_shared=yes ;;
8733 *) _lt_dar_can_shared=$GCC ;;
8734 esac
8735 if test "$_lt_dar_can_shared" = "yes"; then
8736 output_verbose_link_cmd=echo
8737 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8738 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8739 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}"
8740 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}"
8741
8742 else
8743 ld_shlibs=no
8744 fi
8745
8746 ;;
8747
8748 dgux*)
8749 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8750 hardcode_libdir_flag_spec='-L$libdir'
8751 hardcode_shlibpath_var=no
8752 ;;
8753
8754 freebsd1*)
8755 ld_shlibs=no
8756 ;;
8757
8758 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8759 # support. Future versions do this automatically, but an explicit c++rt0.o
8760 # does not break anything, and helps significantly (at the cost of a little
8761 # extra space).
8762 freebsd2.2*)
8763 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8764 hardcode_libdir_flag_spec='-R$libdir'
8765 hardcode_direct=yes
8766 hardcode_shlibpath_var=no
8767 ;;
8768
8769 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8770 freebsd2*)
8771 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8772 hardcode_direct=yes
8773 hardcode_minus_L=yes
8774 hardcode_shlibpath_var=no
8775 ;;
8776
8777 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8778 freebsd* | dragonfly*)
8779 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8780 hardcode_libdir_flag_spec='-R$libdir'
8781 hardcode_direct=yes
8782 hardcode_shlibpath_var=no
8783 ;;
8784
8785 hpux9*)
8786 if test "$GCC" = yes; then
8787 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'
8788 else
8789 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'
8790 fi
8791 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8792 hardcode_libdir_separator=:
8793 hardcode_direct=yes
8794
8795 # hardcode_minus_L: Not really in the search PATH,
8796 # but as the default location of the library.
8797 hardcode_minus_L=yes
8798 export_dynamic_flag_spec='${wl}-E'
8799 ;;
8800
8801 hpux10*)
8802 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8804 else
8805 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8806 fi
8807 if test "$with_gnu_ld" = no; then
8808 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8809 hardcode_libdir_flag_spec_ld='+b $libdir'
8810 hardcode_libdir_separator=:
8811 hardcode_direct=yes
8812 hardcode_direct_absolute=yes
8813 export_dynamic_flag_spec='${wl}-E'
8814 # hardcode_minus_L: Not really in the search PATH,
8815 # but as the default location of the library.
8816 hardcode_minus_L=yes
8817 fi
8818 ;;
8819
8820 hpux11*)
8821 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8822 case $host_cpu in
8823 hppa*64*)
8824 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8825 ;;
8826 ia64*)
8827 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8828 ;;
8829 *)
8830 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8831 ;;
8832 esac
8833 else
8834 case $host_cpu in
8835 hppa*64*)
8836 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8837 ;;
8838 ia64*)
8839 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8840 ;;
8841 *)
8842 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8843 ;;
8844 esac
8845 fi
8846 if test "$with_gnu_ld" = no; then
8847 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8848 hardcode_libdir_separator=:
8849
8850 case $host_cpu in
8851 hppa*64*|ia64*)
8852 hardcode_direct=no
8853 hardcode_shlibpath_var=no
8854 ;;
8855 *)
8856 hardcode_direct=yes
8857 hardcode_direct_absolute=yes
8858 export_dynamic_flag_spec='${wl}-E'
8859
8860 # hardcode_minus_L: Not really in the search PATH,
8861 # but as the default location of the library.
8862 hardcode_minus_L=yes
8863 ;;
8864 esac
8865 fi
8866 ;;
8867
8868 irix5* | irix6* | nonstopux*)
8869 if test "$GCC" = yes; then
8870 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'
8871 # Try to use the -exported_symbol ld option, if it does not
8872 # work, assume that -exports_file does not work either and
8873 # implicitly export all symbols.
8874 save_LDFLAGS="$LDFLAGS"
8875 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877/* end confdefs.h. */
8878int foo(void) {}
8879_ACEOF
8880if ac_fn_c_try_link "$LINENO"; then :
8881 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'
8882
8883fi
8884rm -f core conftest.err conftest.$ac_objext \
8885 conftest$ac_exeext conftest.$ac_ext
8886 LDFLAGS="$save_LDFLAGS"
8887 else
8888 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'
8889 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'
8890 fi
8891 archive_cmds_need_lc='no'
8892 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8893 hardcode_libdir_separator=:
8894 inherit_rpath=yes
8895 link_all_deplibs=yes
8896 ;;
8897
8898 netbsd* | netbsdelf*-gnu)
8899 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8900 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8901 else
8902 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8903 fi
8904 hardcode_libdir_flag_spec='-R$libdir'
8905 hardcode_direct=yes
8906 hardcode_shlibpath_var=no
8907 ;;
8908
8909 newsos6)
8910 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8911 hardcode_direct=yes
8912 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8913 hardcode_libdir_separator=:
8914 hardcode_shlibpath_var=no
8915 ;;
8916
8917 *nto* | *qnx*)
8918 ;;
8919
8920 openbsd*)
8921 if test -f /usr/libexec/ld.so; then
8922 hardcode_direct=yes
8923 hardcode_shlibpath_var=no
8924 hardcode_direct_absolute=yes
8925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8926 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8927 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8928 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8929 export_dynamic_flag_spec='${wl}-E'
8930 else
8931 case $host_os in
8932 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8933 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8934 hardcode_libdir_flag_spec='-R$libdir'
8935 ;;
8936 *)
8937 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8938 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8939 ;;
8940 esac
8941 fi
8942 else
8943 ld_shlibs=no
8944 fi
8945 ;;
8946
8947 os2*)
8948 hardcode_libdir_flag_spec='-L$libdir'
8949 hardcode_minus_L=yes
8950 allow_undefined_flag=unsupported
8951 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'
8952 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8953 ;;
8954
8955 osf3*)
8956 if test "$GCC" = yes; then
8957 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8958 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'
8959 else
8960 allow_undefined_flag=' -expect_unresolved \*'
8961 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'
8962 fi
8963 archive_cmds_need_lc='no'
8964 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8965 hardcode_libdir_separator=:
8966 ;;
8967
8968 osf4* | osf5*) # as osf3* with the addition of -msym flag
8969 if test "$GCC" = yes; then
8970 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8971 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'
8972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8973 else
8974 allow_undefined_flag=' -expect_unresolved \*'
8975 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'
8976 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~
8977 $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'
8978
8979 # Both c and cxx compiler support -rpath directly
8980 hardcode_libdir_flag_spec='-rpath $libdir'
8981 fi
8982 archive_cmds_need_lc='no'
8983 hardcode_libdir_separator=:
8984 ;;
8985
8986 solaris*)
8987 no_undefined_flag=' -z defs'
8988 if test "$GCC" = yes; then
8989 wlarc='${wl}'
8990 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8991 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8992 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8993 else
8994 case `$CC -V 2>&1` in
8995 *"Compilers 5.0"*)
8996 wlarc=''
8997 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8998 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8999 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9000 ;;
9001 *)
9002 wlarc='${wl}'
9003 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9004 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9005 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9006 ;;
9007 esac
9008 fi
9009 hardcode_libdir_flag_spec='-R$libdir'
9010 hardcode_shlibpath_var=no
9011 case $host_os in
9012 solaris2.[0-5] | solaris2.[0-5].*) ;;
9013 *)
9014 # The compiler driver will combine and reorder linker options,
9015 # but understands `-z linker_flag'. GCC discards it without `$wl',
9016 # but is careful enough not to reorder.
9017 # Supported since Solaris 2.6 (maybe 2.5.1?)
9018 if test "$GCC" = yes; then
9019 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9020 else
9021 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9022 fi
9023 ;;
9024 esac
9025 link_all_deplibs=yes
9026 ;;
9027
9028 sunos4*)
9029 if test "x$host_vendor" = xsequent; then
9030 # Use $CC to link under sequent, because it throws in some extra .o
9031 # files that make .init and .fini sections work.
9032 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9033 else
9034 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9035 fi
9036 hardcode_libdir_flag_spec='-L$libdir'
9037 hardcode_direct=yes
9038 hardcode_minus_L=yes
9039 hardcode_shlibpath_var=no
9040 ;;
9041
9042 sysv4)
9043 case $host_vendor in
9044 sni)
9045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9046 hardcode_direct=yes # is this really true???
9047 ;;
9048 siemens)
9049 ## LD is ld it makes a PLAMLIB
9050 ## CC just makes a GrossModule.
9051 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9052 reload_cmds='$CC -r -o $output$reload_objs'
9053 hardcode_direct=no
9054 ;;
9055 motorola)
9056 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9057 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9058 ;;
9059 esac
9060 runpath_var='LD_RUN_PATH'
9061 hardcode_shlibpath_var=no
9062 ;;
9063
9064 sysv4.3*)
9065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9066 hardcode_shlibpath_var=no
9067 export_dynamic_flag_spec='-Bexport'
9068 ;;
9069
9070 sysv4*MP*)
9071 if test -d /usr/nec; then
9072 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073 hardcode_shlibpath_var=no
9074 runpath_var=LD_RUN_PATH
9075 hardcode_runpath_var=yes
9076 ld_shlibs=yes
9077 fi
9078 ;;
9079
9080 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9081 no_undefined_flag='${wl}-z,text'
9082 archive_cmds_need_lc=no
9083 hardcode_shlibpath_var=no
9084 runpath_var='LD_RUN_PATH'
9085
9086 if test "$GCC" = yes; then
9087 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9088 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9089 else
9090 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9091 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9092 fi
9093 ;;
9094
9095 sysv5* | sco3.2v5* | sco5v6*)
9096 # Note: We can NOT use -z defs as we might desire, because we do not
9097 # link with -lc, and that would cause any symbols used from libc to
9098 # always be unresolved, which means just about no library would
9099 # ever link correctly. If we're not using GNU ld we use -z text
9100 # though, which does catch some bad symbols but isn't as heavy-handed
9101 # as -z defs.
9102 no_undefined_flag='${wl}-z,text'
9103 allow_undefined_flag='${wl}-z,nodefs'
9104 archive_cmds_need_lc=no
9105 hardcode_shlibpath_var=no
9106 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9107 hardcode_libdir_separator=':'
9108 link_all_deplibs=yes
9109 export_dynamic_flag_spec='${wl}-Bexport'
9110 runpath_var='LD_RUN_PATH'
9111
9112 if test "$GCC" = yes; then
9113 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9114 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9115 else
9116 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9118 fi
9119 ;;
9120
9121 uts4*)
9122 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9123 hardcode_libdir_flag_spec='-L$libdir'
9124 hardcode_shlibpath_var=no
9125 ;;
9126
9127 *)
9128 ld_shlibs=no
9129 ;;
9130 esac
9131
9132 if test x$host_vendor = xsni; then
9133 case $host in
9134 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9135 export_dynamic_flag_spec='${wl}-Blargedynsym'
9136 ;;
9137 esac
9138 fi
9139 fi
9140
9141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9142$as_echo "$ld_shlibs" >&6; }
9143test "$ld_shlibs" = no && can_build_shared=no
9144
9145with_gnu_ld=$with_gnu_ld
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161#
9162# Do we need to explicitly link libc?
9163#
9164case "x$archive_cmds_need_lc" in
9165x|xyes)
9166 # Assume -lc should be added
9167 archive_cmds_need_lc=yes
9168
9169 if test "$enable_shared" = yes && test "$GCC" = yes; then
9170 case $archive_cmds in
9171 *'~'*)
9172 # FIXME: we may have to deal with multi-command sequences.
9173 ;;
9174 '$CC '*)
9175 # Test whether the compiler implicitly links with -lc since on some
9176 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9177 # to ld, don't add -lc before -lgcc.
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9179$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9180 $RM conftest*
9181 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9182
9183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9184 (eval $ac_compile) 2>&5
9185 ac_status=$?
9186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9187 test $ac_status = 0; } 2>conftest.err; then
9188 soname=conftest
9189 lib=conftest
9190 libobjs=conftest.$ac_objext
9191 deplibs=
9192 wl=$lt_prog_compiler_wl
9193 pic_flag=$lt_prog_compiler_pic
9194 compiler_flags=-v
9195 linker_flags=-v
9196 verstring=
9197 output_objdir=.
9198 libname=conftest
9199 lt_save_allow_undefined_flag=$allow_undefined_flag
9200 allow_undefined_flag=
9201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9202 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9203 ac_status=$?
9204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9205 test $ac_status = 0; }
9206 then
9207 archive_cmds_need_lc=no
9208 else
9209 archive_cmds_need_lc=yes
9210 fi
9211 allow_undefined_flag=$lt_save_allow_undefined_flag
9212 else
9213 cat conftest.err 1>&5
9214 fi
9215 $RM conftest*
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9217$as_echo "$archive_cmds_need_lc" >&6; }
9218 ;;
9219 esac
9220 fi
9221 ;;
9222esac
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
9374
9375
9376
9377
9378
9379
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9381$as_echo_n "checking dynamic linker characteristics... " >&6; }
9382
9383if test "$GCC" = yes; then
9384 case $host_os in
9385 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9386 *) lt_awk_arg="/^libraries:/" ;;
9387 esac
9388 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9389 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9390 # if the path contains ";" then we assume it to be the separator
9391 # otherwise default to the standard path separator (i.e. ":") - it is
9392 # assumed that no part of a normal pathname contains ";" but that should
9393 # okay in the real world where ";" in dirpaths is itself problematic.
9394 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9395 else
9396 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9397 fi
9398 # Ok, now we have the path, separated by spaces, we can step through it
9399 # and add multilib dir if necessary.
9400 lt_tmp_lt_search_path_spec=
9401 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9402 for lt_sys_path in $lt_search_path_spec; do
9403 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9404 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9405 else
9406 test -d "$lt_sys_path" && \
9407 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9408 fi
9409 done
9410 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9411BEGIN {RS=" "; FS="/|\n";} {
9412 lt_foo="";
9413 lt_count=0;
9414 for (lt_i = NF; lt_i > 0; lt_i--) {
9415 if ($lt_i != "" && $lt_i != ".") {
9416 if ($lt_i == "..") {
9417 lt_count++;
9418 } else {
9419 if (lt_count == 0) {
9420 lt_foo="/" $lt_i lt_foo;
9421 } else {
9422 lt_count--;
9423 }
9424 }
9425 }
9426 }
9427 if (lt_foo != "") { lt_freq[lt_foo]++; }
9428 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9429}'`
9430 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9431else
9432 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9433fi
9434library_names_spec=
9435libname_spec='lib$name'
9436soname_spec=
9437shrext_cmds=".so"
9438postinstall_cmds=
9439postuninstall_cmds=
9440finish_cmds=
9441finish_eval=
9442shlibpath_var=
9443shlibpath_overrides_runpath=unknown
9444version_type=none
9445dynamic_linker="$host_os ld.so"
9446sys_lib_dlsearch_path_spec="/lib /usr/lib"
9447need_lib_prefix=unknown
9448hardcode_into_libs=no
9449
9450# when you set need_version to no, make sure it does not cause -set_version
9451# flags to be left without arguments
9452need_version=unknown
9453
9454case $host_os in
9455aix3*)
9456 version_type=linux
9457 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9458 shlibpath_var=LIBPATH
9459
9460 # AIX 3 has no versioning support, so we append a major version to the name.
9461 soname_spec='${libname}${release}${shared_ext}$major'
9462 ;;
9463
9464aix[4-9]*)
9465 version_type=linux
9466 need_lib_prefix=no
9467 need_version=no
9468 hardcode_into_libs=yes
9469 if test "$host_cpu" = ia64; then
9470 # AIX 5 supports IA64
9471 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9472 shlibpath_var=LD_LIBRARY_PATH
9473 else
9474 # With GCC up to 2.95.x, collect2 would create an import file
9475 # for dependence libraries. The import file would start with
9476 # the line `#! .'. This would cause the generated library to
9477 # depend on `.', always an invalid library. This was fixed in
9478 # development snapshots of GCC prior to 3.0.
9479 case $host_os in
9480 aix4 | aix4.[01] | aix4.[01].*)
9481 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9482 echo ' yes '
9483 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9484 :
9485 else
9486 can_build_shared=no
9487 fi
9488 ;;
9489 esac
9490 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9491 # soname into executable. Probably we can add versioning support to
9492 # collect2, so additional links can be useful in future.
9493 if test "$aix_use_runtimelinking" = yes; then
9494 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9495 # instead of lib<name>.a to let people know that these are not
9496 # typical AIX shared libraries.
9497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9498 else
9499 # We preserve .a as extension for shared libraries through AIX4.2
9500 # and later when we are not doing run time linking.
9501 library_names_spec='${libname}${release}.a $libname.a'
9502 soname_spec='${libname}${release}${shared_ext}$major'
9503 fi
9504 shlibpath_var=LIBPATH
9505 fi
9506 ;;
9507
9508amigaos*)
9509 case $host_cpu in
9510 powerpc)
9511 # Since July 2007 AmigaOS4 officially supports .so libraries.
9512 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9514 ;;
9515 m68k)
9516 library_names_spec='$libname.ixlibrary $libname.a'
9517 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9518 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'
9519 ;;
9520 esac
9521 ;;
9522
9523beos*)
9524 library_names_spec='${libname}${shared_ext}'
9525 dynamic_linker="$host_os ld.so"
9526 shlibpath_var=LIBRARY_PATH
9527 ;;
9528
9529bsdi[45]*)
9530 version_type=linux
9531 need_version=no
9532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9533 soname_spec='${libname}${release}${shared_ext}$major'
9534 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9535 shlibpath_var=LD_LIBRARY_PATH
9536 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9537 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9538 # the default ld.so.conf also contains /usr/contrib/lib and
9539 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9540 # libtool to hard-code these into programs
9541 ;;
9542
9543cygwin* | mingw* | pw32* | cegcc*)
9544 version_type=windows
9545 shrext_cmds=".dll"
9546 need_version=no
9547 need_lib_prefix=no
9548
9549 case $GCC,$host_os in
9550 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9551 library_names_spec='$libname.dll.a'
9552 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9553 postinstall_cmds='base_file=`basename \${file}`~
9554 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9555 dldir=$destdir/`dirname \$dlpath`~
9556 test -d \$dldir || mkdir -p \$dldir~
9557 $install_prog $dir/$dlname \$dldir/$dlname~
9558 chmod a+x \$dldir/$dlname~
9559 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9560 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9561 fi'
9562 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9563 dlpath=$dir/\$dldll~
9564 $RM \$dlpath'
9565 shlibpath_overrides_runpath=yes
9566
9567 case $host_os in
9568 cygwin*)
9569 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9570 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9571 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9572 ;;
9573 mingw* | cegcc*)
9574 # MinGW DLLs use traditional 'lib' prefix
9575 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9576 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9577 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9578 # It is most probably a Windows format PATH printed by
9579 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9580 # path with ; separators, and with drive letters. We can handle the
9581 # drive letters (cygwin fileutils understands them), so leave them,
9582 # especially as we might pass files found there to a mingw objdump,
9583 # which wouldn't understand a cygwinified path. Ahh.
9584 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9585 else
9586 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9587 fi
9588 ;;
9589 pw32*)
9590 # pw32 DLLs use 'pw' prefix rather than 'lib'
9591 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9592 ;;
9593 esac
9594 ;;
9595
9596 *)
9597 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9598 ;;
9599 esac
9600 dynamic_linker='Win32 ld.exe'
9601 # FIXME: first we should search . and the directory the executable is in
9602 shlibpath_var=PATH
9603 ;;
9604
9605darwin* | rhapsody*)
9606 dynamic_linker="$host_os dyld"
9607 version_type=darwin
9608 need_lib_prefix=no
9609 need_version=no
9610 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9611 soname_spec='${libname}${release}${major}$shared_ext'
9612 shlibpath_overrides_runpath=yes
9613 shlibpath_var=DYLD_LIBRARY_PATH
9614 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9615
9616 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9617 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9618 ;;
9619
9620dgux*)
9621 version_type=linux
9622 need_lib_prefix=no
9623 need_version=no
9624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9625 soname_spec='${libname}${release}${shared_ext}$major'
9626 shlibpath_var=LD_LIBRARY_PATH
9627 ;;
9628
9629freebsd1*)
9630 dynamic_linker=no
9631 ;;
9632
9633freebsd* | dragonfly*)
9634 # DragonFly does not have aout. When/if they implement a new
9635 # versioning mechanism, adjust this.
9636 if test -x /usr/bin/objformat; then
9637 objformat=`/usr/bin/objformat`
9638 else
9639 case $host_os in
9640 freebsd[123]*) objformat=aout ;;
9641 *) objformat=elf ;;
9642 esac
9643 fi
9644 version_type=freebsd-$objformat
9645 case $version_type in
9646 freebsd-elf*)
9647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9648 need_version=no
9649 need_lib_prefix=no
9650 ;;
9651 freebsd-*)
9652 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9653 need_version=yes
9654 ;;
9655 esac
9656 shlibpath_var=LD_LIBRARY_PATH
9657 case $host_os in
9658 freebsd2*)
9659 shlibpath_overrides_runpath=yes
9660 ;;
9661 freebsd3.[01]* | freebsdelf3.[01]*)
9662 shlibpath_overrides_runpath=yes
9663 hardcode_into_libs=yes
9664 ;;
9665 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9666 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9667 shlibpath_overrides_runpath=no
9668 hardcode_into_libs=yes
9669 ;;
9670 *) # from 4.6 on, and DragonFly
9671 shlibpath_overrides_runpath=yes
9672 hardcode_into_libs=yes
9673 ;;
9674 esac
9675 ;;
9676
9677gnu*)
9678 version_type=linux
9679 need_lib_prefix=no
9680 need_version=no
9681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9682 soname_spec='${libname}${release}${shared_ext}$major'
9683 shlibpath_var=LD_LIBRARY_PATH
9684 hardcode_into_libs=yes
9685 ;;
9686
9687hpux9* | hpux10* | hpux11*)
9688 # Give a soname corresponding to the major version so that dld.sl refuses to
9689 # link against other versions.
9690 version_type=sunos
9691 need_lib_prefix=no
9692 need_version=no
9693 case $host_cpu in
9694 ia64*)
9695 shrext_cmds='.so'
9696 hardcode_into_libs=yes
9697 dynamic_linker="$host_os dld.so"
9698 shlibpath_var=LD_LIBRARY_PATH
9699 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9701 soname_spec='${libname}${release}${shared_ext}$major'
9702 if test "X$HPUX_IA64_MODE" = X32; then
9703 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9704 else
9705 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9706 fi
9707 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9708 ;;
9709 hppa*64*)
9710 shrext_cmds='.sl'
9711 hardcode_into_libs=yes
9712 dynamic_linker="$host_os dld.sl"
9713 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9714 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9716 soname_spec='${libname}${release}${shared_ext}$major'
9717 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9718 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9719 ;;
9720 *)
9721 shrext_cmds='.sl'
9722 dynamic_linker="$host_os dld.sl"
9723 shlibpath_var=SHLIB_PATH
9724 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9726 soname_spec='${libname}${release}${shared_ext}$major'
9727 ;;
9728 esac
9729 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9730 postinstall_cmds='chmod 555 $lib'
9731 ;;
9732
9733interix[3-9]*)
9734 version_type=linux
9735 need_lib_prefix=no
9736 need_version=no
9737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9738 soname_spec='${libname}${release}${shared_ext}$major'
9739 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9740 shlibpath_var=LD_LIBRARY_PATH
9741 shlibpath_overrides_runpath=no
9742 hardcode_into_libs=yes
9743 ;;
9744
9745irix5* | irix6* | nonstopux*)
9746 case $host_os in
9747 nonstopux*) version_type=nonstopux ;;
9748 *)
9749 if test "$lt_cv_prog_gnu_ld" = yes; then
9750 version_type=linux
9751 else
9752 version_type=irix
9753 fi ;;
9754 esac
9755 need_lib_prefix=no
9756 need_version=no
9757 soname_spec='${libname}${release}${shared_ext}$major'
9758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9759 case $host_os in
9760 irix5* | nonstopux*)
9761 libsuff= shlibsuff=
9762 ;;
9763 *)
9764 case $LD in # libtool.m4 will add one of these switches to LD
9765 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9766 libsuff= shlibsuff= libmagic=32-bit;;
9767 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9768 libsuff=32 shlibsuff=N32 libmagic=N32;;
9769 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9770 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9771 *) libsuff= shlibsuff= libmagic=never-match;;
9772 esac
9773 ;;
9774 esac
9775 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9776 shlibpath_overrides_runpath=no
9777 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9778 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9779 hardcode_into_libs=yes
9780 ;;
9781
9782# No shared lib support for Linux oldld, aout, or coff.
9783linux*oldld* | linux*aout* | linux*coff*)
9784 dynamic_linker=no
9785 ;;
9786
9787# This must be Linux ELF.
9788linux* | k*bsd*-gnu | kopensolaris*-gnu)
9789 version_type=linux
9790 need_lib_prefix=no
9791 need_version=no
9792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9793 soname_spec='${libname}${release}${shared_ext}$major'
9794 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9795 shlibpath_var=LD_LIBRARY_PATH
9796 shlibpath_overrides_runpath=no
9797 # Some binutils ld are patched to set DT_RUNPATH
9798 save_LDFLAGS=$LDFLAGS
9799 save_libdir=$libdir
9800 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9801 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803/* end confdefs.h. */
9804
9805int
9806main ()
9807{
9808
9809 ;
9810 return 0;
9811}
9812_ACEOF
9813if ac_fn_c_try_link "$LINENO"; then :
9814 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9815 shlibpath_overrides_runpath=yes
9816fi
9817fi
9818rm -f core conftest.err conftest.$ac_objext \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LDFLAGS=$save_LDFLAGS
9821 libdir=$save_libdir
9822
9823 # This implies no fast_install, which is unacceptable.
9824 # Some rework will be needed to allow for fast_install
9825 # before this can be enabled.
9826 hardcode_into_libs=yes
9827
9828 # Append ld.so.conf contents to the search path
9829 if test -f /etc/ld.so.conf; then
9830 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' ' '`
9831 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9832 fi
9833
9834 # We used to test for /lib/ld.so.1 and disable shared libraries on
9835 # powerpc, because MkLinux only supported shared libraries with the
9836 # GNU dynamic linker. Since this was broken with cross compilers,
9837 # most powerpc-linux boxes support dynamic linking these days and
9838 # people can always --disable-shared, the test was removed, and we
9839 # assume the GNU/Linux dynamic linker is in use.
9840 dynamic_linker='GNU/Linux ld.so'
9841 ;;
9842
9843netbsdelf*-gnu)
9844 version_type=linux
9845 need_lib_prefix=no
9846 need_version=no
9847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9848 soname_spec='${libname}${release}${shared_ext}$major'
9849 shlibpath_var=LD_LIBRARY_PATH
9850 shlibpath_overrides_runpath=no
9851 hardcode_into_libs=yes
9852 dynamic_linker='NetBSD ld.elf_so'
9853 ;;
9854
9855netbsd*)
9856 version_type=sunos
9857 need_lib_prefix=no
9858 need_version=no
9859 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9861 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9862 dynamic_linker='NetBSD (a.out) ld.so'
9863 else
9864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9865 soname_spec='${libname}${release}${shared_ext}$major'
9866 dynamic_linker='NetBSD ld.elf_so'
9867 fi
9868 shlibpath_var=LD_LIBRARY_PATH
9869 shlibpath_overrides_runpath=yes
9870 hardcode_into_libs=yes
9871 ;;
9872
9873newsos6)
9874 version_type=linux
9875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9876 shlibpath_var=LD_LIBRARY_PATH
9877 shlibpath_overrides_runpath=yes
9878 ;;
9879
9880*nto* | *qnx*)
9881 version_type=qnx
9882 need_lib_prefix=no
9883 need_version=no
9884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9885 soname_spec='${libname}${release}${shared_ext}$major'
9886 shlibpath_var=LD_LIBRARY_PATH
9887 shlibpath_overrides_runpath=no
9888 hardcode_into_libs=yes
9889 dynamic_linker='ldqnx.so'
9890 ;;
9891
9892openbsd*)
9893 version_type=sunos
9894 sys_lib_dlsearch_path_spec="/usr/lib"
9895 need_lib_prefix=no
9896 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9897 case $host_os in
9898 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9899 *) need_version=no ;;
9900 esac
9901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9903 shlibpath_var=LD_LIBRARY_PATH
9904 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9905 case $host_os in
9906 openbsd2.[89] | openbsd2.[89].*)
9907 shlibpath_overrides_runpath=no
9908 ;;
9909 *)
9910 shlibpath_overrides_runpath=yes
9911 ;;
9912 esac
9913 else
9914 shlibpath_overrides_runpath=yes
9915 fi
9916 ;;
9917
9918os2*)
9919 libname_spec='$name'
9920 shrext_cmds=".dll"
9921 need_lib_prefix=no
9922 library_names_spec='$libname${shared_ext} $libname.a'
9923 dynamic_linker='OS/2 ld.exe'
9924 shlibpath_var=LIBPATH
9925 ;;
9926
9927osf3* | osf4* | osf5*)
9928 version_type=osf
9929 need_lib_prefix=no
9930 need_version=no
9931 soname_spec='${libname}${release}${shared_ext}$major'
9932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9933 shlibpath_var=LD_LIBRARY_PATH
9934 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9935 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9936 ;;
9937
9938rdos*)
9939 dynamic_linker=no
9940 ;;
9941
9942solaris*)
9943 version_type=linux
9944 need_lib_prefix=no
9945 need_version=no
9946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9947 soname_spec='${libname}${release}${shared_ext}$major'
9948 shlibpath_var=LD_LIBRARY_PATH
9949 shlibpath_overrides_runpath=yes
9950 hardcode_into_libs=yes
9951 # ldd complains unless libraries are executable
9952 postinstall_cmds='chmod +x $lib'
9953 ;;
9954
9955sunos4*)
9956 version_type=sunos
9957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9958 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9959 shlibpath_var=LD_LIBRARY_PATH
9960 shlibpath_overrides_runpath=yes
9961 if test "$with_gnu_ld" = yes; then
9962 need_lib_prefix=no
9963 fi
9964 need_version=yes
9965 ;;
9966
9967sysv4 | sysv4.3*)
9968 version_type=linux
9969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9970 soname_spec='${libname}${release}${shared_ext}$major'
9971 shlibpath_var=LD_LIBRARY_PATH
9972 case $host_vendor in
9973 sni)
9974 shlibpath_overrides_runpath=no
9975 need_lib_prefix=no
9976 runpath_var=LD_RUN_PATH
9977 ;;
9978 siemens)
9979 need_lib_prefix=no
9980 ;;
9981 motorola)
9982 need_lib_prefix=no
9983 need_version=no
9984 shlibpath_overrides_runpath=no
9985 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9986 ;;
9987 esac
9988 ;;
9989
9990sysv4*MP*)
9991 if test -d /usr/nec ;then
9992 version_type=linux
9993 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9994 soname_spec='$libname${shared_ext}.$major'
9995 shlibpath_var=LD_LIBRARY_PATH
9996 fi
9997 ;;
9998
9999sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10000 version_type=freebsd-elf
10001 need_lib_prefix=no
10002 need_version=no
10003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10004 soname_spec='${libname}${release}${shared_ext}$major'
10005 shlibpath_var=LD_LIBRARY_PATH
10006 shlibpath_overrides_runpath=yes
10007 hardcode_into_libs=yes
10008 if test "$with_gnu_ld" = yes; then
10009 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10010 else
10011 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10012 case $host_os in
10013 sco3.2v5*)
10014 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10015 ;;
10016 esac
10017 fi
10018 sys_lib_dlsearch_path_spec='/usr/lib'
10019 ;;
10020
10021tpf*)
10022 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10023 version_type=linux
10024 need_lib_prefix=no
10025 need_version=no
10026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10027 shlibpath_var=LD_LIBRARY_PATH
10028 shlibpath_overrides_runpath=no
10029 hardcode_into_libs=yes
10030 ;;
10031
10032uts4*)
10033 version_type=linux
10034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10035 soname_spec='${libname}${release}${shared_ext}$major'
10036 shlibpath_var=LD_LIBRARY_PATH
10037 ;;
10038
10039*)
10040 dynamic_linker=no
10041 ;;
10042esac
10043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10044$as_echo "$dynamic_linker" >&6; }
10045test "$dynamic_linker" = no && can_build_shared=no
10046
10047variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10048if test "$GCC" = yes; then
10049 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10050fi
10051
10052if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10053 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10054fi
10055if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10056 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10057fi
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
10139
10140
10141
10142
10143
10144
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10146$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10147hardcode_action=
10148if test -n "$hardcode_libdir_flag_spec" ||
10149 test -n "$runpath_var" ||
10150 test "X$hardcode_automatic" = "Xyes" ; then
10151
10152 # We can hardcode non-existent directories.
10153 if test "$hardcode_direct" != no &&
10154 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10155 # have to relink, otherwise we might link with an installed library
10156 # when we should be linking with a yet-to-be-installed one
10157 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10158 test "$hardcode_minus_L" != no; then
10159 # Linking always hardcodes the temporary library directory.
10160 hardcode_action=relink
10161 else
10162 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10163 hardcode_action=immediate
10164 fi
10165else
10166 # We cannot hardcode anything, or else we can only hardcode existing
10167 # directories.
10168 hardcode_action=unsupported
10169fi
10170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10171$as_echo "$hardcode_action" >&6; }
10172
10173if test "$hardcode_action" = relink ||
10174 test "$inherit_rpath" = yes; then
10175 # Fast installation is not supported
10176 enable_fast_install=no
10177elif test "$shlibpath_overrides_runpath" = yes ||
10178 test "$enable_shared" = no; then
10179 # Fast installation is not necessary
10180 enable_fast_install=needless
10181fi
10182
10183
10184
10185
10186
10187
10188 if test "x$enable_dlopen" != xyes; then
10189 enable_dlopen=unknown
10190 enable_dlopen_self=unknown
10191 enable_dlopen_self_static=unknown
10192else
10193 lt_cv_dlopen=no
10194 lt_cv_dlopen_libs=
10195
10196 case $host_os in
10197 beos*)
10198 lt_cv_dlopen="load_add_on"
10199 lt_cv_dlopen_libs=
10200 lt_cv_dlopen_self=yes
10201 ;;
10202
10203 mingw* | pw32* | cegcc*)
10204 lt_cv_dlopen="LoadLibrary"
10205 lt_cv_dlopen_libs=
10206 ;;
10207
10208 cygwin*)
10209 lt_cv_dlopen="dlopen"
10210 lt_cv_dlopen_libs=
10211 ;;
10212
10213 darwin*)
10214 # if libdl is installed we need to link against it
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10216$as_echo_n "checking for dlopen in -ldl... " >&6; }
10217if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10218 $as_echo_n "(cached) " >&6
10219else
10220 ac_check_lib_save_LIBS=$LIBS
10221LIBS="-ldl $LIBS"
10222cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223/* end confdefs.h. */
10224
10225/* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10228#ifdef __cplusplus
10229extern "C"
10230#endif
10231char dlopen ();
10232int
10233main ()
10234{
10235return dlopen ();
10236 ;
10237 return 0;
10238}
10239_ACEOF
10240if ac_fn_c_try_link "$LINENO"; then :
10241 ac_cv_lib_dl_dlopen=yes
10242else
10243 ac_cv_lib_dl_dlopen=no
10244fi
10245rm -f core conftest.err conftest.$ac_objext \
10246 conftest$ac_exeext conftest.$ac_ext
10247LIBS=$ac_check_lib_save_LIBS
10248fi
10249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10250$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10251if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10252 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10253else
10254
10255 lt_cv_dlopen="dyld"
10256 lt_cv_dlopen_libs=
10257 lt_cv_dlopen_self=yes
10258
10259fi
10260
10261 ;;
10262
10263 *)
10264 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10265if test "x$ac_cv_func_shl_load" = x""yes; then :
10266 lt_cv_dlopen="shl_load"
10267else
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10269$as_echo_n "checking for shl_load in -ldld... " >&6; }
10270if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10271 $as_echo_n "(cached) " >&6
10272else
10273 ac_check_lib_save_LIBS=$LIBS
10274LIBS="-ldld $LIBS"
10275cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276/* end confdefs.h. */
10277
10278/* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10281#ifdef __cplusplus
10282extern "C"
10283#endif
10284char shl_load ();
10285int
10286main ()
10287{
10288return shl_load ();
10289 ;
10290 return 0;
10291}
10292_ACEOF
10293if ac_fn_c_try_link "$LINENO"; then :
10294 ac_cv_lib_dld_shl_load=yes
10295else
10296 ac_cv_lib_dld_shl_load=no
10297fi
10298rm -f core conftest.err conftest.$ac_objext \
10299 conftest$ac_exeext conftest.$ac_ext
10300LIBS=$ac_check_lib_save_LIBS
10301fi
10302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10303$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10304if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10305 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10306else
10307 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10308if test "x$ac_cv_func_dlopen" = x""yes; then :
10309 lt_cv_dlopen="dlopen"
10310else
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10312$as_echo_n "checking for dlopen in -ldl... " >&6; }
10313if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10314 $as_echo_n "(cached) " >&6
10315else
10316 ac_check_lib_save_LIBS=$LIBS
10317LIBS="-ldl $LIBS"
10318cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319/* end confdefs.h. */
10320
10321/* Override any GCC internal prototype to avoid an error.
10322 Use char because int might match the return type of a GCC
10323 builtin and then its argument prototype would still apply. */
10324#ifdef __cplusplus
10325extern "C"
10326#endif
10327char dlopen ();
10328int
10329main ()
10330{
10331return dlopen ();
10332 ;
10333 return 0;
10334}
10335_ACEOF
10336if ac_fn_c_try_link "$LINENO"; then :
10337 ac_cv_lib_dl_dlopen=yes
10338else
10339 ac_cv_lib_dl_dlopen=no
10340fi
10341rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343LIBS=$ac_check_lib_save_LIBS
10344fi
10345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10346$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10347if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10348 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10349else
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10351$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10352if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10353 $as_echo_n "(cached) " >&6
10354else
10355 ac_check_lib_save_LIBS=$LIBS
10356LIBS="-lsvld $LIBS"
10357cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358/* end confdefs.h. */
10359
10360/* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10363#ifdef __cplusplus
10364extern "C"
10365#endif
10366char dlopen ();
10367int
10368main ()
10369{
10370return dlopen ();
10371 ;
10372 return 0;
10373}
10374_ACEOF
10375if ac_fn_c_try_link "$LINENO"; then :
10376 ac_cv_lib_svld_dlopen=yes
10377else
10378 ac_cv_lib_svld_dlopen=no
10379fi
10380rm -f core conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382LIBS=$ac_check_lib_save_LIBS
10383fi
10384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10385$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10386if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10387 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10388else
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10390$as_echo_n "checking for dld_link in -ldld... " >&6; }
10391if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10392 $as_echo_n "(cached) " >&6
10393else
10394 ac_check_lib_save_LIBS=$LIBS
10395LIBS="-ldld $LIBS"
10396cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397/* end confdefs.h. */
10398
10399/* Override any GCC internal prototype to avoid an error.
10400 Use char because int might match the return type of a GCC
10401 builtin and then its argument prototype would still apply. */
10402#ifdef __cplusplus
10403extern "C"
10404#endif
10405char dld_link ();
10406int
10407main ()
10408{
10409return dld_link ();
10410 ;
10411 return 0;
10412}
10413_ACEOF
10414if ac_fn_c_try_link "$LINENO"; then :
10415 ac_cv_lib_dld_dld_link=yes
10416else
10417 ac_cv_lib_dld_dld_link=no
10418fi
10419rm -f core conftest.err conftest.$ac_objext \
10420 conftest$ac_exeext conftest.$ac_ext
10421LIBS=$ac_check_lib_save_LIBS
10422fi
10423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10424$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10425if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10426 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10427fi
10428
10429
10430fi
10431
10432
10433fi
10434
10435
10436fi
10437
10438
10439fi
10440
10441
10442fi
10443
10444 ;;
10445 esac
10446
10447 if test "x$lt_cv_dlopen" != xno; then
10448 enable_dlopen=yes
10449 else
10450 enable_dlopen=no
10451 fi
10452
10453 case $lt_cv_dlopen in
10454 dlopen)
10455 save_CPPFLAGS="$CPPFLAGS"
10456 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10457
10458 save_LDFLAGS="$LDFLAGS"
10459 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10460
10461 save_LIBS="$LIBS"
10462 LIBS="$lt_cv_dlopen_libs $LIBS"
10463
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10465$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10466if test "${lt_cv_dlopen_self+set}" = set; then :
10467 $as_echo_n "(cached) " >&6
10468else
10469 if test "$cross_compiling" = yes; then :
10470 lt_cv_dlopen_self=cross
10471else
10472 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10473 lt_status=$lt_dlunknown
10474 cat > conftest.$ac_ext <<_LT_EOF
10475#line 10475 "configure"
10476#include "confdefs.h"
10477
10478#if HAVE_DLFCN_H
10479#include <dlfcn.h>
10480#endif
10481
10482#include <stdio.h>
10483
10484#ifdef RTLD_GLOBAL
10485# define LT_DLGLOBAL RTLD_GLOBAL
10486#else
10487# ifdef DL_GLOBAL
10488# define LT_DLGLOBAL DL_GLOBAL
10489# else
10490# define LT_DLGLOBAL 0
10491# endif
10492#endif
10493
10494/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10495 find out it does not work in some platform. */
10496#ifndef LT_DLLAZY_OR_NOW
10497# ifdef RTLD_LAZY
10498# define LT_DLLAZY_OR_NOW RTLD_LAZY
10499# else
10500# ifdef DL_LAZY
10501# define LT_DLLAZY_OR_NOW DL_LAZY
10502# else
10503# ifdef RTLD_NOW
10504# define LT_DLLAZY_OR_NOW RTLD_NOW
10505# else
10506# ifdef DL_NOW
10507# define LT_DLLAZY_OR_NOW DL_NOW
10508# else
10509# define LT_DLLAZY_OR_NOW 0
10510# endif
10511# endif
10512# endif
10513# endif
10514#endif
10515
10516void fnord() { int i=42;}
10517int main ()
10518{
10519 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10520 int status = $lt_dlunknown;
10521
10522 if (self)
10523 {
10524 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10525 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10526 /* dlclose (self); */
10527 }
10528 else
10529 puts (dlerror ());
10530
10531 return status;
10532}
10533_LT_EOF
10534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10535 (eval $ac_link) 2>&5
10536 ac_status=$?
10537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10538 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10539 (./conftest; exit; ) >&5 2>/dev/null
10540 lt_status=$?
10541 case x$lt_status in
10542 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10543 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10544 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10545 esac
10546 else :
10547 # compilation failed
10548 lt_cv_dlopen_self=no
10549 fi
10550fi
10551rm -fr conftest*
10552
10553
10554fi
10555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10556$as_echo "$lt_cv_dlopen_self" >&6; }
10557
10558 if test "x$lt_cv_dlopen_self" = xyes; then
10559 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10561$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10562if test "${lt_cv_dlopen_self_static+set}" = set; then :
10563 $as_echo_n "(cached) " >&6
10564else
10565 if test "$cross_compiling" = yes; then :
10566 lt_cv_dlopen_self_static=cross
10567else
10568 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10569 lt_status=$lt_dlunknown
10570 cat > conftest.$ac_ext <<_LT_EOF
10571#line 10571 "configure"
10572#include "confdefs.h"
10573
10574#if HAVE_DLFCN_H
10575#include <dlfcn.h>
10576#endif
10577
10578#include <stdio.h>
10579
10580#ifdef RTLD_GLOBAL
10581# define LT_DLGLOBAL RTLD_GLOBAL
10582#else
10583# ifdef DL_GLOBAL
10584# define LT_DLGLOBAL DL_GLOBAL
10585# else
10586# define LT_DLGLOBAL 0
10587# endif
10588#endif
10589
10590/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10591 find out it does not work in some platform. */
10592#ifndef LT_DLLAZY_OR_NOW
10593# ifdef RTLD_LAZY
10594# define LT_DLLAZY_OR_NOW RTLD_LAZY
10595# else
10596# ifdef DL_LAZY
10597# define LT_DLLAZY_OR_NOW DL_LAZY
10598# else
10599# ifdef RTLD_NOW
10600# define LT_DLLAZY_OR_NOW RTLD_NOW
10601# else
10602# ifdef DL_NOW
10603# define LT_DLLAZY_OR_NOW DL_NOW
10604# else
10605# define LT_DLLAZY_OR_NOW 0
10606# endif
10607# endif
10608# endif
10609# endif
10610#endif
10611
10612void fnord() { int i=42;}
10613int main ()
10614{
10615 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10616 int status = $lt_dlunknown;
10617
10618 if (self)
10619 {
10620 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10621 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10622 /* dlclose (self); */
10623 }
10624 else
10625 puts (dlerror ());
10626
10627 return status;
10628}
10629_LT_EOF
10630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10631 (eval $ac_link) 2>&5
10632 ac_status=$?
10633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10634 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10635 (./conftest; exit; ) >&5 2>/dev/null
10636 lt_status=$?
10637 case x$lt_status in
10638 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10639 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10640 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10641 esac
10642 else :
10643 # compilation failed
10644 lt_cv_dlopen_self_static=no
10645 fi
10646fi
10647rm -fr conftest*
10648
10649
10650fi
10651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10652$as_echo "$lt_cv_dlopen_self_static" >&6; }
10653 fi
10654
10655 CPPFLAGS="$save_CPPFLAGS"
10656 LDFLAGS="$save_LDFLAGS"
10657 LIBS="$save_LIBS"
10658 ;;
10659 esac
10660
10661 case $lt_cv_dlopen_self in
10662 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10663 *) enable_dlopen_self=unknown ;;
10664 esac
10665
10666 case $lt_cv_dlopen_self_static in
10667 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10668 *) enable_dlopen_self_static=unknown ;;
10669 esac
10670fi
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688striplib=
10689old_striplib=
10690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10691$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10692if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10693 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10694 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10696$as_echo "yes" >&6; }
10697else
10698# FIXME - insert some real tests, host_os isn't really good enough
10699 case $host_os in
10700 darwin*)
10701 if test -n "$STRIP" ; then
10702 striplib="$STRIP -x"
10703 old_striplib="$STRIP -S"
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10705$as_echo "yes" >&6; }
10706 else
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10708$as_echo "no" >&6; }
10709 fi
10710 ;;
10711 *)
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10713$as_echo "no" >&6; }
10714 ;;
10715 esac
10716fi
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729 # Report which library types will actually be built
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10731$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10733$as_echo "$can_build_shared" >&6; }
10734
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10736$as_echo_n "checking whether to build shared libraries... " >&6; }
10737 test "$can_build_shared" = "no" && enable_shared=no
10738
10739 # On AIX, shared libraries and static libraries use the same namespace, and
10740 # are all built from PIC.
10741 case $host_os in
10742 aix3*)
10743 test "$enable_shared" = yes && enable_static=no
10744 if test -n "$RANLIB"; then
10745 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10746 postinstall_cmds='$RANLIB $lib'
10747 fi
10748 ;;
10749
10750 aix[4-9]*)
10751 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10752 test "$enable_shared" = yes && enable_static=no
10753 fi
10754 ;;
10755 esac
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10757$as_echo "$enable_shared" >&6; }
10758
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10760$as_echo_n "checking whether to build static libraries... " >&6; }
10761 # Make sure either enable_shared or enable_static is yes.
10762 test "$enable_shared" = yes || enable_static=yes
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10764$as_echo "$enable_static" >&6; }
10765
10766
10767
10768
10769fi
10770ac_ext=c
10771ac_cpp='$CPP $CPPFLAGS'
10772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10774ac_compiler_gnu=$ac_cv_c_compiler_gnu
10775
10776CC="$lt_save_CC"
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790 ac_config_commands="$ac_config_commands libtool"
10791
10792
10793
10794
10795# Only expand once:
10796
10797
10798
10799##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10800##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10801
10802
10803
10804cat >>confdefs.h <<_ACEOF
10805#define VMAJ 1
10806_ACEOF
10807
10808
10809cat >>confdefs.h <<_ACEOF
10810#define VMIN 2
10811_ACEOF
10812
10813
10814cat >>confdefs.h <<_ACEOF
10815#define VMIC 0
10816_ACEOF
10817
10818
10819cat >>confdefs.h <<_ACEOF
10820#define VREV 0
10821_ACEOF
10822
10823version_info="3:0:2"
10824release_info=""
10825
10826
10827##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10828##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10829VMAJ=1
10830
10831
10832### Default options with respect to host
10833
10834
10835
10836
10837requirement_embryo=""
10838embryoincludedir="${datadir}/include"
10839
10840
10841### Additional options to configure
10842
10843
10844
10845
10846have_embryo_cc="yes"
10847
10848
10849# Check whether --enable-embryo-cc was given.
10850if test "${enable_embryo_cc+set}" = set; then :
10851 enableval=$enable_embryo_cc;
10852 if test "x${enableval}" = "xyes" ; then
10853 have_embryo_cc="yes"
10854 else
10855 have_embryo_cc="no"
10856 fi
10857
10858fi
10859
10860
10861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build embryo_cc binary" >&5
10862$as_echo_n "checking whether to build embryo_cc binary... " >&6; }
10863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_embryo_cc" >&5
10864$as_echo "$have_embryo_cc" >&6; }
10865
10866if test "x$have_embryo_cc" = "xyes"; then
10867 EMBRYO_CC_PRG=embryo_cc${EXEEXT}
10868fi
10869
10870
10871
10872 if test "x$have_embryo_cc" = "xyes"; then
10873 BUILD_EMBRYO_CC_TRUE=
10874 BUILD_EMBRYO_CC_FALSE='#'
10875else
10876 BUILD_EMBRYO_CC_TRUE='#'
10877 BUILD_EMBRYO_CC_FALSE=
10878fi
10879
10880
10881if test "x$have_embryo_cc" = "xyes"; then :
10882
10883fi
10884
10885
10886
10887
10888### Checks for programs
10889ac_ext=c
10890ac_cpp='$CPP $CPPFLAGS'
10891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10893ac_compiler_gnu=$ac_cv_c_compiler_gnu
10894if test -n "$ac_tool_prefix"; then
10895 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10896set dummy ${ac_tool_prefix}gcc; ac_word=$2
10897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10898$as_echo_n "checking for $ac_word... " >&6; }
10899if test "${ac_cv_prog_CC+set}" = set; then :
10900 $as_echo_n "(cached) " >&6
10901else
10902 if test -n "$CC"; then
10903 ac_cv_prog_CC="$CC" # Let the user override the test.
10904else
10905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10906for as_dir in $PATH
10907do
10908 IFS=$as_save_IFS
10909 test -z "$as_dir" && as_dir=.
10910 for ac_exec_ext in '' $ac_executable_extensions; do
10911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10912 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10914 break 2
10915 fi
10916done
10917 done
10918IFS=$as_save_IFS
10919
10920fi
10921fi
10922CC=$ac_cv_prog_CC
10923if test -n "$CC"; then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10925$as_echo "$CC" >&6; }
10926else
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10928$as_echo "no" >&6; }
10929fi
10930
10931
10932fi
10933if test -z "$ac_cv_prog_CC"; then
10934 ac_ct_CC=$CC
10935 # Extract the first word of "gcc", so it can be a program name with args.
10936set dummy gcc; ac_word=$2
10937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10938$as_echo_n "checking for $ac_word... " >&6; }
10939if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10940 $as_echo_n "(cached) " >&6
10941else
10942 if test -n "$ac_ct_CC"; then
10943 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10944else
10945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10946for as_dir in $PATH
10947do
10948 IFS=$as_save_IFS
10949 test -z "$as_dir" && as_dir=.
10950 for ac_exec_ext in '' $ac_executable_extensions; do
10951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10952 ac_cv_prog_ac_ct_CC="gcc"
10953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10954 break 2
10955 fi
10956done
10957 done
10958IFS=$as_save_IFS
10959
10960fi
10961fi
10962ac_ct_CC=$ac_cv_prog_ac_ct_CC
10963if test -n "$ac_ct_CC"; then
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10965$as_echo "$ac_ct_CC" >&6; }
10966else
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10968$as_echo "no" >&6; }
10969fi
10970
10971 if test "x$ac_ct_CC" = x; then
10972 CC=""
10973 else
10974 case $cross_compiling:$ac_tool_warned in
10975yes:)
10976{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10977$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10978ac_tool_warned=yes ;;
10979esac
10980 CC=$ac_ct_CC
10981 fi
10982else
10983 CC="$ac_cv_prog_CC"
10984fi
10985
10986if test -z "$CC"; then
10987 if test -n "$ac_tool_prefix"; then
10988 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10989set dummy ${ac_tool_prefix}cc; ac_word=$2
10990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10991$as_echo_n "checking for $ac_word... " >&6; }
10992if test "${ac_cv_prog_CC+set}" = set; then :
10993 $as_echo_n "(cached) " >&6
10994else
10995 if test -n "$CC"; then
10996 ac_cv_prog_CC="$CC" # Let the user override the test.
10997else
10998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10999for as_dir in $PATH
11000do
11001 IFS=$as_save_IFS
11002 test -z "$as_dir" && as_dir=.
11003 for ac_exec_ext in '' $ac_executable_extensions; do
11004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11005 ac_cv_prog_CC="${ac_tool_prefix}cc"
11006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11007 break 2
11008 fi
11009done
11010 done
11011IFS=$as_save_IFS
11012
11013fi
11014fi
11015CC=$ac_cv_prog_CC
11016if test -n "$CC"; then
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11018$as_echo "$CC" >&6; }
11019else
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11021$as_echo "no" >&6; }
11022fi
11023
11024
11025 fi
11026fi
11027if test -z "$CC"; then
11028 # Extract the first word of "cc", so it can be a program name with args.
11029set dummy cc; ac_word=$2
11030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11031$as_echo_n "checking for $ac_word... " >&6; }
11032if test "${ac_cv_prog_CC+set}" = set; then :
11033 $as_echo_n "(cached) " >&6
11034else
11035 if test -n "$CC"; then
11036 ac_cv_prog_CC="$CC" # Let the user override the test.
11037else
11038 ac_prog_rejected=no
11039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11040for as_dir in $PATH
11041do
11042 IFS=$as_save_IFS
11043 test -z "$as_dir" && as_dir=.
11044 for ac_exec_ext in '' $ac_executable_extensions; do
11045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11046 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11047 ac_prog_rejected=yes
11048 continue
11049 fi
11050 ac_cv_prog_CC="cc"
11051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11052 break 2
11053 fi
11054done
11055 done
11056IFS=$as_save_IFS
11057
11058if test $ac_prog_rejected = yes; then
11059 # We found a bogon in the path, so make sure we never use it.
11060 set dummy $ac_cv_prog_CC
11061 shift
11062 if test $# != 0; then
11063 # We chose a different compiler from the bogus one.
11064 # However, it has the same basename, so the bogon will be chosen
11065 # first if we set CC to just the basename; use the full file name.
11066 shift
11067 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11068 fi
11069fi
11070fi
11071fi
11072CC=$ac_cv_prog_CC
11073if test -n "$CC"; then
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11075$as_echo "$CC" >&6; }
11076else
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11078$as_echo "no" >&6; }
11079fi
11080
11081
11082fi
11083if test -z "$CC"; then
11084 if test -n "$ac_tool_prefix"; then
11085 for ac_prog in cl.exe
11086 do
11087 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11088set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11090$as_echo_n "checking for $ac_word... " >&6; }
11091if test "${ac_cv_prog_CC+set}" = set; then :
11092 $as_echo_n "(cached) " >&6
11093else
11094 if test -n "$CC"; then
11095 ac_cv_prog_CC="$CC" # Let the user override the test.
11096else
11097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11098for as_dir in $PATH
11099do
11100 IFS=$as_save_IFS
11101 test -z "$as_dir" && as_dir=.
11102 for ac_exec_ext in '' $ac_executable_extensions; do
11103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11104 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11106 break 2
11107 fi
11108done
11109 done
11110IFS=$as_save_IFS
11111
11112fi
11113fi
11114CC=$ac_cv_prog_CC
11115if test -n "$CC"; then
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11117$as_echo "$CC" >&6; }
11118else
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11120$as_echo "no" >&6; }
11121fi
11122
11123
11124 test -n "$CC" && break
11125 done
11126fi
11127if test -z "$CC"; then
11128 ac_ct_CC=$CC
11129 for ac_prog in cl.exe
11130do
11131 # Extract the first word of "$ac_prog", so it can be a program name with args.
11132set dummy $ac_prog; ac_word=$2
11133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11134$as_echo_n "checking for $ac_word... " >&6; }
11135if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11136 $as_echo_n "(cached) " >&6
11137else
11138 if test -n "$ac_ct_CC"; then
11139 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11140else
11141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11142for as_dir in $PATH
11143do
11144 IFS=$as_save_IFS
11145 test -z "$as_dir" && as_dir=.
11146 for ac_exec_ext in '' $ac_executable_extensions; do
11147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11148 ac_cv_prog_ac_ct_CC="$ac_prog"
11149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11150 break 2
11151 fi
11152done
11153 done
11154IFS=$as_save_IFS
11155
11156fi
11157fi
11158ac_ct_CC=$ac_cv_prog_ac_ct_CC
11159if test -n "$ac_ct_CC"; then
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11161$as_echo "$ac_ct_CC" >&6; }
11162else
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11164$as_echo "no" >&6; }
11165fi
11166
11167
11168 test -n "$ac_ct_CC" && break
11169done
11170
11171 if test "x$ac_ct_CC" = x; then
11172 CC=""
11173 else
11174 case $cross_compiling:$ac_tool_warned in
11175yes:)
11176{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11177$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11178ac_tool_warned=yes ;;
11179esac
11180 CC=$ac_ct_CC
11181 fi
11182fi
11183
11184fi
11185
11186
11187test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11188$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11189as_fn_error $? "no acceptable C compiler found in \$PATH
11190See \`config.log' for more details" "$LINENO" 5 ; }
11191
11192# Provide some information about the compiler.
11193$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11194set X $ac_compile
11195ac_compiler=$2
11196for ac_option in --version -v -V -qversion; do
11197 { { ac_try="$ac_compiler $ac_option >&5"
11198case "(($ac_try" in
11199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11200 *) ac_try_echo=$ac_try;;
11201esac
11202eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11203$as_echo "$ac_try_echo"; } >&5
11204 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11205 ac_status=$?
11206 if test -s conftest.err; then
11207 sed '10a\
11208... rest of stderr output deleted ...
11209 10q' conftest.err >conftest.er1
11210 cat conftest.er1 >&5
11211 fi
11212 rm -f conftest.er1 conftest.err
11213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11214 test $ac_status = 0; }
11215done
11216
11217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11218$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11219if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11220 $as_echo_n "(cached) " >&6
11221else
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223/* end confdefs.h. */
11224
11225int
11226main ()
11227{
11228#ifndef __GNUC__
11229 choke me
11230#endif
11231
11232 ;
11233 return 0;
11234}
11235_ACEOF
11236if ac_fn_c_try_compile "$LINENO"; then :
11237 ac_compiler_gnu=yes
11238else
11239 ac_compiler_gnu=no
11240fi
11241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11242ac_cv_c_compiler_gnu=$ac_compiler_gnu
11243
11244fi
11245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11246$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11247if test $ac_compiler_gnu = yes; then
11248 GCC=yes
11249else
11250 GCC=
11251fi
11252ac_test_CFLAGS=${CFLAGS+set}
11253ac_save_CFLAGS=$CFLAGS
11254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11255$as_echo_n "checking whether $CC accepts -g... " >&6; }
11256if test "${ac_cv_prog_cc_g+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258else
11259 ac_save_c_werror_flag=$ac_c_werror_flag
11260 ac_c_werror_flag=yes
11261 ac_cv_prog_cc_g=no
11262 CFLAGS="-g"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264/* end confdefs.h. */
11265
11266int
11267main ()
11268{
11269
11270 ;
11271 return 0;
11272}
11273_ACEOF
11274if ac_fn_c_try_compile "$LINENO"; then :
11275 ac_cv_prog_cc_g=yes
11276else
11277 CFLAGS=""
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279/* end confdefs.h. */
11280
11281int
11282main ()
11283{
11284
11285 ;
11286 return 0;
11287}
11288_ACEOF
11289if ac_fn_c_try_compile "$LINENO"; then :
11290
11291else
11292 ac_c_werror_flag=$ac_save_c_werror_flag
11293 CFLAGS="-g"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295/* end confdefs.h. */
11296
11297int
11298main ()
11299{
11300
11301 ;
11302 return 0;
11303}
11304_ACEOF
11305if ac_fn_c_try_compile "$LINENO"; then :
11306 ac_cv_prog_cc_g=yes
11307fi
11308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11309fi
11310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11311fi
11312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11313 ac_c_werror_flag=$ac_save_c_werror_flag
11314fi
11315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11316$as_echo "$ac_cv_prog_cc_g" >&6; }
11317if test "$ac_test_CFLAGS" = set; then
11318 CFLAGS=$ac_save_CFLAGS
11319elif test $ac_cv_prog_cc_g = yes; then
11320 if test "$GCC" = yes; then
11321 CFLAGS="-g -O2"
11322 else
11323 CFLAGS="-g"
11324 fi
11325else
11326 if test "$GCC" = yes; then
11327 CFLAGS="-O2"
11328 else
11329 CFLAGS=
11330 fi
11331fi
11332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11333$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11334if test "${ac_cv_prog_cc_c89+set}" = set; then :
11335 $as_echo_n "(cached) " >&6
11336else
11337 ac_cv_prog_cc_c89=no
11338ac_save_CC=$CC
11339cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340/* end confdefs.h. */
11341#include <stdarg.h>
11342#include <stdio.h>
11343#include <sys/types.h>
11344#include <sys/stat.h>
11345/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11346struct buf { int x; };
11347FILE * (*rcsopen) (struct buf *, struct stat *, int);
11348static char *e (p, i)
11349 char **p;
11350 int i;
11351{
11352 return p[i];
11353}
11354static char *f (char * (*g) (char **, int), char **p, ...)
11355{
11356 char *s;
11357 va_list v;
11358 va_start (v,p);
11359 s = g (p, va_arg (v,int));
11360 va_end (v);
11361 return s;
11362}
11363
11364/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11365 function prototypes and stuff, but not '\xHH' hex character constants.
11366 These don't provoke an error unfortunately, instead are silently treated
11367 as 'x'. The following induces an error, until -std is added to get
11368 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11369 array size at least. It's necessary to write '\x00'==0 to get something
11370 that's true only with -std. */
11371int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11372
11373/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11374 inside strings and character constants. */
11375#define FOO(x) 'x'
11376int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11377
11378int test (int i, double x);
11379struct s1 {int (*f) (int a);};
11380struct s2 {int (*f) (double a);};
11381int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11382int argc;
11383char **argv;
11384int
11385main ()
11386{
11387return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11388 ;
11389 return 0;
11390}
11391_ACEOF
11392for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11393 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11394do
11395 CC="$ac_save_CC $ac_arg"
11396 if ac_fn_c_try_compile "$LINENO"; then :
11397 ac_cv_prog_cc_c89=$ac_arg
11398fi
11399rm -f core conftest.err conftest.$ac_objext
11400 test "x$ac_cv_prog_cc_c89" != "xno" && break
11401done
11402rm -f conftest.$ac_ext
11403CC=$ac_save_CC
11404
11405fi
11406# AC_CACHE_VAL
11407case "x$ac_cv_prog_cc_c89" in
11408 x)
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11410$as_echo "none needed" >&6; } ;;
11411 xno)
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11413$as_echo "unsupported" >&6; } ;;
11414 *)
11415 CC="$CC $ac_cv_prog_cc_c89"
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11417$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11418esac
11419if test "x$ac_cv_prog_cc_c89" != xno; then :
11420
11421fi
11422
11423ac_ext=c
11424ac_cpp='$CPP $CPPFLAGS'
11425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11427ac_compiler_gnu=$ac_cv_c_compiler_gnu
11428
11429depcc="$CC" am_compiler_list=
11430
11431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11432$as_echo_n "checking dependency style of $depcc... " >&6; }
11433if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11434 $as_echo_n "(cached) " >&6
11435else
11436 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11437 # We make a subdir and do the tests there. Otherwise we can end up
11438 # making bogus files that we don't know about and never remove. For
11439 # instance it was reported that on HP-UX the gcc test will end up
11440 # making a dummy file named `D' -- because `-MD' means `put the output
11441 # in D'.
11442 mkdir conftest.dir
11443 # Copy depcomp to subdir because otherwise we won't find it if we're
11444 # using a relative directory.
11445 cp "$am_depcomp" conftest.dir
11446 cd conftest.dir
11447 # We will build objects and dependencies in a subdirectory because
11448 # it helps to detect inapplicable dependency modes. For instance
11449 # both Tru64's cc and ICC support -MD to output dependencies as a
11450 # side effect of compilation, but ICC will put the dependencies in
11451 # the current directory while Tru64 will put them in the object
11452 # directory.
11453 mkdir sub
11454
11455 am_cv_CC_dependencies_compiler_type=none
11456 if test "$am_compiler_list" = ""; then
11457 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11458 fi
11459 am__universal=false
11460 case " $depcc " in #(
11461 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11462 esac
11463
11464 for depmode in $am_compiler_list; do
11465 # Setup a source with many dependencies, because some compilers
11466 # like to wrap large dependency lists on column 80 (with \), and
11467 # we should not choose a depcomp mode which is confused by this.
11468 #
11469 # We need to recreate these files for each test, as the compiler may
11470 # overwrite some of them when testing with obscure command lines.
11471 # This happens at least with the AIX C compiler.
11472 : > sub/conftest.c
11473 for i in 1 2 3 4 5 6; do
11474 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11475 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11476 # Solaris 8's {/usr,}/bin/sh.
11477 touch sub/conftst$i.h
11478 done
11479 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11480
11481 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11482 # mode. It turns out that the SunPro C++ compiler does not properly
11483 # handle `-M -o', and we need to detect this. Also, some Intel
11484 # versions had trouble with output in subdirs
11485 am__obj=sub/conftest.${OBJEXT-o}
11486 am__minus_obj="-o $am__obj"
11487 case $depmode in
11488 gcc)
11489 # This depmode causes a compiler race in universal mode.
11490 test "$am__universal" = false || continue
11491 ;;
11492 nosideeffect)
11493 # after this tag, mechanisms are not by side-effect, so they'll
11494 # only be used when explicitly requested
11495 if test "x$enable_dependency_tracking" = xyes; then
11496 continue
11497 else
11498 break
11499 fi
11500 ;;
11501 msvisualcpp | msvcmsys)
11502 # This compiler won't grok `-c -o', but also, the minuso test has
11503 # not run yet. These depmodes are late enough in the game, and
11504 # so weak that their functioning should not be impacted.
11505 am__obj=conftest.${OBJEXT-o}
11506 am__minus_obj=
11507 ;;
11508 none) break ;;
11509 esac
11510 if depmode=$depmode \
11511 source=sub/conftest.c object=$am__obj \
11512 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11513 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11514 >/dev/null 2>conftest.err &&
11515 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11516 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11517 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11518 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11519 # icc doesn't choke on unknown options, it will just issue warnings
11520 # or remarks (even with -Werror). So we grep stderr for any message
11521 # that says an option was ignored or not supported.
11522 # When given -MP, icc 7.0 and 7.1 complain thusly:
11523 # icc: Command line warning: ignoring option '-M'; no argument required
11524 # The diagnosis changed in icc 8.0:
11525 # icc: Command line remark: option '-MP' not supported
11526 if (grep 'ignoring option' conftest.err ||
11527 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11528 am_cv_CC_dependencies_compiler_type=$depmode
11529 break
11530 fi
11531 fi
11532 done
11533
11534 cd ..
11535 rm -rf conftest.dir
11536else
11537 am_cv_CC_dependencies_compiler_type=none
11538fi
11539
11540fi
11541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11542$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11543CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11544
11545 if
11546 test "x$enable_dependency_tracking" != xno \
11547 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11548 am__fastdepCC_TRUE=
11549 am__fastdepCC_FALSE='#'
11550else
11551 am__fastdepCC_TRUE='#'
11552 am__fastdepCC_FALSE=
11553fi
11554
11555
11556
11557# doxygen program for documentation building
11558
11559
11560
11561# Check whether --enable-doc was given.
11562if test "${enable_doc+set}" = set; then :
11563 enableval=$enable_doc;
11564 if test "x${enableval}" = "xyes" ; then
11565 efl_enable_doc="yes"
11566 else
11567 efl_enable_doc="no"
11568 fi
11569
11570else
11571 efl_enable_doc="yes"
11572fi
11573
11574
11575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
11576$as_echo_n "checking whether to build documentation... " >&6; }
11577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
11578$as_echo "${efl_enable_doc}" >&6; }
11579
11580if test "x${efl_enable_doc}" = "xyes" ; then
11581
11582
11583 efl_doxygen="doxygen"
11584
11585
11586# Check whether --with-doxygen was given.
11587if test "${with_doxygen+set}" = set; then :
11588 withval=$with_doxygen;
11589 efl_doxygen=${withval}
11590 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11591set dummy ${efl_doxygen}; ac_word=$2
11592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11593$as_echo_n "checking for $ac_word... " >&6; }
11594if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11595 $as_echo_n "(cached) " >&6
11596else
11597 if test -n "$efl_have_doxygen"; then
11598 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11599else
11600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11601for as_dir in $PATH
11602do
11603 IFS=$as_save_IFS
11604 test -z "$as_dir" && as_dir=.
11605 for ac_exec_ext in '' $ac_executable_extensions; do
11606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11607 ac_cv_prog_efl_have_doxygen="yes"
11608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11609 break 2
11610 fi
11611done
11612 done
11613IFS=$as_save_IFS
11614
11615 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11616fi
11617fi
11618efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11619if test -n "$efl_have_doxygen"; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11621$as_echo "$efl_have_doxygen" >&6; }
11622else
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11624$as_echo "no" >&6; }
11625fi
11626
11627
11628 if test "x${efl_have_doxygen}" = "xno" ; then
11629 echo "WARNING:"
11630 echo "The doxygen program you specified:"
11631 echo "${efl_doxygen}"
11632 echo "was not found. Please check the path and make sure "
11633 echo "the program exists and is executable."
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11635$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11636 fi
11637
11638else
11639 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11640set dummy ${efl_doxygen}; ac_word=$2
11641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11642$as_echo_n "checking for $ac_word... " >&6; }
11643if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11644 $as_echo_n "(cached) " >&6
11645else
11646 if test -n "$efl_have_doxygen"; then
11647 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11648else
11649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11650for as_dir in $PATH
11651do
11652 IFS=$as_save_IFS
11653 test -z "$as_dir" && as_dir=.
11654 for ac_exec_ext in '' $ac_executable_extensions; do
11655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11656 ac_cv_prog_efl_have_doxygen="yes"
11657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11658 break 2
11659 fi
11660done
11661 done
11662IFS=$as_save_IFS
11663
11664 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11665fi
11666fi
11667efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11668if test -n "$efl_have_doxygen"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11670$as_echo "$efl_have_doxygen" >&6; }
11671else
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11673$as_echo "no" >&6; }
11674fi
11675
11676
11677 if test "x${efl_have_doxygen}" = "xno" ; then
11678 echo "WARNING:"
11679 echo "The doxygen program was not found in your execute path."
11680 echo "You may have doxygen installed somewhere not covered by your path."
11681 echo ""
11682 echo "If this is the case make sure you have the packages installed, AND"
11683 echo "that the doxygen program is in your execute path (see your"
11684 echo "shell manual page on setting the \$PATH environment variable), OR"
11685 echo "alternatively, specify the program to use with --with-doxygen."
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11687$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11688 fi
11689
11690fi
11691
11692fi
11693
11694
11695
11696if ! test "x${efl_have_doxygen}" = "xyes" ; then
11697 efl_enable_doc="no"
11698fi
11699
11700 if test "x${efl_enable_doc}" = "xyes"; then
11701 EFL_BUILD_DOC_TRUE=
11702 EFL_BUILD_DOC_FALSE='#'
11703else
11704 EFL_BUILD_DOC_TRUE='#'
11705 EFL_BUILD_DOC_FALSE=
11706fi
11707
11708
11709if test "x${efl_enable_doc}" = "xyes" ; then
11710 build_doc="yes"
11711else
11712 build_doc="no"
11713fi
11714
11715
11716
11717# pkg-config
11718
11719
11720
11721
11722
11723
11724
11725if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11726 if test -n "$ac_tool_prefix"; then
11727 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11728set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11730$as_echo_n "checking for $ac_word... " >&6; }
11731if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11732 $as_echo_n "(cached) " >&6
11733else
11734 case $PKG_CONFIG in
11735 [\\/]* | ?:[\\/]*)
11736 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11737 ;;
11738 *)
11739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11740for as_dir in $PATH
11741do
11742 IFS=$as_save_IFS
11743 test -z "$as_dir" && as_dir=.
11744 for ac_exec_ext in '' $ac_executable_extensions; do
11745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11746 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 break 2
11749 fi
11750done
11751 done
11752IFS=$as_save_IFS
11753
11754 ;;
11755esac
11756fi
11757PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11758if test -n "$PKG_CONFIG"; then
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11760$as_echo "$PKG_CONFIG" >&6; }
11761else
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763$as_echo "no" >&6; }
11764fi
11765
11766
11767fi
11768if test -z "$ac_cv_path_PKG_CONFIG"; then
11769 ac_pt_PKG_CONFIG=$PKG_CONFIG
11770 # Extract the first word of "pkg-config", so it can be a program name with args.
11771set dummy pkg-config; ac_word=$2
11772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11773$as_echo_n "checking for $ac_word... " >&6; }
11774if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11775 $as_echo_n "(cached) " >&6
11776else
11777 case $ac_pt_PKG_CONFIG in
11778 [\\/]* | ?:[\\/]*)
11779 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11780 ;;
11781 *)
11782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11783for as_dir in $PATH
11784do
11785 IFS=$as_save_IFS
11786 test -z "$as_dir" && as_dir=.
11787 for ac_exec_ext in '' $ac_executable_extensions; do
11788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11789 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11791 break 2
11792 fi
11793done
11794 done
11795IFS=$as_save_IFS
11796
11797 ;;
11798esac
11799fi
11800ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11801if test -n "$ac_pt_PKG_CONFIG"; then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11803$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11804else
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11806$as_echo "no" >&6; }
11807fi
11808
11809 if test "x$ac_pt_PKG_CONFIG" = x; then
11810 PKG_CONFIG=""
11811 else
11812 case $cross_compiling:$ac_tool_warned in
11813yes:)
11814{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11815$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11816ac_tool_warned=yes ;;
11817esac
11818 PKG_CONFIG=$ac_pt_PKG_CONFIG
11819 fi
11820else
11821 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11822fi
11823
11824fi
11825if test -n "$PKG_CONFIG"; then
11826 _pkg_min_version=0.9.0
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11828$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11829 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11831$as_echo "yes" >&6; }
11832 else
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11834$as_echo "no" >&6; }
11835 PKG_CONFIG=""
11836 fi
11837fi
11838
11839# Check whether pkg-config supports Requires.private
11840if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
11841 pkgconfig_requires_private="Requires.private"
11842else
11843 pkgconfig_requires_private="Requires"
11844fi
11845
11846
11847
11848### Checks for libraries
11849
11850# Evil library for compilation on Windows
11851
11852EFL_EMBRYO_BUILD=""
11853case "$host_os" in
11854 mingw*)
11855
11856pkg_failed=no
11857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
11858$as_echo_n "checking for EVIL... " >&6; }
11859
11860if test -n "$EVIL_CFLAGS"; then
11861 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
11862 elif test -n "$PKG_CONFIG"; then
11863 if test -n "$PKG_CONFIG" && \
11864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
11865 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
11866 ac_status=$?
11867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11868 test $ac_status = 0; }; then
11869 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
11870else
11871 pkg_failed=yes
11872fi
11873 else
11874 pkg_failed=untried
11875fi
11876if test -n "$EVIL_LIBS"; then
11877 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
11878 elif test -n "$PKG_CONFIG"; then
11879 if test -n "$PKG_CONFIG" && \
11880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
11881 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
11882 ac_status=$?
11883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11884 test $ac_status = 0; }; then
11885 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
11886else
11887 pkg_failed=yes
11888fi
11889 else
11890 pkg_failed=untried
11891fi
11892
11893
11894
11895if test $pkg_failed = yes; then
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897$as_echo "no" >&6; }
11898
11899if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11900 _pkg_short_errors_supported=yes
11901else
11902 _pkg_short_errors_supported=no
11903fi
11904 if test $_pkg_short_errors_supported = yes; then
11905 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
11906 else
11907 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
11908 fi
11909 # Put the nasty error message in config.log where it belongs
11910 echo "$EVIL_PKG_ERRORS" >&5
11911
11912 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
11913
11914$EVIL_PKG_ERRORS
11915
11916Consider adjusting the PKG_CONFIG_PATH environment variable if you
11917installed software in a non-standard prefix.
11918
11919Alternatively, you may set the environment variables EVIL_CFLAGS
11920and EVIL_LIBS to avoid the need to call pkg-config.
11921See the pkg-config man page for more details." "$LINENO" 5
11922elif test $pkg_failed = untried; then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11924$as_echo "no" >&6; }
11925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11927as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11928is in your PATH or set the PKG_CONFIG environment variable to the full
11929path to pkg-config.
11930
11931Alternatively, you may set the environment variables EVIL_CFLAGS
11932and EVIL_LIBS to avoid the need to call pkg-config.
11933See the pkg-config man page for more details.
11934
11935To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11936See \`config.log' for more details" "$LINENO" 5 ; }
11937else
11938 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
11939 EVIL_LIBS=$pkg_cv_EVIL_LIBS
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11941$as_echo "yes" >&6; }
11942
11943fi
11944
11945$as_echo "#define HAVE_EVIL 1" >>confdefs.h
11946
11947 requirement_embryo="evil ${requirement_embryo}"
11948 EFL_EMBRYO_BUILD="-DEFL_EMBRYO_BUILD"
11949 ;;
11950esac
11951
11952
11953# For embryo_cc_prefix.c
11954
11955pkg_failed=no
11956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
11957$as_echo_n "checking for EINA... " >&6; }
11958
11959if test -n "$EINA_CFLAGS"; then
11960 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
11961 elif test -n "$PKG_CONFIG"; then
11962 if test -n "$PKG_CONFIG" && \
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
11964 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
11965 ac_status=$?
11966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11967 test $ac_status = 0; }; then
11968 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.2.0" 2>/dev/null`
11969else
11970 pkg_failed=yes
11971fi
11972 else
11973 pkg_failed=untried
11974fi
11975if test -n "$EINA_LIBS"; then
11976 pkg_cv_EINA_LIBS="$EINA_LIBS"
11977 elif test -n "$PKG_CONFIG"; then
11978 if test -n "$PKG_CONFIG" && \
11979 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
11980 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
11981 ac_status=$?
11982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11983 test $ac_status = 0; }; then
11984 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.2.0" 2>/dev/null`
11985else
11986 pkg_failed=yes
11987fi
11988 else
11989 pkg_failed=untried
11990fi
11991
11992
11993
11994if test $pkg_failed = yes; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996$as_echo "no" >&6; }
11997
11998if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11999 _pkg_short_errors_supported=yes
12000else
12001 _pkg_short_errors_supported=no
12002fi
12003 if test $_pkg_short_errors_supported = yes; then
12004 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.2.0" 2>&1`
12005 else
12006 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.2.0" 2>&1`
12007 fi
12008 # Put the nasty error message in config.log where it belongs
12009 echo "$EINA_PKG_ERRORS" >&5
12010
12011 as_fn_error $? "Package requirements (eina >= 1.2.0) were not met:
12012
12013$EINA_PKG_ERRORS
12014
12015Consider adjusting the PKG_CONFIG_PATH environment variable if you
12016installed software in a non-standard prefix.
12017
12018Alternatively, you may set the environment variables EINA_CFLAGS
12019and EINA_LIBS to avoid the need to call pkg-config.
12020See the pkg-config man page for more details." "$LINENO" 5
12021elif test $pkg_failed = untried; then
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12023$as_echo "no" >&6; }
12024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12025$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12026as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12027is in your PATH or set the PKG_CONFIG environment variable to the full
12028path to pkg-config.
12029
12030Alternatively, you may set the environment variables EINA_CFLAGS
12031and EINA_LIBS to avoid the need to call pkg-config.
12032See the pkg-config man page for more details.
12033
12034To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12035See \`config.log' for more details" "$LINENO" 5 ; }
12036else
12037 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
12038 EINA_LIBS=$pkg_cv_EINA_LIBS
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12040$as_echo "yes" >&6; }
12041
12042fi
12043
12044### Checks for portability layer
12045
12046
12047pkg_failed=no
12048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
12049$as_echo_n "checking for EXOTIC... " >&6; }
12050
12051if test -n "$EXOTIC_CFLAGS"; then
12052 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
12053 elif test -n "$PKG_CONFIG"; then
12054 if test -n "$PKG_CONFIG" && \
12055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
12056 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
12057 ac_status=$?
12058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12059 test $ac_status = 0; }; then
12060 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
12061else
12062 pkg_failed=yes
12063fi
12064 else
12065 pkg_failed=untried
12066fi
12067if test -n "$EXOTIC_LIBS"; then
12068 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
12069 elif test -n "$PKG_CONFIG"; then
12070 if test -n "$PKG_CONFIG" && \
12071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
12072 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
12073 ac_status=$?
12074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12075 test $ac_status = 0; }; then
12076 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
12077else
12078 pkg_failed=yes
12079fi
12080 else
12081 pkg_failed=untried
12082fi
12083
12084
12085
12086if test $pkg_failed = yes; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088$as_echo "no" >&6; }
12089
12090if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12091 _pkg_short_errors_supported=yes
12092else
12093 _pkg_short_errors_supported=no
12094fi
12095 if test $_pkg_short_errors_supported = yes; then
12096 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
12097 else
12098 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
12099 fi
12100 # Put the nasty error message in config.log where it belongs
12101 echo "$EXOTIC_PKG_ERRORS" >&5
12102
12103 enable_exotic="no"
12104elif test $pkg_failed = untried; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106$as_echo "no" >&6; }
12107 enable_exotic="no"
12108else
12109 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
12110 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12112$as_echo "yes" >&6; }
12113 enable_exotic="yes"
12114fi
12115
12116if test "x${enable_exotic}" = "xyes"; then
12117 requirement_embryo="exotic ${requirement_embryo}"
12118
12119
12120$as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
12121
12122fi
12123
12124### Checks for header files
12125
12126for ac_header in unistd.h
12127do :
12128 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12129if test "x$ac_cv_header_unistd_h" = x""yes; then :
12130 cat >>confdefs.h <<_ACEOF
12131#define HAVE_UNISTD_H 1
12132_ACEOF
12133
12134fi
12135
12136done
12137
12138
12139
12140default_max="4096"
12141ac_ext=c
12142ac_cpp='$CPP $CPPFLAGS'
12143ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12144ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12145ac_compiler_gnu=$ac_cv_c_compiler_gnu
12146
12147
12148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
12149$as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
12150cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151/* end confdefs.h. */
12152
12153#include <limits.h>
12154
12155int
12156main ()
12157{
12158
12159int i = PATH_MAX;
12160
12161 ;
12162 return 0;
12163}
12164_ACEOF
12165if ac_fn_c_try_compile "$LINENO"; then :
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12167$as_echo "yes" >&6; }
12168else
12169
12170
12171cat >>confdefs.h <<_ACEOF
12172#define PATH_MAX ${default_max}
12173_ACEOF
12174
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
12176$as_echo "no: using ${default_max}" >&6; }
12177
12178fi
12179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12180
12181ac_ext=c
12182ac_cpp='$CPP $CPPFLAGS'
12183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12185ac_compiler_gnu=$ac_cv_c_compiler_gnu
12186
12187
12188
12189
12190
12191### Checks for types
12192
12193
12194### Checks for structures
12195
12196
12197### Checks for compiler characteristics
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12199$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12200if test "${ac_cv_c_bigendian+set}" = set; then :
12201 $as_echo_n "(cached) " >&6
12202else
12203 ac_cv_c_bigendian=unknown
12204 # See if we're dealing with a universal compiler.
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206/* end confdefs.h. */
12207#ifndef __APPLE_CC__
12208 not a universal capable compiler
12209 #endif
12210 typedef int dummy;
12211
12212_ACEOF
12213if ac_fn_c_try_compile "$LINENO"; then :
12214
12215 # Check for potential -arch flags. It is not universal unless
12216 # there are at least two -arch flags with different values.
12217 ac_arch=
12218 ac_prev=
12219 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12220 if test -n "$ac_prev"; then
12221 case $ac_word in
12222 i?86 | x86_64 | ppc | ppc64)
12223 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12224 ac_arch=$ac_word
12225 else
12226 ac_cv_c_bigendian=universal
12227 break
12228 fi
12229 ;;
12230 esac
12231 ac_prev=
12232 elif test "x$ac_word" = "x-arch"; then
12233 ac_prev=arch
12234 fi
12235 done
12236fi
12237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238 if test $ac_cv_c_bigendian = unknown; then
12239 # See if sys/param.h defines the BYTE_ORDER macro.
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241/* end confdefs.h. */
12242#include <sys/types.h>
12243 #include <sys/param.h>
12244
12245int
12246main ()
12247{
12248#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12249 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12250 && LITTLE_ENDIAN)
12251 bogus endian macros
12252 #endif
12253
12254 ;
12255 return 0;
12256}
12257_ACEOF
12258if ac_fn_c_try_compile "$LINENO"; then :
12259 # It does; now see whether it defined to BIG_ENDIAN or not.
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261/* end confdefs.h. */
12262#include <sys/types.h>
12263 #include <sys/param.h>
12264
12265int
12266main ()
12267{
12268#if BYTE_ORDER != BIG_ENDIAN
12269 not big endian
12270 #endif
12271
12272 ;
12273 return 0;
12274}
12275_ACEOF
12276if ac_fn_c_try_compile "$LINENO"; then :
12277 ac_cv_c_bigendian=yes
12278else
12279 ac_cv_c_bigendian=no
12280fi
12281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12282fi
12283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12284 fi
12285 if test $ac_cv_c_bigendian = unknown; then
12286 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288/* end confdefs.h. */
12289#include <limits.h>
12290
12291int
12292main ()
12293{
12294#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12295 bogus endian macros
12296 #endif
12297
12298 ;
12299 return 0;
12300}
12301_ACEOF
12302if ac_fn_c_try_compile "$LINENO"; then :
12303 # It does; now see whether it defined to _BIG_ENDIAN or not.
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305/* end confdefs.h. */
12306#include <limits.h>
12307
12308int
12309main ()
12310{
12311#ifndef _BIG_ENDIAN
12312 not big endian
12313 #endif
12314
12315 ;
12316 return 0;
12317}
12318_ACEOF
12319if ac_fn_c_try_compile "$LINENO"; then :
12320 ac_cv_c_bigendian=yes
12321else
12322 ac_cv_c_bigendian=no
12323fi
12324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12325fi
12326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12327 fi
12328 if test $ac_cv_c_bigendian = unknown; then
12329 # Compile a test program.
12330 if test "$cross_compiling" = yes; then :
12331 # Try to guess by grepping values from an object file.
12332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333/* end confdefs.h. */
12334short int ascii_mm[] =
12335 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12336 short int ascii_ii[] =
12337 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12338 int use_ascii (int i) {
12339 return ascii_mm[i] + ascii_ii[i];
12340 }
12341 short int ebcdic_ii[] =
12342 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12343 short int ebcdic_mm[] =
12344 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12345 int use_ebcdic (int i) {
12346 return ebcdic_mm[i] + ebcdic_ii[i];
12347 }
12348 extern int foo;
12349
12350int
12351main ()
12352{
12353return use_ascii (foo) == use_ebcdic (foo);
12354 ;
12355 return 0;
12356}
12357_ACEOF
12358if ac_fn_c_try_compile "$LINENO"; then :
12359 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12360 ac_cv_c_bigendian=yes
12361 fi
12362 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12363 if test "$ac_cv_c_bigendian" = unknown; then
12364 ac_cv_c_bigendian=no
12365 else
12366 # finding both strings is unlikely to happen, but who knows?
12367 ac_cv_c_bigendian=unknown
12368 fi
12369 fi
12370fi
12371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12372else
12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374/* end confdefs.h. */
12375$ac_includes_default
12376int
12377main ()
12378{
12379
12380 /* Are we little or big endian? From Harbison&Steele. */
12381 union
12382 {
12383 long int l;
12384 char c[sizeof (long int)];
12385 } u;
12386 u.l = 1;
12387 return u.c[sizeof (long int) - 1] == 1;
12388
12389 ;
12390 return 0;
12391}
12392_ACEOF
12393if ac_fn_c_try_run "$LINENO"; then :
12394 ac_cv_c_bigendian=no
12395else
12396 ac_cv_c_bigendian=yes
12397fi
12398rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12399 conftest.$ac_objext conftest.beam conftest.$ac_ext
12400fi
12401
12402 fi
12403fi
12404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12405$as_echo "$ac_cv_c_bigendian" >&6; }
12406 case $ac_cv_c_bigendian in #(
12407 yes)
12408 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12409;; #(
12410 no)
12411 ;; #(
12412 universal)
12413
12414$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12415
12416 ;; #(
12417 *)
12418 as_fn_error $? "unknown endianness
12419 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12420 esac
12421
12422if test "x$CC" != xcc; then
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12424$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12425else
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12427$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12428fi
12429set dummy $CC; ac_cc=`$as_echo "$2" |
12430 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12431if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
12432 $as_echo_n "(cached) " >&6
12433else
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435/* end confdefs.h. */
12436
12437int
12438main ()
12439{
12440
12441 ;
12442 return 0;
12443}
12444_ACEOF
12445# Make sure it works both with $CC and with simple cc.
12446# We do the test twice because some compilers refuse to overwrite an
12447# existing .o file with -o, though they will create one.
12448ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12449rm -f conftest2.*
12450if { { case "(($ac_try" in
12451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12452 *) ac_try_echo=$ac_try;;
12453esac
12454eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12455$as_echo "$ac_try_echo"; } >&5
12456 (eval "$ac_try") 2>&5
12457 ac_status=$?
12458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12459 test $ac_status = 0; } &&
12460 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12462 *) ac_try_echo=$ac_try;;
12463esac
12464eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12465$as_echo "$ac_try_echo"; } >&5
12466 (eval "$ac_try") 2>&5
12467 ac_status=$?
12468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12469 test $ac_status = 0; };
12470then
12471 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12472 if test "x$CC" != xcc; then
12473 # Test first that cc exists at all.
12474 if { ac_try='cc -c conftest.$ac_ext >&5'
12475 { { case "(($ac_try" in
12476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12477 *) ac_try_echo=$ac_try;;
12478esac
12479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12480$as_echo "$ac_try_echo"; } >&5
12481 (eval "$ac_try") 2>&5
12482 ac_status=$?
12483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12484 test $ac_status = 0; }; }; then
12485 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12486 rm -f conftest2.*
12487 if { { case "(($ac_try" in
12488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12489 *) ac_try_echo=$ac_try;;
12490esac
12491eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12492$as_echo "$ac_try_echo"; } >&5
12493 (eval "$ac_try") 2>&5
12494 ac_status=$?
12495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12496 test $ac_status = 0; } &&
12497 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12499 *) ac_try_echo=$ac_try;;
12500esac
12501eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12502$as_echo "$ac_try_echo"; } >&5
12503 (eval "$ac_try") 2>&5
12504 ac_status=$?
12505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12506 test $ac_status = 0; };
12507 then
12508 # cc works too.
12509 :
12510 else
12511 # cc exists but doesn't like -o.
12512 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12513 fi
12514 fi
12515 fi
12516else
12517 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12518fi
12519rm -f core conftest*
12520
12521fi
12522if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12524$as_echo "yes" >&6; }
12525else
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12527$as_echo "no" >&6; }
12528
12529$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12530
12531fi
12532
12533# FIXME: we rely on the cache variable name because
12534# there is no other way.
12535set dummy $CC
12536am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12537eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12538if test "$am_t" != yes; then
12539 # Losing compiler, so override with the script.
12540 # FIXME: It is wrong to rewrite CC.
12541 # But if we don't then we get into trouble of one sort or another.
12542 # A longer-term fix would be to have automake use am__CC in this case,
12543 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12544 CC="$am_aux_dir/compile $CC"
12545fi
12546
12547
12548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12549$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12550if test "${ac_cv_c_const+set}" = set; then :
12551 $as_echo_n "(cached) " >&6
12552else
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554/* end confdefs.h. */
12555
12556int
12557main ()
12558{
12559/* FIXME: Include the comments suggested by Paul. */
12560#ifndef __cplusplus
12561 /* Ultrix mips cc rejects this. */
12562 typedef int charset[2];
12563 const charset cs;
12564 /* SunOS 4.1.1 cc rejects this. */
12565 char const *const *pcpcc;
12566 char **ppc;
12567 /* NEC SVR4.0.2 mips cc rejects this. */
12568 struct point {int x, y;};
12569 static struct point const zero = {0,0};
12570 /* AIX XL C 1.02.0.0 rejects this.
12571 It does not let you subtract one const X* pointer from another in
12572 an arm of an if-expression whose if-part is not a constant
12573 expression */
12574 const char *g = "string";
12575 pcpcc = &g + (g ? g-g : 0);
12576 /* HPUX 7.0 cc rejects these. */
12577 ++pcpcc;
12578 ppc = (char**) pcpcc;
12579 pcpcc = (char const *const *) ppc;
12580 { /* SCO 3.2v4 cc rejects this. */
12581 char *t;
12582 char const *s = 0 ? (char *) 0 : (char const *) 0;
12583
12584 *t++ = 0;
12585 if (s) return 0;
12586 }
12587 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12588 int x[] = {25, 17};
12589 const int *foo = &x[0];
12590 ++foo;
12591 }
12592 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12593 typedef const int *iptr;
12594 iptr p = 0;
12595 ++p;
12596 }
12597 { /* AIX XL C 1.02.0.0 rejects this saying
12598 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12599 struct s { int j; const int *ap[3]; };
12600 struct s *b; b->j = 5;
12601 }
12602 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12603 const int foo = 10;
12604 if (!foo) return 0;
12605 }
12606 return !cs[0] && !zero.x;
12607#endif
12608
12609 ;
12610 return 0;
12611}
12612_ACEOF
12613if ac_fn_c_try_compile "$LINENO"; then :
12614 ac_cv_c_const=yes
12615else
12616 ac_cv_c_const=no
12617fi
12618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12619fi
12620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12621$as_echo "$ac_cv_c_const" >&6; }
12622if test $ac_cv_c_const = no; then
12623
12624$as_echo "#define const /**/" >>confdefs.h
12625
12626fi
12627
12628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12629$as_echo_n "checking for inline... " >&6; }
12630if test "${ac_cv_c_inline+set}" = set; then :
12631 $as_echo_n "(cached) " >&6
12632else
12633 ac_cv_c_inline=no
12634for ac_kw in inline __inline__ __inline; do
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636/* end confdefs.h. */
12637#ifndef __cplusplus
12638typedef int foo_t;
12639static $ac_kw foo_t static_foo () {return 0; }
12640$ac_kw foo_t foo () {return 0; }
12641#endif
12642
12643_ACEOF
12644if ac_fn_c_try_compile "$LINENO"; then :
12645 ac_cv_c_inline=$ac_kw
12646fi
12647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12648 test "$ac_cv_c_inline" != no && break
12649done
12650
12651fi
12652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12653$as_echo "$ac_cv_c_inline" >&6; }
12654
12655case $ac_cv_c_inline in
12656 inline | yes) ;;
12657 *)
12658 case $ac_cv_c_inline in
12659 no) ac_val=;;
12660 *) ac_val=$ac_cv_c_inline;;
12661 esac
12662 cat >>confdefs.h <<_ACEOF
12663#ifndef __cplusplus
12664#define inline $ac_val
12665#endif
12666_ACEOF
12667 ;;
12668esac
12669
12670 case $ac_cv_prog_cc_stdc in #(
12671 no) :
12672 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
12673 *) :
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
12675$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
12676if test "${ac_cv_prog_cc_c99+set}" = set; then :
12677 $as_echo_n "(cached) " >&6
12678else
12679 ac_cv_prog_cc_c99=no
12680ac_save_CC=$CC
12681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682/* end confdefs.h. */
12683#include <stdarg.h>
12684#include <stdbool.h>
12685#include <stdlib.h>
12686#include <wchar.h>
12687#include <stdio.h>
12688
12689// Check varargs macros. These examples are taken from C99 6.10.3.5.
12690#define debug(...) fprintf (stderr, __VA_ARGS__)
12691#define showlist(...) puts (#__VA_ARGS__)
12692#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
12693static void
12694test_varargs_macros (void)
12695{
12696 int x = 1234;
12697 int y = 5678;
12698 debug ("Flag");
12699 debug ("X = %d\n", x);
12700 showlist (The first, second, and third items.);
12701 report (x>y, "x is %d but y is %d", x, y);
12702}
12703
12704// Check long long types.
12705#define BIG64 18446744073709551615ull
12706#define BIG32 4294967295ul
12707#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
12708#if !BIG_OK
12709 your preprocessor is broken;
12710#endif
12711#if BIG_OK
12712#else
12713 your preprocessor is broken;
12714#endif
12715static long long int bignum = -9223372036854775807LL;
12716static unsigned long long int ubignum = BIG64;
12717
12718struct incomplete_array
12719{
12720 int datasize;
12721 double data[];
12722};
12723
12724struct named_init {
12725 int number;
12726 const wchar_t *name;
12727 double average;
12728};
12729
12730typedef const char *ccp;
12731
12732static inline int
12733test_restrict (ccp restrict text)
12734{
12735 // See if C++-style comments work.
12736 // Iterate through items via the restricted pointer.
12737 // Also check for declarations in for loops.
12738 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
12739 continue;
12740 return 0;
12741}
12742
12743// Check varargs and va_copy.
12744static void
12745test_varargs (const char *format, ...)
12746{
12747 va_list args;
12748 va_start (args, format);
12749 va_list args_copy;
12750 va_copy (args_copy, args);
12751
12752 const char *str;
12753 int number;
12754 float fnumber;
12755
12756 while (*format)
12757 {
12758 switch (*format++)
12759 {
12760 case 's': // string
12761 str = va_arg (args_copy, const char *);
12762 break;
12763 case 'd': // int
12764 number = va_arg (args_copy, int);
12765 break;
12766 case 'f': // float
12767 fnumber = va_arg (args_copy, double);
12768 break;
12769 default:
12770 break;
12771 }
12772 }
12773 va_end (args_copy);
12774 va_end (args);
12775}
12776
12777int
12778main ()
12779{
12780
12781 // Check bool.
12782 _Bool success = false;
12783
12784 // Check restrict.
12785 if (test_restrict ("String literal") == 0)
12786 success = true;
12787 char *restrict newvar = "Another string";
12788
12789 // Check varargs.
12790 test_varargs ("s, d' f .", "string", 65, 34.234);
12791 test_varargs_macros ();
12792
12793 // Check flexible array members.
12794 struct incomplete_array *ia =
12795 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
12796 ia->datasize = 10;
12797 for (int i = 0; i < ia->datasize; ++i)
12798 ia->data[i] = i * 1.234;
12799
12800 // Check named initializers.
12801 struct named_init ni = {
12802 .number = 34,
12803 .name = L"Test wide string",
12804 .average = 543.34343,
12805 };
12806
12807 ni.number = 58;
12808
12809 int dynamic_array[ni.number];
12810 dynamic_array[ni.number - 1] = 543;
12811
12812 // work around unused variable warnings
12813 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
12814 || dynamic_array[ni.number - 1] != 543);
12815
12816 ;
12817 return 0;
12818}
12819_ACEOF
12820for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
12821do
12822 CC="$ac_save_CC $ac_arg"
12823 if ac_fn_c_try_compile "$LINENO"; then :
12824 ac_cv_prog_cc_c99=$ac_arg
12825fi
12826rm -f core conftest.err conftest.$ac_objext
12827 test "x$ac_cv_prog_cc_c99" != "xno" && break
12828done
12829rm -f conftest.$ac_ext
12830CC=$ac_save_CC
12831
12832fi
12833# AC_CACHE_VAL
12834case "x$ac_cv_prog_cc_c99" in
12835 x)
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12837$as_echo "none needed" >&6; } ;;
12838 xno)
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12840$as_echo "unsupported" >&6; } ;;
12841 *)
12842 CC="$CC $ac_cv_prog_cc_c99"
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
12844$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
12845esac
12846if test "x$ac_cv_prog_cc_c99" != xno; then :
12847 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
12848else
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12850$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12851if test "${ac_cv_prog_cc_c89+set}" = set; then :
12852 $as_echo_n "(cached) " >&6
12853else
12854 ac_cv_prog_cc_c89=no
12855ac_save_CC=$CC
12856cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857/* end confdefs.h. */
12858#include <stdarg.h>
12859#include <stdio.h>
12860#include <sys/types.h>
12861#include <sys/stat.h>
12862/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12863struct buf { int x; };
12864FILE * (*rcsopen) (struct buf *, struct stat *, int);
12865static char *e (p, i)
12866 char **p;
12867 int i;
12868{
12869 return p[i];
12870}
12871static char *f (char * (*g) (char **, int), char **p, ...)
12872{
12873 char *s;
12874 va_list v;
12875 va_start (v,p);
12876 s = g (p, va_arg (v,int));
12877 va_end (v);
12878 return s;
12879}
12880
12881/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12882 function prototypes and stuff, but not '\xHH' hex character constants.
12883 These don't provoke an error unfortunately, instead are silently treated
12884 as 'x'. The following induces an error, until -std is added to get
12885 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12886 array size at least. It's necessary to write '\x00'==0 to get something
12887 that's true only with -std. */
12888int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12889
12890/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12891 inside strings and character constants. */
12892#define FOO(x) 'x'
12893int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12894
12895int test (int i, double x);
12896struct s1 {int (*f) (int a);};
12897struct s2 {int (*f) (double a);};
12898int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12899int argc;
12900char **argv;
12901int
12902main ()
12903{
12904return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12905 ;
12906 return 0;
12907}
12908_ACEOF
12909for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12910 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12911do
12912 CC="$ac_save_CC $ac_arg"
12913 if ac_fn_c_try_compile "$LINENO"; then :
12914 ac_cv_prog_cc_c89=$ac_arg
12915fi
12916rm -f core conftest.err conftest.$ac_objext
12917 test "x$ac_cv_prog_cc_c89" != "xno" && break
12918done
12919rm -f conftest.$ac_ext
12920CC=$ac_save_CC
12921
12922fi
12923# AC_CACHE_VAL
12924case "x$ac_cv_prog_cc_c89" in
12925 x)
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12927$as_echo "none needed" >&6; } ;;
12928 xno)
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12930$as_echo "unsupported" >&6; } ;;
12931 *)
12932 CC="$CC $ac_cv_prog_cc_c89"
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12934$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12935esac
12936if test "x$ac_cv_prog_cc_c89" != xno; then :
12937 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
12938else
12939 ac_cv_prog_cc_stdc=no
12940fi
12941
12942fi
12943 ;;
12944esac
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
12946$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
12947 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
12948 $as_echo_n "(cached) " >&6
12949fi
12950
12951 case $ac_cv_prog_cc_stdc in #(
12952 no) :
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12954$as_echo "unsupported" >&6; } ;; #(
12955 '') :
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12957$as_echo "none needed" >&6; } ;; #(
12958 *) :
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
12960$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
12961esac
12962
12963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12964$as_echo_n "checking for ANSI C header files... " >&6; }
12965if test "${ac_cv_header_stdc+set}" = set; then :
12966 $as_echo_n "(cached) " >&6
12967else
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969/* end confdefs.h. */
12970#include <stdlib.h>
12971#include <stdarg.h>
12972#include <string.h>
12973#include <float.h>
12974
12975int
12976main ()
12977{
12978
12979 ;
12980 return 0;
12981}
12982_ACEOF
12983if ac_fn_c_try_compile "$LINENO"; then :
12984 ac_cv_header_stdc=yes
12985else
12986 ac_cv_header_stdc=no
12987fi
12988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12989
12990if test $ac_cv_header_stdc = yes; then
12991 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12993/* end confdefs.h. */
12994#include <string.h>
12995
12996_ACEOF
12997if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12998 $EGREP "memchr" >/dev/null 2>&1; then :
12999
13000else
13001 ac_cv_header_stdc=no
13002fi
13003rm -f conftest*
13004
13005fi
13006
13007if test $ac_cv_header_stdc = yes; then
13008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13010/* end confdefs.h. */
13011#include <stdlib.h>
13012
13013_ACEOF
13014if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13015 $EGREP "free" >/dev/null 2>&1; then :
13016
13017else
13018 ac_cv_header_stdc=no
13019fi
13020rm -f conftest*
13021
13022fi
13023
13024if test $ac_cv_header_stdc = yes; then
13025 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13026 if test "$cross_compiling" = yes; then :
13027 :
13028else
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030/* end confdefs.h. */
13031#include <ctype.h>
13032#include <stdlib.h>
13033#if ((' ' & 0x0FF) == 0x020)
13034# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13035# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13036#else
13037# define ISLOWER(c) \
13038 (('a' <= (c) && (c) <= 'i') \
13039 || ('j' <= (c) && (c) <= 'r') \
13040 || ('s' <= (c) && (c) <= 'z'))
13041# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13042#endif
13043
13044#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13045int
13046main ()
13047{
13048 int i;
13049 for (i = 0; i < 256; i++)
13050 if (XOR (islower (i), ISLOWER (i))
13051 || toupper (i) != TOUPPER (i))
13052 return 2;
13053 return 0;
13054}
13055_ACEOF
13056if ac_fn_c_try_run "$LINENO"; then :
13057
13058else
13059 ac_cv_header_stdc=no
13060fi
13061rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13062 conftest.$ac_objext conftest.beam conftest.$ac_ext
13063fi
13064
13065fi
13066fi
13067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13068$as_echo "$ac_cv_header_stdc" >&6; }
13069if test $ac_cv_header_stdc = yes; then
13070
13071$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13072
13073fi
13074
13075
13076
13077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
13078$as_echo_n "checking for __attribute__... " >&6; }
13079
13080if test "${ac_cv___attribute__+set}" = set; then :
13081 $as_echo_n "(cached) " >&6
13082else
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084/* end confdefs.h. */
13085
13086#include <stdlib.h>
13087
13088int func(int x);
13089int foo(int x __attribute__ ((unused)))
13090{
13091 exit(1);
13092}
13093
13094int
13095main ()
13096{
13097
13098 ;
13099 return 0;
13100}
13101_ACEOF
13102if ac_fn_c_try_compile "$LINENO"; then :
13103 ac_cv___attribute__="yes"
13104else
13105 ac_cv___attribute__="no"
13106
13107fi
13108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13109fi
13110
13111
13112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13113$as_echo "$ac_cv___attribute__" >&6; }
13114
13115if test "x${ac_cv___attribute__}" = "xyes" ; then
13116
13117$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13118
13119
13120$as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13121
13122 else
13123
13124$as_echo "#define __UNUSED__ /**/" >>confdefs.h
13125
13126fi
13127
13128
13129
13130EMBRYO_CPPFLAGS=""
13131EMBRYO_CFLAGS=""
13132case "$host_os" in
13133 mingw32ce*)
13134 EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
13135 ;;
13136esac
13137
13138
13139
13140
13141### Checks for linker characteristics
13142
13143lt_enable_auto_import=""
13144case "$host_os" in
13145 mingw*)
13146 lt_enable_auto_import="-Wl,--enable-auto-import"
13147 ;;
13148esac
13149
13150
13151
13152### Checks for library functions
13153
13154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13155$as_echo_n "checking for library containing strerror... " >&6; }
13156if test "${ac_cv_search_strerror+set}" = set; then :
13157 $as_echo_n "(cached) " >&6
13158else
13159 ac_func_search_save_LIBS=$LIBS
13160cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13161/* end confdefs.h. */
13162
13163/* Override any GCC internal prototype to avoid an error.
13164 Use char because int might match the return type of a GCC
13165 builtin and then its argument prototype would still apply. */
13166#ifdef __cplusplus
13167extern "C"
13168#endif
13169char strerror ();
13170int
13171main ()
13172{
13173return strerror ();
13174 ;
13175 return 0;
13176}
13177_ACEOF
13178for ac_lib in '' cposix; do
13179 if test -z "$ac_lib"; then
13180 ac_res="none required"
13181 else
13182 ac_res=-l$ac_lib
13183 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13184 fi
13185 if ac_fn_c_try_link "$LINENO"; then :
13186 ac_cv_search_strerror=$ac_res
13187fi
13188rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext
13190 if test "${ac_cv_search_strerror+set}" = set; then :
13191 break
13192fi
13193done
13194if test "${ac_cv_search_strerror+set}" = set; then :
13195
13196else
13197 ac_cv_search_strerror=no
13198fi
13199rm conftest.$ac_ext
13200LIBS=$ac_func_search_save_LIBS
13201fi
13202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13203$as_echo "$ac_cv_search_strerror" >&6; }
13204ac_res=$ac_cv_search_strerror
13205if test "$ac_res" != no; then :
13206 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13207
13208fi
13209
13210
13211# alloca
13212# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13213# for constant arguments. Useless!
13214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13215$as_echo_n "checking for working alloca.h... " >&6; }
13216if test "${ac_cv_working_alloca_h+set}" = set; then :
13217 $as_echo_n "(cached) " >&6
13218else
13219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220/* end confdefs.h. */
13221#include <alloca.h>
13222int
13223main ()
13224{
13225char *p = (char *) alloca (2 * sizeof (int));
13226 if (p) return 0;
13227 ;
13228 return 0;
13229}
13230_ACEOF
13231if ac_fn_c_try_link "$LINENO"; then :
13232 ac_cv_working_alloca_h=yes
13233else
13234 ac_cv_working_alloca_h=no
13235fi
13236rm -f core conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13238fi
13239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13240$as_echo "$ac_cv_working_alloca_h" >&6; }
13241if test $ac_cv_working_alloca_h = yes; then
13242
13243$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13244
13245fi
13246
13247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13248$as_echo_n "checking for alloca... " >&6; }
13249if test "${ac_cv_func_alloca_works+set}" = set; then :
13250 $as_echo_n "(cached) " >&6
13251else
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253/* end confdefs.h. */
13254#ifdef __GNUC__
13255# define alloca __builtin_alloca
13256#else
13257# ifdef _MSC_VER
13258# include <malloc.h>
13259# define alloca _alloca
13260# else
13261# ifdef HAVE_ALLOCA_H
13262# include <alloca.h>
13263# else
13264# ifdef _AIX
13265 #pragma alloca
13266# else
13267# ifndef alloca /* predefined by HP cc +Olibcalls */
13268char *alloca ();
13269# endif
13270# endif
13271# endif
13272# endif
13273#endif
13274
13275int
13276main ()
13277{
13278char *p = (char *) alloca (1);
13279 if (p) return 0;
13280 ;
13281 return 0;
13282}
13283_ACEOF
13284if ac_fn_c_try_link "$LINENO"; then :
13285 ac_cv_func_alloca_works=yes
13286else
13287 ac_cv_func_alloca_works=no
13288fi
13289rm -f core conftest.err conftest.$ac_objext \
13290 conftest$ac_exeext conftest.$ac_ext
13291fi
13292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13293$as_echo "$ac_cv_func_alloca_works" >&6; }
13294
13295if test $ac_cv_func_alloca_works = yes; then
13296
13297$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13298
13299else
13300 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13301# that cause trouble. Some versions do not even contain alloca or
13302# contain a buggy version. If you still want to use their alloca,
13303# use ar to extract alloca.o from them instead of compiling alloca.c.
13304
13305ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13306
13307$as_echo "#define C_ALLOCA 1" >>confdefs.h
13308
13309
13310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13311$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13312if test "${ac_cv_os_cray+set}" = set; then :
13313 $as_echo_n "(cached) " >&6
13314else
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316/* end confdefs.h. */
13317#if defined CRAY && ! defined CRAY2
13318webecray
13319#else
13320wenotbecray
13321#endif
13322
13323_ACEOF
13324if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13325 $EGREP "webecray" >/dev/null 2>&1; then :
13326 ac_cv_os_cray=yes
13327else
13328 ac_cv_os_cray=no
13329fi
13330rm -f conftest*
13331
13332fi
13333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13334$as_echo "$ac_cv_os_cray" >&6; }
13335if test $ac_cv_os_cray = yes; then
13336 for ac_func in _getb67 GETB67 getb67; do
13337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13338ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13339if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13340
13341cat >>confdefs.h <<_ACEOF
13342#define CRAY_STACKSEG_END $ac_func
13343_ACEOF
13344
13345 break
13346fi
13347
13348 done
13349fi
13350
13351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13352$as_echo_n "checking stack direction for C alloca... " >&6; }
13353if test "${ac_cv_c_stack_direction+set}" = set; then :
13354 $as_echo_n "(cached) " >&6
13355else
13356 if test "$cross_compiling" = yes; then :
13357 ac_cv_c_stack_direction=0
13358else
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360/* end confdefs.h. */
13361$ac_includes_default
13362int
13363find_stack_direction ()
13364{
13365 static char *addr = 0;
13366 auto char dummy;
13367 if (addr == 0)
13368 {
13369 addr = &dummy;
13370 return find_stack_direction ();
13371 }
13372 else
13373 return (&dummy > addr) ? 1 : -1;
13374}
13375
13376int
13377main ()
13378{
13379 return find_stack_direction () < 0;
13380}
13381_ACEOF
13382if ac_fn_c_try_run "$LINENO"; then :
13383 ac_cv_c_stack_direction=1
13384else
13385 ac_cv_c_stack_direction=-1
13386fi
13387rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13388 conftest.$ac_objext conftest.beam conftest.$ac_ext
13389fi
13390
13391fi
13392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13393$as_echo "$ac_cv_c_stack_direction" >&6; }
13394cat >>confdefs.h <<_ACEOF
13395#define STACK_DIRECTION $ac_cv_c_stack_direction
13396_ACEOF
13397
13398
13399fi
13400
13401
13402# fnmatch
13403
13404
13405ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
13406if test "x$ac_cv_header_fnmatch_h" = x""yes; then :
13407 _efl_have_fnmatch="yes"
13408else
13409 _efl_have_fnmatch="no"
13410fi
13411
13412
13413
13414if test "x${_efl_have_fnmatch}" = "xyes" ; then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
13416$as_echo_n "checking for library containing fnmatch... " >&6; }
13417if test "${ac_cv_search_fnmatch+set}" = set; then :
13418 $as_echo_n "(cached) " >&6
13419else
13420 ac_func_search_save_LIBS=$LIBS
13421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13422/* end confdefs.h. */
13423
13424/* Override any GCC internal prototype to avoid an error.
13425 Use char because int might match the return type of a GCC
13426 builtin and then its argument prototype would still apply. */
13427#ifdef __cplusplus
13428extern "C"
13429#endif
13430char fnmatch ();
13431int
13432main ()
13433{
13434return fnmatch ();
13435 ;
13436 return 0;
13437}
13438_ACEOF
13439for ac_lib in '' fnmatch evil exotic iberty; do
13440 if test -z "$ac_lib"; then
13441 ac_res="none required"
13442 else
13443 ac_res=-l$ac_lib
13444 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13445 fi
13446 if ac_fn_c_try_link "$LINENO"; then :
13447 ac_cv_search_fnmatch=$ac_res
13448fi
13449rm -f core conftest.err conftest.$ac_objext \
13450 conftest$ac_exeext
13451 if test "${ac_cv_search_fnmatch+set}" = set; then :
13452 break
13453fi
13454done
13455if test "${ac_cv_search_fnmatch+set}" = set; then :
13456
13457else
13458 ac_cv_search_fnmatch=no
13459fi
13460rm conftest.$ac_ext
13461LIBS=$ac_func_search_save_LIBS
13462fi
13463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
13464$as_echo "$ac_cv_search_fnmatch" >&6; }
13465ac_res=$ac_cv_search_fnmatch
13466if test "$ac_res" != no; then :
13467 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13468 _efl_have_fnmatch="yes"
13469else
13470 _efl_have_fnmatch="no"
13471fi
13472
13473fi
13474
13475EFL_FNMATCH_LIBS=""
13476
13477if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
13478 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
13479fi
13480
13481
13482
13483if test "x$_efl_have_fnmatch" = "xyes"; then :
13484
13485else
13486 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
13487fi
13488
13489
13490
13491# gettimeofday
13492
13493
13494_efl_have_gettimeofday="no"
13495
13496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13497/* end confdefs.h. */
13498
13499#include <stdlib.h>
13500#include <sys/time.h>
13501
13502int
13503main ()
13504{
13505
13506int res;
13507res = gettimeofday(NULL, NULL);
13508
13509 ;
13510 return 0;
13511}
13512_ACEOF
13513if ac_fn_c_try_link "$LINENO"; then :
13514 _efl_have_gettimeofday="yes"
13515else
13516 _efl_have_gettimeofday="no"
13517fi
13518rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
13520
13521if test "x${_efl_have_gettimeofday}" = "xno" -a "x${enable_exotic}" = "xyes"; then
13522 SAVE_LIBS="${LIBS}"
13523 SAVE_CFLAGS="${CFLAGS}"
13524 LIBS="${LIBS} ${EXOTIC_LIBS}"
13525 CFLAGS="${CFLAGS} ${EXOTIC_CFLAGS}"
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527/* end confdefs.h. */
13528
13529#include <Exotic.h>
13530
13531int
13532main ()
13533{
13534
13535int res;
13536res = gettimeofday(NULL, NULL);
13537
13538 ;
13539 return 0;
13540}
13541_ACEOF
13542if ac_fn_c_try_link "$LINENO"; then :
13543 _efl_have_gettimeofday="yes"
13544else
13545 _efl_have_gettimeofday="no"
13546fi
13547rm -f core conftest.err conftest.$ac_objext \
13548 conftest$ac_exeext conftest.$ac_ext
13549fi
13550
13551if test "x${_efl_have_gettimeofday}" = "xyes"; then
13552
13553$as_echo "#define EFL_HAVE_GETTIMEOFDAY 1" >>confdefs.h
13554
13555fi
13556
13557if test "x${_efl_have_gettimeofday}" = "xyes"; then :
13558
13559else
13560 as_fn_error $? "Cannot find gettimeofday()" "$LINENO" 5
13561fi
13562
13563
13564
13565
13566
13567
13568ac_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"
13569
13570cat >confcache <<\_ACEOF
13571# This file is a shell script that caches the results of configure
13572# tests run on this system so they can be shared between configure
13573# scripts and configure runs, see configure's option --config-cache.
13574# It is not useful on other systems. If it contains results you don't
13575# want to keep, you may remove or edit it.
13576#
13577# config.status only pays attention to the cache file if you give it
13578# the --recheck option to rerun configure.
13579#
13580# `ac_cv_env_foo' variables (set or unset) will be overridden when
13581# loading this file, other *unset* `ac_cv_foo' will be assigned the
13582# following values.
13583
13584_ACEOF
13585
13586# The following way of writing the cache mishandles newlines in values,
13587# but we know of no workaround that is simple, portable, and efficient.
13588# So, we kill variables containing newlines.
13589# Ultrix sh set writes to stderr and can't be redirected directly,
13590# and sets the high bit in the cache file unless we assign to the vars.
13591(
13592 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13593 eval ac_val=\$$ac_var
13594 case $ac_val in #(
13595 *${as_nl}*)
13596 case $ac_var in #(
13597 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13598$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13599 esac
13600 case $ac_var in #(
13601 _ | IFS | as_nl) ;; #(
13602 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13603 *) { eval $ac_var=; unset $ac_var;} ;;
13604 esac ;;
13605 esac
13606 done
13607
13608 (set) 2>&1 |
13609 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13610 *${as_nl}ac_space=\ *)
13611 # `set' does not quote correctly, so add quotes: double-quote
13612 # substitution turns \\\\ into \\, and sed turns \\ into \.
13613 sed -n \
13614 "s/'/'\\\\''/g;
13615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13616 ;; #(
13617 *)
13618 # `set' quotes correctly as required by POSIX, so do not add quotes.
13619 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13620 ;;
13621 esac |
13622 sort
13623) |
13624 sed '
13625 /^ac_cv_env_/b end
13626 t clear
13627 :clear
13628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13629 t end
13630 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13631 :end' >>confcache
13632if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13633 if test -w "$cache_file"; then
13634 test "x$cache_file" != "x/dev/null" &&
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13636$as_echo "$as_me: updating cache $cache_file" >&6;}
13637 cat confcache >$cache_file
13638 else
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13640$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13641 fi
13642fi
13643rm -f confcache
13644
13645test "x$prefix" = xNONE && prefix=$ac_default_prefix
13646# Let make expand exec_prefix.
13647test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13648
13649DEFS=-DHAVE_CONFIG_H
13650
13651ac_libobjs=
13652ac_ltlibobjs=
13653U=
13654for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13655 # 1. Remove the extension, and $U if already installed.
13656 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13657 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13658 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13659 # will be set to the directory where LIBOBJS objects are built.
13660 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13661 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13662done
13663LIBOBJS=$ac_libobjs
13664
13665LTLIBOBJS=$ac_ltlibobjs
13666
13667
13668 if test -n "$EXEEXT"; then
13669 am__EXEEXT_TRUE=
13670 am__EXEEXT_FALSE='#'
13671else
13672 am__EXEEXT_TRUE='#'
13673 am__EXEEXT_FALSE=
13674fi
13675
13676if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13677 as_fn_error $? "conditional \"AMDEP\" was never defined.
13678Usually this means the macro was only invoked conditionally." "$LINENO" 5
13679fi
13680if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13681 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13682Usually this means the macro was only invoked conditionally." "$LINENO" 5
13683fi
13684if test -z "${BUILD_EMBRYO_CC_TRUE}" && test -z "${BUILD_EMBRYO_CC_FALSE}"; then
13685 as_fn_error $? "conditional \"BUILD_EMBRYO_CC\" was never defined.
13686Usually this means the macro was only invoked conditionally." "$LINENO" 5
13687fi
13688if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13689 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13690Usually this means the macro was only invoked conditionally." "$LINENO" 5
13691fi
13692if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
13693 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
13694Usually this means the macro was only invoked conditionally." "$LINENO" 5
13695fi
13696
13697
13698: ${CONFIG_STATUS=./config.status}
13699ac_write_fail=0
13700ac_clean_files_save=$ac_clean_files
13701ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13702{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13703$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13704as_write_fail=0
13705cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13706#! $SHELL
13707# Generated by $as_me.
13708# Run this file to recreate the current configuration.
13709# Compiler output produced by configure, useful for debugging
13710# configure, is in config.log if it exists.
13711
13712debug=false
13713ac_cs_recheck=false
13714ac_cs_silent=false
13715
13716SHELL=\${CONFIG_SHELL-$SHELL}
13717export SHELL
13718_ASEOF
13719cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13720## -------------------- ##
13721## M4sh Initialization. ##
13722## -------------------- ##
13723
13724# Be more Bourne compatible
13725DUALCASE=1; export DUALCASE # for MKS sh
13726if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13727 emulate sh
13728 NULLCMD=:
13729 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13730 # is contrary to our usage. Disable this feature.
13731 alias -g '${1+"$@"}'='"$@"'
13732 setopt NO_GLOB_SUBST
13733else
13734 case `(set -o) 2>/dev/null` in #(
13735 *posix*) :
13736 set -o posix ;; #(
13737 *) :
13738 ;;
13739esac
13740fi
13741
13742
13743as_nl='
13744'
13745export as_nl
13746# Printing a long string crashes Solaris 7 /usr/bin/printf.
13747as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13748as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13749as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13750# Prefer a ksh shell builtin over an external printf program on Solaris,
13751# but without wasting forks for bash or zsh.
13752if test -z "$BASH_VERSION$ZSH_VERSION" \
13753 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13754 as_echo='print -r --'
13755 as_echo_n='print -rn --'
13756elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13757 as_echo='printf %s\n'
13758 as_echo_n='printf %s'
13759else
13760 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13761 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13762 as_echo_n='/usr/ucb/echo -n'
13763 else
13764 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13765 as_echo_n_body='eval
13766 arg=$1;
13767 case $arg in #(
13768 *"$as_nl"*)
13769 expr "X$arg" : "X\\(.*\\)$as_nl";
13770 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13771 esac;
13772 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13773 '
13774 export as_echo_n_body
13775 as_echo_n='sh -c $as_echo_n_body as_echo'
13776 fi
13777 export as_echo_body
13778 as_echo='sh -c $as_echo_body as_echo'
13779fi
13780
13781# The user is always right.
13782if test "${PATH_SEPARATOR+set}" != set; then
13783 PATH_SEPARATOR=:
13784 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13785 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13786 PATH_SEPARATOR=';'
13787 }
13788fi
13789
13790
13791# IFS
13792# We need space, tab and new line, in precisely that order. Quoting is
13793# there to prevent editors from complaining about space-tab.
13794# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13795# splitting by setting IFS to empty value.)
13796IFS=" "" $as_nl"
13797
13798# Find who we are. Look in the path if we contain no directory separator.
13799case $0 in #((
13800 *[\\/]* ) as_myself=$0 ;;
13801 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13802for as_dir in $PATH
13803do
13804 IFS=$as_save_IFS
13805 test -z "$as_dir" && as_dir=.
13806 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13807 done
13808IFS=$as_save_IFS
13809
13810 ;;
13811esac
13812# We did not find ourselves, most probably we were run as `sh COMMAND'
13813# in which case we are not to be found in the path.
13814if test "x$as_myself" = x; then
13815 as_myself=$0
13816fi
13817if test ! -f "$as_myself"; then
13818 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13819 exit 1
13820fi
13821
13822# Unset variables that we do not need and which cause bugs (e.g. in
13823# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13824# suppresses any "Segmentation fault" message there. '((' could
13825# trigger a bug in pdksh 5.2.14.
13826for as_var in BASH_ENV ENV MAIL MAILPATH
13827do eval test x\${$as_var+set} = xset \
13828 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13829done
13830PS1='$ '
13831PS2='> '
13832PS4='+ '
13833
13834# NLS nuisances.
13835LC_ALL=C
13836export LC_ALL
13837LANGUAGE=C
13838export LANGUAGE
13839
13840# CDPATH.
13841(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13842
13843
13844# as_fn_error STATUS ERROR [LINENO LOG_FD]
13845# ----------------------------------------
13846# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13847# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13848# script with STATUS, using 1 if that was 0.
13849as_fn_error ()
13850{
13851 as_status=$1; test $as_status -eq 0 && as_status=1
13852 if test "$4"; then
13853 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13854 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13855 fi
13856 $as_echo "$as_me: error: $2" >&2
13857 as_fn_exit $as_status
13858} # as_fn_error
13859
13860
13861# as_fn_set_status STATUS
13862# -----------------------
13863# Set $? to STATUS, without forking.
13864as_fn_set_status ()
13865{
13866 return $1
13867} # as_fn_set_status
13868
13869# as_fn_exit STATUS
13870# -----------------
13871# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13872as_fn_exit ()
13873{
13874 set +e
13875 as_fn_set_status $1
13876 exit $1
13877} # as_fn_exit
13878
13879# as_fn_unset VAR
13880# ---------------
13881# Portably unset VAR.
13882as_fn_unset ()
13883{
13884 { eval $1=; unset $1;}
13885}
13886as_unset=as_fn_unset
13887# as_fn_append VAR VALUE
13888# ----------------------
13889# Append the text in VALUE to the end of the definition contained in VAR. Take
13890# advantage of any shell optimizations that allow amortized linear growth over
13891# repeated appends, instead of the typical quadratic growth present in naive
13892# implementations.
13893if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13894 eval 'as_fn_append ()
13895 {
13896 eval $1+=\$2
13897 }'
13898else
13899 as_fn_append ()
13900 {
13901 eval $1=\$$1\$2
13902 }
13903fi # as_fn_append
13904
13905# as_fn_arith ARG...
13906# ------------------
13907# Perform arithmetic evaluation on the ARGs, and store the result in the
13908# global $as_val. Take advantage of shells that can avoid forks. The arguments
13909# must be portable across $(()) and expr.
13910if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13911 eval 'as_fn_arith ()
13912 {
13913 as_val=$(( $* ))
13914 }'
13915else
13916 as_fn_arith ()
13917 {
13918 as_val=`expr "$@" || test $? -eq 1`
13919 }
13920fi # as_fn_arith
13921
13922
13923if expr a : '\(a\)' >/dev/null 2>&1 &&
13924 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13925 as_expr=expr
13926else
13927 as_expr=false
13928fi
13929
13930if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13931 as_basename=basename
13932else
13933 as_basename=false
13934fi
13935
13936if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13937 as_dirname=dirname
13938else
13939 as_dirname=false
13940fi
13941
13942as_me=`$as_basename -- "$0" ||
13943$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13944 X"$0" : 'X\(//\)$' \| \
13945 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13946$as_echo X/"$0" |
13947 sed '/^.*\/\([^/][^/]*\)\/*$/{
13948 s//\1/
13949 q
13950 }
13951 /^X\/\(\/\/\)$/{
13952 s//\1/
13953 q
13954 }
13955 /^X\/\(\/\).*/{
13956 s//\1/
13957 q
13958 }
13959 s/.*/./; q'`
13960
13961# Avoid depending upon Character Ranges.
13962as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13963as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13964as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13965as_cr_digits='0123456789'
13966as_cr_alnum=$as_cr_Letters$as_cr_digits
13967
13968ECHO_C= ECHO_N= ECHO_T=
13969case `echo -n x` in #(((((
13970-n*)
13971 case `echo 'xy\c'` in
13972 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13973 xy) ECHO_C='\c';;
13974 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13975 ECHO_T=' ';;
13976 esac;;
13977*)
13978 ECHO_N='-n';;
13979esac
13980
13981rm -f conf$$ conf$$.exe conf$$.file
13982if test -d conf$$.dir; then
13983 rm -f conf$$.dir/conf$$.file
13984else
13985 rm -f conf$$.dir
13986 mkdir conf$$.dir 2>/dev/null
13987fi
13988if (echo >conf$$.file) 2>/dev/null; then
13989 if ln -s conf$$.file conf$$ 2>/dev/null; then
13990 as_ln_s='ln -s'
13991 # ... but there are two gotchas:
13992 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13993 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13994 # In both cases, we have to default to `cp -p'.
13995 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13996 as_ln_s='cp -p'
13997 elif ln conf$$.file conf$$ 2>/dev/null; then
13998 as_ln_s=ln
13999 else
14000 as_ln_s='cp -p'
14001 fi
14002else
14003 as_ln_s='cp -p'
14004fi
14005rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14006rmdir conf$$.dir 2>/dev/null
14007
14008
14009# as_fn_mkdir_p
14010# -------------
14011# Create "$as_dir" as a directory, including parents if necessary.
14012as_fn_mkdir_p ()
14013{
14014
14015 case $as_dir in #(
14016 -*) as_dir=./$as_dir;;
14017 esac
14018 test -d "$as_dir" || eval $as_mkdir_p || {
14019 as_dirs=
14020 while :; do
14021 case $as_dir in #(
14022 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14023 *) as_qdir=$as_dir;;
14024 esac
14025 as_dirs="'$as_qdir' $as_dirs"
14026 as_dir=`$as_dirname -- "$as_dir" ||
14027$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14028 X"$as_dir" : 'X\(//\)[^/]' \| \
14029 X"$as_dir" : 'X\(//\)$' \| \
14030 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14031$as_echo X"$as_dir" |
14032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14033 s//\1/
14034 q
14035 }
14036 /^X\(\/\/\)[^/].*/{
14037 s//\1/
14038 q
14039 }
14040 /^X\(\/\/\)$/{
14041 s//\1/
14042 q
14043 }
14044 /^X\(\/\).*/{
14045 s//\1/
14046 q
14047 }
14048 s/.*/./; q'`
14049 test -d "$as_dir" && break
14050 done
14051 test -z "$as_dirs" || eval "mkdir $as_dirs"
14052 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14053
14054
14055} # as_fn_mkdir_p
14056if mkdir -p . 2>/dev/null; then
14057 as_mkdir_p='mkdir -p "$as_dir"'
14058else
14059 test -d ./-p && rmdir ./-p
14060 as_mkdir_p=false
14061fi
14062
14063if test -x / >/dev/null 2>&1; then
14064 as_test_x='test -x'
14065else
14066 if ls -dL / >/dev/null 2>&1; then
14067 as_ls_L_option=L
14068 else
14069 as_ls_L_option=
14070 fi
14071 as_test_x='
14072 eval sh -c '\''
14073 if test -d "$1"; then
14074 test -d "$1/.";
14075 else
14076 case $1 in #(
14077 -*)set "./$1";;
14078 esac;
14079 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14080 ???[sx]*):;;*)false;;esac;fi
14081 '\'' sh
14082 '
14083fi
14084as_executable_p=$as_test_x
14085
14086# Sed expression to map a string onto a valid CPP name.
14087as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14088
14089# Sed expression to map a string onto a valid variable name.
14090as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14091
14092
14093exec 6>&1
14094## ----------------------------------- ##
14095## Main body of $CONFIG_STATUS script. ##
14096## ----------------------------------- ##
14097_ASEOF
14098test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14099
14100cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14101# Save the log message, to keep $0 and so on meaningful, and to
14102# report actual input values of CONFIG_FILES etc. instead of their
14103# values after options handling.
14104ac_log="
14105This file was extended by embryo $as_me 1.2.0-alpha, which was
14106generated by GNU Autoconf 2.67. Invocation command line was
14107
14108 CONFIG_FILES = $CONFIG_FILES
14109 CONFIG_HEADERS = $CONFIG_HEADERS
14110 CONFIG_LINKS = $CONFIG_LINKS
14111 CONFIG_COMMANDS = $CONFIG_COMMANDS
14112 $ $0 $@
14113
14114on `(hostname || uname -n) 2>/dev/null | sed 1q`
14115"
14116
14117_ACEOF
14118
14119case $ac_config_files in *"
14120"*) set x $ac_config_files; shift; ac_config_files=$*;;
14121esac
14122
14123case $ac_config_headers in *"
14124"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14125esac
14126
14127
14128cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14129# Files that config.status was made for.
14130config_files="$ac_config_files"
14131config_headers="$ac_config_headers"
14132config_commands="$ac_config_commands"
14133
14134_ACEOF
14135
14136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14137ac_cs_usage="\
14138\`$as_me' instantiates files and other configuration actions
14139from templates according to the current configuration. Unless the files
14140and actions are specified as TAGs, all are instantiated by default.
14141
14142Usage: $0 [OPTION]... [TAG]...
14143
14144 -h, --help print this help, then exit
14145 -V, --version print version number and configuration settings, then exit
14146 --config print configuration, then exit
14147 -q, --quiet, --silent
14148 do not print progress messages
14149 -d, --debug don't remove temporary files
14150 --recheck update $as_me by reconfiguring in the same conditions
14151 --file=FILE[:TEMPLATE]
14152 instantiate the configuration file FILE
14153 --header=FILE[:TEMPLATE]
14154 instantiate the configuration header FILE
14155
14156Configuration files:
14157$config_files
14158
14159Configuration headers:
14160$config_headers
14161
14162Configuration commands:
14163$config_commands
14164
14165Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14166
14167_ACEOF
14168cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14169ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14170ac_cs_version="\\
14171embryo config.status 1.2.0-alpha
14172configured by $0, generated by GNU Autoconf 2.67,
14173 with options \\"\$ac_cs_config\\"
14174
14175Copyright (C) 2010 Free Software Foundation, Inc.
14176This config.status script is free software; the Free Software Foundation
14177gives unlimited permission to copy, distribute and modify it."
14178
14179ac_pwd='$ac_pwd'
14180srcdir='$srcdir'
14181INSTALL='$INSTALL'
14182MKDIR_P='$MKDIR_P'
14183AWK='$AWK'
14184test -n "\$AWK" || AWK=awk
14185_ACEOF
14186
14187cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14188# The default lists apply if the user does not specify any file.
14189ac_need_defaults=:
14190while test $# != 0
14191do
14192 case $1 in
14193 --*=?*)
14194 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14195 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14196 ac_shift=:
14197 ;;
14198 --*=)
14199 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14200 ac_optarg=
14201 ac_shift=:
14202 ;;
14203 *)
14204 ac_option=$1
14205 ac_optarg=$2
14206 ac_shift=shift
14207 ;;
14208 esac
14209
14210 case $ac_option in
14211 # Handling of the options.
14212 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14213 ac_cs_recheck=: ;;
14214 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14215 $as_echo "$ac_cs_version"; exit ;;
14216 --config | --confi | --conf | --con | --co | --c )
14217 $as_echo "$ac_cs_config"; exit ;;
14218 --debug | --debu | --deb | --de | --d | -d )
14219 debug=: ;;
14220 --file | --fil | --fi | --f )
14221 $ac_shift
14222 case $ac_optarg in
14223 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14224 '') as_fn_error $? "missing file argument" ;;
14225 esac
14226 as_fn_append CONFIG_FILES " '$ac_optarg'"
14227 ac_need_defaults=false;;
14228 --header | --heade | --head | --hea )
14229 $ac_shift
14230 case $ac_optarg in
14231 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14232 esac
14233 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14234 ac_need_defaults=false;;
14235 --he | --h)
14236 # Conflict between --help and --header
14237 as_fn_error $? "ambiguous option: \`$1'
14238Try \`$0 --help' for more information.";;
14239 --help | --hel | -h )
14240 $as_echo "$ac_cs_usage"; exit ;;
14241 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14242 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14243 ac_cs_silent=: ;;
14244
14245 # This is an error.
14246 -*) as_fn_error $? "unrecognized option: \`$1'
14247Try \`$0 --help' for more information." ;;
14248
14249 *) as_fn_append ac_config_targets " $1"
14250 ac_need_defaults=false ;;
14251
14252 esac
14253 shift
14254done
14255
14256ac_configure_extra_args=
14257
14258if $ac_cs_silent; then
14259 exec 6>/dev/null
14260 ac_configure_extra_args="$ac_configure_extra_args --silent"
14261fi
14262
14263_ACEOF
14264cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14265if \$ac_cs_recheck; then
14266 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14267 shift
14268 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14269 CONFIG_SHELL='$SHELL'
14270 export CONFIG_SHELL
14271 exec "\$@"
14272fi
14273
14274_ACEOF
14275cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14276exec 5>>config.log
14277{
14278 echo
14279 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14280## Running $as_me. ##
14281_ASBOX
14282 $as_echo "$ac_log"
14283} >&5
14284
14285_ACEOF
14286cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14287#
14288# INIT-COMMANDS
14289#
14290AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14291
14292
14293# The HP-UX ksh and POSIX shell print the target directory to stdout
14294# if CDPATH is set.
14295(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14296
14297sed_quote_subst='$sed_quote_subst'
14298double_quote_subst='$double_quote_subst'
14299delay_variable_subst='$delay_variable_subst'
14300AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14301DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14302OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14303macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14304macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14305enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14306enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14307pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14308enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14309host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14310host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14311host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14312build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14313build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14314build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14315SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14316Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14317GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14318EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14319FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14320LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14321NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14322LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14323max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14324ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14325exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14326lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14327lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14328lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14329reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14330reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14331deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14332file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14333AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14334AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14335STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14336RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14337old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14338old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14339old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14340CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14341CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14342compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14343GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14344lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14345lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14346lt_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"`'
14347lt_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"`'
14348objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14349SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14350ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14351MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14352lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14353lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14354lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14355lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14356lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14357need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14358DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14359NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14360LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14361OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14362OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14363libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14364shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14365extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14366archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14367enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14368export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14369whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14370compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14371old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14372old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14373archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14374archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14375module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14376module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14377with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14378allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14379no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14380hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14381hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14382hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14383hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14384hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14385hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14386hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14387hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14388inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14389link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14390fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14391always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14392export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14393exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14394include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14395prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14396file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14397variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14398need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14399need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14400version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14401runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14402shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14403shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14404libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14405library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14406soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14407postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14408postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14409finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14410finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14411hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14412sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14413sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14414hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14415enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14416enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14417enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14418old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14419striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14420
14421LTCC='$LTCC'
14422LTCFLAGS='$LTCFLAGS'
14423compiler='$compiler_DEFAULT'
14424
14425# Quote evaled strings.
14426for var in SED \
14427GREP \
14428EGREP \
14429FGREP \
14430LD \
14431NM \
14432LN_S \
14433lt_SP2NL \
14434lt_NL2SP \
14435reload_flag \
14436deplibs_check_method \
14437file_magic_cmd \
14438AR \
14439AR_FLAGS \
14440STRIP \
14441RANLIB \
14442CC \
14443CFLAGS \
14444compiler \
14445lt_cv_sys_global_symbol_pipe \
14446lt_cv_sys_global_symbol_to_cdecl \
14447lt_cv_sys_global_symbol_to_c_name_address \
14448lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14449SHELL \
14450ECHO \
14451lt_prog_compiler_no_builtin_flag \
14452lt_prog_compiler_wl \
14453lt_prog_compiler_pic \
14454lt_prog_compiler_static \
14455lt_cv_prog_compiler_c_o \
14456need_locks \
14457DSYMUTIL \
14458NMEDIT \
14459LIPO \
14460OTOOL \
14461OTOOL64 \
14462shrext_cmds \
14463export_dynamic_flag_spec \
14464whole_archive_flag_spec \
14465compiler_needs_object \
14466with_gnu_ld \
14467allow_undefined_flag \
14468no_undefined_flag \
14469hardcode_libdir_flag_spec \
14470hardcode_libdir_flag_spec_ld \
14471hardcode_libdir_separator \
14472fix_srcfile_path \
14473exclude_expsyms \
14474include_expsyms \
14475file_list_spec \
14476variables_saved_for_relink \
14477libname_spec \
14478library_names_spec \
14479soname_spec \
14480finish_eval \
14481old_striplib \
14482striplib; do
14483 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14484 *[\\\\\\\`\\"\\\$]*)
14485 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14486 ;;
14487 *)
14488 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14489 ;;
14490 esac
14491done
14492
14493# Double-quote double-evaled strings.
14494for var in reload_cmds \
14495old_postinstall_cmds \
14496old_postuninstall_cmds \
14497old_archive_cmds \
14498extract_expsyms_cmds \
14499old_archive_from_new_cmds \
14500old_archive_from_expsyms_cmds \
14501archive_cmds \
14502archive_expsym_cmds \
14503module_cmds \
14504module_expsym_cmds \
14505export_symbols_cmds \
14506prelink_cmds \
14507postinstall_cmds \
14508postuninstall_cmds \
14509finish_cmds \
14510sys_lib_search_path_spec \
14511sys_lib_dlsearch_path_spec; do
14512 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14513 *[\\\\\\\`\\"\\\$]*)
14514 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14515 ;;
14516 *)
14517 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14518 ;;
14519 esac
14520done
14521
14522# Fix-up fallback echo if it was mangled by the above quoting rules.
14523case \$lt_ECHO in
14524*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14525 ;;
14526esac
14527
14528ac_aux_dir='$ac_aux_dir'
14529xsi_shell='$xsi_shell'
14530lt_shell_append='$lt_shell_append'
14531
14532# See if we are running on zsh, and set the options which allow our
14533# commands through without removal of \ escapes INIT.
14534if test -n "\${ZSH_VERSION+set}" ; then
14535 setopt NO_GLOB_SUBST
14536fi
14537
14538
14539 PACKAGE='$PACKAGE'
14540 VERSION='$VERSION'
14541 TIMESTAMP='$TIMESTAMP'
14542 RM='$RM'
14543 ofile='$ofile'
14544
14545
14546
14547
14548_ACEOF
14549
14550cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14551
14552# Handling of arguments.
14553for ac_config_target in $ac_config_targets
14554do
14555 case $ac_config_target in
14556 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14557 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14558 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14559 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14560 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14561 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14562 "doc/embryo.dox") CONFIG_FILES="$CONFIG_FILES doc/embryo.dox" ;;
14563 "embryo.pc") CONFIG_FILES="$CONFIG_FILES embryo.pc" ;;
14564 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14565 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14566 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14567 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
14568 "embryo.spec") CONFIG_FILES="$CONFIG_FILES embryo.spec" ;;
14569
14570 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
14571 esac
14572done
14573
14574
14575# If the user did not use the arguments to specify the items to instantiate,
14576# then the envvar interface is used. Set only those that are not.
14577# We use the long form for the default assignment because of an extremely
14578# bizarre bug on SunOS 4.1.3.
14579if $ac_need_defaults; then
14580 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14581 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14582 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14583fi
14584
14585# Have a temporary directory for convenience. Make it in the build tree
14586# simply because there is no reason against having it here, and in addition,
14587# creating and moving files from /tmp can sometimes cause problems.
14588# Hook for its removal unless debugging.
14589# Note that there is a small window in which the directory will not be cleaned:
14590# after its creation but before its name has been assigned to `$tmp'.
14591$debug ||
14592{
14593 tmp=
14594 trap 'exit_status=$?
14595 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14596' 0
14597 trap 'as_fn_exit 1' 1 2 13 15
14598}
14599# Create a (secure) tmp directory for tmp files.
14600
14601{
14602 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14603 test -n "$tmp" && test -d "$tmp"
14604} ||
14605{
14606 tmp=./conf$$-$RANDOM
14607 (umask 077 && mkdir "$tmp")
14608} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14609
14610# Set up the scripts for CONFIG_FILES section.
14611# No need to generate them if there are no CONFIG_FILES.
14612# This happens for instance with `./config.status config.h'.
14613if test -n "$CONFIG_FILES"; then
14614
14615
14616ac_cr=`echo X | tr X '\015'`
14617# On cygwin, bash can eat \r inside `` if the user requested igncr.
14618# But we know of no other shell where ac_cr would be empty at this
14619# point, so we can use a bashism as a fallback.
14620if test "x$ac_cr" = x; then
14621 eval ac_cr=\$\'\\r\'
14622fi
14623ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14624if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14625 ac_cs_awk_cr='\\r'
14626else
14627 ac_cs_awk_cr=$ac_cr
14628fi
14629
14630echo 'BEGIN {' >"$tmp/subs1.awk" &&
14631_ACEOF
14632
14633
14634{
14635 echo "cat >conf$$subs.awk <<_ACEOF" &&
14636 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14637 echo "_ACEOF"
14638} >conf$$subs.sh ||
14639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14640ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14641ac_delim='%!_!# '
14642for ac_last_try in false false false false false :; do
14643 . ./conf$$subs.sh ||
14644 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14645
14646 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14647 if test $ac_delim_n = $ac_delim_num; then
14648 break
14649 elif $ac_last_try; then
14650 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14651 else
14652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14653 fi
14654done
14655rm -f conf$$subs.sh
14656
14657cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14658cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14659_ACEOF
14660sed -n '
14661h
14662s/^/S["/; s/!.*/"]=/
14663p
14664g
14665s/^[^!]*!//
14666:repl
14667t repl
14668s/'"$ac_delim"'$//
14669t delim
14670:nl
14671h
14672s/\(.\{148\}\)..*/\1/
14673t more1
14674s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14675p
14676n
14677b repl
14678:more1
14679s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14680p
14681g
14682s/.\{148\}//
14683t nl
14684:delim
14685h
14686s/\(.\{148\}\)..*/\1/
14687t more2
14688s/["\\]/\\&/g; s/^/"/; s/$/"/
14689p
14690b
14691:more2
14692s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14693p
14694g
14695s/.\{148\}//
14696t delim
14697' <conf$$subs.awk | sed '
14698/^[^""]/{
14699 N
14700 s/\n//
14701}
14702' >>$CONFIG_STATUS || ac_write_fail=1
14703rm -f conf$$subs.awk
14704cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14705_ACAWK
14706cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14707 for (key in S) S_is_set[key] = 1
14708 FS = ""
14709
14710}
14711{
14712 line = $ 0
14713 nfields = split(line, field, "@")
14714 substed = 0
14715 len = length(field[1])
14716 for (i = 2; i < nfields; i++) {
14717 key = field[i]
14718 keylen = length(key)
14719 if (S_is_set[key]) {
14720 value = S[key]
14721 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14722 len += length(value) + length(field[++i])
14723 substed = 1
14724 } else
14725 len += 1 + keylen
14726 }
14727
14728 print line
14729}
14730
14731_ACAWK
14732_ACEOF
14733cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14734if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14735 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14736else
14737 cat
14738fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14739 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14740_ACEOF
14741
14742# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14743# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14744# trailing colons and then remove the whole line if VPATH becomes empty
14745# (actually we leave an empty line to preserve line numbers).
14746if test "x$srcdir" = x.; then
14747 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14748h
14749s///
14750s/^/:/
14751s/[ ]*$/:/
14752s/:\$(srcdir):/:/g
14753s/:\${srcdir}:/:/g
14754s/:@srcdir@:/:/g
14755s/^:*//
14756s/:*$//
14757x
14758s/\(=[ ]*\).*/\1/
14759G
14760s/\n//
14761s/^[^=]*=[ ]*$//
14762}'
14763fi
14764
14765cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14766fi # test -n "$CONFIG_FILES"
14767
14768# Set up the scripts for CONFIG_HEADERS section.
14769# No need to generate them if there are no CONFIG_HEADERS.
14770# This happens for instance with `./config.status Makefile'.
14771if test -n "$CONFIG_HEADERS"; then
14772cat >"$tmp/defines.awk" <<\_ACAWK ||
14773BEGIN {
14774_ACEOF
14775
14776# Transform confdefs.h into an awk script `defines.awk', embedded as
14777# here-document in config.status, that substitutes the proper values into
14778# config.h.in to produce config.h.
14779
14780# Create a delimiter string that does not exist in confdefs.h, to ease
14781# handling of long lines.
14782ac_delim='%!_!# '
14783for ac_last_try in false false :; do
14784 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14785 if test -z "$ac_t"; then
14786 break
14787 elif $ac_last_try; then
14788 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14789 else
14790 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14791 fi
14792done
14793
14794# For the awk script, D is an array of macro values keyed by name,
14795# likewise P contains macro parameters if any. Preserve backslash
14796# newline sequences.
14797
14798ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14799sed -n '
14800s/.\{148\}/&'"$ac_delim"'/g
14801t rset
14802:rset
14803s/^[ ]*#[ ]*define[ ][ ]*/ /
14804t def
14805d
14806:def
14807s/\\$//
14808t bsnl
14809s/["\\]/\\&/g
14810s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14811D["\1"]=" \3"/p
14812s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14813d
14814:bsnl
14815s/["\\]/\\&/g
14816s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14817D["\1"]=" \3\\\\\\n"\\/p
14818t cont
14819s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14820t cont
14821d
14822:cont
14823n
14824s/.\{148\}/&'"$ac_delim"'/g
14825t clear
14826:clear
14827s/\\$//
14828t bsnlc
14829s/["\\]/\\&/g; s/^/"/; s/$/"/p
14830d
14831:bsnlc
14832s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14833b cont
14834' <confdefs.h | sed '
14835s/'"$ac_delim"'/"\\\
14836"/g' >>$CONFIG_STATUS || ac_write_fail=1
14837
14838cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14839 for (key in D) D_is_set[key] = 1
14840 FS = ""
14841}
14842/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14843 line = \$ 0
14844 split(line, arg, " ")
14845 if (arg[1] == "#") {
14846 defundef = arg[2]
14847 mac1 = arg[3]
14848 } else {
14849 defundef = substr(arg[1], 2)
14850 mac1 = arg[2]
14851 }
14852 split(mac1, mac2, "(") #)
14853 macro = mac2[1]
14854 prefix = substr(line, 1, index(line, defundef) - 1)
14855 if (D_is_set[macro]) {
14856 # Preserve the white space surrounding the "#".
14857 print prefix "define", macro P[macro] D[macro]
14858 next
14859 } else {
14860 # Replace #undef with comments. This is necessary, for example,
14861 # in the case of _POSIX_SOURCE, which is predefined and required
14862 # on some systems where configure will not decide to define it.
14863 if (defundef == "undef") {
14864 print "/*", prefix defundef, macro, "*/"
14865 next
14866 }
14867 }
14868}
14869{ print }
14870_ACAWK
14871_ACEOF
14872cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14873 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14874fi # test -n "$CONFIG_HEADERS"
14875
14876
14877eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14878shift
14879for ac_tag
14880do
14881 case $ac_tag in
14882 :[FHLC]) ac_mode=$ac_tag; continue;;
14883 esac
14884 case $ac_mode$ac_tag in
14885 :[FHL]*:*);;
14886 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14887 :[FH]-) ac_tag=-:-;;
14888 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14889 esac
14890 ac_save_IFS=$IFS
14891 IFS=:
14892 set x $ac_tag
14893 IFS=$ac_save_IFS
14894 shift
14895 ac_file=$1
14896 shift
14897
14898 case $ac_mode in
14899 :L) ac_source=$1;;
14900 :[FH])
14901 ac_file_inputs=
14902 for ac_f
14903 do
14904 case $ac_f in
14905 -) ac_f="$tmp/stdin";;
14906 *) # Look for the file first in the build tree, then in the source tree
14907 # (if the path is not absolute). The absolute path cannot be DOS-style,
14908 # because $ac_f cannot contain `:'.
14909 test -f "$ac_f" ||
14910 case $ac_f in
14911 [\\/$]*) false;;
14912 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14913 esac ||
14914 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14915 esac
14916 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14917 as_fn_append ac_file_inputs " '$ac_f'"
14918 done
14919
14920 # Let's still pretend it is `configure' which instantiates (i.e., don't
14921 # use $as_me), people would be surprised to read:
14922 # /* config.h. Generated by config.status. */
14923 configure_input='Generated from '`
14924 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14925 `' by configure.'
14926 if test x"$ac_file" != x-; then
14927 configure_input="$ac_file. $configure_input"
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14929$as_echo "$as_me: creating $ac_file" >&6;}
14930 fi
14931 # Neutralize special characters interpreted by sed in replacement strings.
14932 case $configure_input in #(
14933 *\&* | *\|* | *\\* )
14934 ac_sed_conf_input=`$as_echo "$configure_input" |
14935 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14936 *) ac_sed_conf_input=$configure_input;;
14937 esac
14938
14939 case $ac_tag in
14940 *:-:* | *:-) cat >"$tmp/stdin" \
14941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14942 esac
14943 ;;
14944 esac
14945
14946 ac_dir=`$as_dirname -- "$ac_file" ||
14947$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14948 X"$ac_file" : 'X\(//\)[^/]' \| \
14949 X"$ac_file" : 'X\(//\)$' \| \
14950 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14951$as_echo X"$ac_file" |
14952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14953 s//\1/
14954 q
14955 }
14956 /^X\(\/\/\)[^/].*/{
14957 s//\1/
14958 q
14959 }
14960 /^X\(\/\/\)$/{
14961 s//\1/
14962 q
14963 }
14964 /^X\(\/\).*/{
14965 s//\1/
14966 q
14967 }
14968 s/.*/./; q'`
14969 as_dir="$ac_dir"; as_fn_mkdir_p
14970 ac_builddir=.
14971
14972case "$ac_dir" in
14973.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14974*)
14975 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14976 # A ".." for each directory in $ac_dir_suffix.
14977 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14978 case $ac_top_builddir_sub in
14979 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14980 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14981 esac ;;
14982esac
14983ac_abs_top_builddir=$ac_pwd
14984ac_abs_builddir=$ac_pwd$ac_dir_suffix
14985# for backward compatibility:
14986ac_top_builddir=$ac_top_build_prefix
14987
14988case $srcdir in
14989 .) # We are building in place.
14990 ac_srcdir=.
14991 ac_top_srcdir=$ac_top_builddir_sub
14992 ac_abs_top_srcdir=$ac_pwd ;;
14993 [\\/]* | ?:[\\/]* ) # Absolute name.
14994 ac_srcdir=$srcdir$ac_dir_suffix;
14995 ac_top_srcdir=$srcdir
14996 ac_abs_top_srcdir=$srcdir ;;
14997 *) # Relative name.
14998 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14999 ac_top_srcdir=$ac_top_build_prefix$srcdir
15000 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15001esac
15002ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15003
15004
15005 case $ac_mode in
15006 :F)
15007 #
15008 # CONFIG_FILE
15009 #
15010
15011 case $INSTALL in
15012 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15013 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15014 esac
15015 ac_MKDIR_P=$MKDIR_P
15016 case $MKDIR_P in
15017 [\\/$]* | ?:[\\/]* ) ;;
15018 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15019 esac
15020_ACEOF
15021
15022cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15023# If the template does not know about datarootdir, expand it.
15024# FIXME: This hack should be removed a few years after 2.60.
15025ac_datarootdir_hack=; ac_datarootdir_seen=
15026ac_sed_dataroot='
15027/datarootdir/ {
15028 p
15029 q
15030}
15031/@datadir@/p
15032/@docdir@/p
15033/@infodir@/p
15034/@localedir@/p
15035/@mandir@/p'
15036case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15037*datarootdir*) ac_datarootdir_seen=yes;;
15038*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15040$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15041_ACEOF
15042cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15043 ac_datarootdir_hack='
15044 s&@datadir@&$datadir&g
15045 s&@docdir@&$docdir&g
15046 s&@infodir@&$infodir&g
15047 s&@localedir@&$localedir&g
15048 s&@mandir@&$mandir&g
15049 s&\\\${datarootdir}&$datarootdir&g' ;;
15050esac
15051_ACEOF
15052
15053# Neutralize VPATH when `$srcdir' = `.'.
15054# Shell code in configure.ac might set extrasub.
15055# FIXME: do we really want to maintain this feature?
15056cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15057ac_sed_extra="$ac_vpsub
15058$extrasub
15059_ACEOF
15060cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15061:t
15062/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15063s|@configure_input@|$ac_sed_conf_input|;t t
15064s&@top_builddir@&$ac_top_builddir_sub&;t t
15065s&@top_build_prefix@&$ac_top_build_prefix&;t t
15066s&@srcdir@&$ac_srcdir&;t t
15067s&@abs_srcdir@&$ac_abs_srcdir&;t t
15068s&@top_srcdir@&$ac_top_srcdir&;t t
15069s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15070s&@builddir@&$ac_builddir&;t t
15071s&@abs_builddir@&$ac_abs_builddir&;t t
15072s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15073s&@INSTALL@&$ac_INSTALL&;t t
15074s&@MKDIR_P@&$ac_MKDIR_P&;t t
15075$ac_datarootdir_hack
15076"
15077eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15079
15080test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15081 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15082 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15084which seems to be undefined. Please make sure it is defined" >&5
15085$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15086which seems to be undefined. Please make sure it is defined" >&2;}
15087
15088 rm -f "$tmp/stdin"
15089 case $ac_file in
15090 -) cat "$tmp/out" && rm -f "$tmp/out";;
15091 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15092 esac \
15093 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15094 ;;
15095 :H)
15096 #
15097 # CONFIG_HEADER
15098 #
15099 if test x"$ac_file" != x-; then
15100 {
15101 $as_echo "/* $configure_input */" \
15102 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15103 } >"$tmp/config.h" \
15104 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15105 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15107$as_echo "$as_me: $ac_file is unchanged" >&6;}
15108 else
15109 rm -f "$ac_file"
15110 mv "$tmp/config.h" "$ac_file" \
15111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15112 fi
15113 else
15114 $as_echo "/* $configure_input */" \
15115 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15116 || as_fn_error $? "could not create -" "$LINENO" 5
15117 fi
15118# Compute "$ac_file"'s index in $config_headers.
15119_am_arg="$ac_file"
15120_am_stamp_count=1
15121for _am_header in $config_headers :; do
15122 case $_am_header in
15123 $_am_arg | $_am_arg:* )
15124 break ;;
15125 * )
15126 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15127 esac
15128done
15129echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15130$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15131 X"$_am_arg" : 'X\(//\)[^/]' \| \
15132 X"$_am_arg" : 'X\(//\)$' \| \
15133 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15134$as_echo X"$_am_arg" |
15135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15136 s//\1/
15137 q
15138 }
15139 /^X\(\/\/\)[^/].*/{
15140 s//\1/
15141 q
15142 }
15143 /^X\(\/\/\)$/{
15144 s//\1/
15145 q
15146 }
15147 /^X\(\/\).*/{
15148 s//\1/
15149 q
15150 }
15151 s/.*/./; q'`/stamp-h$_am_stamp_count
15152 ;;
15153
15154 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15155$as_echo "$as_me: executing $ac_file commands" >&6;}
15156 ;;
15157 esac
15158
15159
15160 case $ac_file$ac_mode in
15161 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15162 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15163 # are listed without --file. Let's play safe and only enable the eval
15164 # if we detect the quoting.
15165 case $CONFIG_FILES in
15166 *\'*) eval set x "$CONFIG_FILES" ;;
15167 *) set x $CONFIG_FILES ;;
15168 esac
15169 shift
15170 for mf
15171 do
15172 # Strip MF so we end up with the name of the file.
15173 mf=`echo "$mf" | sed -e 's/:.*$//'`
15174 # Check whether this is an Automake generated Makefile or not.
15175 # We used to match only the files named `Makefile.in', but
15176 # some people rename them; so instead we look at the file content.
15177 # Grep'ing the first line is not enough: some people post-process
15178 # each Makefile.in and add a new line on top of each file to say so.
15179 # Grep'ing the whole file is not good either: AIX grep has a line
15180 # limit of 2048, but all sed's we know have understand at least 4000.
15181 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15182 dirpart=`$as_dirname -- "$mf" ||
15183$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15184 X"$mf" : 'X\(//\)[^/]' \| \
15185 X"$mf" : 'X\(//\)$' \| \
15186 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15187$as_echo X"$mf" |
15188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15189 s//\1/
15190 q
15191 }
15192 /^X\(\/\/\)[^/].*/{
15193 s//\1/
15194 q
15195 }
15196 /^X\(\/\/\)$/{
15197 s//\1/
15198 q
15199 }
15200 /^X\(\/\).*/{
15201 s//\1/
15202 q
15203 }
15204 s/.*/./; q'`
15205 else
15206 continue
15207 fi
15208 # Extract the definition of DEPDIR, am__include, and am__quote
15209 # from the Makefile without running `make'.
15210 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15211 test -z "$DEPDIR" && continue
15212 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15213 test -z "am__include" && continue
15214 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15215 # When using ansi2knr, U may be empty or an underscore; expand it
15216 U=`sed -n 's/^U = //p' < "$mf"`
15217 # Find all dependency output files, they are included files with
15218 # $(DEPDIR) in their names. We invoke sed twice because it is the
15219 # simplest approach to changing $(DEPDIR) to its actual value in the
15220 # expansion.
15221 for file in `sed -n "
15222 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15223 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15224 # Make sure the directory exists.
15225 test -f "$dirpart/$file" && continue
15226 fdir=`$as_dirname -- "$file" ||
15227$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15228 X"$file" : 'X\(//\)[^/]' \| \
15229 X"$file" : 'X\(//\)$' \| \
15230 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15231$as_echo X"$file" |
15232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15233 s//\1/
15234 q
15235 }
15236 /^X\(\/\/\)[^/].*/{
15237 s//\1/
15238 q
15239 }
15240 /^X\(\/\/\)$/{
15241 s//\1/
15242 q
15243 }
15244 /^X\(\/\).*/{
15245 s//\1/
15246 q
15247 }
15248 s/.*/./; q'`
15249 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15250 # echo "creating $dirpart/$file"
15251 echo '# dummy' > "$dirpart/$file"
15252 done
15253 done
15254}
15255 ;;
15256 "libtool":C)
15257
15258 # See if we are running on zsh, and set the options which allow our
15259 # commands through without removal of \ escapes.
15260 if test -n "${ZSH_VERSION+set}" ; then
15261 setopt NO_GLOB_SUBST
15262 fi
15263
15264 cfgfile="${ofile}T"
15265 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15266 $RM "$cfgfile"
15267
15268 cat <<_LT_EOF >> "$cfgfile"
15269#! $SHELL
15270
15271# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15272# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15273# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15274# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15275#
15276# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15277# 2006, 2007, 2008 Free Software Foundation, Inc.
15278# Written by Gordon Matzigkeit, 1996
15279#
15280# This file is part of GNU Libtool.
15281#
15282# GNU Libtool is free software; you can redistribute it and/or
15283# modify it under the terms of the GNU General Public License as
15284# published by the Free Software Foundation; either version 2 of
15285# the License, or (at your option) any later version.
15286#
15287# As a special exception to the GNU General Public License,
15288# if you distribute this file as part of a program or library that
15289# is built using GNU Libtool, you may include this file under the
15290# same distribution terms that you use for the rest of that program.
15291#
15292# GNU Libtool is distributed in the hope that it will be useful,
15293# but WITHOUT ANY WARRANTY; without even the implied warranty of
15294# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15295# GNU General Public License for more details.
15296#
15297# You should have received a copy of the GNU General Public License
15298# along with GNU Libtool; see the file COPYING. If not, a copy
15299# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15300# obtained by writing to the Free Software Foundation, Inc.,
15301# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15302
15303
15304# The names of the tagged configurations supported by this script.
15305available_tags=""
15306
15307# ### BEGIN LIBTOOL CONFIG
15308
15309# Assembler program.
15310AS=$AS
15311
15312# DLL creation program.
15313DLLTOOL=$DLLTOOL
15314
15315# Object dumper program.
15316OBJDUMP=$OBJDUMP
15317
15318# Which release of libtool.m4 was used?
15319macro_version=$macro_version
15320macro_revision=$macro_revision
15321
15322# Whether or not to build shared libraries.
15323build_libtool_libs=$enable_shared
15324
15325# Whether or not to build static libraries.
15326build_old_libs=$enable_static
15327
15328# What type of objects to build.
15329pic_mode=$pic_mode
15330
15331# Whether or not to optimize for fast installation.
15332fast_install=$enable_fast_install
15333
15334# The host system.
15335host_alias=$host_alias
15336host=$host
15337host_os=$host_os
15338
15339# The build system.
15340build_alias=$build_alias
15341build=$build
15342build_os=$build_os
15343
15344# A sed program that does not truncate output.
15345SED=$lt_SED
15346
15347# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15348Xsed="\$SED -e 1s/^X//"
15349
15350# A grep program that handles long lines.
15351GREP=$lt_GREP
15352
15353# An ERE matcher.
15354EGREP=$lt_EGREP
15355
15356# A literal string matcher.
15357FGREP=$lt_FGREP
15358
15359# A BSD- or MS-compatible name lister.
15360NM=$lt_NM
15361
15362# Whether we need soft or hard links.
15363LN_S=$lt_LN_S
15364
15365# What is the maximum length of a command?
15366max_cmd_len=$max_cmd_len
15367
15368# Object file suffix (normally "o").
15369objext=$ac_objext
15370
15371# Executable file suffix (normally "").
15372exeext=$exeext
15373
15374# whether the shell understands "unset".
15375lt_unset=$lt_unset
15376
15377# turn spaces into newlines.
15378SP2NL=$lt_lt_SP2NL
15379
15380# turn newlines into spaces.
15381NL2SP=$lt_lt_NL2SP
15382
15383# How to create reloadable object files.
15384reload_flag=$lt_reload_flag
15385reload_cmds=$lt_reload_cmds
15386
15387# Method to check whether dependent libraries are shared objects.
15388deplibs_check_method=$lt_deplibs_check_method
15389
15390# Command to use when deplibs_check_method == "file_magic".
15391file_magic_cmd=$lt_file_magic_cmd
15392
15393# The archiver.
15394AR=$lt_AR
15395AR_FLAGS=$lt_AR_FLAGS
15396
15397# A symbol stripping program.
15398STRIP=$lt_STRIP
15399
15400# Commands used to install an old-style archive.
15401RANLIB=$lt_RANLIB
15402old_postinstall_cmds=$lt_old_postinstall_cmds
15403old_postuninstall_cmds=$lt_old_postuninstall_cmds
15404
15405# A C compiler.
15406LTCC=$lt_CC
15407
15408# LTCC compiler flags.
15409LTCFLAGS=$lt_CFLAGS
15410
15411# Take the output of nm and produce a listing of raw symbols and C names.
15412global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15413
15414# Transform the output of nm in a proper C declaration.
15415global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15416
15417# Transform the output of nm in a C name address pair.
15418global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15419
15420# Transform the output of nm in a C name address pair when lib prefix is needed.
15421global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15422
15423# The name of the directory that contains temporary libtool files.
15424objdir=$objdir
15425
15426# Shell to use when invoking shell scripts.
15427SHELL=$lt_SHELL
15428
15429# An echo program that does not interpret backslashes.
15430ECHO=$lt_ECHO
15431
15432# Used to examine libraries when file_magic_cmd begins with "file".
15433MAGIC_CMD=$MAGIC_CMD
15434
15435# Must we lock files when doing compilation?
15436need_locks=$lt_need_locks
15437
15438# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15439DSYMUTIL=$lt_DSYMUTIL
15440
15441# Tool to change global to local symbols on Mac OS X.
15442NMEDIT=$lt_NMEDIT
15443
15444# Tool to manipulate fat objects and archives on Mac OS X.
15445LIPO=$lt_LIPO
15446
15447# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15448OTOOL=$lt_OTOOL
15449
15450# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15451OTOOL64=$lt_OTOOL64
15452
15453# Old archive suffix (normally "a").
15454libext=$libext
15455
15456# Shared library suffix (normally ".so").
15457shrext_cmds=$lt_shrext_cmds
15458
15459# The commands to extract the exported symbol list from a shared archive.
15460extract_expsyms_cmds=$lt_extract_expsyms_cmds
15461
15462# Variables whose values should be saved in libtool wrapper scripts and
15463# restored at link time.
15464variables_saved_for_relink=$lt_variables_saved_for_relink
15465
15466# Do we need the "lib" prefix for modules?
15467need_lib_prefix=$need_lib_prefix
15468
15469# Do we need a version for libraries?
15470need_version=$need_version
15471
15472# Library versioning type.
15473version_type=$version_type
15474
15475# Shared library runtime path variable.
15476runpath_var=$runpath_var
15477
15478# Shared library path variable.
15479shlibpath_var=$shlibpath_var
15480
15481# Is shlibpath searched before the hard-coded library search path?
15482shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15483
15484# Format of library name prefix.
15485libname_spec=$lt_libname_spec
15486
15487# List of archive names. First name is the real one, the rest are links.
15488# The last name is the one that the linker finds with -lNAME
15489library_names_spec=$lt_library_names_spec
15490
15491# The coded name of the library, if different from the real name.
15492soname_spec=$lt_soname_spec
15493
15494# Command to use after installation of a shared archive.
15495postinstall_cmds=$lt_postinstall_cmds
15496
15497# Command to use after uninstallation of a shared archive.
15498postuninstall_cmds=$lt_postuninstall_cmds
15499
15500# Commands used to finish a libtool library installation in a directory.
15501finish_cmds=$lt_finish_cmds
15502
15503# As "finish_cmds", except a single script fragment to be evaled but
15504# not shown.
15505finish_eval=$lt_finish_eval
15506
15507# Whether we should hardcode library paths into libraries.
15508hardcode_into_libs=$hardcode_into_libs
15509
15510# Compile-time system search path for libraries.
15511sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15512
15513# Run-time system search path for libraries.
15514sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15515
15516# Whether dlopen is supported.
15517dlopen_support=$enable_dlopen
15518
15519# Whether dlopen of programs is supported.
15520dlopen_self=$enable_dlopen_self
15521
15522# Whether dlopen of statically linked programs is supported.
15523dlopen_self_static=$enable_dlopen_self_static
15524
15525# Commands to strip libraries.
15526old_striplib=$lt_old_striplib
15527striplib=$lt_striplib
15528
15529
15530# The linker used to build libraries.
15531LD=$lt_LD
15532
15533# Commands used to build an old-style archive.
15534old_archive_cmds=$lt_old_archive_cmds
15535
15536# A language specific compiler.
15537CC=$lt_compiler
15538
15539# Is the compiler the GNU compiler?
15540with_gcc=$GCC
15541
15542# Compiler flag to turn off builtin functions.
15543no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15544
15545# How to pass a linker flag through the compiler.
15546wl=$lt_lt_prog_compiler_wl
15547
15548# Additional compiler flags for building library objects.
15549pic_flag=$lt_lt_prog_compiler_pic
15550
15551# Compiler flag to prevent dynamic linking.
15552link_static_flag=$lt_lt_prog_compiler_static
15553
15554# Does compiler simultaneously support -c and -o options?
15555compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15556
15557# Whether or not to add -lc for building shared libraries.
15558build_libtool_need_lc=$archive_cmds_need_lc
15559
15560# Whether or not to disallow shared libs when runtime libs are static.
15561allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15562
15563# Compiler flag to allow reflexive dlopens.
15564export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15565
15566# Compiler flag to generate shared objects directly from archives.
15567whole_archive_flag_spec=$lt_whole_archive_flag_spec
15568
15569# Whether the compiler copes with passing no objects directly.
15570compiler_needs_object=$lt_compiler_needs_object
15571
15572# Create an old-style archive from a shared archive.
15573old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15574
15575# Create a temporary old-style archive to link instead of a shared archive.
15576old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15577
15578# Commands used to build a shared archive.
15579archive_cmds=$lt_archive_cmds
15580archive_expsym_cmds=$lt_archive_expsym_cmds
15581
15582# Commands used to build a loadable module if different from building
15583# a shared archive.
15584module_cmds=$lt_module_cmds
15585module_expsym_cmds=$lt_module_expsym_cmds
15586
15587# Whether we are building with GNU ld or not.
15588with_gnu_ld=$lt_with_gnu_ld
15589
15590# Flag that allows shared libraries with undefined symbols to be built.
15591allow_undefined_flag=$lt_allow_undefined_flag
15592
15593# Flag that enforces no undefined symbols.
15594no_undefined_flag=$lt_no_undefined_flag
15595
15596# Flag to hardcode \$libdir into a binary during linking.
15597# This must work even if \$libdir does not exist
15598hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15599
15600# If ld is used when linking, flag to hardcode \$libdir into a binary
15601# during linking. This must work even if \$libdir does not exist.
15602hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15603
15604# Whether we need a single "-rpath" flag with a separated argument.
15605hardcode_libdir_separator=$lt_hardcode_libdir_separator
15606
15607# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15608# DIR into the resulting binary.
15609hardcode_direct=$hardcode_direct
15610
15611# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15612# DIR into the resulting binary and the resulting library dependency is
15613# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15614# library is relocated.
15615hardcode_direct_absolute=$hardcode_direct_absolute
15616
15617# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15618# into the resulting binary.
15619hardcode_minus_L=$hardcode_minus_L
15620
15621# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15622# into the resulting binary.
15623hardcode_shlibpath_var=$hardcode_shlibpath_var
15624
15625# Set to "yes" if building a shared library automatically hardcodes DIR
15626# into the library and all subsequent libraries and executables linked
15627# against it.
15628hardcode_automatic=$hardcode_automatic
15629
15630# Set to yes if linker adds runtime paths of dependent libraries
15631# to runtime path list.
15632inherit_rpath=$inherit_rpath
15633
15634# Whether libtool must link a program against all its dependency libraries.
15635link_all_deplibs=$link_all_deplibs
15636
15637# Fix the shell variable \$srcfile for the compiler.
15638fix_srcfile_path=$lt_fix_srcfile_path
15639
15640# Set to "yes" if exported symbols are required.
15641always_export_symbols=$always_export_symbols
15642
15643# The commands to list exported symbols.
15644export_symbols_cmds=$lt_export_symbols_cmds
15645
15646# Symbols that should not be listed in the preloaded symbols.
15647exclude_expsyms=$lt_exclude_expsyms
15648
15649# Symbols that must always be exported.
15650include_expsyms=$lt_include_expsyms
15651
15652# Commands necessary for linking programs (against libraries) with templates.
15653prelink_cmds=$lt_prelink_cmds
15654
15655# Specify filename containing input files.
15656file_list_spec=$lt_file_list_spec
15657
15658# How to hardcode a shared library path into an executable.
15659hardcode_action=$hardcode_action
15660
15661# ### END LIBTOOL CONFIG
15662
15663_LT_EOF
15664
15665 case $host_os in
15666 aix3*)
15667 cat <<\_LT_EOF >> "$cfgfile"
15668# AIX sometimes has problems with the GCC collect2 program. For some
15669# reason, if we set the COLLECT_NAMES environment variable, the problems
15670# vanish in a puff of smoke.
15671if test "X${COLLECT_NAMES+set}" != Xset; then
15672 COLLECT_NAMES=
15673 export COLLECT_NAMES
15674fi
15675_LT_EOF
15676 ;;
15677 esac
15678
15679
15680ltmain="$ac_aux_dir/ltmain.sh"
15681
15682
15683 # We use sed instead of cat because bash on DJGPP gets confused if
15684 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15685 # text mode, it properly converts lines to CR/LF. This bash problem
15686 # is reportedly fixed, but why not run on old versions too?
15687 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15688 || (rm -f "$cfgfile"; exit 1)
15689
15690 case $xsi_shell in
15691 yes)
15692 cat << \_LT_EOF >> "$cfgfile"
15693
15694# func_dirname file append nondir_replacement
15695# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15696# otherwise set result to NONDIR_REPLACEMENT.
15697func_dirname ()
15698{
15699 case ${1} in
15700 */*) func_dirname_result="${1%/*}${2}" ;;
15701 * ) func_dirname_result="${3}" ;;
15702 esac
15703}
15704
15705# func_basename file
15706func_basename ()
15707{
15708 func_basename_result="${1##*/}"
15709}
15710
15711# func_dirname_and_basename file append nondir_replacement
15712# perform func_basename and func_dirname in a single function
15713# call:
15714# dirname: Compute the dirname of FILE. If nonempty,
15715# add APPEND to the result, otherwise set result
15716# to NONDIR_REPLACEMENT.
15717# value returned in "$func_dirname_result"
15718# basename: Compute filename of FILE.
15719# value retuned in "$func_basename_result"
15720# Implementation must be kept synchronized with func_dirname
15721# and func_basename. For efficiency, we do not delegate to
15722# those functions but instead duplicate the functionality here.
15723func_dirname_and_basename ()
15724{
15725 case ${1} in
15726 */*) func_dirname_result="${1%/*}${2}" ;;
15727 * ) func_dirname_result="${3}" ;;
15728 esac
15729 func_basename_result="${1##*/}"
15730}
15731
15732# func_stripname prefix suffix name
15733# strip PREFIX and SUFFIX off of NAME.
15734# PREFIX and SUFFIX must not contain globbing or regex special
15735# characters, hashes, percent signs, but SUFFIX may contain a leading
15736# dot (in which case that matches only a dot).
15737func_stripname ()
15738{
15739 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15740 # positional parameters, so assign one to ordinary parameter first.
15741 func_stripname_result=${3}
15742 func_stripname_result=${func_stripname_result#"${1}"}
15743 func_stripname_result=${func_stripname_result%"${2}"}
15744}
15745
15746# func_opt_split
15747func_opt_split ()
15748{
15749 func_opt_split_opt=${1%%=*}
15750 func_opt_split_arg=${1#*=}
15751}
15752
15753# func_lo2o object
15754func_lo2o ()
15755{
15756 case ${1} in
15757 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15758 *) func_lo2o_result=${1} ;;
15759 esac
15760}
15761
15762# func_xform libobj-or-source
15763func_xform ()
15764{
15765 func_xform_result=${1%.*}.lo
15766}
15767
15768# func_arith arithmetic-term...
15769func_arith ()
15770{
15771 func_arith_result=$(( $* ))
15772}
15773
15774# func_len string
15775# STRING may not start with a hyphen.
15776func_len ()
15777{
15778 func_len_result=${#1}
15779}
15780
15781_LT_EOF
15782 ;;
15783 *) # Bourne compatible functions.
15784 cat << \_LT_EOF >> "$cfgfile"
15785
15786# func_dirname file append nondir_replacement
15787# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15788# otherwise set result to NONDIR_REPLACEMENT.
15789func_dirname ()
15790{
15791 # Extract subdirectory from the argument.
15792 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15793 if test "X$func_dirname_result" = "X${1}"; then
15794 func_dirname_result="${3}"
15795 else
15796 func_dirname_result="$func_dirname_result${2}"
15797 fi
15798}
15799
15800# func_basename file
15801func_basename ()
15802{
15803 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15804}
15805
15806
15807# func_stripname prefix suffix name
15808# strip PREFIX and SUFFIX off of NAME.
15809# PREFIX and SUFFIX must not contain globbing or regex special
15810# characters, hashes, percent signs, but SUFFIX may contain a leading
15811# dot (in which case that matches only a dot).
15812# func_strip_suffix prefix name
15813func_stripname ()
15814{
15815 case ${2} in
15816 .*) func_stripname_result=`$ECHO "X${3}" \
15817 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15818 *) func_stripname_result=`$ECHO "X${3}" \
15819 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15820 esac
15821}
15822
15823# sed scripts:
15824my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15825my_sed_long_arg='1s/^-[^=]*=//'
15826
15827# func_opt_split
15828func_opt_split ()
15829{
15830 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15831 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15832}
15833
15834# func_lo2o object
15835func_lo2o ()
15836{
15837 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15838}
15839
15840# func_xform libobj-or-source
15841func_xform ()
15842{
15843 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15844}
15845
15846# func_arith arithmetic-term...
15847func_arith ()
15848{
15849 func_arith_result=`expr "$@"`
15850}
15851
15852# func_len string
15853# STRING may not start with a hyphen.
15854func_len ()
15855{
15856 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15857}
15858
15859_LT_EOF
15860esac
15861
15862case $lt_shell_append in
15863 yes)
15864 cat << \_LT_EOF >> "$cfgfile"
15865
15866# func_append var value
15867# Append VALUE to the end of shell variable VAR.
15868func_append ()
15869{
15870 eval "$1+=\$2"
15871}
15872_LT_EOF
15873 ;;
15874 *)
15875 cat << \_LT_EOF >> "$cfgfile"
15876
15877# func_append var value
15878# Append VALUE to the end of shell variable VAR.
15879func_append ()
15880{
15881 eval "$1=\$$1\$2"
15882}
15883
15884_LT_EOF
15885 ;;
15886 esac
15887
15888
15889 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15890 || (rm -f "$cfgfile"; exit 1)
15891
15892 mv -f "$cfgfile" "$ofile" ||
15893 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15894 chmod +x "$ofile"
15895
15896 ;;
15897
15898 esac
15899done # for ac_tag
15900
15901
15902as_fn_exit 0
15903_ACEOF
15904ac_clean_files=$ac_clean_files_save
15905
15906test $ac_write_fail = 0 ||
15907 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15908
15909
15910# configure is writing to config.log, and then calls config.status.
15911# config.status does its own redirection, appending to config.log.
15912# Unfortunately, on DOS this fails, as config.log is still kept open
15913# by configure, so config.status won't be able to write to it; its
15914# output is simply discarded. So we exec the FD to /dev/null,
15915# effectively closing config.log, so it can be properly (re)opened and
15916# appended to by config.status. When coming back to configure, we
15917# need to make the FD available again.
15918if test "$no_create" != yes; then
15919 ac_cs_success=:
15920 ac_config_status_args=
15921 test "$silent" = yes &&
15922 ac_config_status_args="$ac_config_status_args --quiet"
15923 exec 5>/dev/null
15924 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15925 exec 5>>config.log
15926 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15927 # would make configure fail if this is the last instruction.
15928 $ac_cs_success || as_fn_exit 1
15929fi
15930if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15932$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15933fi
15934
15935
15936
15937#####################################################################
15938## Info
15939
15940echo
15941echo
15942echo
15943echo "------------------------------------------------------------------------"
15944echo "$PACKAGE $VERSION"
15945echo "------------------------------------------------------------------------"
15946echo
15947echo "Configuration Options Summary:"
15948echo
15949echo " Build embryo_cc......: $have_embryo_cc"
15950echo
15951echo " Documentation........: ${build_doc}"
15952echo
15953echo "Compilation............: make (or gmake)"
15954echo " CPPFLAGS.............: $CPPFLAGS"
15955echo " CFLAGS...............: $CFLAGS"
15956echo " LDFLAGS..............: $LDFLAGS"
15957echo
15958echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
15959echo " prefix...............: $prefix"
15960echo
diff --git a/libraries/embryo/configure.ac b/libraries/embryo/configure.ac
deleted file mode 100644
index 09bd04e..0000000
--- a/libraries/embryo/configure.ac
+++ /dev/null
@@ -1,222 +0,0 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [1])
4m4_define([v_min], [2])
5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8##-- When released, remove the dnl on the below line
9m4_undefine([v_rev])
10##-- When doing snapshots - change soname. remove dnl on below line
11dnl m4_define([relname], [ver-pre-svn-07])
12dnl m4_define([v_rel], [-release ver-pre-svn-07])
13##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
14m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])])
15m4_define([lt_cur], m4_eval(v_maj + v_min))
16m4_define([lt_rev], v_mic)
17m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20
21AC_INIT([embryo], [v_ver]-alpha, [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ([2.52])
23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4])
25
26AC_CONFIG_HEADERS([config.h])
27AH_TOP([
28#ifndef EFL_CONFIG_H__
29#define EFL_CONFIG_H__
30])
31AH_BOTTOM([
32#endif /* EFL_CONFIG_H__ */
33])
34
35AM_INIT_AUTOMAKE([1.6 dist-bzip2])
36m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
37
38AC_LIBTOOL_WIN32_DLL
39define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
40define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
41AC_PROG_LIBTOOL
42
43##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
44##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
45m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
46m4_ifdef([v_rel], , [m4_define([v_rel], [])])
47AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
48AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
49AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
50AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
51version_info="lt_cur:lt_rev:lt_age"
52release_info="v_rel"
53AC_SUBST(version_info)
54AC_SUBST(release_info)
55##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
56##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
57VMAJ=v_maj
58AC_SUBST(VMAJ)
59
60### Default options with respect to host
61
62AC_CANONICAL_BUILD
63AC_CANONICAL_HOST
64
65requirement_embryo=""
66embryoincludedir="${datadir}/include"
67
68
69### Additional options to configure
70
71EFL_ENABLE_BIN([embryo-cc])
72
73
74### Checks for programs
75AC_PROG_CC
76
77# doxygen program for documentation building
78
79EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
80
81# pkg-config
82
83PKG_PROG_PKG_CONFIG
84
85# Check whether pkg-config supports Requires.private
86if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
87 pkgconfig_requires_private="Requires.private"
88else
89 pkgconfig_requires_private="Requires"
90fi
91AC_SUBST(pkgconfig_requires_private)
92
93
94### Checks for libraries
95
96# Evil library for compilation on Windows
97
98EFL_EMBRYO_BUILD=""
99case "$host_os" in
100 mingw*)
101 PKG_CHECK_MODULES([EVIL], [evil >= 1.0.0])
102 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
103 requirement_embryo="evil ${requirement_embryo}"
104 EFL_EMBRYO_BUILD="-DEFL_EMBRYO_BUILD"
105 ;;
106esac
107AC_SUBST(EFL_EMBRYO_BUILD)
108
109# For embryo_cc_prefix.c
110PKG_CHECK_MODULES([EINA], [eina >= 1.2.0])
111
112### Checks for portability layer
113
114PKG_CHECK_MODULES([EXOTIC],
115 [exotic],
116 [enable_exotic="yes"],
117 [enable_exotic="no"])
118
119if test "x${enable_exotic}" = "xyes"; then
120 requirement_embryo="exotic ${requirement_embryo}"
121
122 AC_DEFINE([HAVE_EXOTIC], [1], [Define to 1 if you have Exotic.])
123fi
124
125### Checks for header files
126
127AC_CHECK_HEADERS([unistd.h])
128EFL_CHECK_PATH_MAX
129
130
131### Checks for types
132
133
134### Checks for structures
135
136
137### Checks for compiler characteristics
138AC_C_BIGENDIAN
139AM_PROG_CC_C_O
140AC_C_CONST
141AC_C_INLINE
142AC_PROG_CC_STDC
143AC_HEADER_STDC
144AC_C___ATTRIBUTE__
145
146EMBRYO_CPPFLAGS=""
147EMBRYO_CFLAGS=""
148case "$host_os" in
149 mingw32ce*)
150 EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
151 ;;
152esac
153AC_SUBST(EMBRYO_CPPFLAGS)
154AC_SUBST(EMBRYO_CFLAGS)
155
156
157### Checks for linker characteristics
158
159lt_enable_auto_import=""
160case "$host_os" in
161 mingw*)
162 lt_enable_auto_import="-Wl,--enable-auto-import"
163 ;;
164esac
165AC_SUBST(lt_enable_auto_import)
166
167
168### Checks for library functions
169
170AC_ISC_POSIX
171
172# alloca
173AC_FUNC_ALLOCA
174
175# fnmatch
176EFL_CHECK_FNMATCH([], [AC_MSG_ERROR([Cannot find fnmatch()])])
177
178# gettimeofday
179EFL_CHECK_GETTIMEOFDAY([], [AC_MSG_ERROR([Cannot find gettimeofday()])])
180
181
182AC_SUBST(requirement_embryo)
183AC_SUBST(embryoincludedir)
184
185AC_OUTPUT([
186Makefile
187doc/Makefile
188doc/Doxyfile
189doc/embryo.dox
190embryo.pc
191include/Makefile
192src/Makefile
193src/lib/Makefile
194src/bin/Makefile
195embryo.spec
196])
197
198
199#####################################################################
200## Info
201
202echo
203echo
204echo
205echo "------------------------------------------------------------------------"
206echo "$PACKAGE $VERSION"
207echo "------------------------------------------------------------------------"
208echo
209echo "Configuration Options Summary:"
210echo
211echo " Build embryo_cc......: $have_embryo_cc"
212echo
213echo " Documentation........: ${build_doc}"
214echo
215echo "Compilation............: make (or gmake)"
216echo " CPPFLAGS.............: $CPPFLAGS"
217echo " CFLAGS...............: $CFLAGS"
218echo " LDFLAGS..............: $LDFLAGS"
219echo
220echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
221echo " prefix...............: $prefix"
222echo