aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/configure
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-04-22 09:20:32 +1000
committerDavid Walter Seikel2012-04-22 09:20:32 +1000
commit3ad3455551be0d7859ecb02290376206d5e66498 (patch)
tree497917e12b4d7f458dff9765d9b53f64c4e03fc3 /libraries/elementary/configure
parentUpdate EFL to latest beta. (diff)
downloadSledjHamr-3ad3455551be0d7859ecb02290376206d5e66498.zip
SledjHamr-3ad3455551be0d7859ecb02290376206d5e66498.tar.gz
SledjHamr-3ad3455551be0d7859ecb02290376206d5e66498.tar.bz2
SledjHamr-3ad3455551be0d7859ecb02290376206d5e66498.tar.xz
And actually include new files, plus elementary libraries.
Diffstat (limited to 'libraries/elementary/configure')
-rwxr-xr-xlibraries/elementary/configure20646
1 files changed, 20646 insertions, 0 deletions
diff --git a/libraries/elementary/configure b/libraries/elementary/configure
new file mode 100755
index 0000000..e530e73
--- /dev/null
+++ b/libraries/elementary/configure
@@ -0,0 +1,20646 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for elementary 1.0.0-beta.
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='elementary'
703PACKAGE_TARNAME='elementary'
704PACKAGE_VERSION='1.0.0-beta'
705PACKAGE_STRING='elementary 1.0.0-beta'
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
746gt_needs=
747ac_subst_vars='am__EXEEXT_FALSE
748am__EXEEXT_TRUE
749LTLIBOBJS
750LIBOBJS
751EFL_INSTALL_EXAMPLES_FALSE
752EFL_INSTALL_EXAMPLES_TRUE
753EFL_BUILD_EXAMPLES_FALSE
754EFL_BUILD_EXAMPLES_TRUE
755HAVE_PO_FALSE
756HAVE_PO_TRUE
757POSUB
758LTLIBINTL
759LIBINTL
760INTLLIBS
761LTLIBICONV
762LIBICONV
763INTL_MACOSX_LIBS
764XGETTEXT_EXTRA_OPTIONS
765MSGMERGE
766XGETTEXT_015
767XGETTEXT
768GMSGFMT_015
769MSGFMT_015
770GMSGFMT
771MSGFMT
772GETTEXT_MACRO_VERSION
773USE_NLS
774BUILD_ELEMENTARY_CONFIG_FALSE
775BUILD_ELEMENTARY_CONFIG_TRUE
776ELEMENTARY_CONFIG_PRG
777BUILD_ELEMENTARY_TEST_FALSE
778BUILD_ELEMENTARY_TEST_TRUE
779ELEMENTARY_TEST_PRG
780EFL_BUILD_DOC_FALSE
781EFL_BUILD_DOC_TRUE
782efl_doxygen
783efl_have_doxygen
784edje_cc
785eet_eet
786requirement_elm
787my_libs
788ELM_DIRENT_H_DEF
789ELM_LIBINTL_H_DEF
790ELM_ALLOCA_H_DEF
791ELM_DEBUG_DEF
792ELM_WEB_DEF
793ELEMENTARY_WEB_LIBS
794ELEMENTARY_WEB_CFLAGS
795ELM_ETHUMB_DEF
796ELEMENTARY_ETHUMB_LIBS
797ELEMENTARY_ETHUMB_CFLAGS
798ELM_EMAP_DEF
799ELEMENTARY_EMAP_LIBS
800ELEMENTARY_EMAP_CFLAGS
801ELM_EWEATHER_DEF
802ELEMENTARY_EWEATHER_LIBS
803ELEMENTARY_EWEATHER_CFLAGS
804ELM_EFREET_DEF
805ELEMENTARY_EFREET_LIBS
806ELEMENTARY_EFREET_CFLAGS
807ELM_EDBUS_DEF
808ELEMENTARY_EDBUS_LIBS
809ELEMENTARY_EDBUS_CFLAGS
810ELEMENTARY_WINCE_LIBS
811ELEMENTARY_WINCE_CFLAGS
812ELEMENTARY_WIN32_LIBS
813ELEMENTARY_WIN32_CFLAGS
814ELEMENTARY_COCOA_LIBS
815ELEMENTARY_COCOA_CFLAGS
816ELEMENTARY_SDL_LIBS
817ELEMENTARY_SDL_CFLAGS
818ELEMENTARY_PSL1GHT_LIBS
819ELEMENTARY_PSL1GHT_CFLAGS
820ELEMENTARY_FB_LIBS
821ELEMENTARY_FB_CFLAGS
822ELEMENTARY_X_LIBS
823ELEMENTARY_X_CFLAGS
824HAVE_EMOTION_FALSE
825HAVE_EMOTION_TRUE
826EMOTION_LIBS
827EMOTION_CFLAGS
828HAVE_EIO_FALSE
829HAVE_EIO_TRUE
830EIO_LIBS
831EIO_CFLAGS
832HAVE_ECORE_CON_FALSE
833HAVE_ECORE_CON_TRUE
834ELEMENTARY_ECORE_CON_INC
835ELEMENTARY_ECORE_CON_LIBS
836ELEMENTARY_ECORE_CON_CFLAGS
837HAVE_ECORE_IMF_FALSE
838HAVE_ECORE_IMF_TRUE
839ELEMENTARY_ECORE_IMF_INC
840ELEMENTARY_ECORE_IMF_LIBS
841ELEMENTARY_ECORE_IMF_CFLAGS
842ELEMENTARY_LIBS
843ELEMENTARY_CFLAGS
844ELEMENTARY_WINDOWS_BUILD_FALSE
845ELEMENTARY_WINDOWS_BUILD_TRUE
846ELM_WINCE_DEF
847ELM_WIN32_DEF
848ELM_UNIX_DEF
849lt_enable_auto_import
850dlopen_libs
851BUILD_QUICKLAUNCH_FALSE
852BUILD_QUICKLAUNCH_TRUE
853BUILD_MODULES_FALSE
854BUILD_MODULES_TRUE
855BUILD_RUN_FALSE
856BUILD_RUN_TRUE
857EVIL_LIBS
858EVIL_CFLAGS
859LOCALE_DIR
860pkgconfig_requires_private
861MODULE_EDJE
862MODULE_ARCH
863PKG_CONFIG_LIBDIR
864PKG_CONFIG_PATH
865PKG_CONFIG
866VMIN
867VMAJ
868release_info
869version_info
870OTOOL64
871OTOOL
872LIPO
873NMEDIT
874DSYMUTIL
875lt_ECHO
876RANLIB
877AR
878LN_S
879NM
880ac_ct_DUMPBIN
881DUMPBIN
882LD
883FGREP
884SED
885LIBTOOL
886OBJDUMP
887DLLTOOL
888AS
889ALLOCA
890EGREP
891GREP
892CPP
893am__fastdepCC_FALSE
894am__fastdepCC_TRUE
895CCDEPMODE
896AMDEPBACKSLASH
897AMDEP_FALSE
898AMDEP_TRUE
899am__quote
900am__include
901DEPDIR
902OBJEXT
903EXEEXT
904ac_ct_CC
905CPPFLAGS
906LDFLAGS
907CFLAGS
908CC
909AM_BACKSLASH
910AM_DEFAULT_VERBOSITY
911am__untar
912am__tar
913AMTAR
914am__leading_dot
915SET_MAKE
916AWK
917mkdir_p
918MKDIR_P
919INSTALL_STRIP_PROGRAM
920STRIP
921install_sh
922MAKEINFO
923AUTOHEADER
924AUTOMAKE
925AUTOCONF
926ACLOCAL
927VERSION
928PACKAGE
929CYGPATH_W
930am__isrc
931INSTALL_DATA
932INSTALL_SCRIPT
933INSTALL_PROGRAM
934host_os
935host_vendor
936host_cpu
937host
938build_os
939build_vendor
940build_cpu
941build
942target_alias
943host_alias
944build_alias
945LIBS
946ECHO_T
947ECHO_N
948ECHO_C
949DEFS
950mandir
951localedir
952libdir
953psdir
954pdfdir
955dvidir
956htmldir
957infodir
958docdir
959oldincludedir
960includedir
961localstatedir
962sharedstatedir
963sysconfdir
964datadir
965datarootdir
966libexecdir
967sbindir
968bindir
969program_transform_name
970prefix
971exec_prefix
972PACKAGE_URL
973PACKAGE_BUGREPORT
974PACKAGE_STRING
975PACKAGE_VERSION
976PACKAGE_TARNAME
977PACKAGE_NAME
978PATH_SEPARATOR
979SHELL'
980ac_subst_files=''
981ac_user_opts='
982enable_option_checking
983enable_silent_rules
984enable_dependency_tracking
985enable_shared
986enable_static
987with_pic
988enable_fast_install
989with_gnu_ld
990enable_libtool_lock
991enable_quick_launch
992enable_emotion
993enable_ecore_x
994enable_ecore_fb
995enable_ecore_psl1ght
996enable_ecore_sdl
997enable_ecore_cocoa
998enable_ecore_win32
999enable_ecore_wince
1000enable_edbus
1001enable_efreet
1002enable_eweather
1003enable_emap
1004enable_ethumb
1005enable_web
1006enable_debug
1007with_eet_eet
1008with_edje_cc
1009enable_doc
1010with_doxygen
1011enable_elementary_test
1012enable_elementary_config
1013enable_nls
1014enable_rpath
1015with_libiconv_prefix
1016with_libintl_prefix
1017with_elementary_base_dir
1018enable_build_examples
1019enable_install_examples
1020'
1021 ac_precious_vars='build_alias
1022host_alias
1023target_alias
1024CC
1025CFLAGS
1026LDFLAGS
1027LIBS
1028CPPFLAGS
1029CPP
1030PKG_CONFIG
1031PKG_CONFIG_PATH
1032PKG_CONFIG_LIBDIR
1033EVIL_CFLAGS
1034EVIL_LIBS
1035ELEMENTARY_CFLAGS
1036ELEMENTARY_LIBS
1037ELEMENTARY_ECORE_IMF_CFLAGS
1038ELEMENTARY_ECORE_IMF_LIBS
1039ELEMENTARY_ECORE_CON_CFLAGS
1040ELEMENTARY_ECORE_CON_LIBS
1041EIO_CFLAGS
1042EIO_LIBS
1043EMOTION_CFLAGS
1044EMOTION_LIBS
1045ELEMENTARY_X_CFLAGS
1046ELEMENTARY_X_LIBS
1047ELEMENTARY_FB_CFLAGS
1048ELEMENTARY_FB_LIBS
1049ELEMENTARY_PSL1GHT_CFLAGS
1050ELEMENTARY_PSL1GHT_LIBS
1051ELEMENTARY_SDL_CFLAGS
1052ELEMENTARY_SDL_LIBS
1053ELEMENTARY_COCOA_CFLAGS
1054ELEMENTARY_COCOA_LIBS
1055ELEMENTARY_WIN32_CFLAGS
1056ELEMENTARY_WIN32_LIBS
1057ELEMENTARY_WINCE_CFLAGS
1058ELEMENTARY_WINCE_LIBS
1059ELEMENTARY_EDBUS_CFLAGS
1060ELEMENTARY_EDBUS_LIBS
1061ELEMENTARY_EFREET_CFLAGS
1062ELEMENTARY_EFREET_LIBS
1063ELEMENTARY_EWEATHER_CFLAGS
1064ELEMENTARY_EWEATHER_LIBS
1065ELEMENTARY_EMAP_CFLAGS
1066ELEMENTARY_EMAP_LIBS
1067ELEMENTARY_ETHUMB_CFLAGS
1068ELEMENTARY_ETHUMB_LIBS
1069ELEMENTARY_WEB_CFLAGS
1070ELEMENTARY_WEB_LIBS'
1071
1072
1073# Initialize some variables set by options.
1074ac_init_help=
1075ac_init_version=false
1076ac_unrecognized_opts=
1077ac_unrecognized_sep=
1078# The variables have the same names as the options, with
1079# dashes changed to underlines.
1080cache_file=/dev/null
1081exec_prefix=NONE
1082no_create=
1083no_recursion=
1084prefix=NONE
1085program_prefix=NONE
1086program_suffix=NONE
1087program_transform_name=s,x,x,
1088silent=
1089site=
1090srcdir=
1091verbose=
1092x_includes=NONE
1093x_libraries=NONE
1094
1095# Installation directory options.
1096# These are left unexpanded so users can "make install exec_prefix=/foo"
1097# and all the variables that are supposed to be based on exec_prefix
1098# by default will actually change.
1099# Use braces instead of parens because sh, perl, etc. also accept them.
1100# (The list follows the same order as the GNU Coding Standards.)
1101bindir='${exec_prefix}/bin'
1102sbindir='${exec_prefix}/sbin'
1103libexecdir='${exec_prefix}/libexec'
1104datarootdir='${prefix}/share'
1105datadir='${datarootdir}'
1106sysconfdir='${prefix}/etc'
1107sharedstatedir='${prefix}/com'
1108localstatedir='${prefix}/var'
1109includedir='${prefix}/include'
1110oldincludedir='/usr/include'
1111docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1112infodir='${datarootdir}/info'
1113htmldir='${docdir}'
1114dvidir='${docdir}'
1115pdfdir='${docdir}'
1116psdir='${docdir}'
1117libdir='${exec_prefix}/lib'
1118localedir='${datarootdir}/locale'
1119mandir='${datarootdir}/man'
1120
1121ac_prev=
1122ac_dashdash=
1123for ac_option
1124do
1125 # If the previous option needs an argument, assign it.
1126 if test -n "$ac_prev"; then
1127 eval $ac_prev=\$ac_option
1128 ac_prev=
1129 continue
1130 fi
1131
1132 case $ac_option in
1133 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1134 *=) ac_optarg= ;;
1135 *) ac_optarg=yes ;;
1136 esac
1137
1138 # Accept the important Cygnus configure options, so we can diagnose typos.
1139
1140 case $ac_dashdash$ac_option in
1141 --)
1142 ac_dashdash=yes ;;
1143
1144 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1145 ac_prev=bindir ;;
1146 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1147 bindir=$ac_optarg ;;
1148
1149 -build | --build | --buil | --bui | --bu)
1150 ac_prev=build_alias ;;
1151 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1152 build_alias=$ac_optarg ;;
1153
1154 -cache-file | --cache-file | --cache-fil | --cache-fi \
1155 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1156 ac_prev=cache_file ;;
1157 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1158 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1159 cache_file=$ac_optarg ;;
1160
1161 --config-cache | -C)
1162 cache_file=config.cache ;;
1163
1164 -datadir | --datadir | --datadi | --datad)
1165 ac_prev=datadir ;;
1166 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1167 datadir=$ac_optarg ;;
1168
1169 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1170 | --dataroo | --dataro | --datar)
1171 ac_prev=datarootdir ;;
1172 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1173 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1174 datarootdir=$ac_optarg ;;
1175
1176 -disable-* | --disable-*)
1177 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid feature name: $ac_useropt"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1184 *"
1185"enable_$ac_useropt"
1186"*) ;;
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1189 esac
1190 eval enable_$ac_useropt=no ;;
1191
1192 -docdir | --docdir | --docdi | --doc | --do)
1193 ac_prev=docdir ;;
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir=$ac_optarg ;;
1196
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1198 ac_prev=dvidir ;;
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir=$ac_optarg ;;
1201
1202 -enable-* | --enable-*)
1203 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206 as_fn_error $? "invalid feature name: $ac_useropt"
1207 ac_useropt_orig=$ac_useropt
1208 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1210 *"
1211"enable_$ac_useropt"
1212"*) ;;
1213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1214 ac_unrecognized_sep=', ';;
1215 esac
1216 eval enable_$ac_useropt=\$ac_optarg ;;
1217
1218 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1219 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1220 | --exec | --exe | --ex)
1221 ac_prev=exec_prefix ;;
1222 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1223 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1224 | --exec=* | --exe=* | --ex=*)
1225 exec_prefix=$ac_optarg ;;
1226
1227 -gas | --gas | --ga | --g)
1228 # Obsolete; use --with-gas.
1229 with_gas=yes ;;
1230
1231 -help | --help | --hel | --he | -h)
1232 ac_init_help=long ;;
1233 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1234 ac_init_help=recursive ;;
1235 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1236 ac_init_help=short ;;
1237
1238 -host | --host | --hos | --ho)
1239 ac_prev=host_alias ;;
1240 -host=* | --host=* | --hos=* | --ho=*)
1241 host_alias=$ac_optarg ;;
1242
1243 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1244 ac_prev=htmldir ;;
1245 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1246 | --ht=*)
1247 htmldir=$ac_optarg ;;
1248
1249 -includedir | --includedir | --includedi | --included | --include \
1250 | --includ | --inclu | --incl | --inc)
1251 ac_prev=includedir ;;
1252 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1253 | --includ=* | --inclu=* | --incl=* | --inc=*)
1254 includedir=$ac_optarg ;;
1255
1256 -infodir | --infodir | --infodi | --infod | --info | --inf)
1257 ac_prev=infodir ;;
1258 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1259 infodir=$ac_optarg ;;
1260
1261 -libdir | --libdir | --libdi | --libd)
1262 ac_prev=libdir ;;
1263 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1264 libdir=$ac_optarg ;;
1265
1266 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1267 | --libexe | --libex | --libe)
1268 ac_prev=libexecdir ;;
1269 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1270 | --libexe=* | --libex=* | --libe=*)
1271 libexecdir=$ac_optarg ;;
1272
1273 -localedir | --localedir | --localedi | --localed | --locale)
1274 ac_prev=localedir ;;
1275 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1276 localedir=$ac_optarg ;;
1277
1278 -localstatedir | --localstatedir | --localstatedi | --localstated \
1279 | --localstate | --localstat | --localsta | --localst | --locals)
1280 ac_prev=localstatedir ;;
1281 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1282 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1283 localstatedir=$ac_optarg ;;
1284
1285 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1286 ac_prev=mandir ;;
1287 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1288 mandir=$ac_optarg ;;
1289
1290 -nfp | --nfp | --nf)
1291 # Obsolete; use --without-fp.
1292 with_fp=no ;;
1293
1294 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1295 | --no-cr | --no-c | -n)
1296 no_create=yes ;;
1297
1298 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1299 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1300 no_recursion=yes ;;
1301
1302 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1303 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1304 | --oldin | --oldi | --old | --ol | --o)
1305 ac_prev=oldincludedir ;;
1306 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1307 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1308 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1309 oldincludedir=$ac_optarg ;;
1310
1311 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1312 ac_prev=prefix ;;
1313 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1314 prefix=$ac_optarg ;;
1315
1316 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1317 | --program-pre | --program-pr | --program-p)
1318 ac_prev=program_prefix ;;
1319 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1320 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1321 program_prefix=$ac_optarg ;;
1322
1323 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1324 | --program-suf | --program-su | --program-s)
1325 ac_prev=program_suffix ;;
1326 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1327 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1328 program_suffix=$ac_optarg ;;
1329
1330 -program-transform-name | --program-transform-name \
1331 | --program-transform-nam | --program-transform-na \
1332 | --program-transform-n | --program-transform- \
1333 | --program-transform | --program-transfor \
1334 | --program-transfo | --program-transf \
1335 | --program-trans | --program-tran \
1336 | --progr-tra | --program-tr | --program-t)
1337 ac_prev=program_transform_name ;;
1338 -program-transform-name=* | --program-transform-name=* \
1339 | --program-transform-nam=* | --program-transform-na=* \
1340 | --program-transform-n=* | --program-transform-=* \
1341 | --program-transform=* | --program-transfor=* \
1342 | --program-transfo=* | --program-transf=* \
1343 | --program-trans=* | --program-tran=* \
1344 | --progr-tra=* | --program-tr=* | --program-t=*)
1345 program_transform_name=$ac_optarg ;;
1346
1347 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1348 ac_prev=pdfdir ;;
1349 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1350 pdfdir=$ac_optarg ;;
1351
1352 -psdir | --psdir | --psdi | --psd | --ps)
1353 ac_prev=psdir ;;
1354 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1355 psdir=$ac_optarg ;;
1356
1357 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1358 | -silent | --silent | --silen | --sile | --sil)
1359 silent=yes ;;
1360
1361 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1362 ac_prev=sbindir ;;
1363 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1364 | --sbi=* | --sb=*)
1365 sbindir=$ac_optarg ;;
1366
1367 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1368 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1369 | --sharedst | --shareds | --shared | --share | --shar \
1370 | --sha | --sh)
1371 ac_prev=sharedstatedir ;;
1372 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1373 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1374 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1375 | --sha=* | --sh=*)
1376 sharedstatedir=$ac_optarg ;;
1377
1378 -site | --site | --sit)
1379 ac_prev=site ;;
1380 -site=* | --site=* | --sit=*)
1381 site=$ac_optarg ;;
1382
1383 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1384 ac_prev=srcdir ;;
1385 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1386 srcdir=$ac_optarg ;;
1387
1388 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1389 | --syscon | --sysco | --sysc | --sys | --sy)
1390 ac_prev=sysconfdir ;;
1391 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1392 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1393 sysconfdir=$ac_optarg ;;
1394
1395 -target | --target | --targe | --targ | --tar | --ta | --t)
1396 ac_prev=target_alias ;;
1397 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1398 target_alias=$ac_optarg ;;
1399
1400 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1401 verbose=yes ;;
1402
1403 -version | --version | --versio | --versi | --vers | -V)
1404 ac_init_version=: ;;
1405
1406 -with-* | --with-*)
1407 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1410 as_fn_error $? "invalid package name: $ac_useropt"
1411 ac_useropt_orig=$ac_useropt
1412 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1413 case $ac_user_opts in
1414 *"
1415"with_$ac_useropt"
1416"*) ;;
1417 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1418 ac_unrecognized_sep=', ';;
1419 esac
1420 eval with_$ac_useropt=\$ac_optarg ;;
1421
1422 -without-* | --without-*)
1423 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1424 # Reject names that are not valid shell variable names.
1425 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1426 as_fn_error $? "invalid package name: $ac_useropt"
1427 ac_useropt_orig=$ac_useropt
1428 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1429 case $ac_user_opts in
1430 *"
1431"with_$ac_useropt"
1432"*) ;;
1433 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1434 ac_unrecognized_sep=', ';;
1435 esac
1436 eval with_$ac_useropt=no ;;
1437
1438 --x)
1439 # Obsolete; use --with-x.
1440 with_x=yes ;;
1441
1442 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1443 | --x-incl | --x-inc | --x-in | --x-i)
1444 ac_prev=x_includes ;;
1445 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1446 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1447 x_includes=$ac_optarg ;;
1448
1449 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1450 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1451 ac_prev=x_libraries ;;
1452 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1453 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1454 x_libraries=$ac_optarg ;;
1455
1456 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1457Try \`$0 --help' for more information"
1458 ;;
1459
1460 *=*)
1461 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1462 # Reject names that are not valid shell variable names.
1463 case $ac_envvar in #(
1464 '' | [0-9]* | *[!_$as_cr_alnum]* )
1465 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1466 esac
1467 eval $ac_envvar=\$ac_optarg
1468 export $ac_envvar ;;
1469
1470 *)
1471 # FIXME: should be removed in autoconf 3.0.
1472 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1473 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1474 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1475 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 ;;
1477
1478 esac
1479done
1480
1481if test -n "$ac_prev"; then
1482 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1483 as_fn_error $? "missing argument to $ac_option"
1484fi
1485
1486if test -n "$ac_unrecognized_opts"; then
1487 case $enable_option_checking in
1488 no) ;;
1489 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1490 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1491 esac
1492fi
1493
1494# Check all directory arguments for consistency.
1495for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1496 datadir sysconfdir sharedstatedir localstatedir includedir \
1497 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1498 libdir localedir mandir
1499do
1500 eval ac_val=\$$ac_var
1501 # Remove trailing slashes.
1502 case $ac_val in
1503 */ )
1504 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1505 eval $ac_var=\$ac_val;;
1506 esac
1507 # Be sure to have absolute directory names.
1508 case $ac_val in
1509 [\\/$]* | ?:[\\/]* ) continue;;
1510 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1511 esac
1512 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1513done
1514
1515# There might be people who depend on the old broken behavior: `$host'
1516# used to hold the argument of --host etc.
1517# FIXME: To remove some day.
1518build=$build_alias
1519host=$host_alias
1520target=$target_alias
1521
1522# FIXME: To remove some day.
1523if test "x$host_alias" != x; then
1524 if test "x$build_alias" = x; then
1525 cross_compiling=maybe
1526 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1527 If a cross compiler is detected then cross compile mode will be used" >&2
1528 elif test "x$build_alias" != "x$host_alias"; then
1529 cross_compiling=yes
1530 fi
1531fi
1532
1533ac_tool_prefix=
1534test -n "$host_alias" && ac_tool_prefix=$host_alias-
1535
1536test "$silent" = yes && exec 6>/dev/null
1537
1538
1539ac_pwd=`pwd` && test -n "$ac_pwd" &&
1540ac_ls_di=`ls -di .` &&
1541ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1542 as_fn_error $? "working directory cannot be determined"
1543test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1544 as_fn_error $? "pwd does not report name of working directory"
1545
1546
1547# Find the source files, if location was not specified.
1548if test -z "$srcdir"; then
1549 ac_srcdir_defaulted=yes
1550 # Try the directory containing this script, then the parent directory.
1551 ac_confdir=`$as_dirname -- "$as_myself" ||
1552$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1553 X"$as_myself" : 'X\(//\)[^/]' \| \
1554 X"$as_myself" : 'X\(//\)$' \| \
1555 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1556$as_echo X"$as_myself" |
1557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1558 s//\1/
1559 q
1560 }
1561 /^X\(\/\/\)[^/].*/{
1562 s//\1/
1563 q
1564 }
1565 /^X\(\/\/\)$/{
1566 s//\1/
1567 q
1568 }
1569 /^X\(\/\).*/{
1570 s//\1/
1571 q
1572 }
1573 s/.*/./; q'`
1574 srcdir=$ac_confdir
1575 if test ! -r "$srcdir/$ac_unique_file"; then
1576 srcdir=..
1577 fi
1578else
1579 ac_srcdir_defaulted=no
1580fi
1581if test ! -r "$srcdir/$ac_unique_file"; then
1582 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1583 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1584fi
1585ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1586ac_abs_confdir=`(
1587 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1588 pwd)`
1589# When building in place, set srcdir=.
1590if test "$ac_abs_confdir" = "$ac_pwd"; then
1591 srcdir=.
1592fi
1593# Remove unnecessary trailing slashes from srcdir.
1594# Double slashes in file names in object file debugging info
1595# mess up M-x gdb in Emacs.
1596case $srcdir in
1597*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1598esac
1599for ac_var in $ac_precious_vars; do
1600 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1601 eval ac_env_${ac_var}_value=\$${ac_var}
1602 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1603 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1604done
1605
1606#
1607# Report the --help message.
1608#
1609if test "$ac_init_help" = "long"; then
1610 # Omit some internal or obsolete options to make the list less imposing.
1611 # This message is too long to be a string in the A/UX 3.1 sh.
1612 cat <<_ACEOF
1613\`configure' configures elementary 1.0.0-beta to adapt to many kinds of systems.
1614
1615Usage: $0 [OPTION]... [VAR=VALUE]...
1616
1617To assign environment variables (e.g., CC, CFLAGS...), specify them as
1618VAR=VALUE. See below for descriptions of some of the useful variables.
1619
1620Defaults for the options are specified in brackets.
1621
1622Configuration:
1623 -h, --help display this help and exit
1624 --help=short display options specific to this package
1625 --help=recursive display the short help of all the included packages
1626 -V, --version display version information and exit
1627 -q, --quiet, --silent do not print \`checking ...' messages
1628 --cache-file=FILE cache test results in FILE [disabled]
1629 -C, --config-cache alias for \`--cache-file=config.cache'
1630 -n, --no-create do not create output files
1631 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1632
1633Installation directories:
1634 --prefix=PREFIX install architecture-independent files in PREFIX
1635 [$ac_default_prefix]
1636 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1637 [PREFIX]
1638
1639By default, \`make install' will install all the files in
1640\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1641an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1642for instance \`--prefix=\$HOME'.
1643
1644For better control, use the options below.
1645
1646Fine tuning of the installation directories:
1647 --bindir=DIR user executables [EPREFIX/bin]
1648 --sbindir=DIR system admin executables [EPREFIX/sbin]
1649 --libexecdir=DIR program executables [EPREFIX/libexec]
1650 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1651 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1652 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1653 --libdir=DIR object code libraries [EPREFIX/lib]
1654 --includedir=DIR C header files [PREFIX/include]
1655 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1656 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1657 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1658 --infodir=DIR info documentation [DATAROOTDIR/info]
1659 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1660 --mandir=DIR man documentation [DATAROOTDIR/man]
1661 --docdir=DIR documentation root [DATAROOTDIR/doc/elementary]
1662 --htmldir=DIR html documentation [DOCDIR]
1663 --dvidir=DIR dvi documentation [DOCDIR]
1664 --pdfdir=DIR pdf documentation [DOCDIR]
1665 --psdir=DIR ps documentation [DOCDIR]
1666_ACEOF
1667
1668 cat <<\_ACEOF
1669
1670Program names:
1671 --program-prefix=PREFIX prepend PREFIX to installed program names
1672 --program-suffix=SUFFIX append SUFFIX to installed program names
1673 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1674
1675System types:
1676 --build=BUILD configure for building on BUILD [guessed]
1677 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1678_ACEOF
1679fi
1680
1681if test -n "$ac_init_help"; then
1682 case $ac_init_help in
1683 short | recursive ) echo "Configuration of elementary 1.0.0-beta:";;
1684 esac
1685 cat <<\_ACEOF
1686
1687Optional Features:
1688 --disable-option-checking ignore unrecognized --enable/--with options
1689 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1690 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1691 --enable-silent-rules less verbose build output (undo: `make V=1')
1692 --disable-silent-rules verbose build output (undo: `make V=0')
1693 --disable-dependency-tracking speeds up one-time build
1694 --enable-dependency-tracking do not reject slow dependency extractors
1695 --enable-shared[=PKGS] build shared libraries [default=yes]
1696 --enable-static[=PKGS] build static libraries [default=yes]
1697 --enable-fast-install[=PKGS]
1698 optimize for fast installation [default=yes]
1699 --disable-libtool-lock avoid locking (might break parallel builds)
1700 --disable-quick-launch disable quick-launch support, [default=detect]
1701 --disable-emotion disable emotion support. [default=enabled]
1702 --disable-ecore-x disable ecore-x support. [default=detect]
1703 --disable-ecore-fb disable ecore-fb support. [default=detect]
1704 --disable-ecore-psl1ght disable ecore-psl1ght support. [default=detect]
1705 --disable-ecore-sdl disable ecore-sdl support. [default=detect]
1706 --disable-ecore-cocoa disable ecore-cocoa support. [default=detect]
1707 --disable-ecore-win32 disable ecore-win32 support. [default=detect]
1708 --disable-ecore-wince disable ecore-wince support. [default=detect]
1709 --disable-edbus disable edbus support. [default=detect]
1710 --disable-efreet disable efreet support. [default=detect]
1711 --disable-eweather disable eweather support. [default=detect]
1712 --disable-emap disable emap support. [default=detect]
1713 --disable-ethumb disable ethumb support. [default=detect]
1714 --disable-web disable web (WebKit) support. [default=detect]
1715 --enable-debug enable elementary debug support. [default=disabled]
1716 --disable-doc Disable documentation build [default=enabled]
1717 --disable-elementary-test
1718 disable building of elementary_test
1719 --disable-elementary-config
1720 disable building of elementary_config
1721 --disable-nls do not use Native Language Support
1722 --disable-rpath do not hardcode runtime library paths
1723 --enable-build-examples enable building examples [default=disabled]
1724 --enable-install-examples
1725 enable installing example source files
1726 [default=disabled]
1727
1728Optional Packages:
1729 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1730 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1731 --with-pic try to use only PIC/non-PIC objects [default=use
1732 both]
1733 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1734 --with-eet-eet=PATH specify a specific path to eet_eet [default=eet]
1735 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1736 --with-doxygen=FILE doxygen program to use [default=doxygen]
1737 --with-gnu-ld assume the C compiler uses GNU ld default=no
1738 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1739 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1740 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1741 --without-libintl-prefix don't search for libintl in includedir and libdir
1742 --with-elementary-base-dir=PATH
1743 specify the subdirectory for all elementary data
1744 [default=${elementary_base_dir}]
1745
1746Some influential environment variables:
1747 CC C compiler command
1748 CFLAGS C compiler flags
1749 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1750 nonstandard directory <lib dir>
1751 LIBS libraries to pass to the linker, e.g. -l<library>
1752 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1753 you have headers in a nonstandard directory <include dir>
1754 CPP C preprocessor
1755 PKG_CONFIG path to pkg-config utility
1756 PKG_CONFIG_PATH
1757 directories to add to pkg-config's search path
1758 PKG_CONFIG_LIBDIR
1759 path overriding pkg-config's built-in search path
1760 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1761 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1762 ELEMENTARY_CFLAGS
1763 C compiler flags for ELEMENTARY, overriding pkg-config
1764 ELEMENTARY_LIBS
1765 linker flags for ELEMENTARY, overriding pkg-config
1766 ELEMENTARY_ECORE_IMF_CFLAGS
1767 C compiler flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1768 ELEMENTARY_ECORE_IMF_LIBS
1769 linker flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1770 ELEMENTARY_ECORE_CON_CFLAGS
1771 C compiler flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1772 ELEMENTARY_ECORE_CON_LIBS
1773 linker flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1774 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1775 EIO_LIBS linker flags for EIO, overriding pkg-config
1776 EMOTION_CFLAGS
1777 C compiler flags for EMOTION, overriding pkg-config
1778 EMOTION_LIBS
1779 linker flags for EMOTION, overriding pkg-config
1780 ELEMENTARY_X_CFLAGS
1781 C compiler flags for ELEMENTARY_X, overriding pkg-config
1782 ELEMENTARY_X_LIBS
1783 linker flags for ELEMENTARY_X, overriding pkg-config
1784 ELEMENTARY_FB_CFLAGS
1785 C compiler flags for ELEMENTARY_FB, overriding pkg-config
1786 ELEMENTARY_FB_LIBS
1787 linker flags for ELEMENTARY_FB, overriding pkg-config
1788 ELEMENTARY_PSL1GHT_CFLAGS
1789 C compiler flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1790 ELEMENTARY_PSL1GHT_LIBS
1791 linker flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1792 ELEMENTARY_SDL_CFLAGS
1793 C compiler flags for ELEMENTARY_SDL, overriding pkg-config
1794 ELEMENTARY_SDL_LIBS
1795 linker flags for ELEMENTARY_SDL, overriding pkg-config
1796 ELEMENTARY_COCOA_CFLAGS
1797 C compiler flags for ELEMENTARY_COCOA, overriding pkg-config
1798 ELEMENTARY_COCOA_LIBS
1799 linker flags for ELEMENTARY_COCOA, overriding pkg-config
1800 ELEMENTARY_WIN32_CFLAGS
1801 C compiler flags for ELEMENTARY_WIN32, overriding pkg-config
1802 ELEMENTARY_WIN32_LIBS
1803 linker flags for ELEMENTARY_WIN32, overriding pkg-config
1804 ELEMENTARY_WINCE_CFLAGS
1805 C compiler flags for ELEMENTARY_WINCE, overriding pkg-config
1806 ELEMENTARY_WINCE_LIBS
1807 linker flags for ELEMENTARY_WINCE, overriding pkg-config
1808 ELEMENTARY_EDBUS_CFLAGS
1809 C compiler flags for ELEMENTARY_EDBUS, overriding pkg-config
1810 ELEMENTARY_EDBUS_LIBS
1811 linker flags for ELEMENTARY_EDBUS, overriding pkg-config
1812 ELEMENTARY_EFREET_CFLAGS
1813 C compiler flags for ELEMENTARY_EFREET, overriding pkg-config
1814 ELEMENTARY_EFREET_LIBS
1815 linker flags for ELEMENTARY_EFREET, overriding pkg-config
1816 ELEMENTARY_EWEATHER_CFLAGS
1817 C compiler flags for ELEMENTARY_EWEATHER, overriding pkg-config
1818 ELEMENTARY_EWEATHER_LIBS
1819 linker flags for ELEMENTARY_EWEATHER, overriding pkg-config
1820 ELEMENTARY_EMAP_CFLAGS
1821 C compiler flags for ELEMENTARY_EMAP, overriding pkg-config
1822 ELEMENTARY_EMAP_LIBS
1823 linker flags for ELEMENTARY_EMAP, overriding pkg-config
1824 ELEMENTARY_ETHUMB_CFLAGS
1825 C compiler flags for ELEMENTARY_ETHUMB, overriding pkg-config
1826 ELEMENTARY_ETHUMB_LIBS
1827 linker flags for ELEMENTARY_ETHUMB, overriding pkg-config
1828 ELEMENTARY_WEB_CFLAGS
1829 C compiler flags for ELEMENTARY_WEB, overriding pkg-config
1830 ELEMENTARY_WEB_LIBS
1831 linker flags for ELEMENTARY_WEB, overriding pkg-config
1832
1833Use these variables to override the choices made by `configure' or to help
1834it to find libraries and programs with nonstandard names/locations.
1835
1836Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1837_ACEOF
1838ac_status=$?
1839fi
1840
1841if test "$ac_init_help" = "recursive"; then
1842 # If there are subdirs, report their specific --help.
1843 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1844 test -d "$ac_dir" ||
1845 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1846 continue
1847 ac_builddir=.
1848
1849case "$ac_dir" in
1850.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1851*)
1852 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1853 # A ".." for each directory in $ac_dir_suffix.
1854 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1855 case $ac_top_builddir_sub in
1856 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1857 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1858 esac ;;
1859esac
1860ac_abs_top_builddir=$ac_pwd
1861ac_abs_builddir=$ac_pwd$ac_dir_suffix
1862# for backward compatibility:
1863ac_top_builddir=$ac_top_build_prefix
1864
1865case $srcdir in
1866 .) # We are building in place.
1867 ac_srcdir=.
1868 ac_top_srcdir=$ac_top_builddir_sub
1869 ac_abs_top_srcdir=$ac_pwd ;;
1870 [\\/]* | ?:[\\/]* ) # Absolute name.
1871 ac_srcdir=$srcdir$ac_dir_suffix;
1872 ac_top_srcdir=$srcdir
1873 ac_abs_top_srcdir=$srcdir ;;
1874 *) # Relative name.
1875 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1876 ac_top_srcdir=$ac_top_build_prefix$srcdir
1877 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1878esac
1879ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1880
1881 cd "$ac_dir" || { ac_status=$?; continue; }
1882 # Check for guested configure.
1883 if test -f "$ac_srcdir/configure.gnu"; then
1884 echo &&
1885 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1886 elif test -f "$ac_srcdir/configure"; then
1887 echo &&
1888 $SHELL "$ac_srcdir/configure" --help=recursive
1889 else
1890 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1891 fi || ac_status=$?
1892 cd "$ac_pwd" || { ac_status=$?; break; }
1893 done
1894fi
1895
1896test -n "$ac_init_help" && exit $ac_status
1897if $ac_init_version; then
1898 cat <<\_ACEOF
1899elementary configure 1.0.0-beta
1900generated by GNU Autoconf 2.67
1901
1902Copyright (C) 2010 Free Software Foundation, Inc.
1903This configure script is free software; the Free Software Foundation
1904gives unlimited permission to copy, distribute and modify it.
1905_ACEOF
1906 exit
1907fi
1908
1909## ------------------------ ##
1910## Autoconf initialization. ##
1911## ------------------------ ##
1912
1913# ac_fn_c_try_compile LINENO
1914# --------------------------
1915# Try to compile conftest.$ac_ext, and return whether this succeeded.
1916ac_fn_c_try_compile ()
1917{
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 rm -f conftest.$ac_objext
1920 if { { ac_try="$ac_compile"
1921case "(($ac_try" in
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1924esac
1925eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926$as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_compile") 2>conftest.err
1928 ac_status=$?
1929 if test -s conftest.err; then
1930 grep -v '^ *+' conftest.err >conftest.er1
1931 cat conftest.er1 >&5
1932 mv -f conftest.er1 conftest.err
1933 fi
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && {
1936 test -z "$ac_c_werror_flag" ||
1937 test ! -s conftest.err
1938 } && test -s conftest.$ac_objext; then :
1939 ac_retval=0
1940else
1941 $as_echo "$as_me: failed program was:" >&5
1942sed 's/^/| /' conftest.$ac_ext >&5
1943
1944 ac_retval=1
1945fi
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947 as_fn_set_status $ac_retval
1948
1949} # ac_fn_c_try_compile
1950
1951# ac_fn_c_try_cpp LINENO
1952# ----------------------
1953# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1954ac_fn_c_try_cpp ()
1955{
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 if { { ac_try="$ac_cpp conftest.$ac_ext"
1958case "(($ac_try" in
1959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1960 *) ac_try_echo=$ac_try;;
1961esac
1962eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963$as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1965 ac_status=$?
1966 if test -s conftest.err; then
1967 grep -v '^ *+' conftest.err >conftest.er1
1968 cat conftest.er1 >&5
1969 mv -f conftest.er1 conftest.err
1970 fi
1971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972 test $ac_status = 0; } > conftest.i && {
1973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1974 test ! -s conftest.err
1975 }; then :
1976 ac_retval=0
1977else
1978 $as_echo "$as_me: failed program was:" >&5
1979sed 's/^/| /' conftest.$ac_ext >&5
1980
1981 ac_retval=1
1982fi
1983 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984 as_fn_set_status $ac_retval
1985
1986} # ac_fn_c_try_cpp
1987
1988# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989# -------------------------------------------------------
1990# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991# the include files in INCLUDES and setting the cache variable VAR
1992# accordingly.
1993ac_fn_c_check_header_mongrel ()
1994{
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 if eval "test \"\${$3+set}\"" = set; then :
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998$as_echo_n "checking for $2... " >&6; }
1999if eval "test \"\${$3+set}\"" = set; then :
2000 $as_echo_n "(cached) " >&6
2001fi
2002eval ac_res=\$$3
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004$as_echo "$ac_res" >&6; }
2005else
2006 # Is the header compilable?
2007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008$as_echo_n "checking $2 usability... " >&6; }
2009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010/* end confdefs.h. */
2011$4
2012#include <$2>
2013_ACEOF
2014if ac_fn_c_try_compile "$LINENO"; then :
2015 ac_header_compiler=yes
2016else
2017 ac_header_compiler=no
2018fi
2019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021$as_echo "$ac_header_compiler" >&6; }
2022
2023# Is the header present?
2024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025$as_echo_n "checking $2 presence... " >&6; }
2026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027/* end confdefs.h. */
2028#include <$2>
2029_ACEOF
2030if ac_fn_c_try_cpp "$LINENO"; then :
2031 ac_header_preproc=yes
2032else
2033 ac_header_preproc=no
2034fi
2035rm -f conftest.err conftest.i conftest.$ac_ext
2036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037$as_echo "$ac_header_preproc" >&6; }
2038
2039# So? What about this header?
2040case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2041 yes:no: )
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046 ;;
2047 no:yes:* )
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2051$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2055$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058( $as_echo "## -------------------------------------------------------- ##
2059## Report this to enlightenment-devel@lists.sourceforge.net ##
2060## -------------------------------------------------------- ##"
2061 ) | sed "s/^/$as_me: WARNING: /" >&2
2062 ;;
2063esac
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065$as_echo_n "checking for $2... " >&6; }
2066if eval "test \"\${$3+set}\"" = set; then :
2067 $as_echo_n "(cached) " >&6
2068else
2069 eval "$3=\$ac_header_compiler"
2070fi
2071eval ac_res=\$$3
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073$as_echo "$ac_res" >&6; }
2074fi
2075 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2076
2077} # ac_fn_c_check_header_mongrel
2078
2079# ac_fn_c_try_run LINENO
2080# ----------------------
2081# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2082# that executables *can* be run.
2083ac_fn_c_try_run ()
2084{
2085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086 if { { ac_try="$ac_link"
2087case "(($ac_try" in
2088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2089 *) ac_try_echo=$ac_try;;
2090esac
2091eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092$as_echo "$ac_try_echo"; } >&5
2093 (eval "$ac_link") 2>&5
2094 ac_status=$?
2095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2096 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2097 { { case "(($ac_try" in
2098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2099 *) ac_try_echo=$ac_try;;
2100esac
2101eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2102$as_echo "$ac_try_echo"; } >&5
2103 (eval "$ac_try") 2>&5
2104 ac_status=$?
2105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106 test $ac_status = 0; }; }; then :
2107 ac_retval=0
2108else
2109 $as_echo "$as_me: program exited with status $ac_status" >&5
2110 $as_echo "$as_me: failed program was:" >&5
2111sed 's/^/| /' conftest.$ac_ext >&5
2112
2113 ac_retval=$ac_status
2114fi
2115 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2116 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2117 as_fn_set_status $ac_retval
2118
2119} # ac_fn_c_try_run
2120
2121# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2122# -------------------------------------------------------
2123# Tests whether HEADER exists and can be compiled using the include files in
2124# INCLUDES, setting the cache variable VAR accordingly.
2125ac_fn_c_check_header_compile ()
2126{
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129$as_echo_n "checking for $2... " >&6; }
2130if eval "test \"\${$3+set}\"" = set; then :
2131 $as_echo_n "(cached) " >&6
2132else
2133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2134/* end confdefs.h. */
2135$4
2136#include <$2>
2137_ACEOF
2138if ac_fn_c_try_compile "$LINENO"; then :
2139 eval "$3=yes"
2140else
2141 eval "$3=no"
2142fi
2143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2144fi
2145eval ac_res=\$$3
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147$as_echo "$ac_res" >&6; }
2148 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2149
2150} # ac_fn_c_check_header_compile
2151
2152# ac_fn_c_try_link LINENO
2153# -----------------------
2154# Try to link conftest.$ac_ext, and return whether this succeeded.
2155ac_fn_c_try_link ()
2156{
2157 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2158 rm -f conftest.$ac_objext conftest$ac_exeext
2159 if { { ac_try="$ac_link"
2160case "(($ac_try" in
2161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2162 *) ac_try_echo=$ac_try;;
2163esac
2164eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2165$as_echo "$ac_try_echo"; } >&5
2166 (eval "$ac_link") 2>conftest.err
2167 ac_status=$?
2168 if test -s conftest.err; then
2169 grep -v '^ *+' conftest.err >conftest.er1
2170 cat conftest.er1 >&5
2171 mv -f conftest.er1 conftest.err
2172 fi
2173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2174 test $ac_status = 0; } && {
2175 test -z "$ac_c_werror_flag" ||
2176 test ! -s conftest.err
2177 } && test -s conftest$ac_exeext && {
2178 test "$cross_compiling" = yes ||
2179 $as_test_x conftest$ac_exeext
2180 }; then :
2181 ac_retval=0
2182else
2183 $as_echo "$as_me: failed program was:" >&5
2184sed 's/^/| /' conftest.$ac_ext >&5
2185
2186 ac_retval=1
2187fi
2188 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2189 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2190 # interfere with the next link command; also delete a directory that is
2191 # left behind by Apple's compiler. We do this before executing the actions.
2192 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194 as_fn_set_status $ac_retval
2195
2196} # ac_fn_c_try_link
2197
2198# ac_fn_c_check_func LINENO FUNC VAR
2199# ----------------------------------
2200# Tests whether FUNC exists, setting the cache variable VAR accordingly
2201ac_fn_c_check_func ()
2202{
2203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205$as_echo_n "checking for $2... " >&6; }
2206if eval "test \"\${$3+set}\"" = set; then :
2207 $as_echo_n "(cached) " >&6
2208else
2209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210/* end confdefs.h. */
2211/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2213#define $2 innocuous_$2
2214
2215/* System header to define __stub macros and hopefully few prototypes,
2216 which can conflict with char $2 (); below.
2217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2218 <limits.h> exists even on freestanding compilers. */
2219
2220#ifdef __STDC__
2221# include <limits.h>
2222#else
2223# include <assert.h>
2224#endif
2225
2226#undef $2
2227
2228/* Override any GCC internal prototype to avoid an error.
2229 Use char because int might match the return type of a GCC
2230 builtin and then its argument prototype would still apply. */
2231#ifdef __cplusplus
2232extern "C"
2233#endif
2234char $2 ();
2235/* The GNU C library defines this for functions which it implements
2236 to always fail with ENOSYS. Some functions are actually named
2237 something starting with __ and the normal name is an alias. */
2238#if defined __stub_$2 || defined __stub___$2
2239choke me
2240#endif
2241
2242int
2243main ()
2244{
2245return $2 ();
2246 ;
2247 return 0;
2248}
2249_ACEOF
2250if ac_fn_c_try_link "$LINENO"; then :
2251 eval "$3=yes"
2252else
2253 eval "$3=no"
2254fi
2255rm -f core conftest.err conftest.$ac_objext \
2256 conftest$ac_exeext conftest.$ac_ext
2257fi
2258eval ac_res=\$$3
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2260$as_echo "$ac_res" >&6; }
2261 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2262
2263} # ac_fn_c_check_func
2264cat >config.log <<_ACEOF
2265This file contains any messages produced by compilers while
2266running configure, to aid debugging if configure makes a mistake.
2267
2268It was created by elementary $as_me 1.0.0-beta, which was
2269generated by GNU Autoconf 2.67. Invocation command line was
2270
2271 $ $0 $@
2272
2273_ACEOF
2274exec 5>>config.log
2275{
2276cat <<_ASUNAME
2277## --------- ##
2278## Platform. ##
2279## --------- ##
2280
2281hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2282uname -m = `(uname -m) 2>/dev/null || echo unknown`
2283uname -r = `(uname -r) 2>/dev/null || echo unknown`
2284uname -s = `(uname -s) 2>/dev/null || echo unknown`
2285uname -v = `(uname -v) 2>/dev/null || echo unknown`
2286
2287/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2288/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2289
2290/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2291/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2292/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2293/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2294/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2295/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2296/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2297
2298_ASUNAME
2299
2300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301for as_dir in $PATH
2302do
2303 IFS=$as_save_IFS
2304 test -z "$as_dir" && as_dir=.
2305 $as_echo "PATH: $as_dir"
2306 done
2307IFS=$as_save_IFS
2308
2309} >&5
2310
2311cat >&5 <<_ACEOF
2312
2313
2314## ----------- ##
2315## Core tests. ##
2316## ----------- ##
2317
2318_ACEOF
2319
2320
2321# Keep a trace of the command line.
2322# Strip out --no-create and --no-recursion so they do not pile up.
2323# Strip out --silent because we don't want to record it for future runs.
2324# Also quote any args containing shell meta-characters.
2325# Make two passes to allow for proper duplicate-argument suppression.
2326ac_configure_args=
2327ac_configure_args0=
2328ac_configure_args1=
2329ac_must_keep_next=false
2330for ac_pass in 1 2
2331do
2332 for ac_arg
2333 do
2334 case $ac_arg in
2335 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2336 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2337 | -silent | --silent | --silen | --sile | --sil)
2338 continue ;;
2339 *\'*)
2340 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2341 esac
2342 case $ac_pass in
2343 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2344 2)
2345 as_fn_append ac_configure_args1 " '$ac_arg'"
2346 if test $ac_must_keep_next = true; then
2347 ac_must_keep_next=false # Got value, back to normal.
2348 else
2349 case $ac_arg in
2350 *=* | --config-cache | -C | -disable-* | --disable-* \
2351 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2352 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2353 | -with-* | --with-* | -without-* | --without-* | --x)
2354 case "$ac_configure_args0 " in
2355 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2356 esac
2357 ;;
2358 -* ) ac_must_keep_next=true ;;
2359 esac
2360 fi
2361 as_fn_append ac_configure_args " '$ac_arg'"
2362 ;;
2363 esac
2364 done
2365done
2366{ ac_configure_args0=; unset ac_configure_args0;}
2367{ ac_configure_args1=; unset ac_configure_args1;}
2368
2369# When interrupted or exit'd, cleanup temporary files, and complete
2370# config.log. We remove comments because anyway the quotes in there
2371# would cause problems or look ugly.
2372# WARNING: Use '\'' to represent an apostrophe within the trap.
2373# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2374trap 'exit_status=$?
2375 # Save into config.log some information that might help in debugging.
2376 {
2377 echo
2378
2379 $as_echo "## ---------------- ##
2380## Cache variables. ##
2381## ---------------- ##"
2382 echo
2383 # The following way of writing the cache mishandles newlines in values,
2384(
2385 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2386 eval ac_val=\$$ac_var
2387 case $ac_val in #(
2388 *${as_nl}*)
2389 case $ac_var in #(
2390 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2391$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2392 esac
2393 case $ac_var in #(
2394 _ | IFS | as_nl) ;; #(
2395 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2396 *) { eval $ac_var=; unset $ac_var;} ;;
2397 esac ;;
2398 esac
2399 done
2400 (set) 2>&1 |
2401 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2402 *${as_nl}ac_space=\ *)
2403 sed -n \
2404 "s/'\''/'\''\\\\'\'''\''/g;
2405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2406 ;; #(
2407 *)
2408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2409 ;;
2410 esac |
2411 sort
2412)
2413 echo
2414
2415 $as_echo "## ----------------- ##
2416## Output variables. ##
2417## ----------------- ##"
2418 echo
2419 for ac_var in $ac_subst_vars
2420 do
2421 eval ac_val=\$$ac_var
2422 case $ac_val in
2423 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2424 esac
2425 $as_echo "$ac_var='\''$ac_val'\''"
2426 done | sort
2427 echo
2428
2429 if test -n "$ac_subst_files"; then
2430 $as_echo "## ------------------- ##
2431## File substitutions. ##
2432## ------------------- ##"
2433 echo
2434 for ac_var in $ac_subst_files
2435 do
2436 eval ac_val=\$$ac_var
2437 case $ac_val in
2438 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2439 esac
2440 $as_echo "$ac_var='\''$ac_val'\''"
2441 done | sort
2442 echo
2443 fi
2444
2445 if test -s confdefs.h; then
2446 $as_echo "## ----------- ##
2447## confdefs.h. ##
2448## ----------- ##"
2449 echo
2450 cat confdefs.h
2451 echo
2452 fi
2453 test "$ac_signal" != 0 &&
2454 $as_echo "$as_me: caught signal $ac_signal"
2455 $as_echo "$as_me: exit $exit_status"
2456 } >&5
2457 rm -f core *.core core.conftest.* &&
2458 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2459 exit $exit_status
2460' 0
2461for ac_signal in 1 2 13 15; do
2462 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2463done
2464ac_signal=0
2465
2466# confdefs.h avoids OS command line length limits that DEFS can exceed.
2467rm -f -r conftest* confdefs.h
2468
2469$as_echo "/* confdefs.h */" > confdefs.h
2470
2471# Predefined preprocessor variables.
2472
2473cat >>confdefs.h <<_ACEOF
2474#define PACKAGE_NAME "$PACKAGE_NAME"
2475_ACEOF
2476
2477cat >>confdefs.h <<_ACEOF
2478#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2479_ACEOF
2480
2481cat >>confdefs.h <<_ACEOF
2482#define PACKAGE_VERSION "$PACKAGE_VERSION"
2483_ACEOF
2484
2485cat >>confdefs.h <<_ACEOF
2486#define PACKAGE_STRING "$PACKAGE_STRING"
2487_ACEOF
2488
2489cat >>confdefs.h <<_ACEOF
2490#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2491_ACEOF
2492
2493cat >>confdefs.h <<_ACEOF
2494#define PACKAGE_URL "$PACKAGE_URL"
2495_ACEOF
2496
2497
2498# Let the site file select an alternate cache file if it wants to.
2499# Prefer an explicitly selected file to automatically selected ones.
2500ac_site_file1=NONE
2501ac_site_file2=NONE
2502if test -n "$CONFIG_SITE"; then
2503 # We do not want a PATH search for config.site.
2504 case $CONFIG_SITE in #((
2505 -*) ac_site_file1=./$CONFIG_SITE;;
2506 */*) ac_site_file1=$CONFIG_SITE;;
2507 *) ac_site_file1=./$CONFIG_SITE;;
2508 esac
2509elif test "x$prefix" != xNONE; then
2510 ac_site_file1=$prefix/share/config.site
2511 ac_site_file2=$prefix/etc/config.site
2512else
2513 ac_site_file1=$ac_default_prefix/share/config.site
2514 ac_site_file2=$ac_default_prefix/etc/config.site
2515fi
2516for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2517do
2518 test "x$ac_site_file" = xNONE && continue
2519 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2521$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2522 sed 's/^/| /' "$ac_site_file" >&5
2523 . "$ac_site_file" \
2524 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2526as_fn_error $? "failed to load site script $ac_site_file
2527See \`config.log' for more details" "$LINENO" 5 ; }
2528 fi
2529done
2530
2531if test -r "$cache_file"; then
2532 # Some versions of bash will fail to source /dev/null (special files
2533 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2534 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2536$as_echo "$as_me: loading cache $cache_file" >&6;}
2537 case $cache_file in
2538 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2539 *) . "./$cache_file";;
2540 esac
2541 fi
2542else
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2544$as_echo "$as_me: creating cache $cache_file" >&6;}
2545 >$cache_file
2546fi
2547
2548gt_needs="$gt_needs "
2549# Check that the precious variables saved in the cache have kept the same
2550# value.
2551ac_cache_corrupted=false
2552for ac_var in $ac_precious_vars; do
2553 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2554 eval ac_new_set=\$ac_env_${ac_var}_set
2555 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2556 eval ac_new_val=\$ac_env_${ac_var}_value
2557 case $ac_old_set,$ac_new_set in
2558 set,)
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2560$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2561 ac_cache_corrupted=: ;;
2562 ,set)
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2564$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2565 ac_cache_corrupted=: ;;
2566 ,);;
2567 *)
2568 if test "x$ac_old_val" != "x$ac_new_val"; then
2569 # differences in whitespace do not lead to failure.
2570 ac_old_val_w=`echo x $ac_old_val`
2571 ac_new_val_w=`echo x $ac_new_val`
2572 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2574$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2575 ac_cache_corrupted=:
2576 else
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2578$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2579 eval $ac_var=\$ac_old_val
2580 fi
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2582$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2584$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2585 fi;;
2586 esac
2587 # Pass precious variables to config.status.
2588 if test "$ac_new_set" = set; then
2589 case $ac_new_val in
2590 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2591 *) ac_arg=$ac_var=$ac_new_val ;;
2592 esac
2593 case " $ac_configure_args " in
2594 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2595 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2596 esac
2597 fi
2598done
2599if $ac_cache_corrupted; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2603$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2604 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2605fi
2606## -------------------- ##
2607## Main body of script. ##
2608## -------------------- ##
2609
2610ac_ext=c
2611ac_cpp='$CPP $CPPFLAGS'
2612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2614ac_compiler_gnu=$ac_cv_c_compiler_gnu
2615
2616
2617
2618
2619
2620ac_aux_dir=
2621for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2622 if test -f "$ac_dir/install-sh"; then
2623 ac_aux_dir=$ac_dir
2624 ac_install_sh="$ac_aux_dir/install-sh -c"
2625 break
2626 elif test -f "$ac_dir/install.sh"; then
2627 ac_aux_dir=$ac_dir
2628 ac_install_sh="$ac_aux_dir/install.sh -c"
2629 break
2630 elif test -f "$ac_dir/shtool"; then
2631 ac_aux_dir=$ac_dir
2632 ac_install_sh="$ac_aux_dir/shtool install -c"
2633 break
2634 fi
2635done
2636if test -z "$ac_aux_dir"; then
2637 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2638fi
2639
2640# These three variables are undocumented and unsupported,
2641# and are intended to be withdrawn in a future Autoconf release.
2642# They can cause serious problems if a builder's source tree is in a directory
2643# whose full name contains unusual characters.
2644ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2645ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2646ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2647
2648
2649# Make sure we can run config.sub.
2650$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2651 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2652
2653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2654$as_echo_n "checking build system type... " >&6; }
2655if test "${ac_cv_build+set}" = set; then :
2656 $as_echo_n "(cached) " >&6
2657else
2658 ac_build_alias=$build_alias
2659test "x$ac_build_alias" = x &&
2660 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2661test "x$ac_build_alias" = x &&
2662 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2663ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2664 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2665
2666fi
2667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2668$as_echo "$ac_cv_build" >&6; }
2669case $ac_cv_build in
2670*-*-*) ;;
2671*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2672esac
2673build=$ac_cv_build
2674ac_save_IFS=$IFS; IFS='-'
2675set x $ac_cv_build
2676shift
2677build_cpu=$1
2678build_vendor=$2
2679shift; shift
2680# Remember, the first character of IFS is used to create $*,
2681# except with old shells:
2682build_os=$*
2683IFS=$ac_save_IFS
2684case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2685
2686
2687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2688$as_echo_n "checking host system type... " >&6; }
2689if test "${ac_cv_host+set}" = set; then :
2690 $as_echo_n "(cached) " >&6
2691else
2692 if test "x$host_alias" = x; then
2693 ac_cv_host=$ac_cv_build
2694else
2695 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2696 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2697fi
2698
2699fi
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2701$as_echo "$ac_cv_host" >&6; }
2702case $ac_cv_host in
2703*-*-*) ;;
2704*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2705esac
2706host=$ac_cv_host
2707ac_save_IFS=$IFS; IFS='-'
2708set x $ac_cv_host
2709shift
2710host_cpu=$1
2711host_vendor=$2
2712shift; shift
2713# Remember, the first character of IFS is used to create $*,
2714# except with old shells:
2715host_os=$*
2716IFS=$ac_save_IFS
2717case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2718
2719
2720
2721ac_config_headers="$ac_config_headers elementary_config.h"
2722
2723
2724
2725
2726am__api_version='1.11'
2727
2728# Find a good install program. We prefer a C program (faster),
2729# so one script is as good as another. But avoid the broken or
2730# incompatible versions:
2731# SysV /etc/install, /usr/sbin/install
2732# SunOS /usr/etc/install
2733# IRIX /sbin/install
2734# AIX /bin/install
2735# AmigaOS /C/install, which installs bootblocks on floppy discs
2736# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2737# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2738# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2739# OS/2's system install, which has a completely different semantic
2740# ./install, which can be erroneously created by make from ./install.sh.
2741# Reject install programs that cannot install multiple files.
2742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2743$as_echo_n "checking for a BSD-compatible install... " >&6; }
2744if test -z "$INSTALL"; then
2745if test "${ac_cv_path_install+set}" = set; then :
2746 $as_echo_n "(cached) " >&6
2747else
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749for as_dir in $PATH
2750do
2751 IFS=$as_save_IFS
2752 test -z "$as_dir" && as_dir=.
2753 # Account for people who put trailing slashes in PATH elements.
2754case $as_dir/ in #((
2755 ./ | .// | /[cC]/* | \
2756 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2757 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2758 /usr/ucb/* ) ;;
2759 *)
2760 # OSF1 and SCO ODT 3.0 have their own names for install.
2761 # Don't use installbsd from OSF since it installs stuff as root
2762 # by default.
2763 for ac_prog in ginstall scoinst install; do
2764 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2766 if test $ac_prog = install &&
2767 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2768 # AIX install. It has an incompatible calling convention.
2769 :
2770 elif test $ac_prog = install &&
2771 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2772 # program-specific install script used by HP pwplus--don't use.
2773 :
2774 else
2775 rm -rf conftest.one conftest.two conftest.dir
2776 echo one > conftest.one
2777 echo two > conftest.two
2778 mkdir conftest.dir
2779 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2780 test -s conftest.one && test -s conftest.two &&
2781 test -s conftest.dir/conftest.one &&
2782 test -s conftest.dir/conftest.two
2783 then
2784 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2785 break 3
2786 fi
2787 fi
2788 fi
2789 done
2790 done
2791 ;;
2792esac
2793
2794 done
2795IFS=$as_save_IFS
2796
2797rm -rf conftest.one conftest.two conftest.dir
2798
2799fi
2800 if test "${ac_cv_path_install+set}" = set; then
2801 INSTALL=$ac_cv_path_install
2802 else
2803 # As a last resort, use the slow shell script. Don't cache a
2804 # value for INSTALL within a source directory, because that will
2805 # break other packages using the cache if that directory is
2806 # removed, or if the value is a relative name.
2807 INSTALL=$ac_install_sh
2808 fi
2809fi
2810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2811$as_echo "$INSTALL" >&6; }
2812
2813# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2814# It thinks the first close brace ends the variable substitution.
2815test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2816
2817test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2818
2819test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2820
2821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2822$as_echo_n "checking whether build environment is sane... " >&6; }
2823# Just in case
2824sleep 1
2825echo timestamp > conftest.file
2826# Reject unsafe characters in $srcdir or the absolute working directory
2827# name. Accept space and tab only in the latter.
2828am_lf='
2829'
2830case `pwd` in
2831 *[\\\"\#\$\&\'\`$am_lf]*)
2832 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2833esac
2834case $srcdir in
2835 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2836 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2837esac
2838
2839# Do `set' in a subshell so we don't clobber the current shell's
2840# arguments. Must try -L first in case configure is actually a
2841# symlink; some systems play weird games with the mod time of symlinks
2842# (eg FreeBSD returns the mod time of the symlink's containing
2843# directory).
2844if (
2845 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2846 if test "$*" = "X"; then
2847 # -L didn't work.
2848 set X `ls -t "$srcdir/configure" conftest.file`
2849 fi
2850 rm -f conftest.file
2851 if test "$*" != "X $srcdir/configure conftest.file" \
2852 && test "$*" != "X conftest.file $srcdir/configure"; then
2853
2854 # If neither matched, then we have a broken ls. This can happen
2855 # if, for instance, CONFIG_SHELL is bash and it inherits a
2856 # broken ls alias from the environment. This has actually
2857 # happened. Such a system could not be considered "sane".
2858 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2859alias in your environment" "$LINENO" 5
2860 fi
2861
2862 test "$2" = conftest.file
2863 )
2864then
2865 # Ok.
2866 :
2867else
2868 as_fn_error $? "newly created file is older than distributed files!
2869Check your system clock" "$LINENO" 5
2870fi
2871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872$as_echo "yes" >&6; }
2873test "$program_prefix" != NONE &&
2874 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2875# Use a double $ so make ignores it.
2876test "$program_suffix" != NONE &&
2877 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2878# Double any \ or $.
2879# By default was `s,x,x', remove it if useless.
2880ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2881program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2882
2883# expand $ac_aux_dir to an absolute path
2884am_aux_dir=`cd $ac_aux_dir && pwd`
2885
2886if test x"${MISSING+set}" != xset; then
2887 case $am_aux_dir in
2888 *\ * | *\ *)
2889 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2890 *)
2891 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2892 esac
2893fi
2894# Use eval to expand $SHELL
2895if eval "$MISSING --run true"; then
2896 am_missing_run="$MISSING --run "
2897else
2898 am_missing_run=
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2900$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2901fi
2902
2903if test x"${install_sh}" != xset; then
2904 case $am_aux_dir in
2905 *\ * | *\ *)
2906 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2907 *)
2908 install_sh="\${SHELL} $am_aux_dir/install-sh"
2909 esac
2910fi
2911
2912# Installed binaries are usually stripped using `strip' when the user
2913# run `make install-strip'. However `strip' might not be the right
2914# tool to use in cross-compilation environments, therefore Automake
2915# will honor the `STRIP' environment variable to overrule this program.
2916if test "$cross_compiling" != no; then
2917 if test -n "$ac_tool_prefix"; then
2918 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2919set dummy ${ac_tool_prefix}strip; ac_word=$2
2920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921$as_echo_n "checking for $ac_word... " >&6; }
2922if test "${ac_cv_prog_STRIP+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2924else
2925 if test -n "$STRIP"; then
2926 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2927else
2928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929for as_dir in $PATH
2930do
2931 IFS=$as_save_IFS
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 break 2
2938 fi
2939done
2940 done
2941IFS=$as_save_IFS
2942
2943fi
2944fi
2945STRIP=$ac_cv_prog_STRIP
2946if test -n "$STRIP"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2948$as_echo "$STRIP" >&6; }
2949else
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951$as_echo "no" >&6; }
2952fi
2953
2954
2955fi
2956if test -z "$ac_cv_prog_STRIP"; then
2957 ac_ct_STRIP=$STRIP
2958 # Extract the first word of "strip", so it can be a program name with args.
2959set dummy strip; ac_word=$2
2960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961$as_echo_n "checking for $ac_word... " >&6; }
2962if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2963 $as_echo_n "(cached) " >&6
2964else
2965 if test -n "$ac_ct_STRIP"; then
2966 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2967else
2968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969for as_dir in $PATH
2970do
2971 IFS=$as_save_IFS
2972 test -z "$as_dir" && as_dir=.
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_ac_ct_STRIP="strip"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 break 2
2978 fi
2979done
2980 done
2981IFS=$as_save_IFS
2982
2983fi
2984fi
2985ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2986if test -n "$ac_ct_STRIP"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2988$as_echo "$ac_ct_STRIP" >&6; }
2989else
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991$as_echo "no" >&6; }
2992fi
2993
2994 if test "x$ac_ct_STRIP" = x; then
2995 STRIP=":"
2996 else
2997 case $cross_compiling:$ac_tool_warned in
2998yes:)
2999{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3000$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001ac_tool_warned=yes ;;
3002esac
3003 STRIP=$ac_ct_STRIP
3004 fi
3005else
3006 STRIP="$ac_cv_prog_STRIP"
3007fi
3008
3009fi
3010INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3011
3012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3013$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3014if test -z "$MKDIR_P"; then
3015 if test "${ac_cv_path_mkdir+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3017else
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3020do
3021 IFS=$as_save_IFS
3022 test -z "$as_dir" && as_dir=.
3023 for ac_prog in mkdir gmkdir; do
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3026 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3027 'mkdir (GNU coreutils) '* | \
3028 'mkdir (coreutils) '* | \
3029 'mkdir (fileutils) '4.1*)
3030 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3031 break 3;;
3032 esac
3033 done
3034 done
3035 done
3036IFS=$as_save_IFS
3037
3038fi
3039
3040 test -d ./--version && rmdir ./--version
3041 if test "${ac_cv_path_mkdir+set}" = set; then
3042 MKDIR_P="$ac_cv_path_mkdir -p"
3043 else
3044 # As a last resort, use the slow shell script. Don't cache a
3045 # value for MKDIR_P within a source directory, because that will
3046 # break other packages using the cache if that directory is
3047 # removed, or if the value is a relative name.
3048 MKDIR_P="$ac_install_sh -d"
3049 fi
3050fi
3051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3052$as_echo "$MKDIR_P" >&6; }
3053
3054mkdir_p="$MKDIR_P"
3055case $mkdir_p in
3056 [\\/$]* | ?:[\\/]*) ;;
3057 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3058esac
3059
3060for ac_prog in gawk mawk nawk awk
3061do
3062 # Extract the first word of "$ac_prog", so it can be a program name with args.
3063set dummy $ac_prog; 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_AWK+set}" = set; then :
3067 $as_echo_n "(cached) " >&6
3068else
3069 if test -n "$AWK"; then
3070 ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"
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
3089AWK=$ac_cv_prog_AWK
3090if test -n "$AWK"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3092$as_echo "$AWK" >&6; }
3093else
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095$as_echo "no" >&6; }
3096fi
3097
3098
3099 test -n "$AWK" && break
3100done
3101
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3103$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3104set x ${MAKE-make}
3105ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3106if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3107 $as_echo_n "(cached) " >&6
3108else
3109 cat >conftest.make <<\_ACEOF
3110SHELL = /bin/sh
3111all:
3112 @echo '@@@%%%=$(MAKE)=@@@%%%'
3113_ACEOF
3114# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3115case `${MAKE-make} -f conftest.make 2>/dev/null` in
3116 *@@@%%%=?*=@@@%%%*)
3117 eval ac_cv_prog_make_${ac_make}_set=yes;;
3118 *)
3119 eval ac_cv_prog_make_${ac_make}_set=no;;
3120esac
3121rm -f conftest.make
3122fi
3123if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3125$as_echo "yes" >&6; }
3126 SET_MAKE=
3127else
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129$as_echo "no" >&6; }
3130 SET_MAKE="MAKE=${MAKE-make}"
3131fi
3132
3133rm -rf .tst 2>/dev/null
3134mkdir .tst 2>/dev/null
3135if test -d .tst; then
3136 am__leading_dot=.
3137else
3138 am__leading_dot=_
3139fi
3140rmdir .tst 2>/dev/null
3141
3142if test "`cd $srcdir && pwd`" != "`pwd`"; then
3143 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3144 # is not polluted with repeated "-I."
3145 am__isrc=' -I$(srcdir)'
3146 # test to see if srcdir already configured
3147 if test -f $srcdir/config.status; then
3148 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3149 fi
3150fi
3151
3152# test whether we have cygpath
3153if test -z "$CYGPATH_W"; then
3154 if (cygpath --version) >/dev/null 2>/dev/null; then
3155 CYGPATH_W='cygpath -w'
3156 else
3157 CYGPATH_W=echo
3158 fi
3159fi
3160
3161
3162# Define the identity of the package.
3163 PACKAGE='elementary'
3164 VERSION='1.0.0-beta'
3165
3166
3167cat >>confdefs.h <<_ACEOF
3168#define PACKAGE "$PACKAGE"
3169_ACEOF
3170
3171
3172cat >>confdefs.h <<_ACEOF
3173#define VERSION "$VERSION"
3174_ACEOF
3175
3176# Some tools Automake needs.
3177
3178ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3179
3180
3181AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3182
3183
3184AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3185
3186
3187AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3188
3189
3190MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3191
3192# We need awk for the "check" target. The system "awk" is bad on
3193# some platforms.
3194# Always define AMTAR for backward compatibility.
3195
3196AMTAR=${AMTAR-"${am_missing_run}tar"}
3197
3198am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3199
3200
3201
3202
3203
3204# Check whether --enable-silent-rules was given.
3205if test "${enable_silent_rules+set}" = set; then :
3206 enableval=$enable_silent_rules;
3207fi
3208
3209case $enable_silent_rules in
3210yes) AM_DEFAULT_VERBOSITY=0;;
3211no) AM_DEFAULT_VERBOSITY=1;;
3212*) AM_DEFAULT_VERBOSITY=0;;
3213esac
3214AM_BACKSLASH='\'
3215
3216
3217DEPDIR="${am__leading_dot}deps"
3218
3219ac_config_commands="$ac_config_commands depfiles"
3220
3221
3222am_make=${MAKE-make}
3223cat > confinc << 'END'
3224am__doit:
3225 @echo this is the am__doit target
3226.PHONY: am__doit
3227END
3228# If we don't find an include directive, just comment out the code.
3229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3230$as_echo_n "checking for style of include used by $am_make... " >&6; }
3231am__include="#"
3232am__quote=
3233_am_result=none
3234# First try GNU make style include.
3235echo "include confinc" > confmf
3236# Ignore all kinds of additional output from `make'.
3237case `$am_make -s -f confmf 2> /dev/null` in #(
3238*the\ am__doit\ target*)
3239 am__include=include
3240 am__quote=
3241 _am_result=GNU
3242 ;;
3243esac
3244# Now try BSD make style include.
3245if test "$am__include" = "#"; then
3246 echo '.include "confinc"' > confmf
3247 case `$am_make -s -f confmf 2> /dev/null` in #(
3248 *the\ am__doit\ target*)
3249 am__include=.include
3250 am__quote="\""
3251 _am_result=BSD
3252 ;;
3253 esac
3254fi
3255
3256
3257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3258$as_echo "$_am_result" >&6; }
3259rm -f confinc confmf
3260
3261# Check whether --enable-dependency-tracking was given.
3262if test "${enable_dependency_tracking+set}" = set; then :
3263 enableval=$enable_dependency_tracking;
3264fi
3265
3266if test "x$enable_dependency_tracking" != xno; then
3267 am_depcomp="$ac_aux_dir/depcomp"
3268 AMDEPBACKSLASH='\'
3269fi
3270 if test "x$enable_dependency_tracking" != xno; then
3271 AMDEP_TRUE=
3272 AMDEP_FALSE='#'
3273else
3274 AMDEP_TRUE='#'
3275 AMDEP_FALSE=
3276fi
3277
3278
3279ac_ext=c
3280ac_cpp='$CPP $CPPFLAGS'
3281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3283ac_compiler_gnu=$ac_cv_c_compiler_gnu
3284if test -n "$ac_tool_prefix"; then
3285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3286set dummy ${ac_tool_prefix}gcc; ac_word=$2
3287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288$as_echo_n "checking for $ac_word... " >&6; }
3289if test "${ac_cv_prog_CC+set}" = set; then :
3290 $as_echo_n "(cached) " >&6
3291else
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC="$CC" # Let the user override the test.
3294else
3295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296for as_dir in $PATH
3297do
3298 IFS=$as_save_IFS
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 break 2
3305 fi
3306done
3307 done
3308IFS=$as_save_IFS
3309
3310fi
3311fi
3312CC=$ac_cv_prog_CC
3313if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315$as_echo "$CC" >&6; }
3316else
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318$as_echo "no" >&6; }
3319fi
3320
3321
3322fi
3323if test -z "$ac_cv_prog_CC"; then
3324 ac_ct_CC=$CC
3325 # Extract the first word of "gcc", so it can be a program name with args.
3326set dummy gcc; ac_word=$2
3327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328$as_echo_n "checking for $ac_word... " >&6; }
3329if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3330 $as_echo_n "(cached) " >&6
3331else
3332 if test -n "$ac_ct_CC"; then
3333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3334else
3335as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336for as_dir in $PATH
3337do
3338 IFS=$as_save_IFS
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_ac_ct_CC="gcc"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 break 2
3345 fi
3346done
3347 done
3348IFS=$as_save_IFS
3349
3350fi
3351fi
3352ac_ct_CC=$ac_cv_prog_ac_ct_CC
3353if test -n "$ac_ct_CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3355$as_echo "$ac_ct_CC" >&6; }
3356else
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358$as_echo "no" >&6; }
3359fi
3360
3361 if test "x$ac_ct_CC" = x; then
3362 CC=""
3363 else
3364 case $cross_compiling:$ac_tool_warned in
3365yes:)
3366{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3367$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3368ac_tool_warned=yes ;;
3369esac
3370 CC=$ac_ct_CC
3371 fi
3372else
3373 CC="$ac_cv_prog_CC"
3374fi
3375
3376if test -z "$CC"; then
3377 if test -n "$ac_tool_prefix"; then
3378 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3379set dummy ${ac_tool_prefix}cc; ac_word=$2
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381$as_echo_n "checking for $ac_word... " >&6; }
3382if test "${ac_cv_prog_CC+set}" = set; then :
3383 $as_echo_n "(cached) " >&6
3384else
3385 if test -n "$CC"; then
3386 ac_cv_prog_CC="$CC" # Let the user override the test.
3387else
3388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389for as_dir in $PATH
3390do
3391 IFS=$as_save_IFS
3392 test -z "$as_dir" && as_dir=.
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395 ac_cv_prog_CC="${ac_tool_prefix}cc"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 break 2
3398 fi
3399done
3400 done
3401IFS=$as_save_IFS
3402
3403fi
3404fi
3405CC=$ac_cv_prog_CC
3406if test -n "$CC"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3408$as_echo "$CC" >&6; }
3409else
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411$as_echo "no" >&6; }
3412fi
3413
3414
3415 fi
3416fi
3417if test -z "$CC"; then
3418 # Extract the first word of "cc", so it can be a program name with args.
3419set dummy cc; ac_word=$2
3420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421$as_echo_n "checking for $ac_word... " >&6; }
3422if test "${ac_cv_prog_CC+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3424else
3425 if test -n "$CC"; then
3426 ac_cv_prog_CC="$CC" # Let the user override the test.
3427else
3428 ac_prog_rejected=no
3429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430for as_dir in $PATH
3431do
3432 IFS=$as_save_IFS
3433 test -z "$as_dir" && as_dir=.
3434 for ac_exec_ext in '' $ac_executable_extensions; do
3435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3436 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3437 ac_prog_rejected=yes
3438 continue
3439 fi
3440 ac_cv_prog_CC="cc"
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 break 2
3443 fi
3444done
3445 done
3446IFS=$as_save_IFS
3447
3448if test $ac_prog_rejected = yes; then
3449 # We found a bogon in the path, so make sure we never use it.
3450 set dummy $ac_cv_prog_CC
3451 shift
3452 if test $# != 0; then
3453 # We chose a different compiler from the bogus one.
3454 # However, it has the same basename, so the bogon will be chosen
3455 # first if we set CC to just the basename; use the full file name.
3456 shift
3457 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3458 fi
3459fi
3460fi
3461fi
3462CC=$ac_cv_prog_CC
3463if test -n "$CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465$as_echo "$CC" >&6; }
3466else
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468$as_echo "no" >&6; }
3469fi
3470
3471
3472fi
3473if test -z "$CC"; then
3474 if test -n "$ac_tool_prefix"; then
3475 for ac_prog in cl.exe
3476 do
3477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480$as_echo_n "checking for $ac_word... " >&6; }
3481if test "${ac_cv_prog_CC+set}" = set; then :
3482 $as_echo_n "(cached) " >&6
3483else
3484 if test -n "$CC"; then
3485 ac_cv_prog_CC="$CC" # Let the user override the test.
3486else
3487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488for as_dir in $PATH
3489do
3490 IFS=$as_save_IFS
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3494 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 break 2
3497 fi
3498done
3499 done
3500IFS=$as_save_IFS
3501
3502fi
3503fi
3504CC=$ac_cv_prog_CC
3505if test -n "$CC"; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3507$as_echo "$CC" >&6; }
3508else
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510$as_echo "no" >&6; }
3511fi
3512
3513
3514 test -n "$CC" && break
3515 done
3516fi
3517if test -z "$CC"; then
3518 ac_ct_CC=$CC
3519 for ac_prog in cl.exe
3520do
3521 # Extract the first word of "$ac_prog", so it can be a program name with args.
3522set dummy $ac_prog; ac_word=$2
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524$as_echo_n "checking for $ac_word... " >&6; }
3525if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3526 $as_echo_n "(cached) " >&6
3527else
3528 if test -n "$ac_ct_CC"; then
3529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3530else
3531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532for as_dir in $PATH
3533do
3534 IFS=$as_save_IFS
3535 test -z "$as_dir" && as_dir=.
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3538 ac_cv_prog_ac_ct_CC="$ac_prog"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 break 2
3541 fi
3542done
3543 done
3544IFS=$as_save_IFS
3545
3546fi
3547fi
3548ac_ct_CC=$ac_cv_prog_ac_ct_CC
3549if test -n "$ac_ct_CC"; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3551$as_echo "$ac_ct_CC" >&6; }
3552else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554$as_echo "no" >&6; }
3555fi
3556
3557
3558 test -n "$ac_ct_CC" && break
3559done
3560
3561 if test "x$ac_ct_CC" = x; then
3562 CC=""
3563 else
3564 case $cross_compiling:$ac_tool_warned in
3565yes:)
3566{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3567$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3568ac_tool_warned=yes ;;
3569esac
3570 CC=$ac_ct_CC
3571 fi
3572fi
3573
3574fi
3575
3576
3577test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579as_fn_error $? "no acceptable C compiler found in \$PATH
3580See \`config.log' for more details" "$LINENO" 5 ; }
3581
3582# Provide some information about the compiler.
3583$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3584set X $ac_compile
3585ac_compiler=$2
3586for ac_option in --version -v -V -qversion; do
3587 { { ac_try="$ac_compiler $ac_option >&5"
3588case "(($ac_try" in
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3591esac
3592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593$as_echo "$ac_try_echo"; } >&5
3594 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3595 ac_status=$?
3596 if test -s conftest.err; then
3597 sed '10a\
3598... rest of stderr output deleted ...
3599 10q' conftest.err >conftest.er1
3600 cat conftest.er1 >&5
3601 fi
3602 rm -f conftest.er1 conftest.err
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }
3605done
3606
3607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608/* end confdefs.h. */
3609
3610int
3611main ()
3612{
3613
3614 ;
3615 return 0;
3616}
3617_ACEOF
3618ac_clean_files_save=$ac_clean_files
3619ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3620# Try to create an executable without -o first, disregard a.out.
3621# It will help us diagnose broken compilers, and finding out an intuition
3622# of exeext.
3623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3624$as_echo_n "checking whether the C compiler works... " >&6; }
3625ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3626
3627# The possible output files:
3628ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3629
3630ac_rmfiles=
3631for ac_file in $ac_files
3632do
3633 case $ac_file in
3634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3635 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3636 esac
3637done
3638rm -f $ac_rmfiles
3639
3640if { { ac_try="$ac_link_default"
3641case "(($ac_try" in
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3644esac
3645eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646$as_echo "$ac_try_echo"; } >&5
3647 (eval "$ac_link_default") 2>&5
3648 ac_status=$?
3649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650 test $ac_status = 0; }; then :
3651 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3652# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3653# in a Makefile. We should not override ac_cv_exeext if it was cached,
3654# so that the user can short-circuit this test for compilers unknown to
3655# Autoconf.
3656for ac_file in $ac_files ''
3657do
3658 test -f "$ac_file" || continue
3659 case $ac_file in
3660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3661 ;;
3662 [ab].out )
3663 # We found the default executable, but exeext='' is most
3664 # certainly right.
3665 break;;
3666 *.* )
3667 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3668 then :; else
3669 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3670 fi
3671 # We set ac_cv_exeext here because the later test for it is not
3672 # safe: cross compilers may not add the suffix if given an `-o'
3673 # argument, so we may need to know it at that point already.
3674 # Even if this section looks crufty: it has the advantage of
3675 # actually working.
3676 break;;
3677 * )
3678 break;;
3679 esac
3680done
3681test "$ac_cv_exeext" = no && ac_cv_exeext=
3682
3683else
3684 ac_file=''
3685fi
3686if test -z "$ac_file"; then :
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688$as_echo "no" >&6; }
3689$as_echo "$as_me: failed program was:" >&5
3690sed 's/^/| /' conftest.$ac_ext >&5
3691
3692{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694as_fn_error 77 "C compiler cannot create executables
3695See \`config.log' for more details" "$LINENO" 5 ; }
3696else
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3698$as_echo "yes" >&6; }
3699fi
3700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3701$as_echo_n "checking for C compiler default output file name... " >&6; }
3702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3703$as_echo "$ac_file" >&6; }
3704ac_exeext=$ac_cv_exeext
3705
3706rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3707ac_clean_files=$ac_clean_files_save
3708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3709$as_echo_n "checking for suffix of executables... " >&6; }
3710if { { ac_try="$ac_link"
3711case "(($ac_try" in
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3714esac
3715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3716$as_echo "$ac_try_echo"; } >&5
3717 (eval "$ac_link") 2>&5
3718 ac_status=$?
3719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720 test $ac_status = 0; }; then :
3721 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3722# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3723# work properly (i.e., refer to `conftest.exe'), while it won't with
3724# `rm'.
3725for ac_file in conftest.exe conftest conftest.*; do
3726 test -f "$ac_file" || continue
3727 case $ac_file in
3728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3729 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3730 break;;
3731 * ) break;;
3732 esac
3733done
3734else
3735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3738See \`config.log' for more details" "$LINENO" 5 ; }
3739fi
3740rm -f conftest conftest$ac_cv_exeext
3741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3742$as_echo "$ac_cv_exeext" >&6; }
3743
3744rm -f conftest.$ac_ext
3745EXEEXT=$ac_cv_exeext
3746ac_exeext=$EXEEXT
3747cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748/* end confdefs.h. */
3749#include <stdio.h>
3750int
3751main ()
3752{
3753FILE *f = fopen ("conftest.out", "w");
3754 return ferror (f) || fclose (f) != 0;
3755
3756 ;
3757 return 0;
3758}
3759_ACEOF
3760ac_clean_files="$ac_clean_files conftest.out"
3761# Check that the compiler produces executables we can run. If not, either
3762# the compiler is broken, or we cross compile.
3763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3764$as_echo_n "checking whether we are cross compiling... " >&6; }
3765if test "$cross_compiling" != yes; then
3766 { { ac_try="$ac_link"
3767case "(($ac_try" in
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3770esac
3771eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772$as_echo "$ac_try_echo"; } >&5
3773 (eval "$ac_link") 2>&5
3774 ac_status=$?
3775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3776 test $ac_status = 0; }
3777 if { ac_try='./conftest$ac_cv_exeext'
3778 { { case "(($ac_try" in
3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3781esac
3782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783$as_echo "$ac_try_echo"; } >&5
3784 (eval "$ac_try") 2>&5
3785 ac_status=$?
3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 test $ac_status = 0; }; }; then
3788 cross_compiling=no
3789 else
3790 if test "$cross_compiling" = maybe; then
3791 cross_compiling=yes
3792 else
3793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795as_fn_error $? "cannot run C compiled programs.
3796If you meant to cross compile, use \`--host'.
3797See \`config.log' for more details" "$LINENO" 5 ; }
3798 fi
3799 fi
3800fi
3801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3802$as_echo "$cross_compiling" >&6; }
3803
3804rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3805ac_clean_files=$ac_clean_files_save
3806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3807$as_echo_n "checking for suffix of object files... " >&6; }
3808if test "${ac_cv_objext+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3810else
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812/* end confdefs.h. */
3813
3814int
3815main ()
3816{
3817
3818 ;
3819 return 0;
3820}
3821_ACEOF
3822rm -f conftest.o conftest.obj
3823if { { ac_try="$ac_compile"
3824case "(($ac_try" in
3825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3826 *) ac_try_echo=$ac_try;;
3827esac
3828eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3829$as_echo "$ac_try_echo"; } >&5
3830 (eval "$ac_compile") 2>&5
3831 ac_status=$?
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }; then :
3834 for ac_file in conftest.o conftest.obj conftest.*; do
3835 test -f "$ac_file" || continue;
3836 case $ac_file in
3837 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3838 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3839 break;;
3840 esac
3841done
3842else
3843 $as_echo "$as_me: failed program was:" >&5
3844sed 's/^/| /' conftest.$ac_ext >&5
3845
3846{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848as_fn_error $? "cannot compute suffix of object files: cannot compile
3849See \`config.log' for more details" "$LINENO" 5 ; }
3850fi
3851rm -f conftest.$ac_cv_objext conftest.$ac_ext
3852fi
3853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3854$as_echo "$ac_cv_objext" >&6; }
3855OBJEXT=$ac_cv_objext
3856ac_objext=$OBJEXT
3857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3858$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3859if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3860 $as_echo_n "(cached) " >&6
3861else
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863/* end confdefs.h. */
3864
3865int
3866main ()
3867{
3868#ifndef __GNUC__
3869 choke me
3870#endif
3871
3872 ;
3873 return 0;
3874}
3875_ACEOF
3876if ac_fn_c_try_compile "$LINENO"; then :
3877 ac_compiler_gnu=yes
3878else
3879 ac_compiler_gnu=no
3880fi
3881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882ac_cv_c_compiler_gnu=$ac_compiler_gnu
3883
3884fi
3885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3886$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3887if test $ac_compiler_gnu = yes; then
3888 GCC=yes
3889else
3890 GCC=
3891fi
3892ac_test_CFLAGS=${CFLAGS+set}
3893ac_save_CFLAGS=$CFLAGS
3894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3895$as_echo_n "checking whether $CC accepts -g... " >&6; }
3896if test "${ac_cv_prog_cc_g+set}" = set; then :
3897 $as_echo_n "(cached) " >&6
3898else
3899 ac_save_c_werror_flag=$ac_c_werror_flag
3900 ac_c_werror_flag=yes
3901 ac_cv_prog_cc_g=no
3902 CFLAGS="-g"
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904/* end confdefs.h. */
3905
3906int
3907main ()
3908{
3909
3910 ;
3911 return 0;
3912}
3913_ACEOF
3914if ac_fn_c_try_compile "$LINENO"; then :
3915 ac_cv_prog_cc_g=yes
3916else
3917 CFLAGS=""
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919/* end confdefs.h. */
3920
3921int
3922main ()
3923{
3924
3925 ;
3926 return 0;
3927}
3928_ACEOF
3929if ac_fn_c_try_compile "$LINENO"; then :
3930
3931else
3932 ac_c_werror_flag=$ac_save_c_werror_flag
3933 CFLAGS="-g"
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935/* end confdefs.h. */
3936
3937int
3938main ()
3939{
3940
3941 ;
3942 return 0;
3943}
3944_ACEOF
3945if ac_fn_c_try_compile "$LINENO"; then :
3946 ac_cv_prog_cc_g=yes
3947fi
3948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949fi
3950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951fi
3952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 ac_c_werror_flag=$ac_save_c_werror_flag
3954fi
3955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3956$as_echo "$ac_cv_prog_cc_g" >&6; }
3957if test "$ac_test_CFLAGS" = set; then
3958 CFLAGS=$ac_save_CFLAGS
3959elif test $ac_cv_prog_cc_g = yes; then
3960 if test "$GCC" = yes; then
3961 CFLAGS="-g -O2"
3962 else
3963 CFLAGS="-g"
3964 fi
3965else
3966 if test "$GCC" = yes; then
3967 CFLAGS="-O2"
3968 else
3969 CFLAGS=
3970 fi
3971fi
3972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3973$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3974if test "${ac_cv_prog_cc_c89+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3976else
3977 ac_cv_prog_cc_c89=no
3978ac_save_CC=$CC
3979cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980/* end confdefs.h. */
3981#include <stdarg.h>
3982#include <stdio.h>
3983#include <sys/types.h>
3984#include <sys/stat.h>
3985/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3986struct buf { int x; };
3987FILE * (*rcsopen) (struct buf *, struct stat *, int);
3988static char *e (p, i)
3989 char **p;
3990 int i;
3991{
3992 return p[i];
3993}
3994static char *f (char * (*g) (char **, int), char **p, ...)
3995{
3996 char *s;
3997 va_list v;
3998 va_start (v,p);
3999 s = g (p, va_arg (v,int));
4000 va_end (v);
4001 return s;
4002}
4003
4004/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4005 function prototypes and stuff, but not '\xHH' hex character constants.
4006 These don't provoke an error unfortunately, instead are silently treated
4007 as 'x'. The following induces an error, until -std is added to get
4008 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4009 array size at least. It's necessary to write '\x00'==0 to get something
4010 that's true only with -std. */
4011int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4012
4013/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4014 inside strings and character constants. */
4015#define FOO(x) 'x'
4016int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4017
4018int test (int i, double x);
4019struct s1 {int (*f) (int a);};
4020struct s2 {int (*f) (double a);};
4021int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4022int argc;
4023char **argv;
4024int
4025main ()
4026{
4027return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4028 ;
4029 return 0;
4030}
4031_ACEOF
4032for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4033 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4034do
4035 CC="$ac_save_CC $ac_arg"
4036 if ac_fn_c_try_compile "$LINENO"; then :
4037 ac_cv_prog_cc_c89=$ac_arg
4038fi
4039rm -f core conftest.err conftest.$ac_objext
4040 test "x$ac_cv_prog_cc_c89" != "xno" && break
4041done
4042rm -f conftest.$ac_ext
4043CC=$ac_save_CC
4044
4045fi
4046# AC_CACHE_VAL
4047case "x$ac_cv_prog_cc_c89" in
4048 x)
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4050$as_echo "none needed" >&6; } ;;
4051 xno)
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4053$as_echo "unsupported" >&6; } ;;
4054 *)
4055 CC="$CC $ac_cv_prog_cc_c89"
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4057$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4058esac
4059if test "x$ac_cv_prog_cc_c89" != xno; then :
4060
4061fi
4062
4063ac_ext=c
4064ac_cpp='$CPP $CPPFLAGS'
4065ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4066ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4067ac_compiler_gnu=$ac_cv_c_compiler_gnu
4068
4069depcc="$CC" am_compiler_list=
4070
4071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4072$as_echo_n "checking dependency style of $depcc... " >&6; }
4073if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4075else
4076 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4077 # We make a subdir and do the tests there. Otherwise we can end up
4078 # making bogus files that we don't know about and never remove. For
4079 # instance it was reported that on HP-UX the gcc test will end up
4080 # making a dummy file named `D' -- because `-MD' means `put the output
4081 # in D'.
4082 mkdir conftest.dir
4083 # Copy depcomp to subdir because otherwise we won't find it if we're
4084 # using a relative directory.
4085 cp "$am_depcomp" conftest.dir
4086 cd conftest.dir
4087 # We will build objects and dependencies in a subdirectory because
4088 # it helps to detect inapplicable dependency modes. For instance
4089 # both Tru64's cc and ICC support -MD to output dependencies as a
4090 # side effect of compilation, but ICC will put the dependencies in
4091 # the current directory while Tru64 will put them in the object
4092 # directory.
4093 mkdir sub
4094
4095 am_cv_CC_dependencies_compiler_type=none
4096 if test "$am_compiler_list" = ""; then
4097 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4098 fi
4099 am__universal=false
4100 case " $depcc " in #(
4101 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4102 esac
4103
4104 for depmode in $am_compiler_list; do
4105 # Setup a source with many dependencies, because some compilers
4106 # like to wrap large dependency lists on column 80 (with \), and
4107 # we should not choose a depcomp mode which is confused by this.
4108 #
4109 # We need to recreate these files for each test, as the compiler may
4110 # overwrite some of them when testing with obscure command lines.
4111 # This happens at least with the AIX C compiler.
4112 : > sub/conftest.c
4113 for i in 1 2 3 4 5 6; do
4114 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4115 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4116 # Solaris 8's {/usr,}/bin/sh.
4117 touch sub/conftst$i.h
4118 done
4119 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4120
4121 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4122 # mode. It turns out that the SunPro C++ compiler does not properly
4123 # handle `-M -o', and we need to detect this. Also, some Intel
4124 # versions had trouble with output in subdirs
4125 am__obj=sub/conftest.${OBJEXT-o}
4126 am__minus_obj="-o $am__obj"
4127 case $depmode in
4128 gcc)
4129 # This depmode causes a compiler race in universal mode.
4130 test "$am__universal" = false || continue
4131 ;;
4132 nosideeffect)
4133 # after this tag, mechanisms are not by side-effect, so they'll
4134 # only be used when explicitly requested
4135 if test "x$enable_dependency_tracking" = xyes; then
4136 continue
4137 else
4138 break
4139 fi
4140 ;;
4141 msvisualcpp | msvcmsys)
4142 # This compiler won't grok `-c -o', but also, the minuso test has
4143 # not run yet. These depmodes are late enough in the game, and
4144 # so weak that their functioning should not be impacted.
4145 am__obj=conftest.${OBJEXT-o}
4146 am__minus_obj=
4147 ;;
4148 none) break ;;
4149 esac
4150 if depmode=$depmode \
4151 source=sub/conftest.c object=$am__obj \
4152 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4153 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4154 >/dev/null 2>conftest.err &&
4155 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4156 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4157 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4158 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4159 # icc doesn't choke on unknown options, it will just issue warnings
4160 # or remarks (even with -Werror). So we grep stderr for any message
4161 # that says an option was ignored or not supported.
4162 # When given -MP, icc 7.0 and 7.1 complain thusly:
4163 # icc: Command line warning: ignoring option '-M'; no argument required
4164 # The diagnosis changed in icc 8.0:
4165 # icc: Command line remark: option '-MP' not supported
4166 if (grep 'ignoring option' conftest.err ||
4167 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4168 am_cv_CC_dependencies_compiler_type=$depmode
4169 break
4170 fi
4171 fi
4172 done
4173
4174 cd ..
4175 rm -rf conftest.dir
4176else
4177 am_cv_CC_dependencies_compiler_type=none
4178fi
4179
4180fi
4181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4182$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4183CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4184
4185 if
4186 test "x$enable_dependency_tracking" != xno \
4187 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4188 am__fastdepCC_TRUE=
4189 am__fastdepCC_FALSE='#'
4190else
4191 am__fastdepCC_TRUE='#'
4192 am__fastdepCC_FALSE=
4193fi
4194
4195
4196
4197ac_ext=c
4198ac_cpp='$CPP $CPPFLAGS'
4199ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4200ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4201ac_compiler_gnu=$ac_cv_c_compiler_gnu
4202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4203$as_echo_n "checking how to run the C preprocessor... " >&6; }
4204# On Suns, sometimes $CPP names a directory.
4205if test -n "$CPP" && test -d "$CPP"; then
4206 CPP=
4207fi
4208if test -z "$CPP"; then
4209 if test "${ac_cv_prog_CPP+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4211else
4212 # Double quotes because CPP needs to be expanded
4213 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4214 do
4215 ac_preproc_ok=false
4216for ac_c_preproc_warn_flag in '' yes
4217do
4218 # Use a header file that comes with gcc, so configuring glibc
4219 # with a fresh cross-compiler works.
4220 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4221 # <limits.h> exists even on freestanding compilers.
4222 # On the NeXT, cc -E runs the code through the compiler's parser,
4223 # not just through cpp. "Syntax error" is here to catch this case.
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225/* end confdefs.h. */
4226#ifdef __STDC__
4227# include <limits.h>
4228#else
4229# include <assert.h>
4230#endif
4231 Syntax error
4232_ACEOF
4233if ac_fn_c_try_cpp "$LINENO"; then :
4234
4235else
4236 # Broken: fails on valid input.
4237continue
4238fi
4239rm -f conftest.err conftest.i conftest.$ac_ext
4240
4241 # OK, works on sane cases. Now check whether nonexistent headers
4242 # can be detected and how.
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244/* end confdefs.h. */
4245#include <ac_nonexistent.h>
4246_ACEOF
4247if ac_fn_c_try_cpp "$LINENO"; then :
4248 # Broken: success on invalid input.
4249continue
4250else
4251 # Passes both tests.
4252ac_preproc_ok=:
4253break
4254fi
4255rm -f conftest.err conftest.i conftest.$ac_ext
4256
4257done
4258# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4259rm -f conftest.i conftest.err conftest.$ac_ext
4260if $ac_preproc_ok; then :
4261 break
4262fi
4263
4264 done
4265 ac_cv_prog_CPP=$CPP
4266
4267fi
4268 CPP=$ac_cv_prog_CPP
4269else
4270 ac_cv_prog_CPP=$CPP
4271fi
4272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4273$as_echo "$CPP" >&6; }
4274ac_preproc_ok=false
4275for ac_c_preproc_warn_flag in '' yes
4276do
4277 # Use a header file that comes with gcc, so configuring glibc
4278 # with a fresh cross-compiler works.
4279 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4280 # <limits.h> exists even on freestanding compilers.
4281 # On the NeXT, cc -E runs the code through the compiler's parser,
4282 # not just through cpp. "Syntax error" is here to catch this case.
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284/* end confdefs.h. */
4285#ifdef __STDC__
4286# include <limits.h>
4287#else
4288# include <assert.h>
4289#endif
4290 Syntax error
4291_ACEOF
4292if ac_fn_c_try_cpp "$LINENO"; then :
4293
4294else
4295 # Broken: fails on valid input.
4296continue
4297fi
4298rm -f conftest.err conftest.i conftest.$ac_ext
4299
4300 # OK, works on sane cases. Now check whether nonexistent headers
4301 # can be detected and how.
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303/* end confdefs.h. */
4304#include <ac_nonexistent.h>
4305_ACEOF
4306if ac_fn_c_try_cpp "$LINENO"; then :
4307 # Broken: success on invalid input.
4308continue
4309else
4310 # Passes both tests.
4311ac_preproc_ok=:
4312break
4313fi
4314rm -f conftest.err conftest.i conftest.$ac_ext
4315
4316done
4317# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4318rm -f conftest.i conftest.err conftest.$ac_ext
4319if $ac_preproc_ok; then :
4320
4321else
4322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4325See \`config.log' for more details" "$LINENO" 5 ; }
4326fi
4327
4328ac_ext=c
4329ac_cpp='$CPP $CPPFLAGS'
4330ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333
4334
4335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4336$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4337if test "${ac_cv_path_GREP+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4339else
4340 if test -z "$GREP"; then
4341 ac_path_GREP_found=false
4342 # Loop through the user's path and test for each of PROGNAME-LIST
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4345do
4346 IFS=$as_save_IFS
4347 test -z "$as_dir" && as_dir=.
4348 for ac_prog in grep ggrep; do
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4351 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4352# Check for GNU ac_path_GREP and select it if it is found.
4353 # Check for GNU $ac_path_GREP
4354case `"$ac_path_GREP" --version 2>&1` in
4355*GNU*)
4356 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4357*)
4358 ac_count=0
4359 $as_echo_n 0123456789 >"conftest.in"
4360 while :
4361 do
4362 cat "conftest.in" "conftest.in" >"conftest.tmp"
4363 mv "conftest.tmp" "conftest.in"
4364 cp "conftest.in" "conftest.nl"
4365 $as_echo 'GREP' >> "conftest.nl"
4366 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4367 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4368 as_fn_arith $ac_count + 1 && ac_count=$as_val
4369 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4370 # Best one so far, save it but keep looking for a better one
4371 ac_cv_path_GREP="$ac_path_GREP"
4372 ac_path_GREP_max=$ac_count
4373 fi
4374 # 10*(2^10) chars as input seems more than enough
4375 test $ac_count -gt 10 && break
4376 done
4377 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4378esac
4379
4380 $ac_path_GREP_found && break 3
4381 done
4382 done
4383 done
4384IFS=$as_save_IFS
4385 if test -z "$ac_cv_path_GREP"; then
4386 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4387 fi
4388else
4389 ac_cv_path_GREP=$GREP
4390fi
4391
4392fi
4393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4394$as_echo "$ac_cv_path_GREP" >&6; }
4395 GREP="$ac_cv_path_GREP"
4396
4397
4398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4399$as_echo_n "checking for egrep... " >&6; }
4400if test "${ac_cv_path_EGREP+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4402else
4403 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4404 then ac_cv_path_EGREP="$GREP -E"
4405 else
4406 if test -z "$EGREP"; then
4407 ac_path_EGREP_found=false
4408 # Loop through the user's path and test for each of PROGNAME-LIST
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4411do
4412 IFS=$as_save_IFS
4413 test -z "$as_dir" && as_dir=.
4414 for ac_prog in egrep; do
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4417 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4418# Check for GNU ac_path_EGREP and select it if it is found.
4419 # Check for GNU $ac_path_EGREP
4420case `"$ac_path_EGREP" --version 2>&1` in
4421*GNU*)
4422 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4423*)
4424 ac_count=0
4425 $as_echo_n 0123456789 >"conftest.in"
4426 while :
4427 do
4428 cat "conftest.in" "conftest.in" >"conftest.tmp"
4429 mv "conftest.tmp" "conftest.in"
4430 cp "conftest.in" "conftest.nl"
4431 $as_echo 'EGREP' >> "conftest.nl"
4432 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4433 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4434 as_fn_arith $ac_count + 1 && ac_count=$as_val
4435 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4436 # Best one so far, save it but keep looking for a better one
4437 ac_cv_path_EGREP="$ac_path_EGREP"
4438 ac_path_EGREP_max=$ac_count
4439 fi
4440 # 10*(2^10) chars as input seems more than enough
4441 test $ac_count -gt 10 && break
4442 done
4443 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4444esac
4445
4446 $ac_path_EGREP_found && break 3
4447 done
4448 done
4449 done
4450IFS=$as_save_IFS
4451 if test -z "$ac_cv_path_EGREP"; then
4452 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4453 fi
4454else
4455 ac_cv_path_EGREP=$EGREP
4456fi
4457
4458 fi
4459fi
4460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4461$as_echo "$ac_cv_path_EGREP" >&6; }
4462 EGREP="$ac_cv_path_EGREP"
4463
4464
4465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4466$as_echo_n "checking for ANSI C header files... " >&6; }
4467if test "${ac_cv_header_stdc+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4469else
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471/* end confdefs.h. */
4472#include <stdlib.h>
4473#include <stdarg.h>
4474#include <string.h>
4475#include <float.h>
4476
4477int
4478main ()
4479{
4480
4481 ;
4482 return 0;
4483}
4484_ACEOF
4485if ac_fn_c_try_compile "$LINENO"; then :
4486 ac_cv_header_stdc=yes
4487else
4488 ac_cv_header_stdc=no
4489fi
4490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491
4492if test $ac_cv_header_stdc = yes; then
4493 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495/* end confdefs.h. */
4496#include <string.h>
4497
4498_ACEOF
4499if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4500 $EGREP "memchr" >/dev/null 2>&1; then :
4501
4502else
4503 ac_cv_header_stdc=no
4504fi
4505rm -f conftest*
4506
4507fi
4508
4509if test $ac_cv_header_stdc = yes; then
4510 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512/* end confdefs.h. */
4513#include <stdlib.h>
4514
4515_ACEOF
4516if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4517 $EGREP "free" >/dev/null 2>&1; then :
4518
4519else
4520 ac_cv_header_stdc=no
4521fi
4522rm -f conftest*
4523
4524fi
4525
4526if test $ac_cv_header_stdc = yes; then
4527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4528 if test "$cross_compiling" = yes; then :
4529 :
4530else
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532/* end confdefs.h. */
4533#include <ctype.h>
4534#include <stdlib.h>
4535#if ((' ' & 0x0FF) == 0x020)
4536# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4537# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4538#else
4539# define ISLOWER(c) \
4540 (('a' <= (c) && (c) <= 'i') \
4541 || ('j' <= (c) && (c) <= 'r') \
4542 || ('s' <= (c) && (c) <= 'z'))
4543# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4544#endif
4545
4546#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4547int
4548main ()
4549{
4550 int i;
4551 for (i = 0; i < 256; i++)
4552 if (XOR (islower (i), ISLOWER (i))
4553 || toupper (i) != TOUPPER (i))
4554 return 2;
4555 return 0;
4556}
4557_ACEOF
4558if ac_fn_c_try_run "$LINENO"; then :
4559
4560else
4561 ac_cv_header_stdc=no
4562fi
4563rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4564 conftest.$ac_objext conftest.beam conftest.$ac_ext
4565fi
4566
4567fi
4568fi
4569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4570$as_echo "$ac_cv_header_stdc" >&6; }
4571if test $ac_cv_header_stdc = yes; then
4572
4573$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4574
4575fi
4576
4577# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4578for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4579 inttypes.h stdint.h unistd.h
4580do :
4581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4582ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4583"
4584if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4585 cat >>confdefs.h <<_ACEOF
4586#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4587_ACEOF
4588
4589fi
4590
4591done
4592
4593
4594
4595 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4596if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4597 MINIX=yes
4598else
4599 MINIX=
4600fi
4601
4602
4603 if test "$MINIX" = yes; then
4604
4605$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4606
4607
4608$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4609
4610
4611$as_echo "#define _MINIX 1" >>confdefs.h
4612
4613 fi
4614
4615
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4617$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4618if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4620else
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622/* end confdefs.h. */
4623
4624# define __EXTENSIONS__ 1
4625 $ac_includes_default
4626int
4627main ()
4628{
4629
4630 ;
4631 return 0;
4632}
4633_ACEOF
4634if ac_fn_c_try_compile "$LINENO"; then :
4635 ac_cv_safe_to_define___extensions__=yes
4636else
4637 ac_cv_safe_to_define___extensions__=no
4638fi
4639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640fi
4641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4642$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4643 test $ac_cv_safe_to_define___extensions__ = yes &&
4644 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4645
4646 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4647
4648 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4649
4650 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4651
4652 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4653
4654
4655
4656
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4658$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4659if test "${ac_cv_c_bigendian+set}" = set; then :
4660 $as_echo_n "(cached) " >&6
4661else
4662 ac_cv_c_bigendian=unknown
4663 # See if we're dealing with a universal compiler.
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665/* end confdefs.h. */
4666#ifndef __APPLE_CC__
4667 not a universal capable compiler
4668 #endif
4669 typedef int dummy;
4670
4671_ACEOF
4672if ac_fn_c_try_compile "$LINENO"; then :
4673
4674 # Check for potential -arch flags. It is not universal unless
4675 # there are at least two -arch flags with different values.
4676 ac_arch=
4677 ac_prev=
4678 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4679 if test -n "$ac_prev"; then
4680 case $ac_word in
4681 i?86 | x86_64 | ppc | ppc64)
4682 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4683 ac_arch=$ac_word
4684 else
4685 ac_cv_c_bigendian=universal
4686 break
4687 fi
4688 ;;
4689 esac
4690 ac_prev=
4691 elif test "x$ac_word" = "x-arch"; then
4692 ac_prev=arch
4693 fi
4694 done
4695fi
4696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 if test $ac_cv_c_bigendian = unknown; then
4698 # See if sys/param.h defines the BYTE_ORDER macro.
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700/* end confdefs.h. */
4701#include <sys/types.h>
4702 #include <sys/param.h>
4703
4704int
4705main ()
4706{
4707#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4708 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4709 && LITTLE_ENDIAN)
4710 bogus endian macros
4711 #endif
4712
4713 ;
4714 return 0;
4715}
4716_ACEOF
4717if ac_fn_c_try_compile "$LINENO"; then :
4718 # It does; now see whether it defined to BIG_ENDIAN or not.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720/* end confdefs.h. */
4721#include <sys/types.h>
4722 #include <sys/param.h>
4723
4724int
4725main ()
4726{
4727#if BYTE_ORDER != BIG_ENDIAN
4728 not big endian
4729 #endif
4730
4731 ;
4732 return 0;
4733}
4734_ACEOF
4735if ac_fn_c_try_compile "$LINENO"; then :
4736 ac_cv_c_bigendian=yes
4737else
4738 ac_cv_c_bigendian=no
4739fi
4740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4741fi
4742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743 fi
4744 if test $ac_cv_c_bigendian = unknown; then
4745 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747/* end confdefs.h. */
4748#include <limits.h>
4749
4750int
4751main ()
4752{
4753#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4754 bogus endian macros
4755 #endif
4756
4757 ;
4758 return 0;
4759}
4760_ACEOF
4761if ac_fn_c_try_compile "$LINENO"; then :
4762 # It does; now see whether it defined to _BIG_ENDIAN or not.
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764/* end confdefs.h. */
4765#include <limits.h>
4766
4767int
4768main ()
4769{
4770#ifndef _BIG_ENDIAN
4771 not big endian
4772 #endif
4773
4774 ;
4775 return 0;
4776}
4777_ACEOF
4778if ac_fn_c_try_compile "$LINENO"; then :
4779 ac_cv_c_bigendian=yes
4780else
4781 ac_cv_c_bigendian=no
4782fi
4783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4784fi
4785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 fi
4787 if test $ac_cv_c_bigendian = unknown; then
4788 # Compile a test program.
4789 if test "$cross_compiling" = yes; then :
4790 # Try to guess by grepping values from an object file.
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792/* end confdefs.h. */
4793short int ascii_mm[] =
4794 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4795 short int ascii_ii[] =
4796 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4797 int use_ascii (int i) {
4798 return ascii_mm[i] + ascii_ii[i];
4799 }
4800 short int ebcdic_ii[] =
4801 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4802 short int ebcdic_mm[] =
4803 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4804 int use_ebcdic (int i) {
4805 return ebcdic_mm[i] + ebcdic_ii[i];
4806 }
4807 extern int foo;
4808
4809int
4810main ()
4811{
4812return use_ascii (foo) == use_ebcdic (foo);
4813 ;
4814 return 0;
4815}
4816_ACEOF
4817if ac_fn_c_try_compile "$LINENO"; then :
4818 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4819 ac_cv_c_bigendian=yes
4820 fi
4821 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4822 if test "$ac_cv_c_bigendian" = unknown; then
4823 ac_cv_c_bigendian=no
4824 else
4825 # finding both strings is unlikely to happen, but who knows?
4826 ac_cv_c_bigendian=unknown
4827 fi
4828 fi
4829fi
4830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831else
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833/* end confdefs.h. */
4834$ac_includes_default
4835int
4836main ()
4837{
4838
4839 /* Are we little or big endian? From Harbison&Steele. */
4840 union
4841 {
4842 long int l;
4843 char c[sizeof (long int)];
4844 } u;
4845 u.l = 1;
4846 return u.c[sizeof (long int) - 1] == 1;
4847
4848 ;
4849 return 0;
4850}
4851_ACEOF
4852if ac_fn_c_try_run "$LINENO"; then :
4853 ac_cv_c_bigendian=no
4854else
4855 ac_cv_c_bigendian=yes
4856fi
4857rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4858 conftest.$ac_objext conftest.beam conftest.$ac_ext
4859fi
4860
4861 fi
4862fi
4863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4864$as_echo "$ac_cv_c_bigendian" >&6; }
4865 case $ac_cv_c_bigendian in #(
4866 yes)
4867 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4868;; #(
4869 no)
4870 ;; #(
4871 universal)
4872
4873$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4874
4875 ;; #(
4876 *)
4877 as_fn_error $? "unknown endianness
4878 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4879 esac
4880
4881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4882$as_echo_n "checking for library containing strerror... " >&6; }
4883if test "${ac_cv_search_strerror+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4885else
4886 ac_func_search_save_LIBS=$LIBS
4887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888/* end confdefs.h. */
4889
4890/* Override any GCC internal prototype to avoid an error.
4891 Use char because int might match the return type of a GCC
4892 builtin and then its argument prototype would still apply. */
4893#ifdef __cplusplus
4894extern "C"
4895#endif
4896char strerror ();
4897int
4898main ()
4899{
4900return strerror ();
4901 ;
4902 return 0;
4903}
4904_ACEOF
4905for ac_lib in '' cposix; do
4906 if test -z "$ac_lib"; then
4907 ac_res="none required"
4908 else
4909 ac_res=-l$ac_lib
4910 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4911 fi
4912 if ac_fn_c_try_link "$LINENO"; then :
4913 ac_cv_search_strerror=$ac_res
4914fi
4915rm -f core conftest.err conftest.$ac_objext \
4916 conftest$ac_exeext
4917 if test "${ac_cv_search_strerror+set}" = set; then :
4918 break
4919fi
4920done
4921if test "${ac_cv_search_strerror+set}" = set; then :
4922
4923else
4924 ac_cv_search_strerror=no
4925fi
4926rm conftest.$ac_ext
4927LIBS=$ac_func_search_save_LIBS
4928fi
4929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4930$as_echo "$ac_cv_search_strerror" >&6; }
4931ac_res=$ac_cv_search_strerror
4932if test "$ac_res" != no; then :
4933 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4934
4935fi
4936
4937ac_ext=c
4938ac_cpp='$CPP $CPPFLAGS'
4939ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4940ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4941ac_compiler_gnu=$ac_cv_c_compiler_gnu
4942if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4944set dummy ${ac_tool_prefix}gcc; ac_word=$2
4945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946$as_echo_n "checking for $ac_word... " >&6; }
4947if test "${ac_cv_prog_CC+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949else
4950 if test -n "$CC"; then
4951 ac_cv_prog_CC="$CC" # Let the user override the test.
4952else
4953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954for as_dir in $PATH
4955do
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4963 fi
4964done
4965 done
4966IFS=$as_save_IFS
4967
4968fi
4969fi
4970CC=$ac_cv_prog_CC
4971if test -n "$CC"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4973$as_echo "$CC" >&6; }
4974else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976$as_echo "no" >&6; }
4977fi
4978
4979
4980fi
4981if test -z "$ac_cv_prog_CC"; then
4982 ac_ct_CC=$CC
4983 # Extract the first word of "gcc", so it can be a program name with args.
4984set dummy gcc; ac_word=$2
4985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986$as_echo_n "checking for $ac_word... " >&6; }
4987if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989else
4990 if test -n "$ac_ct_CC"; then
4991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4992else
4993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994for as_dir in $PATH
4995do
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_CC="gcc"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5003 fi
5004done
5005 done
5006IFS=$as_save_IFS
5007
5008fi
5009fi
5010ac_ct_CC=$ac_cv_prog_ac_ct_CC
5011if test -n "$ac_ct_CC"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5013$as_echo "$ac_ct_CC" >&6; }
5014else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016$as_echo "no" >&6; }
5017fi
5018
5019 if test "x$ac_ct_CC" = x; then
5020 CC=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023yes:)
5024{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026ac_tool_warned=yes ;;
5027esac
5028 CC=$ac_ct_CC
5029 fi
5030else
5031 CC="$ac_cv_prog_CC"
5032fi
5033
5034if test -z "$CC"; then
5035 if test -n "$ac_tool_prefix"; then
5036 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5037set dummy ${ac_tool_prefix}cc; ac_word=$2
5038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039$as_echo_n "checking for $ac_word... " >&6; }
5040if test "${ac_cv_prog_CC+set}" = set; then :
5041 $as_echo_n "(cached) " >&6
5042else
5043 if test -n "$CC"; then
5044 ac_cv_prog_CC="$CC" # Let the user override the test.
5045else
5046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047for as_dir in $PATH
5048do
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053 ac_cv_prog_CC="${ac_tool_prefix}cc"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5056 fi
5057done
5058 done
5059IFS=$as_save_IFS
5060
5061fi
5062fi
5063CC=$ac_cv_prog_CC
5064if test -n "$CC"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5066$as_echo "$CC" >&6; }
5067else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069$as_echo "no" >&6; }
5070fi
5071
5072
5073 fi
5074fi
5075if test -z "$CC"; then
5076 # Extract the first word of "cc", so it can be a program name with args.
5077set dummy cc; ac_word=$2
5078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079$as_echo_n "checking for $ac_word... " >&6; }
5080if test "${ac_cv_prog_CC+set}" = set; then :
5081 $as_echo_n "(cached) " >&6
5082else
5083 if test -n "$CC"; then
5084 ac_cv_prog_CC="$CC" # Let the user override the test.
5085else
5086 ac_prog_rejected=no
5087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088for as_dir in $PATH
5089do
5090 IFS=$as_save_IFS
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5094 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5095 ac_prog_rejected=yes
5096 continue
5097 fi
5098 ac_cv_prog_CC="cc"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5101 fi
5102done
5103 done
5104IFS=$as_save_IFS
5105
5106if test $ac_prog_rejected = yes; then
5107 # We found a bogon in the path, so make sure we never use it.
5108 set dummy $ac_cv_prog_CC
5109 shift
5110 if test $# != 0; then
5111 # We chose a different compiler from the bogus one.
5112 # However, it has the same basename, so the bogon will be chosen
5113 # first if we set CC to just the basename; use the full file name.
5114 shift
5115 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5116 fi
5117fi
5118fi
5119fi
5120CC=$ac_cv_prog_CC
5121if test -n "$CC"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5123$as_echo "$CC" >&6; }
5124else
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126$as_echo "no" >&6; }
5127fi
5128
5129
5130fi
5131if test -z "$CC"; then
5132 if test -n "$ac_tool_prefix"; then
5133 for ac_prog in cl.exe
5134 do
5135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5136set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138$as_echo_n "checking for $ac_word... " >&6; }
5139if test "${ac_cv_prog_CC+set}" = set; then :
5140 $as_echo_n "(cached) " >&6
5141else
5142 if test -n "$CC"; then
5143 ac_cv_prog_CC="$CC" # Let the user override the test.
5144else
5145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146for as_dir in $PATH
5147do
5148 IFS=$as_save_IFS
5149 test -z "$as_dir" && as_dir=.
5150 for ac_exec_ext in '' $ac_executable_extensions; do
5151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 break 2
5155 fi
5156done
5157 done
5158IFS=$as_save_IFS
5159
5160fi
5161fi
5162CC=$ac_cv_prog_CC
5163if test -n "$CC"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5165$as_echo "$CC" >&6; }
5166else
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168$as_echo "no" >&6; }
5169fi
5170
5171
5172 test -n "$CC" && break
5173 done
5174fi
5175if test -z "$CC"; then
5176 ac_ct_CC=$CC
5177 for ac_prog in cl.exe
5178do
5179 # Extract the first word of "$ac_prog", so it can be a program name with args.
5180set dummy $ac_prog; ac_word=$2
5181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182$as_echo_n "checking for $ac_word... " >&6; }
5183if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5184 $as_echo_n "(cached) " >&6
5185else
5186 if test -n "$ac_ct_CC"; then
5187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5188else
5189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190for as_dir in $PATH
5191do
5192 IFS=$as_save_IFS
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196 ac_cv_prog_ac_ct_CC="$ac_prog"
5197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 break 2
5199 fi
5200done
5201 done
5202IFS=$as_save_IFS
5203
5204fi
5205fi
5206ac_ct_CC=$ac_cv_prog_ac_ct_CC
5207if test -n "$ac_ct_CC"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5209$as_echo "$ac_ct_CC" >&6; }
5210else
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212$as_echo "no" >&6; }
5213fi
5214
5215
5216 test -n "$ac_ct_CC" && break
5217done
5218
5219 if test "x$ac_ct_CC" = x; then
5220 CC=""
5221 else
5222 case $cross_compiling:$ac_tool_warned in
5223yes:)
5224{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5226ac_tool_warned=yes ;;
5227esac
5228 CC=$ac_ct_CC
5229 fi
5230fi
5231
5232fi
5233
5234
5235test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5237as_fn_error $? "no acceptable C compiler found in \$PATH
5238See \`config.log' for more details" "$LINENO" 5 ; }
5239
5240# Provide some information about the compiler.
5241$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5242set X $ac_compile
5243ac_compiler=$2
5244for ac_option in --version -v -V -qversion; do
5245 { { ac_try="$ac_compiler $ac_option >&5"
5246case "(($ac_try" in
5247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5248 *) ac_try_echo=$ac_try;;
5249esac
5250eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5251$as_echo "$ac_try_echo"; } >&5
5252 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5253 ac_status=$?
5254 if test -s conftest.err; then
5255 sed '10a\
5256... rest of stderr output deleted ...
5257 10q' conftest.err >conftest.er1
5258 cat conftest.er1 >&5
5259 fi
5260 rm -f conftest.er1 conftest.err
5261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5262 test $ac_status = 0; }
5263done
5264
5265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5266$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5267if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5268 $as_echo_n "(cached) " >&6
5269else
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271/* end confdefs.h. */
5272
5273int
5274main ()
5275{
5276#ifndef __GNUC__
5277 choke me
5278#endif
5279
5280 ;
5281 return 0;
5282}
5283_ACEOF
5284if ac_fn_c_try_compile "$LINENO"; then :
5285 ac_compiler_gnu=yes
5286else
5287 ac_compiler_gnu=no
5288fi
5289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5290ac_cv_c_compiler_gnu=$ac_compiler_gnu
5291
5292fi
5293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5294$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5295if test $ac_compiler_gnu = yes; then
5296 GCC=yes
5297else
5298 GCC=
5299fi
5300ac_test_CFLAGS=${CFLAGS+set}
5301ac_save_CFLAGS=$CFLAGS
5302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5303$as_echo_n "checking whether $CC accepts -g... " >&6; }
5304if test "${ac_cv_prog_cc_g+set}" = set; then :
5305 $as_echo_n "(cached) " >&6
5306else
5307 ac_save_c_werror_flag=$ac_c_werror_flag
5308 ac_c_werror_flag=yes
5309 ac_cv_prog_cc_g=no
5310 CFLAGS="-g"
5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312/* end confdefs.h. */
5313
5314int
5315main ()
5316{
5317
5318 ;
5319 return 0;
5320}
5321_ACEOF
5322if ac_fn_c_try_compile "$LINENO"; then :
5323 ac_cv_prog_cc_g=yes
5324else
5325 CFLAGS=""
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327/* end confdefs.h. */
5328
5329int
5330main ()
5331{
5332
5333 ;
5334 return 0;
5335}
5336_ACEOF
5337if ac_fn_c_try_compile "$LINENO"; then :
5338
5339else
5340 ac_c_werror_flag=$ac_save_c_werror_flag
5341 CFLAGS="-g"
5342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343/* end confdefs.h. */
5344
5345int
5346main ()
5347{
5348
5349 ;
5350 return 0;
5351}
5352_ACEOF
5353if ac_fn_c_try_compile "$LINENO"; then :
5354 ac_cv_prog_cc_g=yes
5355fi
5356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357fi
5358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359fi
5360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 ac_c_werror_flag=$ac_save_c_werror_flag
5362fi
5363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5364$as_echo "$ac_cv_prog_cc_g" >&6; }
5365if test "$ac_test_CFLAGS" = set; then
5366 CFLAGS=$ac_save_CFLAGS
5367elif test $ac_cv_prog_cc_g = yes; then
5368 if test "$GCC" = yes; then
5369 CFLAGS="-g -O2"
5370 else
5371 CFLAGS="-g"
5372 fi
5373else
5374 if test "$GCC" = yes; then
5375 CFLAGS="-O2"
5376 else
5377 CFLAGS=
5378 fi
5379fi
5380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5381$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5382if test "${ac_cv_prog_cc_c89+set}" = set; then :
5383 $as_echo_n "(cached) " >&6
5384else
5385 ac_cv_prog_cc_c89=no
5386ac_save_CC=$CC
5387cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388/* end confdefs.h. */
5389#include <stdarg.h>
5390#include <stdio.h>
5391#include <sys/types.h>
5392#include <sys/stat.h>
5393/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5394struct buf { int x; };
5395FILE * (*rcsopen) (struct buf *, struct stat *, int);
5396static char *e (p, i)
5397 char **p;
5398 int i;
5399{
5400 return p[i];
5401}
5402static char *f (char * (*g) (char **, int), char **p, ...)
5403{
5404 char *s;
5405 va_list v;
5406 va_start (v,p);
5407 s = g (p, va_arg (v,int));
5408 va_end (v);
5409 return s;
5410}
5411
5412/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5413 function prototypes and stuff, but not '\xHH' hex character constants.
5414 These don't provoke an error unfortunately, instead are silently treated
5415 as 'x'. The following induces an error, until -std is added to get
5416 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5417 array size at least. It's necessary to write '\x00'==0 to get something
5418 that's true only with -std. */
5419int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5420
5421/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5422 inside strings and character constants. */
5423#define FOO(x) 'x'
5424int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5425
5426int test (int i, double x);
5427struct s1 {int (*f) (int a);};
5428struct s2 {int (*f) (double a);};
5429int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5430int argc;
5431char **argv;
5432int
5433main ()
5434{
5435return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5436 ;
5437 return 0;
5438}
5439_ACEOF
5440for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5441 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5442do
5443 CC="$ac_save_CC $ac_arg"
5444 if ac_fn_c_try_compile "$LINENO"; then :
5445 ac_cv_prog_cc_c89=$ac_arg
5446fi
5447rm -f core conftest.err conftest.$ac_objext
5448 test "x$ac_cv_prog_cc_c89" != "xno" && break
5449done
5450rm -f conftest.$ac_ext
5451CC=$ac_save_CC
5452
5453fi
5454# AC_CACHE_VAL
5455case "x$ac_cv_prog_cc_c89" in
5456 x)
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5458$as_echo "none needed" >&6; } ;;
5459 xno)
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5461$as_echo "unsupported" >&6; } ;;
5462 *)
5463 CC="$CC $ac_cv_prog_cc_c89"
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5465$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5466esac
5467if test "x$ac_cv_prog_cc_c89" != xno; then :
5468
5469fi
5470
5471ac_ext=c
5472ac_cpp='$CPP $CPPFLAGS'
5473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5475ac_compiler_gnu=$ac_cv_c_compiler_gnu
5476
5477depcc="$CC" am_compiler_list=
5478
5479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5480$as_echo_n "checking dependency style of $depcc... " >&6; }
5481if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5483else
5484 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5485 # We make a subdir and do the tests there. Otherwise we can end up
5486 # making bogus files that we don't know about and never remove. For
5487 # instance it was reported that on HP-UX the gcc test will end up
5488 # making a dummy file named `D' -- because `-MD' means `put the output
5489 # in D'.
5490 mkdir conftest.dir
5491 # Copy depcomp to subdir because otherwise we won't find it if we're
5492 # using a relative directory.
5493 cp "$am_depcomp" conftest.dir
5494 cd conftest.dir
5495 # We will build objects and dependencies in a subdirectory because
5496 # it helps to detect inapplicable dependency modes. For instance
5497 # both Tru64's cc and ICC support -MD to output dependencies as a
5498 # side effect of compilation, but ICC will put the dependencies in
5499 # the current directory while Tru64 will put them in the object
5500 # directory.
5501 mkdir sub
5502
5503 am_cv_CC_dependencies_compiler_type=none
5504 if test "$am_compiler_list" = ""; then
5505 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5506 fi
5507 am__universal=false
5508 case " $depcc " in #(
5509 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5510 esac
5511
5512 for depmode in $am_compiler_list; do
5513 # Setup a source with many dependencies, because some compilers
5514 # like to wrap large dependency lists on column 80 (with \), and
5515 # we should not choose a depcomp mode which is confused by this.
5516 #
5517 # We need to recreate these files for each test, as the compiler may
5518 # overwrite some of them when testing with obscure command lines.
5519 # This happens at least with the AIX C compiler.
5520 : > sub/conftest.c
5521 for i in 1 2 3 4 5 6; do
5522 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5523 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5524 # Solaris 8's {/usr,}/bin/sh.
5525 touch sub/conftst$i.h
5526 done
5527 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5528
5529 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5530 # mode. It turns out that the SunPro C++ compiler does not properly
5531 # handle `-M -o', and we need to detect this. Also, some Intel
5532 # versions had trouble with output in subdirs
5533 am__obj=sub/conftest.${OBJEXT-o}
5534 am__minus_obj="-o $am__obj"
5535 case $depmode in
5536 gcc)
5537 # This depmode causes a compiler race in universal mode.
5538 test "$am__universal" = false || continue
5539 ;;
5540 nosideeffect)
5541 # after this tag, mechanisms are not by side-effect, so they'll
5542 # only be used when explicitly requested
5543 if test "x$enable_dependency_tracking" = xyes; then
5544 continue
5545 else
5546 break
5547 fi
5548 ;;
5549 msvisualcpp | msvcmsys)
5550 # This compiler won't grok `-c -o', but also, the minuso test has
5551 # not run yet. These depmodes are late enough in the game, and
5552 # so weak that their functioning should not be impacted.
5553 am__obj=conftest.${OBJEXT-o}
5554 am__minus_obj=
5555 ;;
5556 none) break ;;
5557 esac
5558 if depmode=$depmode \
5559 source=sub/conftest.c object=$am__obj \
5560 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5561 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5562 >/dev/null 2>conftest.err &&
5563 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5564 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5565 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5566 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5567 # icc doesn't choke on unknown options, it will just issue warnings
5568 # or remarks (even with -Werror). So we grep stderr for any message
5569 # that says an option was ignored or not supported.
5570 # When given -MP, icc 7.0 and 7.1 complain thusly:
5571 # icc: Command line warning: ignoring option '-M'; no argument required
5572 # The diagnosis changed in icc 8.0:
5573 # icc: Command line remark: option '-MP' not supported
5574 if (grep 'ignoring option' conftest.err ||
5575 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5576 am_cv_CC_dependencies_compiler_type=$depmode
5577 break
5578 fi
5579 fi
5580 done
5581
5582 cd ..
5583 rm -rf conftest.dir
5584else
5585 am_cv_CC_dependencies_compiler_type=none
5586fi
5587
5588fi
5589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5590$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5591CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5592
5593 if
5594 test "x$enable_dependency_tracking" != xno \
5595 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5596 am__fastdepCC_TRUE=
5597 am__fastdepCC_FALSE='#'
5598else
5599 am__fastdepCC_TRUE='#'
5600 am__fastdepCC_FALSE=
5601fi
5602
5603
5604 case $ac_cv_prog_cc_stdc in #(
5605 no) :
5606 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
5607 *) :
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5609$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5610if test "${ac_cv_prog_cc_c99+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5612else
5613 ac_cv_prog_cc_c99=no
5614ac_save_CC=$CC
5615cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616/* end confdefs.h. */
5617#include <stdarg.h>
5618#include <stdbool.h>
5619#include <stdlib.h>
5620#include <wchar.h>
5621#include <stdio.h>
5622
5623// Check varargs macros. These examples are taken from C99 6.10.3.5.
5624#define debug(...) fprintf (stderr, __VA_ARGS__)
5625#define showlist(...) puts (#__VA_ARGS__)
5626#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5627static void
5628test_varargs_macros (void)
5629{
5630 int x = 1234;
5631 int y = 5678;
5632 debug ("Flag");
5633 debug ("X = %d\n", x);
5634 showlist (The first, second, and third items.);
5635 report (x>y, "x is %d but y is %d", x, y);
5636}
5637
5638// Check long long types.
5639#define BIG64 18446744073709551615ull
5640#define BIG32 4294967295ul
5641#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5642#if !BIG_OK
5643 your preprocessor is broken;
5644#endif
5645#if BIG_OK
5646#else
5647 your preprocessor is broken;
5648#endif
5649static long long int bignum = -9223372036854775807LL;
5650static unsigned long long int ubignum = BIG64;
5651
5652struct incomplete_array
5653{
5654 int datasize;
5655 double data[];
5656};
5657
5658struct named_init {
5659 int number;
5660 const wchar_t *name;
5661 double average;
5662};
5663
5664typedef const char *ccp;
5665
5666static inline int
5667test_restrict (ccp restrict text)
5668{
5669 // See if C++-style comments work.
5670 // Iterate through items via the restricted pointer.
5671 // Also check for declarations in for loops.
5672 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5673 continue;
5674 return 0;
5675}
5676
5677// Check varargs and va_copy.
5678static void
5679test_varargs (const char *format, ...)
5680{
5681 va_list args;
5682 va_start (args, format);
5683 va_list args_copy;
5684 va_copy (args_copy, args);
5685
5686 const char *str;
5687 int number;
5688 float fnumber;
5689
5690 while (*format)
5691 {
5692 switch (*format++)
5693 {
5694 case 's': // string
5695 str = va_arg (args_copy, const char *);
5696 break;
5697 case 'd': // int
5698 number = va_arg (args_copy, int);
5699 break;
5700 case 'f': // float
5701 fnumber = va_arg (args_copy, double);
5702 break;
5703 default:
5704 break;
5705 }
5706 }
5707 va_end (args_copy);
5708 va_end (args);
5709}
5710
5711int
5712main ()
5713{
5714
5715 // Check bool.
5716 _Bool success = false;
5717
5718 // Check restrict.
5719 if (test_restrict ("String literal") == 0)
5720 success = true;
5721 char *restrict newvar = "Another string";
5722
5723 // Check varargs.
5724 test_varargs ("s, d' f .", "string", 65, 34.234);
5725 test_varargs_macros ();
5726
5727 // Check flexible array members.
5728 struct incomplete_array *ia =
5729 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5730 ia->datasize = 10;
5731 for (int i = 0; i < ia->datasize; ++i)
5732 ia->data[i] = i * 1.234;
5733
5734 // Check named initializers.
5735 struct named_init ni = {
5736 .number = 34,
5737 .name = L"Test wide string",
5738 .average = 543.34343,
5739 };
5740
5741 ni.number = 58;
5742
5743 int dynamic_array[ni.number];
5744 dynamic_array[ni.number - 1] = 543;
5745
5746 // work around unused variable warnings
5747 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5748 || dynamic_array[ni.number - 1] != 543);
5749
5750 ;
5751 return 0;
5752}
5753_ACEOF
5754for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
5755do
5756 CC="$ac_save_CC $ac_arg"
5757 if ac_fn_c_try_compile "$LINENO"; then :
5758 ac_cv_prog_cc_c99=$ac_arg
5759fi
5760rm -f core conftest.err conftest.$ac_objext
5761 test "x$ac_cv_prog_cc_c99" != "xno" && break
5762done
5763rm -f conftest.$ac_ext
5764CC=$ac_save_CC
5765
5766fi
5767# AC_CACHE_VAL
5768case "x$ac_cv_prog_cc_c99" in
5769 x)
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5771$as_echo "none needed" >&6; } ;;
5772 xno)
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5774$as_echo "unsupported" >&6; } ;;
5775 *)
5776 CC="$CC $ac_cv_prog_cc_c99"
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5778$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5779esac
5780if test "x$ac_cv_prog_cc_c99" != xno; then :
5781 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5782else
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5784$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5785if test "${ac_cv_prog_cc_c89+set}" = set; then :
5786 $as_echo_n "(cached) " >&6
5787else
5788 ac_cv_prog_cc_c89=no
5789ac_save_CC=$CC
5790cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791/* end confdefs.h. */
5792#include <stdarg.h>
5793#include <stdio.h>
5794#include <sys/types.h>
5795#include <sys/stat.h>
5796/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5797struct buf { int x; };
5798FILE * (*rcsopen) (struct buf *, struct stat *, int);
5799static char *e (p, i)
5800 char **p;
5801 int i;
5802{
5803 return p[i];
5804}
5805static char *f (char * (*g) (char **, int), char **p, ...)
5806{
5807 char *s;
5808 va_list v;
5809 va_start (v,p);
5810 s = g (p, va_arg (v,int));
5811 va_end (v);
5812 return s;
5813}
5814
5815/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5816 function prototypes and stuff, but not '\xHH' hex character constants.
5817 These don't provoke an error unfortunately, instead are silently treated
5818 as 'x'. The following induces an error, until -std is added to get
5819 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5820 array size at least. It's necessary to write '\x00'==0 to get something
5821 that's true only with -std. */
5822int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5823
5824/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5825 inside strings and character constants. */
5826#define FOO(x) 'x'
5827int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5828
5829int test (int i, double x);
5830struct s1 {int (*f) (int a);};
5831struct s2 {int (*f) (double a);};
5832int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5833int argc;
5834char **argv;
5835int
5836main ()
5837{
5838return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5839 ;
5840 return 0;
5841}
5842_ACEOF
5843for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5844 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5845do
5846 CC="$ac_save_CC $ac_arg"
5847 if ac_fn_c_try_compile "$LINENO"; then :
5848 ac_cv_prog_cc_c89=$ac_arg
5849fi
5850rm -f core conftest.err conftest.$ac_objext
5851 test "x$ac_cv_prog_cc_c89" != "xno" && break
5852done
5853rm -f conftest.$ac_ext
5854CC=$ac_save_CC
5855
5856fi
5857# AC_CACHE_VAL
5858case "x$ac_cv_prog_cc_c89" in
5859 x)
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5861$as_echo "none needed" >&6; } ;;
5862 xno)
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5864$as_echo "unsupported" >&6; } ;;
5865 *)
5866 CC="$CC $ac_cv_prog_cc_c89"
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5868$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5869esac
5870if test "x$ac_cv_prog_cc_c89" != xno; then :
5871 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5872else
5873 ac_cv_prog_cc_stdc=no
5874fi
5875
5876fi
5877 ;;
5878esac
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5880$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5881 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
5882 $as_echo_n "(cached) " >&6
5883fi
5884
5885 case $ac_cv_prog_cc_stdc in #(
5886 no) :
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5888$as_echo "unsupported" >&6; } ;; #(
5889 '') :
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5891$as_echo "none needed" >&6; } ;; #(
5892 *) :
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5894$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5895esac
5896
5897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5898$as_echo_n "checking for ANSI C header files... " >&6; }
5899if test "${ac_cv_header_stdc+set}" = set; then :
5900 $as_echo_n "(cached) " >&6
5901else
5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5903/* end confdefs.h. */
5904#include <stdlib.h>
5905#include <stdarg.h>
5906#include <string.h>
5907#include <float.h>
5908
5909int
5910main ()
5911{
5912
5913 ;
5914 return 0;
5915}
5916_ACEOF
5917if ac_fn_c_try_compile "$LINENO"; then :
5918 ac_cv_header_stdc=yes
5919else
5920 ac_cv_header_stdc=no
5921fi
5922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5923
5924if test $ac_cv_header_stdc = yes; then
5925 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927/* end confdefs.h. */
5928#include <string.h>
5929
5930_ACEOF
5931if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932 $EGREP "memchr" >/dev/null 2>&1; then :
5933
5934else
5935 ac_cv_header_stdc=no
5936fi
5937rm -f conftest*
5938
5939fi
5940
5941if test $ac_cv_header_stdc = yes; then
5942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5944/* end confdefs.h. */
5945#include <stdlib.h>
5946
5947_ACEOF
5948if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5949 $EGREP "free" >/dev/null 2>&1; then :
5950
5951else
5952 ac_cv_header_stdc=no
5953fi
5954rm -f conftest*
5955
5956fi
5957
5958if test $ac_cv_header_stdc = yes; then
5959 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5960 if test "$cross_compiling" = yes; then :
5961 :
5962else
5963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964/* end confdefs.h. */
5965#include <ctype.h>
5966#include <stdlib.h>
5967#if ((' ' & 0x0FF) == 0x020)
5968# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5969# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5970#else
5971# define ISLOWER(c) \
5972 (('a' <= (c) && (c) <= 'i') \
5973 || ('j' <= (c) && (c) <= 'r') \
5974 || ('s' <= (c) && (c) <= 'z'))
5975# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5976#endif
5977
5978#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5979int
5980main ()
5981{
5982 int i;
5983 for (i = 0; i < 256; i++)
5984 if (XOR (islower (i), ISLOWER (i))
5985 || toupper (i) != TOUPPER (i))
5986 return 2;
5987 return 0;
5988}
5989_ACEOF
5990if ac_fn_c_try_run "$LINENO"; then :
5991
5992else
5993 ac_cv_header_stdc=no
5994fi
5995rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5996 conftest.$ac_objext conftest.beam conftest.$ac_ext
5997fi
5998
5999fi
6000fi
6001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6002$as_echo "$ac_cv_header_stdc" >&6; }
6003if test $ac_cv_header_stdc = yes; then
6004
6005$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6006
6007fi
6008
6009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6010$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6011if test "${ac_cv_c_const+set}" = set; then :
6012 $as_echo_n "(cached) " >&6
6013else
6014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6015/* end confdefs.h. */
6016
6017int
6018main ()
6019{
6020/* FIXME: Include the comments suggested by Paul. */
6021#ifndef __cplusplus
6022 /* Ultrix mips cc rejects this. */
6023 typedef int charset[2];
6024 const charset cs;
6025 /* SunOS 4.1.1 cc rejects this. */
6026 char const *const *pcpcc;
6027 char **ppc;
6028 /* NEC SVR4.0.2 mips cc rejects this. */
6029 struct point {int x, y;};
6030 static struct point const zero = {0,0};
6031 /* AIX XL C 1.02.0.0 rejects this.
6032 It does not let you subtract one const X* pointer from another in
6033 an arm of an if-expression whose if-part is not a constant
6034 expression */
6035 const char *g = "string";
6036 pcpcc = &g + (g ? g-g : 0);
6037 /* HPUX 7.0 cc rejects these. */
6038 ++pcpcc;
6039 ppc = (char**) pcpcc;
6040 pcpcc = (char const *const *) ppc;
6041 { /* SCO 3.2v4 cc rejects this. */
6042 char *t;
6043 char const *s = 0 ? (char *) 0 : (char const *) 0;
6044
6045 *t++ = 0;
6046 if (s) return 0;
6047 }
6048 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6049 int x[] = {25, 17};
6050 const int *foo = &x[0];
6051 ++foo;
6052 }
6053 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6054 typedef const int *iptr;
6055 iptr p = 0;
6056 ++p;
6057 }
6058 { /* AIX XL C 1.02.0.0 rejects this saying
6059 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6060 struct s { int j; const int *ap[3]; };
6061 struct s *b; b->j = 5;
6062 }
6063 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6064 const int foo = 10;
6065 if (!foo) return 0;
6066 }
6067 return !cs[0] && !zero.x;
6068#endif
6069
6070 ;
6071 return 0;
6072}
6073_ACEOF
6074if ac_fn_c_try_compile "$LINENO"; then :
6075 ac_cv_c_const=yes
6076else
6077 ac_cv_c_const=no
6078fi
6079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6080fi
6081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6082$as_echo "$ac_cv_c_const" >&6; }
6083if test $ac_cv_c_const = no; then
6084
6085$as_echo "#define const /**/" >>confdefs.h
6086
6087fi
6088
6089
6090
6091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
6092$as_echo_n "checking for __attribute__... " >&6; }
6093
6094if test "${ac_cv___attribute__+set}" = set; then :
6095 $as_echo_n "(cached) " >&6
6096else
6097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098/* end confdefs.h. */
6099
6100#include <stdlib.h>
6101
6102int func(int x);
6103int foo(int x __attribute__ ((unused)))
6104{
6105 exit(1);
6106}
6107
6108int
6109main ()
6110{
6111
6112 ;
6113 return 0;
6114}
6115_ACEOF
6116if ac_fn_c_try_compile "$LINENO"; then :
6117 ac_cv___attribute__="yes"
6118else
6119 ac_cv___attribute__="no"
6120
6121fi
6122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6123fi
6124
6125
6126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
6127$as_echo "$ac_cv___attribute__" >&6; }
6128
6129if test "x${ac_cv___attribute__}" = "xyes" ; then
6130
6131$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
6132
6133
6134$as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
6135
6136 else
6137
6138$as_echo "#define __UNUSED__ /**/" >>confdefs.h
6139
6140fi
6141
6142
6143# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6144# for constant arguments. Useless!
6145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6146$as_echo_n "checking for working alloca.h... " >&6; }
6147if test "${ac_cv_working_alloca_h+set}" = set; then :
6148 $as_echo_n "(cached) " >&6
6149else
6150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6151/* end confdefs.h. */
6152#include <alloca.h>
6153int
6154main ()
6155{
6156char *p = (char *) alloca (2 * sizeof (int));
6157 if (p) return 0;
6158 ;
6159 return 0;
6160}
6161_ACEOF
6162if ac_fn_c_try_link "$LINENO"; then :
6163 ac_cv_working_alloca_h=yes
6164else
6165 ac_cv_working_alloca_h=no
6166fi
6167rm -f core conftest.err conftest.$ac_objext \
6168 conftest$ac_exeext conftest.$ac_ext
6169fi
6170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6171$as_echo "$ac_cv_working_alloca_h" >&6; }
6172if test $ac_cv_working_alloca_h = yes; then
6173
6174$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6175
6176fi
6177
6178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6179$as_echo_n "checking for alloca... " >&6; }
6180if test "${ac_cv_func_alloca_works+set}" = set; then :
6181 $as_echo_n "(cached) " >&6
6182else
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184/* end confdefs.h. */
6185#ifdef __GNUC__
6186# define alloca __builtin_alloca
6187#else
6188# ifdef _MSC_VER
6189# include <malloc.h>
6190# define alloca _alloca
6191# else
6192# ifdef HAVE_ALLOCA_H
6193# include <alloca.h>
6194# else
6195# ifdef _AIX
6196 #pragma alloca
6197# else
6198# ifndef alloca /* predefined by HP cc +Olibcalls */
6199char *alloca ();
6200# endif
6201# endif
6202# endif
6203# endif
6204#endif
6205
6206int
6207main ()
6208{
6209char *p = (char *) alloca (1);
6210 if (p) return 0;
6211 ;
6212 return 0;
6213}
6214_ACEOF
6215if ac_fn_c_try_link "$LINENO"; then :
6216 ac_cv_func_alloca_works=yes
6217else
6218 ac_cv_func_alloca_works=no
6219fi
6220rm -f core conftest.err conftest.$ac_objext \
6221 conftest$ac_exeext conftest.$ac_ext
6222fi
6223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6224$as_echo "$ac_cv_func_alloca_works" >&6; }
6225
6226if test $ac_cv_func_alloca_works = yes; then
6227
6228$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6229
6230else
6231 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6232# that cause trouble. Some versions do not even contain alloca or
6233# contain a buggy version. If you still want to use their alloca,
6234# use ar to extract alloca.o from them instead of compiling alloca.c.
6235
6236ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6237
6238$as_echo "#define C_ALLOCA 1" >>confdefs.h
6239
6240
6241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6242$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6243if test "${ac_cv_os_cray+set}" = set; then :
6244 $as_echo_n "(cached) " >&6
6245else
6246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247/* end confdefs.h. */
6248#if defined CRAY && ! defined CRAY2
6249webecray
6250#else
6251wenotbecray
6252#endif
6253
6254_ACEOF
6255if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6256 $EGREP "webecray" >/dev/null 2>&1; then :
6257 ac_cv_os_cray=yes
6258else
6259 ac_cv_os_cray=no
6260fi
6261rm -f conftest*
6262
6263fi
6264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6265$as_echo "$ac_cv_os_cray" >&6; }
6266if test $ac_cv_os_cray = yes; then
6267 for ac_func in _getb67 GETB67 getb67; do
6268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6269ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6270if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6271
6272cat >>confdefs.h <<_ACEOF
6273#define CRAY_STACKSEG_END $ac_func
6274_ACEOF
6275
6276 break
6277fi
6278
6279 done
6280fi
6281
6282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6283$as_echo_n "checking stack direction for C alloca... " >&6; }
6284if test "${ac_cv_c_stack_direction+set}" = set; then :
6285 $as_echo_n "(cached) " >&6
6286else
6287 if test "$cross_compiling" = yes; then :
6288 ac_cv_c_stack_direction=0
6289else
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291/* end confdefs.h. */
6292$ac_includes_default
6293int
6294find_stack_direction ()
6295{
6296 static char *addr = 0;
6297 auto char dummy;
6298 if (addr == 0)
6299 {
6300 addr = &dummy;
6301 return find_stack_direction ();
6302 }
6303 else
6304 return (&dummy > addr) ? 1 : -1;
6305}
6306
6307int
6308main ()
6309{
6310 return find_stack_direction () < 0;
6311}
6312_ACEOF
6313if ac_fn_c_try_run "$LINENO"; then :
6314 ac_cv_c_stack_direction=1
6315else
6316 ac_cv_c_stack_direction=-1
6317fi
6318rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6319 conftest.$ac_objext conftest.beam conftest.$ac_ext
6320fi
6321
6322fi
6323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6324$as_echo "$ac_cv_c_stack_direction" >&6; }
6325cat >>confdefs.h <<_ACEOF
6326#define STACK_DIRECTION $ac_cv_c_stack_direction
6327_ACEOF
6328
6329
6330fi
6331
6332
6333enable_win32_dll=yes
6334
6335case $host in
6336*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6337 if test -n "$ac_tool_prefix"; then
6338 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6339set dummy ${ac_tool_prefix}as; ac_word=$2
6340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341$as_echo_n "checking for $ac_word... " >&6; }
6342if test "${ac_cv_prog_AS+set}" = set; then :
6343 $as_echo_n "(cached) " >&6
6344else
6345 if test -n "$AS"; then
6346 ac_cv_prog_AS="$AS" # Let the user override the test.
6347else
6348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349for as_dir in $PATH
6350do
6351 IFS=$as_save_IFS
6352 test -z "$as_dir" && as_dir=.
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355 ac_cv_prog_AS="${ac_tool_prefix}as"
6356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 break 2
6358 fi
6359done
6360 done
6361IFS=$as_save_IFS
6362
6363fi
6364fi
6365AS=$ac_cv_prog_AS
6366if test -n "$AS"; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6368$as_echo "$AS" >&6; }
6369else
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371$as_echo "no" >&6; }
6372fi
6373
6374
6375fi
6376if test -z "$ac_cv_prog_AS"; then
6377 ac_ct_AS=$AS
6378 # Extract the first word of "as", so it can be a program name with args.
6379set dummy as; ac_word=$2
6380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381$as_echo_n "checking for $ac_word... " >&6; }
6382if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6383 $as_echo_n "(cached) " >&6
6384else
6385 if test -n "$ac_ct_AS"; then
6386 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6387else
6388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389for as_dir in $PATH
6390do
6391 IFS=$as_save_IFS
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395 ac_cv_prog_ac_ct_AS="as"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 break 2
6398 fi
6399done
6400 done
6401IFS=$as_save_IFS
6402
6403fi
6404fi
6405ac_ct_AS=$ac_cv_prog_ac_ct_AS
6406if test -n "$ac_ct_AS"; then
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6408$as_echo "$ac_ct_AS" >&6; }
6409else
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411$as_echo "no" >&6; }
6412fi
6413
6414 if test "x$ac_ct_AS" = x; then
6415 AS="false"
6416 else
6417 case $cross_compiling:$ac_tool_warned in
6418yes:)
6419{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6420$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6421ac_tool_warned=yes ;;
6422esac
6423 AS=$ac_ct_AS
6424 fi
6425else
6426 AS="$ac_cv_prog_AS"
6427fi
6428
6429 if test -n "$ac_tool_prefix"; then
6430 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6431set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433$as_echo_n "checking for $ac_word... " >&6; }
6434if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6435 $as_echo_n "(cached) " >&6
6436else
6437 if test -n "$DLLTOOL"; then
6438 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6439else
6440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441for as_dir in $PATH
6442do
6443 IFS=$as_save_IFS
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6447 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449 break 2
6450 fi
6451done
6452 done
6453IFS=$as_save_IFS
6454
6455fi
6456fi
6457DLLTOOL=$ac_cv_prog_DLLTOOL
6458if test -n "$DLLTOOL"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6460$as_echo "$DLLTOOL" >&6; }
6461else
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463$as_echo "no" >&6; }
6464fi
6465
6466
6467fi
6468if test -z "$ac_cv_prog_DLLTOOL"; then
6469 ac_ct_DLLTOOL=$DLLTOOL
6470 # Extract the first word of "dlltool", so it can be a program name with args.
6471set dummy dlltool; ac_word=$2
6472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473$as_echo_n "checking for $ac_word... " >&6; }
6474if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6475 $as_echo_n "(cached) " >&6
6476else
6477 if test -n "$ac_ct_DLLTOOL"; then
6478 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6479else
6480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481for as_dir in $PATH
6482do
6483 IFS=$as_save_IFS
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 break 2
6490 fi
6491done
6492 done
6493IFS=$as_save_IFS
6494
6495fi
6496fi
6497ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6498if test -n "$ac_ct_DLLTOOL"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6500$as_echo "$ac_ct_DLLTOOL" >&6; }
6501else
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503$as_echo "no" >&6; }
6504fi
6505
6506 if test "x$ac_ct_DLLTOOL" = x; then
6507 DLLTOOL="false"
6508 else
6509 case $cross_compiling:$ac_tool_warned in
6510yes:)
6511{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6512$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6513ac_tool_warned=yes ;;
6514esac
6515 DLLTOOL=$ac_ct_DLLTOOL
6516 fi
6517else
6518 DLLTOOL="$ac_cv_prog_DLLTOOL"
6519fi
6520
6521 if test -n "$ac_tool_prefix"; then
6522 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6523set dummy ${ac_tool_prefix}objdump; ac_word=$2
6524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525$as_echo_n "checking for $ac_word... " >&6; }
6526if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6527 $as_echo_n "(cached) " >&6
6528else
6529 if test -n "$OBJDUMP"; then
6530 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6531else
6532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533for as_dir in $PATH
6534do
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6542 fi
6543done
6544 done
6545IFS=$as_save_IFS
6546
6547fi
6548fi
6549OBJDUMP=$ac_cv_prog_OBJDUMP
6550if test -n "$OBJDUMP"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6552$as_echo "$OBJDUMP" >&6; }
6553else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555$as_echo "no" >&6; }
6556fi
6557
6558
6559fi
6560if test -z "$ac_cv_prog_OBJDUMP"; then
6561 ac_ct_OBJDUMP=$OBJDUMP
6562 # Extract the first word of "objdump", so it can be a program name with args.
6563set dummy objdump; ac_word=$2
6564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565$as_echo_n "checking for $ac_word... " >&6; }
6566if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6567 $as_echo_n "(cached) " >&6
6568else
6569 if test -n "$ac_ct_OBJDUMP"; then
6570 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6571else
6572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573for as_dir in $PATH
6574do
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6582 fi
6583done
6584 done
6585IFS=$as_save_IFS
6586
6587fi
6588fi
6589ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6590if test -n "$ac_ct_OBJDUMP"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6592$as_echo "$ac_ct_OBJDUMP" >&6; }
6593else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595$as_echo "no" >&6; }
6596fi
6597
6598 if test "x$ac_ct_OBJDUMP" = x; then
6599 OBJDUMP="false"
6600 else
6601 case $cross_compiling:$ac_tool_warned in
6602yes:)
6603{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605ac_tool_warned=yes ;;
6606esac
6607 OBJDUMP=$ac_ct_OBJDUMP
6608 fi
6609else
6610 OBJDUMP="$ac_cv_prog_OBJDUMP"
6611fi
6612
6613 ;;
6614esac
6615
6616test -z "$AS" && AS=as
6617
6618
6619
6620
6621
6622test -z "$DLLTOOL" && DLLTOOL=dlltool
6623
6624
6625
6626
6627
6628test -z "$OBJDUMP" && OBJDUMP=objdump
6629
6630
6631
6632
6633
6634
6635
6636case `pwd` in
6637 *\ * | *\ *)
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6639$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6640esac
6641
6642
6643
6644macro_version='2.2.6b'
6645macro_revision='1.3017'
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659ltmain="$ac_aux_dir/ltmain.sh"
6660
6661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6662$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6663if test "${ac_cv_path_SED+set}" = set; then :
6664 $as_echo_n "(cached) " >&6
6665else
6666 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6667 for ac_i in 1 2 3 4 5 6 7; do
6668 ac_script="$ac_script$as_nl$ac_script"
6669 done
6670 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6671 { ac_script=; unset ac_script;}
6672 if test -z "$SED"; then
6673 ac_path_SED_found=false
6674 # Loop through the user's path and test for each of PROGNAME-LIST
6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676for as_dir in $PATH
6677do
6678 IFS=$as_save_IFS
6679 test -z "$as_dir" && as_dir=.
6680 for ac_prog in sed gsed; do
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6683 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6684# Check for GNU ac_path_SED and select it if it is found.
6685 # Check for GNU $ac_path_SED
6686case `"$ac_path_SED" --version 2>&1` in
6687*GNU*)
6688 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6689*)
6690 ac_count=0
6691 $as_echo_n 0123456789 >"conftest.in"
6692 while :
6693 do
6694 cat "conftest.in" "conftest.in" >"conftest.tmp"
6695 mv "conftest.tmp" "conftest.in"
6696 cp "conftest.in" "conftest.nl"
6697 $as_echo '' >> "conftest.nl"
6698 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6700 as_fn_arith $ac_count + 1 && ac_count=$as_val
6701 if test $ac_count -gt ${ac_path_SED_max-0}; then
6702 # Best one so far, save it but keep looking for a better one
6703 ac_cv_path_SED="$ac_path_SED"
6704 ac_path_SED_max=$ac_count
6705 fi
6706 # 10*(2^10) chars as input seems more than enough
6707 test $ac_count -gt 10 && break
6708 done
6709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6710esac
6711
6712 $ac_path_SED_found && break 3
6713 done
6714 done
6715 done
6716IFS=$as_save_IFS
6717 if test -z "$ac_cv_path_SED"; then
6718 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6719 fi
6720else
6721 ac_cv_path_SED=$SED
6722fi
6723
6724fi
6725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6726$as_echo "$ac_cv_path_SED" >&6; }
6727 SED="$ac_cv_path_SED"
6728 rm -f conftest.sed
6729
6730test -z "$SED" && SED=sed
6731Xsed="$SED -e 1s/^X//"
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6744$as_echo_n "checking for fgrep... " >&6; }
6745if test "${ac_cv_path_FGREP+set}" = set; then :
6746 $as_echo_n "(cached) " >&6
6747else
6748 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6749 then ac_cv_path_FGREP="$GREP -F"
6750 else
6751 if test -z "$FGREP"; then
6752 ac_path_FGREP_found=false
6753 # Loop through the user's path and test for each of PROGNAME-LIST
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6756do
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_prog in fgrep; do
6760 for ac_exec_ext in '' $ac_executable_extensions; do
6761 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6762 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6763# Check for GNU ac_path_FGREP and select it if it is found.
6764 # Check for GNU $ac_path_FGREP
6765case `"$ac_path_FGREP" --version 2>&1` in
6766*GNU*)
6767 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6768*)
6769 ac_count=0
6770 $as_echo_n 0123456789 >"conftest.in"
6771 while :
6772 do
6773 cat "conftest.in" "conftest.in" >"conftest.tmp"
6774 mv "conftest.tmp" "conftest.in"
6775 cp "conftest.in" "conftest.nl"
6776 $as_echo 'FGREP' >> "conftest.nl"
6777 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6778 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6779 as_fn_arith $ac_count + 1 && ac_count=$as_val
6780 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6781 # Best one so far, save it but keep looking for a better one
6782 ac_cv_path_FGREP="$ac_path_FGREP"
6783 ac_path_FGREP_max=$ac_count
6784 fi
6785 # 10*(2^10) chars as input seems more than enough
6786 test $ac_count -gt 10 && break
6787 done
6788 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6789esac
6790
6791 $ac_path_FGREP_found && break 3
6792 done
6793 done
6794 done
6795IFS=$as_save_IFS
6796 if test -z "$ac_cv_path_FGREP"; then
6797 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6798 fi
6799else
6800 ac_cv_path_FGREP=$FGREP
6801fi
6802
6803 fi
6804fi
6805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6806$as_echo "$ac_cv_path_FGREP" >&6; }
6807 FGREP="$ac_cv_path_FGREP"
6808
6809
6810test -z "$GREP" && GREP=grep
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830# Check whether --with-gnu-ld was given.
6831if test "${with_gnu_ld+set}" = set; then :
6832 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6833else
6834 with_gnu_ld=no
6835fi
6836
6837ac_prog=ld
6838if test "$GCC" = yes; then
6839 # Check if gcc -print-prog-name=ld gives a path.
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6841$as_echo_n "checking for ld used by $CC... " >&6; }
6842 case $host in
6843 *-*-mingw*)
6844 # gcc leaves a trailing carriage return which upsets mingw
6845 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6846 *)
6847 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6848 esac
6849 case $ac_prog in
6850 # Accept absolute paths.
6851 [\\/]* | ?:[\\/]*)
6852 re_direlt='/[^/][^/]*/\.\./'
6853 # Canonicalize the pathname of ld
6854 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6855 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6856 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6857 done
6858 test -z "$LD" && LD="$ac_prog"
6859 ;;
6860 "")
6861 # If it fails, then pretend we aren't using GCC.
6862 ac_prog=ld
6863 ;;
6864 *)
6865 # If it is relative, then search for the first ld in PATH.
6866 with_gnu_ld=unknown
6867 ;;
6868 esac
6869elif test "$with_gnu_ld" = yes; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6871$as_echo_n "checking for GNU ld... " >&6; }
6872else
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6874$as_echo_n "checking for non-GNU ld... " >&6; }
6875fi
6876if test "${lt_cv_path_LD+set}" = set; then :
6877 $as_echo_n "(cached) " >&6
6878else
6879 if test -z "$LD"; then
6880 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6881 for ac_dir in $PATH; do
6882 IFS="$lt_save_ifs"
6883 test -z "$ac_dir" && ac_dir=.
6884 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6885 lt_cv_path_LD="$ac_dir/$ac_prog"
6886 # Check to see if the program is GNU ld. I'd rather use --version,
6887 # but apparently some variants of GNU ld only accept -v.
6888 # Break only if it was the GNU/non-GNU ld that we prefer.
6889 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6890 *GNU* | *'with BFD'*)
6891 test "$with_gnu_ld" != no && break
6892 ;;
6893 *)
6894 test "$with_gnu_ld" != yes && break
6895 ;;
6896 esac
6897 fi
6898 done
6899 IFS="$lt_save_ifs"
6900else
6901 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6902fi
6903fi
6904
6905LD="$lt_cv_path_LD"
6906if test -n "$LD"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6908$as_echo "$LD" >&6; }
6909else
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911$as_echo "no" >&6; }
6912fi
6913test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6915$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6916if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6917 $as_echo_n "(cached) " >&6
6918else
6919 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6920case `$LD -v 2>&1 </dev/null` in
6921*GNU* | *'with BFD'*)
6922 lt_cv_prog_gnu_ld=yes
6923 ;;
6924*)
6925 lt_cv_prog_gnu_ld=no
6926 ;;
6927esac
6928fi
6929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6930$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6931with_gnu_ld=$lt_cv_prog_gnu_ld
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6942$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6943if test "${lt_cv_path_NM+set}" = set; then :
6944 $as_echo_n "(cached) " >&6
6945else
6946 if test -n "$NM"; then
6947 # Let the user override the test.
6948 lt_cv_path_NM="$NM"
6949else
6950 lt_nm_to_check="${ac_tool_prefix}nm"
6951 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6952 lt_nm_to_check="$lt_nm_to_check nm"
6953 fi
6954 for lt_tmp_nm in $lt_nm_to_check; do
6955 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6956 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6957 IFS="$lt_save_ifs"
6958 test -z "$ac_dir" && ac_dir=.
6959 tmp_nm="$ac_dir/$lt_tmp_nm"
6960 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6961 # Check to see if the nm accepts a BSD-compat flag.
6962 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6963 # nm: unknown option "B" ignored
6964 # Tru64's nm complains that /dev/null is an invalid object file
6965 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6966 */dev/null* | *'Invalid file or object type'*)
6967 lt_cv_path_NM="$tmp_nm -B"
6968 break
6969 ;;
6970 *)
6971 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6972 */dev/null*)
6973 lt_cv_path_NM="$tmp_nm -p"
6974 break
6975 ;;
6976 *)
6977 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6978 continue # so that we can try to find one that supports BSD flags
6979 ;;
6980 esac
6981 ;;
6982 esac
6983 fi
6984 done
6985 IFS="$lt_save_ifs"
6986 done
6987 : ${lt_cv_path_NM=no}
6988fi
6989fi
6990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6991$as_echo "$lt_cv_path_NM" >&6; }
6992if test "$lt_cv_path_NM" != "no"; then
6993 NM="$lt_cv_path_NM"
6994else
6995 # Didn't find any BSD compatible name lister, look for dumpbin.
6996 if test -n "$ac_tool_prefix"; then
6997 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6998 do
6999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7000set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002$as_echo_n "checking for $ac_word... " >&6; }
7003if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7004 $as_echo_n "(cached) " >&6
7005else
7006 if test -n "$DUMPBIN"; then
7007 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7008else
7009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010for as_dir in $PATH
7011do
7012 IFS=$as_save_IFS
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7016 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018 break 2
7019 fi
7020done
7021 done
7022IFS=$as_save_IFS
7023
7024fi
7025fi
7026DUMPBIN=$ac_cv_prog_DUMPBIN
7027if test -n "$DUMPBIN"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7029$as_echo "$DUMPBIN" >&6; }
7030else
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032$as_echo "no" >&6; }
7033fi
7034
7035
7036 test -n "$DUMPBIN" && break
7037 done
7038fi
7039if test -z "$DUMPBIN"; then
7040 ac_ct_DUMPBIN=$DUMPBIN
7041 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7042do
7043 # Extract the first word of "$ac_prog", so it can be a program name with args.
7044set dummy $ac_prog; ac_word=$2
7045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046$as_echo_n "checking for $ac_word... " >&6; }
7047if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7048 $as_echo_n "(cached) " >&6
7049else
7050 if test -n "$ac_ct_DUMPBIN"; then
7051 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7052else
7053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054for as_dir in $PATH
7055do
7056 IFS=$as_save_IFS
7057 test -z "$as_dir" && as_dir=.
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062 break 2
7063 fi
7064done
7065 done
7066IFS=$as_save_IFS
7067
7068fi
7069fi
7070ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7071if test -n "$ac_ct_DUMPBIN"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7073$as_echo "$ac_ct_DUMPBIN" >&6; }
7074else
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076$as_echo "no" >&6; }
7077fi
7078
7079
7080 test -n "$ac_ct_DUMPBIN" && break
7081done
7082
7083 if test "x$ac_ct_DUMPBIN" = x; then
7084 DUMPBIN=":"
7085 else
7086 case $cross_compiling:$ac_tool_warned in
7087yes:)
7088{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7090ac_tool_warned=yes ;;
7091esac
7092 DUMPBIN=$ac_ct_DUMPBIN
7093 fi
7094fi
7095
7096
7097 if test "$DUMPBIN" != ":"; then
7098 NM="$DUMPBIN"
7099 fi
7100fi
7101test -z "$NM" && NM=nm
7102
7103
7104
7105
7106
7107
7108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7109$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7110if test "${lt_cv_nm_interface+set}" = set; then :
7111 $as_echo_n "(cached) " >&6
7112else
7113 lt_cv_nm_interface="BSD nm"
7114 echo "int some_variable = 0;" > conftest.$ac_ext
7115 (eval echo "\"\$as_me:7115: $ac_compile\"" >&5)
7116 (eval "$ac_compile" 2>conftest.err)
7117 cat conftest.err >&5
7118 (eval echo "\"\$as_me:7118: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7119 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7120 cat conftest.err >&5
7121 (eval echo "\"\$as_me:7121: output\"" >&5)
7122 cat conftest.out >&5
7123 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7124 lt_cv_nm_interface="MS dumpbin"
7125 fi
7126 rm -f conftest*
7127fi
7128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7129$as_echo "$lt_cv_nm_interface" >&6; }
7130
7131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7132$as_echo_n "checking whether ln -s works... " >&6; }
7133LN_S=$as_ln_s
7134if test "$LN_S" = "ln -s"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7136$as_echo "yes" >&6; }
7137else
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7139$as_echo "no, using $LN_S" >&6; }
7140fi
7141
7142# find the maximum length of command line arguments
7143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7144$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7145if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7146 $as_echo_n "(cached) " >&6
7147else
7148 i=0
7149 teststring="ABCD"
7150
7151 case $build_os in
7152 msdosdjgpp*)
7153 # On DJGPP, this test can blow up pretty badly due to problems in libc
7154 # (any single argument exceeding 2000 bytes causes a buffer overrun
7155 # during glob expansion). Even if it were fixed, the result of this
7156 # check would be larger than it should be.
7157 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7158 ;;
7159
7160 gnu*)
7161 # Under GNU Hurd, this test is not required because there is
7162 # no limit to the length of command line arguments.
7163 # Libtool will interpret -1 as no limit whatsoever
7164 lt_cv_sys_max_cmd_len=-1;
7165 ;;
7166
7167 cygwin* | mingw* | cegcc*)
7168 # On Win9x/ME, this test blows up -- it succeeds, but takes
7169 # about 5 minutes as the teststring grows exponentially.
7170 # Worse, since 9x/ME are not pre-emptively multitasking,
7171 # you end up with a "frozen" computer, even though with patience
7172 # the test eventually succeeds (with a max line length of 256k).
7173 # Instead, let's just punt: use the minimum linelength reported by
7174 # all of the supported platforms: 8192 (on NT/2K/XP).
7175 lt_cv_sys_max_cmd_len=8192;
7176 ;;
7177
7178 amigaos*)
7179 # On AmigaOS with pdksh, this test takes hours, literally.
7180 # So we just punt and use a minimum line length of 8192.
7181 lt_cv_sys_max_cmd_len=8192;
7182 ;;
7183
7184 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7185 # This has been around since 386BSD, at least. Likely further.
7186 if test -x /sbin/sysctl; then
7187 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7188 elif test -x /usr/sbin/sysctl; then
7189 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7190 else
7191 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7192 fi
7193 # And add a safety zone
7194 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7195 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7196 ;;
7197
7198 interix*)
7199 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7200 lt_cv_sys_max_cmd_len=196608
7201 ;;
7202
7203 osf*)
7204 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7205 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7206 # nice to cause kernel panics so lets avoid the loop below.
7207 # First set a reasonable default.
7208 lt_cv_sys_max_cmd_len=16384
7209 #
7210 if test -x /sbin/sysconfig; then
7211 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7212 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7213 esac
7214 fi
7215 ;;
7216 sco3.2v5*)
7217 lt_cv_sys_max_cmd_len=102400
7218 ;;
7219 sysv5* | sco5v6* | sysv4.2uw2*)
7220 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7221 if test -n "$kargmax"; then
7222 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7223 else
7224 lt_cv_sys_max_cmd_len=32768
7225 fi
7226 ;;
7227 *)
7228 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7229 if test -n "$lt_cv_sys_max_cmd_len"; then
7230 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7231 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7232 else
7233 # Make teststring a little bigger before we do anything with it.
7234 # a 1K string should be a reasonable start.
7235 for i in 1 2 3 4 5 6 7 8 ; do
7236 teststring=$teststring$teststring
7237 done
7238 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7239 # If test is not a shell built-in, we'll probably end up computing a
7240 # maximum length that is only half of the actual maximum length, but
7241 # we can't tell.
7242 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7243 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7244 test $i != 17 # 1/2 MB should be enough
7245 do
7246 i=`expr $i + 1`
7247 teststring=$teststring$teststring
7248 done
7249 # Only check the string length outside the loop.
7250 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7251 teststring=
7252 # Add a significant safety factor because C++ compilers can tack on
7253 # massive amounts of additional arguments before passing them to the
7254 # linker. It appears as though 1/2 is a usable value.
7255 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7256 fi
7257 ;;
7258 esac
7259
7260fi
7261
7262if test -n $lt_cv_sys_max_cmd_len ; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7264$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7265else
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7267$as_echo "none" >&6; }
7268fi
7269max_cmd_len=$lt_cv_sys_max_cmd_len
7270
7271
7272
7273
7274
7275
7276: ${CP="cp -f"}
7277: ${MV="mv -f"}
7278: ${RM="rm -f"}
7279
7280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7281$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7282# Try some XSI features
7283xsi_shell=no
7284( _lt_dummy="a/b/c"
7285 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7286 = c,a/b,, \
7287 && eval 'test $(( 1 + 1 )) -eq 2 \
7288 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7289 && xsi_shell=yes
7290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7291$as_echo "$xsi_shell" >&6; }
7292
7293
7294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7295$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7296lt_shell_append=no
7297( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7298 >/dev/null 2>&1 \
7299 && lt_shell_append=yes
7300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7301$as_echo "$lt_shell_append" >&6; }
7302
7303
7304if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7305 lt_unset=unset
7306else
7307 lt_unset=false
7308fi
7309
7310
7311
7312
7313
7314# test EBCDIC or ASCII
7315case `echo X|tr X '\101'` in
7316 A) # ASCII based system
7317 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7318 lt_SP2NL='tr \040 \012'
7319 lt_NL2SP='tr \015\012 \040\040'
7320 ;;
7321 *) # EBCDIC based system
7322 lt_SP2NL='tr \100 \n'
7323 lt_NL2SP='tr \r\n \100\100'
7324 ;;
7325esac
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7336$as_echo_n "checking for $LD option to reload object files... " >&6; }
7337if test "${lt_cv_ld_reload_flag+set}" = set; then :
7338 $as_echo_n "(cached) " >&6
7339else
7340 lt_cv_ld_reload_flag='-r'
7341fi
7342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7343$as_echo "$lt_cv_ld_reload_flag" >&6; }
7344reload_flag=$lt_cv_ld_reload_flag
7345case $reload_flag in
7346"" | " "*) ;;
7347*) reload_flag=" $reload_flag" ;;
7348esac
7349reload_cmds='$LD$reload_flag -o $output$reload_objs'
7350case $host_os in
7351 darwin*)
7352 if test "$GCC" = yes; then
7353 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7354 else
7355 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7356 fi
7357 ;;
7358esac
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368if test -n "$ac_tool_prefix"; then
7369 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7370set dummy ${ac_tool_prefix}objdump; ac_word=$2
7371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372$as_echo_n "checking for $ac_word... " >&6; }
7373if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7374 $as_echo_n "(cached) " >&6
7375else
7376 if test -n "$OBJDUMP"; then
7377 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7378else
7379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380for as_dir in $PATH
7381do
7382 IFS=$as_save_IFS
7383 test -z "$as_dir" && as_dir=.
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 break 2
7389 fi
7390done
7391 done
7392IFS=$as_save_IFS
7393
7394fi
7395fi
7396OBJDUMP=$ac_cv_prog_OBJDUMP
7397if test -n "$OBJDUMP"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7399$as_echo "$OBJDUMP" >&6; }
7400else
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402$as_echo "no" >&6; }
7403fi
7404
7405
7406fi
7407if test -z "$ac_cv_prog_OBJDUMP"; then
7408 ac_ct_OBJDUMP=$OBJDUMP
7409 # Extract the first word of "objdump", so it can be a program name with args.
7410set dummy objdump; ac_word=$2
7411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412$as_echo_n "checking for $ac_word... " >&6; }
7413if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7414 $as_echo_n "(cached) " >&6
7415else
7416 if test -n "$ac_ct_OBJDUMP"; then
7417 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7418else
7419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420for as_dir in $PATH
7421do
7422 IFS=$as_save_IFS
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 break 2
7429 fi
7430done
7431 done
7432IFS=$as_save_IFS
7433
7434fi
7435fi
7436ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7437if test -n "$ac_ct_OBJDUMP"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7439$as_echo "$ac_ct_OBJDUMP" >&6; }
7440else
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442$as_echo "no" >&6; }
7443fi
7444
7445 if test "x$ac_ct_OBJDUMP" = x; then
7446 OBJDUMP="false"
7447 else
7448 case $cross_compiling:$ac_tool_warned in
7449yes:)
7450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452ac_tool_warned=yes ;;
7453esac
7454 OBJDUMP=$ac_ct_OBJDUMP
7455 fi
7456else
7457 OBJDUMP="$ac_cv_prog_OBJDUMP"
7458fi
7459
7460test -z "$OBJDUMP" && OBJDUMP=objdump
7461
7462
7463
7464
7465
7466
7467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7468$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7469if test "${lt_cv_deplibs_check_method+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7471else
7472 lt_cv_file_magic_cmd='$MAGIC_CMD'
7473lt_cv_file_magic_test_file=
7474lt_cv_deplibs_check_method='unknown'
7475# Need to set the preceding variable on all platforms that support
7476# interlibrary dependencies.
7477# 'none' -- dependencies not supported.
7478# `unknown' -- same as none, but documents that we really don't know.
7479# 'pass_all' -- all dependencies passed with no checks.
7480# 'test_compile' -- check by making test program.
7481# 'file_magic [[regex]]' -- check by looking for files in library path
7482# which responds to the $file_magic_cmd with a given extended regex.
7483# If you have `file' or equivalent on your system and you're not sure
7484# whether `pass_all' will *always* work, you probably want this one.
7485
7486case $host_os in
7487aix[4-9]*)
7488 lt_cv_deplibs_check_method=pass_all
7489 ;;
7490
7491beos*)
7492 lt_cv_deplibs_check_method=pass_all
7493 ;;
7494
7495bsdi[45]*)
7496 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7497 lt_cv_file_magic_cmd='/usr/bin/file -L'
7498 lt_cv_file_magic_test_file=/shlib/libc.so
7499 ;;
7500
7501cygwin*)
7502 # func_win32_libid is a shell function defined in ltmain.sh
7503 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7504 lt_cv_file_magic_cmd='func_win32_libid'
7505 ;;
7506
7507mingw* | pw32*)
7508 # Base MSYS/MinGW do not provide the 'file' command needed by
7509 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7510 # unless we find 'file', for example because we are cross-compiling.
7511 if ( file / ) >/dev/null 2>&1; then
7512 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7513 lt_cv_file_magic_cmd='func_win32_libid'
7514 else
7515 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7516 lt_cv_file_magic_cmd='$OBJDUMP -f'
7517 fi
7518 ;;
7519
7520cegcc)
7521 # use the weaker test based on 'objdump'. See mingw*.
7522 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7523 lt_cv_file_magic_cmd='$OBJDUMP -f'
7524 ;;
7525
7526darwin* | rhapsody*)
7527 lt_cv_deplibs_check_method=pass_all
7528 ;;
7529
7530freebsd* | dragonfly*)
7531 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7532 case $host_cpu in
7533 i*86 )
7534 # Not sure whether the presence of OpenBSD here was a mistake.
7535 # Let's accept both of them until this is cleared up.
7536 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7537 lt_cv_file_magic_cmd=/usr/bin/file
7538 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7539 ;;
7540 esac
7541 else
7542 lt_cv_deplibs_check_method=pass_all
7543 fi
7544 ;;
7545
7546gnu*)
7547 lt_cv_deplibs_check_method=pass_all
7548 ;;
7549
7550hpux10.20* | hpux11*)
7551 lt_cv_file_magic_cmd=/usr/bin/file
7552 case $host_cpu in
7553 ia64*)
7554 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7555 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7556 ;;
7557 hppa*64*)
7558 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]'
7559 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7560 ;;
7561 *)
7562 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7563 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7564 ;;
7565 esac
7566 ;;
7567
7568interix[3-9]*)
7569 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7570 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7571 ;;
7572
7573irix5* | irix6* | nonstopux*)
7574 case $LD in
7575 *-32|*"-32 ") libmagic=32-bit;;
7576 *-n32|*"-n32 ") libmagic=N32;;
7577 *-64|*"-64 ") libmagic=64-bit;;
7578 *) libmagic=never-match;;
7579 esac
7580 lt_cv_deplibs_check_method=pass_all
7581 ;;
7582
7583# This must be Linux ELF.
7584linux* | k*bsd*-gnu | kopensolaris*-gnu)
7585 lt_cv_deplibs_check_method=pass_all
7586 ;;
7587
7588netbsd* | netbsdelf*-gnu)
7589 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7590 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7591 else
7592 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7593 fi
7594 ;;
7595
7596newos6*)
7597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7598 lt_cv_file_magic_cmd=/usr/bin/file
7599 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7600 ;;
7601
7602*nto* | *qnx*)
7603 lt_cv_deplibs_check_method=pass_all
7604 ;;
7605
7606openbsd*)
7607 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7608 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7609 else
7610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7611 fi
7612 ;;
7613
7614osf3* | osf4* | osf5*)
7615 lt_cv_deplibs_check_method=pass_all
7616 ;;
7617
7618rdos*)
7619 lt_cv_deplibs_check_method=pass_all
7620 ;;
7621
7622solaris*)
7623 lt_cv_deplibs_check_method=pass_all
7624 ;;
7625
7626sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7627 lt_cv_deplibs_check_method=pass_all
7628 ;;
7629
7630sysv4 | sysv4.3*)
7631 case $host_vendor in
7632 motorola)
7633 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]'
7634 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7635 ;;
7636 ncr)
7637 lt_cv_deplibs_check_method=pass_all
7638 ;;
7639 sequent)
7640 lt_cv_file_magic_cmd='/bin/file'
7641 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7642 ;;
7643 sni)
7644 lt_cv_file_magic_cmd='/bin/file'
7645 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7646 lt_cv_file_magic_test_file=/lib/libc.so
7647 ;;
7648 siemens)
7649 lt_cv_deplibs_check_method=pass_all
7650 ;;
7651 pc)
7652 lt_cv_deplibs_check_method=pass_all
7653 ;;
7654 esac
7655 ;;
7656
7657tpf*)
7658 lt_cv_deplibs_check_method=pass_all
7659 ;;
7660esac
7661
7662fi
7663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7664$as_echo "$lt_cv_deplibs_check_method" >&6; }
7665file_magic_cmd=$lt_cv_file_magic_cmd
7666deplibs_check_method=$lt_cv_deplibs_check_method
7667test -z "$deplibs_check_method" && deplibs_check_method=unknown
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680if test -n "$ac_tool_prefix"; then
7681 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7682set dummy ${ac_tool_prefix}ar; ac_word=$2
7683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7684$as_echo_n "checking for $ac_word... " >&6; }
7685if test "${ac_cv_prog_AR+set}" = set; then :
7686 $as_echo_n "(cached) " >&6
7687else
7688 if test -n "$AR"; then
7689 ac_cv_prog_AR="$AR" # Let the user override the test.
7690else
7691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692for as_dir in $PATH
7693do
7694 IFS=$as_save_IFS
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698 ac_cv_prog_AR="${ac_tool_prefix}ar"
7699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 break 2
7701 fi
7702done
7703 done
7704IFS=$as_save_IFS
7705
7706fi
7707fi
7708AR=$ac_cv_prog_AR
7709if test -n "$AR"; then
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7711$as_echo "$AR" >&6; }
7712else
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714$as_echo "no" >&6; }
7715fi
7716
7717
7718fi
7719if test -z "$ac_cv_prog_AR"; then
7720 ac_ct_AR=$AR
7721 # Extract the first word of "ar", so it can be a program name with args.
7722set dummy ar; ac_word=$2
7723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724$as_echo_n "checking for $ac_word... " >&6; }
7725if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7726 $as_echo_n "(cached) " >&6
7727else
7728 if test -n "$ac_ct_AR"; then
7729 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7730else
7731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732for as_dir in $PATH
7733do
7734 IFS=$as_save_IFS
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_ac_ct_AR="ar"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 break 2
7741 fi
7742done
7743 done
7744IFS=$as_save_IFS
7745
7746fi
7747fi
7748ac_ct_AR=$ac_cv_prog_ac_ct_AR
7749if test -n "$ac_ct_AR"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7751$as_echo "$ac_ct_AR" >&6; }
7752else
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754$as_echo "no" >&6; }
7755fi
7756
7757 if test "x$ac_ct_AR" = x; then
7758 AR="false"
7759 else
7760 case $cross_compiling:$ac_tool_warned in
7761yes:)
7762{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7763$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7764ac_tool_warned=yes ;;
7765esac
7766 AR=$ac_ct_AR
7767 fi
7768else
7769 AR="$ac_cv_prog_AR"
7770fi
7771
7772test -z "$AR" && AR=ar
7773test -z "$AR_FLAGS" && AR_FLAGS=cru
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785if test -n "$ac_tool_prefix"; then
7786 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7787set dummy ${ac_tool_prefix}strip; ac_word=$2
7788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789$as_echo_n "checking for $ac_word... " >&6; }
7790if test "${ac_cv_prog_STRIP+set}" = set; then :
7791 $as_echo_n "(cached) " >&6
7792else
7793 if test -n "$STRIP"; then
7794 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7795else
7796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797for as_dir in $PATH
7798do
7799 IFS=$as_save_IFS
7800 test -z "$as_dir" && as_dir=.
7801 for ac_exec_ext in '' $ac_executable_extensions; do
7802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7803 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7805 break 2
7806 fi
7807done
7808 done
7809IFS=$as_save_IFS
7810
7811fi
7812fi
7813STRIP=$ac_cv_prog_STRIP
7814if test -n "$STRIP"; then
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7816$as_echo "$STRIP" >&6; }
7817else
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7819$as_echo "no" >&6; }
7820fi
7821
7822
7823fi
7824if test -z "$ac_cv_prog_STRIP"; then
7825 ac_ct_STRIP=$STRIP
7826 # Extract the first word of "strip", so it can be a program name with args.
7827set dummy strip; ac_word=$2
7828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829$as_echo_n "checking for $ac_word... " >&6; }
7830if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7831 $as_echo_n "(cached) " >&6
7832else
7833 if test -n "$ac_ct_STRIP"; then
7834 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7835else
7836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7837for as_dir in $PATH
7838do
7839 IFS=$as_save_IFS
7840 test -z "$as_dir" && as_dir=.
7841 for ac_exec_ext in '' $ac_executable_extensions; do
7842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7843 ac_cv_prog_ac_ct_STRIP="strip"
7844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7845 break 2
7846 fi
7847done
7848 done
7849IFS=$as_save_IFS
7850
7851fi
7852fi
7853ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7854if test -n "$ac_ct_STRIP"; then
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7856$as_echo "$ac_ct_STRIP" >&6; }
7857else
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859$as_echo "no" >&6; }
7860fi
7861
7862 if test "x$ac_ct_STRIP" = x; then
7863 STRIP=":"
7864 else
7865 case $cross_compiling:$ac_tool_warned in
7866yes:)
7867{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7868$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7869ac_tool_warned=yes ;;
7870esac
7871 STRIP=$ac_ct_STRIP
7872 fi
7873else
7874 STRIP="$ac_cv_prog_STRIP"
7875fi
7876
7877test -z "$STRIP" && STRIP=:
7878
7879
7880
7881
7882
7883
7884if test -n "$ac_tool_prefix"; then
7885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7886set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7888$as_echo_n "checking for $ac_word... " >&6; }
7889if test "${ac_cv_prog_RANLIB+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891else
7892 if test -n "$RANLIB"; then
7893 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7894else
7895as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896for as_dir in $PATH
7897do
7898 IFS=$as_save_IFS
7899 test -z "$as_dir" && as_dir=.
7900 for ac_exec_ext in '' $ac_executable_extensions; do
7901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7902 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7904 break 2
7905 fi
7906done
7907 done
7908IFS=$as_save_IFS
7909
7910fi
7911fi
7912RANLIB=$ac_cv_prog_RANLIB
7913if test -n "$RANLIB"; then
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7915$as_echo "$RANLIB" >&6; }
7916else
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918$as_echo "no" >&6; }
7919fi
7920
7921
7922fi
7923if test -z "$ac_cv_prog_RANLIB"; then
7924 ac_ct_RANLIB=$RANLIB
7925 # Extract the first word of "ranlib", so it can be a program name with args.
7926set dummy ranlib; ac_word=$2
7927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928$as_echo_n "checking for $ac_word... " >&6; }
7929if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7930 $as_echo_n "(cached) " >&6
7931else
7932 if test -n "$ac_ct_RANLIB"; then
7933 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7934else
7935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936for as_dir in $PATH
7937do
7938 IFS=$as_save_IFS
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7942 ac_cv_prog_ac_ct_RANLIB="ranlib"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944 break 2
7945 fi
7946done
7947 done
7948IFS=$as_save_IFS
7949
7950fi
7951fi
7952ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7953if test -n "$ac_ct_RANLIB"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7955$as_echo "$ac_ct_RANLIB" >&6; }
7956else
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958$as_echo "no" >&6; }
7959fi
7960
7961 if test "x$ac_ct_RANLIB" = x; then
7962 RANLIB=":"
7963 else
7964 case $cross_compiling:$ac_tool_warned in
7965yes:)
7966{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7967$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7968ac_tool_warned=yes ;;
7969esac
7970 RANLIB=$ac_ct_RANLIB
7971 fi
7972else
7973 RANLIB="$ac_cv_prog_RANLIB"
7974fi
7975
7976test -z "$RANLIB" && RANLIB=:
7977
7978
7979
7980
7981
7982
7983# Determine commands to create old-style static archives.
7984old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7985old_postinstall_cmds='chmod 644 $oldlib'
7986old_postuninstall_cmds=
7987
7988if test -n "$RANLIB"; then
7989 case $host_os in
7990 openbsd*)
7991 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7992 ;;
7993 *)
7994 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7995 ;;
7996 esac
7997 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7998fi
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033# If no C compiler was specified, use CC.
8034LTCC=${LTCC-"$CC"}
8035
8036# If no C compiler flags were specified, use CFLAGS.
8037LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8038
8039# Allow CC to be a program name with arguments.
8040compiler=$CC
8041
8042
8043# Check for command to grab the raw symbol name followed by C symbol from nm.
8044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8045$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8046if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8047 $as_echo_n "(cached) " >&6
8048else
8049
8050# These are sane defaults that work on at least a few old systems.
8051# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8052
8053# Character class describing NM global symbol codes.
8054symcode='[BCDEGRST]'
8055
8056# Regexp to match symbols that can be accessed directly from C.
8057sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8058
8059# Define system-specific variables.
8060case $host_os in
8061aix*)
8062 symcode='[BCDT]'
8063 ;;
8064cygwin* | mingw* | pw32* | cegcc*)
8065 symcode='[ABCDGISTW]'
8066 ;;
8067hpux*)
8068 if test "$host_cpu" = ia64; then
8069 symcode='[ABCDEGRST]'
8070 fi
8071 ;;
8072irix* | nonstopux*)
8073 symcode='[BCDEGRST]'
8074 ;;
8075osf*)
8076 symcode='[BCDEGQRST]'
8077 ;;
8078solaris*)
8079 symcode='[BDRT]'
8080 ;;
8081sco3.2v5*)
8082 symcode='[DT]'
8083 ;;
8084sysv4.2uw2*)
8085 symcode='[DT]'
8086 ;;
8087sysv5* | sco5v6* | unixware* | OpenUNIX*)
8088 symcode='[ABDT]'
8089 ;;
8090sysv4)
8091 symcode='[DFNSTU]'
8092 ;;
8093esac
8094
8095# If we're using GNU nm, then use its standard symbol codes.
8096case `$NM -V 2>&1` in
8097*GNU* | *'with BFD'*)
8098 symcode='[ABCDGIRSTW]' ;;
8099esac
8100
8101# Transform an extracted symbol line into a proper C declaration.
8102# Some systems (esp. on ia64) link data and code symbols differently,
8103# so use this general approach.
8104lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8105
8106# Transform an extracted symbol line into symbol name and symbol address
8107lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8108lt_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'"
8109
8110# Handle CRLF in mingw tool chain
8111opt_cr=
8112case $build_os in
8113mingw*)
8114 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8115 ;;
8116esac
8117
8118# Try without a prefix underscore, then with it.
8119for ac_symprfx in "" "_"; do
8120
8121 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8122 symxfrm="\\1 $ac_symprfx\\2 \\2"
8123
8124 # Write the raw and C identifiers.
8125 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8126 # Fake it for dumpbin and say T for any non-static function
8127 # and D for any global variable.
8128 # Also find C++ and __fastcall symbols from MSVC++,
8129 # which start with @ or ?.
8130 lt_cv_sys_global_symbol_pipe="$AWK '"\
8131" {last_section=section; section=\$ 3};"\
8132" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8133" \$ 0!~/External *\|/{next};"\
8134" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8135" {if(hide[section]) next};"\
8136" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8137" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8138" s[1]~/^[@?]/{print s[1], s[1]; next};"\
8139" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8140" ' prfx=^$ac_symprfx"
8141 else
8142 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8143 fi
8144
8145 # Check to see that the pipe works correctly.
8146 pipe_works=no
8147
8148 rm -f conftest*
8149 cat > conftest.$ac_ext <<_LT_EOF
8150#ifdef __cplusplus
8151extern "C" {
8152#endif
8153char nm_test_var;
8154void nm_test_func(void);
8155void nm_test_func(void){}
8156#ifdef __cplusplus
8157}
8158#endif
8159int main(){nm_test_var='a';nm_test_func();return(0);}
8160_LT_EOF
8161
8162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8163 (eval $ac_compile) 2>&5
8164 ac_status=$?
8165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8166 test $ac_status = 0; }; then
8167 # Now try to grab the symbols.
8168 nlist=conftest.nm
8169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8170 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8171 ac_status=$?
8172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8173 test $ac_status = 0; } && test -s "$nlist"; then
8174 # Try sorting and uniquifying the output.
8175 if sort "$nlist" | uniq > "$nlist"T; then
8176 mv -f "$nlist"T "$nlist"
8177 else
8178 rm -f "$nlist"T
8179 fi
8180
8181 # Make sure that we snagged all the symbols we need.
8182 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8183 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8184 cat <<_LT_EOF > conftest.$ac_ext
8185#ifdef __cplusplus
8186extern "C" {
8187#endif
8188
8189_LT_EOF
8190 # Now generate the symbol file.
8191 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8192
8193 cat <<_LT_EOF >> conftest.$ac_ext
8194
8195/* The mapping between symbol names and symbols. */
8196const struct {
8197 const char *name;
8198 void *address;
8199}
8200lt__PROGRAM__LTX_preloaded_symbols[] =
8201{
8202 { "@PROGRAM@", (void *) 0 },
8203_LT_EOF
8204 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8205 cat <<\_LT_EOF >> conftest.$ac_ext
8206 {0, (void *) 0}
8207};
8208
8209/* This works around a problem in FreeBSD linker */
8210#ifdef FREEBSD_WORKAROUND
8211static const void *lt_preloaded_setup() {
8212 return lt__PROGRAM__LTX_preloaded_symbols;
8213}
8214#endif
8215
8216#ifdef __cplusplus
8217}
8218#endif
8219_LT_EOF
8220 # Now try linking the two files.
8221 mv conftest.$ac_objext conftstm.$ac_objext
8222 lt_save_LIBS="$LIBS"
8223 lt_save_CFLAGS="$CFLAGS"
8224 LIBS="conftstm.$ac_objext"
8225 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8227 (eval $ac_link) 2>&5
8228 ac_status=$?
8229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8230 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8231 pipe_works=yes
8232 fi
8233 LIBS="$lt_save_LIBS"
8234 CFLAGS="$lt_save_CFLAGS"
8235 else
8236 echo "cannot find nm_test_func in $nlist" >&5
8237 fi
8238 else
8239 echo "cannot find nm_test_var in $nlist" >&5
8240 fi
8241 else
8242 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8243 fi
8244 else
8245 echo "$progname: failed program was:" >&5
8246 cat conftest.$ac_ext >&5
8247 fi
8248 rm -rf conftest* conftst*
8249
8250 # Do not use the global_symbol_pipe unless it works.
8251 if test "$pipe_works" = yes; then
8252 break
8253 else
8254 lt_cv_sys_global_symbol_pipe=
8255 fi
8256done
8257
8258fi
8259
8260if test -z "$lt_cv_sys_global_symbol_pipe"; then
8261 lt_cv_sys_global_symbol_to_cdecl=
8262fi
8263if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8265$as_echo "failed" >&6; }
8266else
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8268$as_echo "ok" >&6; }
8269fi
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292# Check whether --enable-libtool-lock was given.
8293if test "${enable_libtool_lock+set}" = set; then :
8294 enableval=$enable_libtool_lock;
8295fi
8296
8297test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8298
8299# Some flags need to be propagated to the compiler or linker for good
8300# libtool support.
8301case $host in
8302ia64-*-hpux*)
8303 # Find out which ABI we are using.
8304 echo 'int i;' > conftest.$ac_ext
8305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8306 (eval $ac_compile) 2>&5
8307 ac_status=$?
8308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8309 test $ac_status = 0; }; then
8310 case `/usr/bin/file conftest.$ac_objext` in
8311 *ELF-32*)
8312 HPUX_IA64_MODE="32"
8313 ;;
8314 *ELF-64*)
8315 HPUX_IA64_MODE="64"
8316 ;;
8317 esac
8318 fi
8319 rm -rf conftest*
8320 ;;
8321*-*-irix6*)
8322 # Find out which ABI we are using.
8323 echo '#line 8323 "configure"' > conftest.$ac_ext
8324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8325 (eval $ac_compile) 2>&5
8326 ac_status=$?
8327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8328 test $ac_status = 0; }; then
8329 if test "$lt_cv_prog_gnu_ld" = yes; then
8330 case `/usr/bin/file conftest.$ac_objext` in
8331 *32-bit*)
8332 LD="${LD-ld} -melf32bsmip"
8333 ;;
8334 *N32*)
8335 LD="${LD-ld} -melf32bmipn32"
8336 ;;
8337 *64-bit*)
8338 LD="${LD-ld} -melf64bmip"
8339 ;;
8340 esac
8341 else
8342 case `/usr/bin/file conftest.$ac_objext` in
8343 *32-bit*)
8344 LD="${LD-ld} -32"
8345 ;;
8346 *N32*)
8347 LD="${LD-ld} -n32"
8348 ;;
8349 *64-bit*)
8350 LD="${LD-ld} -64"
8351 ;;
8352 esac
8353 fi
8354 fi
8355 rm -rf conftest*
8356 ;;
8357
8358x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8359s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8360 # Find out which ABI we are using.
8361 echo 'int i;' > conftest.$ac_ext
8362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8363 (eval $ac_compile) 2>&5
8364 ac_status=$?
8365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8366 test $ac_status = 0; }; then
8367 case `/usr/bin/file conftest.o` in
8368 *32-bit*)
8369 case $host in
8370 x86_64-*kfreebsd*-gnu)
8371 LD="${LD-ld} -m elf_i386_fbsd"
8372 ;;
8373 x86_64-*linux*)
8374 LD="${LD-ld} -m elf_i386"
8375 ;;
8376 ppc64-*linux*|powerpc64-*linux*)
8377 LD="${LD-ld} -m elf32ppclinux"
8378 ;;
8379 s390x-*linux*)
8380 LD="${LD-ld} -m elf_s390"
8381 ;;
8382 sparc64-*linux*)
8383 LD="${LD-ld} -m elf32_sparc"
8384 ;;
8385 esac
8386 ;;
8387 *64-bit*)
8388 case $host in
8389 x86_64-*kfreebsd*-gnu)
8390 LD="${LD-ld} -m elf_x86_64_fbsd"
8391 ;;
8392 x86_64-*linux*)
8393 LD="${LD-ld} -m elf_x86_64"
8394 ;;
8395 ppc*-*linux*|powerpc*-*linux*)
8396 LD="${LD-ld} -m elf64ppc"
8397 ;;
8398 s390*-*linux*|s390*-*tpf*)
8399 LD="${LD-ld} -m elf64_s390"
8400 ;;
8401 sparc*-*linux*)
8402 LD="${LD-ld} -m elf64_sparc"
8403 ;;
8404 esac
8405 ;;
8406 esac
8407 fi
8408 rm -rf conftest*
8409 ;;
8410
8411*-*-sco3.2v5*)
8412 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8413 SAVE_CFLAGS="$CFLAGS"
8414 CFLAGS="$CFLAGS -belf"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8416$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8417if test "${lt_cv_cc_needs_belf+set}" = set; then :
8418 $as_echo_n "(cached) " >&6
8419else
8420 ac_ext=c
8421ac_cpp='$CPP $CPPFLAGS'
8422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8424ac_compiler_gnu=$ac_cv_c_compiler_gnu
8425
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427/* end confdefs.h. */
8428
8429int
8430main ()
8431{
8432
8433 ;
8434 return 0;
8435}
8436_ACEOF
8437if ac_fn_c_try_link "$LINENO"; then :
8438 lt_cv_cc_needs_belf=yes
8439else
8440 lt_cv_cc_needs_belf=no
8441fi
8442rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 ac_ext=c
8445ac_cpp='$CPP $CPPFLAGS'
8446ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8447ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8448ac_compiler_gnu=$ac_cv_c_compiler_gnu
8449
8450fi
8451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8452$as_echo "$lt_cv_cc_needs_belf" >&6; }
8453 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8454 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8455 CFLAGS="$SAVE_CFLAGS"
8456 fi
8457 ;;
8458sparc*-*solaris*)
8459 # Find out which ABI we are using.
8460 echo 'int i;' > conftest.$ac_ext
8461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8462 (eval $ac_compile) 2>&5
8463 ac_status=$?
8464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8465 test $ac_status = 0; }; then
8466 case `/usr/bin/file conftest.o` in
8467 *64-bit*)
8468 case $lt_cv_prog_gnu_ld in
8469 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8470 *)
8471 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8472 LD="${LD-ld} -64"
8473 fi
8474 ;;
8475 esac
8476 ;;
8477 esac
8478 fi
8479 rm -rf conftest*
8480 ;;
8481esac
8482
8483need_locks="$enable_libtool_lock"
8484
8485
8486 case $host_os in
8487 rhapsody* | darwin*)
8488 if test -n "$ac_tool_prefix"; then
8489 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8490set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492$as_echo_n "checking for $ac_word... " >&6; }
8493if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8494 $as_echo_n "(cached) " >&6
8495else
8496 if test -n "$DSYMUTIL"; then
8497 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8498else
8499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500for as_dir in $PATH
8501do
8502 IFS=$as_save_IFS
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508 break 2
8509 fi
8510done
8511 done
8512IFS=$as_save_IFS
8513
8514fi
8515fi
8516DSYMUTIL=$ac_cv_prog_DSYMUTIL
8517if test -n "$DSYMUTIL"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8519$as_echo "$DSYMUTIL" >&6; }
8520else
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522$as_echo "no" >&6; }
8523fi
8524
8525
8526fi
8527if test -z "$ac_cv_prog_DSYMUTIL"; then
8528 ac_ct_DSYMUTIL=$DSYMUTIL
8529 # Extract the first word of "dsymutil", so it can be a program name with args.
8530set dummy dsymutil; ac_word=$2
8531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532$as_echo_n "checking for $ac_word... " >&6; }
8533if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8534 $as_echo_n "(cached) " >&6
8535else
8536 if test -n "$ac_ct_DSYMUTIL"; then
8537 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8538else
8539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540for as_dir in $PATH
8541do
8542 IFS=$as_save_IFS
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 break 2
8549 fi
8550done
8551 done
8552IFS=$as_save_IFS
8553
8554fi
8555fi
8556ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8557if test -n "$ac_ct_DSYMUTIL"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8559$as_echo "$ac_ct_DSYMUTIL" >&6; }
8560else
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562$as_echo "no" >&6; }
8563fi
8564
8565 if test "x$ac_ct_DSYMUTIL" = x; then
8566 DSYMUTIL=":"
8567 else
8568 case $cross_compiling:$ac_tool_warned in
8569yes:)
8570{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572ac_tool_warned=yes ;;
8573esac
8574 DSYMUTIL=$ac_ct_DSYMUTIL
8575 fi
8576else
8577 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8578fi
8579
8580 if test -n "$ac_tool_prefix"; then
8581 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8582set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584$as_echo_n "checking for $ac_word... " >&6; }
8585if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8586 $as_echo_n "(cached) " >&6
8587else
8588 if test -n "$NMEDIT"; then
8589 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8590else
8591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8592for as_dir in $PATH
8593do
8594 IFS=$as_save_IFS
8595 test -z "$as_dir" && as_dir=.
8596 for ac_exec_ext in '' $ac_executable_extensions; do
8597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8598 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8600 break 2
8601 fi
8602done
8603 done
8604IFS=$as_save_IFS
8605
8606fi
8607fi
8608NMEDIT=$ac_cv_prog_NMEDIT
8609if test -n "$NMEDIT"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8611$as_echo "$NMEDIT" >&6; }
8612else
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614$as_echo "no" >&6; }
8615fi
8616
8617
8618fi
8619if test -z "$ac_cv_prog_NMEDIT"; then
8620 ac_ct_NMEDIT=$NMEDIT
8621 # Extract the first word of "nmedit", so it can be a program name with args.
8622set dummy nmedit; ac_word=$2
8623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624$as_echo_n "checking for $ac_word... " >&6; }
8625if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8627else
8628 if test -n "$ac_ct_NMEDIT"; then
8629 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8630else
8631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632for as_dir in $PATH
8633do
8634 IFS=$as_save_IFS
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640 break 2
8641 fi
8642done
8643 done
8644IFS=$as_save_IFS
8645
8646fi
8647fi
8648ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8649if test -n "$ac_ct_NMEDIT"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8651$as_echo "$ac_ct_NMEDIT" >&6; }
8652else
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654$as_echo "no" >&6; }
8655fi
8656
8657 if test "x$ac_ct_NMEDIT" = x; then
8658 NMEDIT=":"
8659 else
8660 case $cross_compiling:$ac_tool_warned in
8661yes:)
8662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8664ac_tool_warned=yes ;;
8665esac
8666 NMEDIT=$ac_ct_NMEDIT
8667 fi
8668else
8669 NMEDIT="$ac_cv_prog_NMEDIT"
8670fi
8671
8672 if test -n "$ac_tool_prefix"; then
8673 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8674set dummy ${ac_tool_prefix}lipo; ac_word=$2
8675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676$as_echo_n "checking for $ac_word... " >&6; }
8677if test "${ac_cv_prog_LIPO+set}" = set; then :
8678 $as_echo_n "(cached) " >&6
8679else
8680 if test -n "$LIPO"; then
8681 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8682else
8683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684for as_dir in $PATH
8685do
8686 IFS=$as_save_IFS
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8690 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 break 2
8693 fi
8694done
8695 done
8696IFS=$as_save_IFS
8697
8698fi
8699fi
8700LIPO=$ac_cv_prog_LIPO
8701if test -n "$LIPO"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8703$as_echo "$LIPO" >&6; }
8704else
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706$as_echo "no" >&6; }
8707fi
8708
8709
8710fi
8711if test -z "$ac_cv_prog_LIPO"; then
8712 ac_ct_LIPO=$LIPO
8713 # Extract the first word of "lipo", so it can be a program name with args.
8714set dummy lipo; ac_word=$2
8715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716$as_echo_n "checking for $ac_word... " >&6; }
8717if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8718 $as_echo_n "(cached) " >&6
8719else
8720 if test -n "$ac_ct_LIPO"; then
8721 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8722else
8723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8724for as_dir in $PATH
8725do
8726 IFS=$as_save_IFS
8727 test -z "$as_dir" && as_dir=.
8728 for ac_exec_ext in '' $ac_executable_extensions; do
8729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8730 ac_cv_prog_ac_ct_LIPO="lipo"
8731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732 break 2
8733 fi
8734done
8735 done
8736IFS=$as_save_IFS
8737
8738fi
8739fi
8740ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8741if test -n "$ac_ct_LIPO"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8743$as_echo "$ac_ct_LIPO" >&6; }
8744else
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746$as_echo "no" >&6; }
8747fi
8748
8749 if test "x$ac_ct_LIPO" = x; then
8750 LIPO=":"
8751 else
8752 case $cross_compiling:$ac_tool_warned in
8753yes:)
8754{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8755$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8756ac_tool_warned=yes ;;
8757esac
8758 LIPO=$ac_ct_LIPO
8759 fi
8760else
8761 LIPO="$ac_cv_prog_LIPO"
8762fi
8763
8764 if test -n "$ac_tool_prefix"; then
8765 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8766set dummy ${ac_tool_prefix}otool; ac_word=$2
8767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768$as_echo_n "checking for $ac_word... " >&6; }
8769if test "${ac_cv_prog_OTOOL+set}" = set; then :
8770 $as_echo_n "(cached) " >&6
8771else
8772 if test -n "$OTOOL"; then
8773 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8774else
8775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8776for as_dir in $PATH
8777do
8778 IFS=$as_save_IFS
8779 test -z "$as_dir" && as_dir=.
8780 for ac_exec_ext in '' $ac_executable_extensions; do
8781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8782 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8784 break 2
8785 fi
8786done
8787 done
8788IFS=$as_save_IFS
8789
8790fi
8791fi
8792OTOOL=$ac_cv_prog_OTOOL
8793if test -n "$OTOOL"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8795$as_echo "$OTOOL" >&6; }
8796else
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798$as_echo "no" >&6; }
8799fi
8800
8801
8802fi
8803if test -z "$ac_cv_prog_OTOOL"; then
8804 ac_ct_OTOOL=$OTOOL
8805 # Extract the first word of "otool", so it can be a program name with args.
8806set dummy otool; ac_word=$2
8807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808$as_echo_n "checking for $ac_word... " >&6; }
8809if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8810 $as_echo_n "(cached) " >&6
8811else
8812 if test -n "$ac_ct_OTOOL"; then
8813 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8814else
8815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816for as_dir in $PATH
8817do
8818 IFS=$as_save_IFS
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822 ac_cv_prog_ac_ct_OTOOL="otool"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824 break 2
8825 fi
8826done
8827 done
8828IFS=$as_save_IFS
8829
8830fi
8831fi
8832ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8833if test -n "$ac_ct_OTOOL"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8835$as_echo "$ac_ct_OTOOL" >&6; }
8836else
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838$as_echo "no" >&6; }
8839fi
8840
8841 if test "x$ac_ct_OTOOL" = x; then
8842 OTOOL=":"
8843 else
8844 case $cross_compiling:$ac_tool_warned in
8845yes:)
8846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8848ac_tool_warned=yes ;;
8849esac
8850 OTOOL=$ac_ct_OTOOL
8851 fi
8852else
8853 OTOOL="$ac_cv_prog_OTOOL"
8854fi
8855
8856 if test -n "$ac_tool_prefix"; then
8857 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8858set dummy ${ac_tool_prefix}otool64; ac_word=$2
8859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8860$as_echo_n "checking for $ac_word... " >&6; }
8861if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8862 $as_echo_n "(cached) " >&6
8863else
8864 if test -n "$OTOOL64"; then
8865 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8866else
8867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8868for as_dir in $PATH
8869do
8870 IFS=$as_save_IFS
8871 test -z "$as_dir" && as_dir=.
8872 for ac_exec_ext in '' $ac_executable_extensions; do
8873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8874 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8876 break 2
8877 fi
8878done
8879 done
8880IFS=$as_save_IFS
8881
8882fi
8883fi
8884OTOOL64=$ac_cv_prog_OTOOL64
8885if test -n "$OTOOL64"; then
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8887$as_echo "$OTOOL64" >&6; }
8888else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8890$as_echo "no" >&6; }
8891fi
8892
8893
8894fi
8895if test -z "$ac_cv_prog_OTOOL64"; then
8896 ac_ct_OTOOL64=$OTOOL64
8897 # Extract the first word of "otool64", so it can be a program name with args.
8898set dummy otool64; ac_word=$2
8899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8900$as_echo_n "checking for $ac_word... " >&6; }
8901if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8902 $as_echo_n "(cached) " >&6
8903else
8904 if test -n "$ac_ct_OTOOL64"; then
8905 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8906else
8907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8908for as_dir in $PATH
8909do
8910 IFS=$as_save_IFS
8911 test -z "$as_dir" && as_dir=.
8912 for ac_exec_ext in '' $ac_executable_extensions; do
8913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8914 ac_cv_prog_ac_ct_OTOOL64="otool64"
8915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 break 2
8917 fi
8918done
8919 done
8920IFS=$as_save_IFS
8921
8922fi
8923fi
8924ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8925if test -n "$ac_ct_OTOOL64"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8927$as_echo "$ac_ct_OTOOL64" >&6; }
8928else
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930$as_echo "no" >&6; }
8931fi
8932
8933 if test "x$ac_ct_OTOOL64" = x; then
8934 OTOOL64=":"
8935 else
8936 case $cross_compiling:$ac_tool_warned in
8937yes:)
8938{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8939$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8940ac_tool_warned=yes ;;
8941esac
8942 OTOOL64=$ac_ct_OTOOL64
8943 fi
8944else
8945 OTOOL64="$ac_cv_prog_OTOOL64"
8946fi
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8975$as_echo_n "checking for -single_module linker flag... " >&6; }
8976if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8977 $as_echo_n "(cached) " >&6
8978else
8979 lt_cv_apple_cc_single_mod=no
8980 if test -z "${LT_MULTI_MODULE}"; then
8981 # By default we will add the -single_module flag. You can override
8982 # by either setting the environment variable LT_MULTI_MODULE
8983 # non-empty at configure time, or by adding -multi_module to the
8984 # link flags.
8985 rm -rf libconftest.dylib*
8986 echo "int foo(void){return 1;}" > conftest.c
8987 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8988-dynamiclib -Wl,-single_module conftest.c" >&5
8989 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8990 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8991 _lt_result=$?
8992 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8993 lt_cv_apple_cc_single_mod=yes
8994 else
8995 cat conftest.err >&5
8996 fi
8997 rm -rf libconftest.dylib*
8998 rm -f conftest.*
8999 fi
9000fi
9001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9002$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9004$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9005if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9006 $as_echo_n "(cached) " >&6
9007else
9008 lt_cv_ld_exported_symbols_list=no
9009 save_LDFLAGS=$LDFLAGS
9010 echo "_main" > conftest.sym
9011 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013/* end confdefs.h. */
9014
9015int
9016main ()
9017{
9018
9019 ;
9020 return 0;
9021}
9022_ACEOF
9023if ac_fn_c_try_link "$LINENO"; then :
9024 lt_cv_ld_exported_symbols_list=yes
9025else
9026 lt_cv_ld_exported_symbols_list=no
9027fi
9028rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9030 LDFLAGS="$save_LDFLAGS"
9031
9032fi
9033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9034$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9035 case $host_os in
9036 rhapsody* | darwin1.[012])
9037 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9038 darwin1.*)
9039 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9040 darwin*) # darwin 5.x on
9041 # if running on 10.5 or later, the deployment target defaults
9042 # to the OS version, if on x86, and 10.4, the deployment
9043 # target defaults to 10.4. Don't you love it?
9044 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9045 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9046 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9047 10.[012]*)
9048 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9049 10.*)
9050 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9051 esac
9052 ;;
9053 esac
9054 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9055 _lt_dar_single_mod='$single_module'
9056 fi
9057 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9058 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9059 else
9060 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9061 fi
9062 if test "$DSYMUTIL" != ":"; then
9063 _lt_dsymutil='~$DSYMUTIL $lib || :'
9064 else
9065 _lt_dsymutil=
9066 fi
9067 ;;
9068 esac
9069
9070for ac_header in dlfcn.h
9071do :
9072 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9073"
9074if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9075 cat >>confdefs.h <<_ACEOF
9076#define HAVE_DLFCN_H 1
9077_ACEOF
9078
9079fi
9080
9081done
9082
9083
9084
9085# Set options
9086
9087
9088
9089 enable_dlopen=no
9090
9091
9092
9093 # Check whether --enable-shared was given.
9094if test "${enable_shared+set}" = set; then :
9095 enableval=$enable_shared; p=${PACKAGE-default}
9096 case $enableval in
9097 yes) enable_shared=yes ;;
9098 no) enable_shared=no ;;
9099 *)
9100 enable_shared=no
9101 # Look at the argument we got. We use all the common list separators.
9102 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9103 for pkg in $enableval; do
9104 IFS="$lt_save_ifs"
9105 if test "X$pkg" = "X$p"; then
9106 enable_shared=yes
9107 fi
9108 done
9109 IFS="$lt_save_ifs"
9110 ;;
9111 esac
9112else
9113 enable_shared=yes
9114fi
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124 # Check whether --enable-static was given.
9125if test "${enable_static+set}" = set; then :
9126 enableval=$enable_static; p=${PACKAGE-default}
9127 case $enableval in
9128 yes) enable_static=yes ;;
9129 no) enable_static=no ;;
9130 *)
9131 enable_static=no
9132 # Look at the argument we got. We use all the common list separators.
9133 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9134 for pkg in $enableval; do
9135 IFS="$lt_save_ifs"
9136 if test "X$pkg" = "X$p"; then
9137 enable_static=yes
9138 fi
9139 done
9140 IFS="$lt_save_ifs"
9141 ;;
9142 esac
9143else
9144 enable_static=yes
9145fi
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156# Check whether --with-pic was given.
9157if test "${with_pic+set}" = set; then :
9158 withval=$with_pic; pic_mode="$withval"
9159else
9160 pic_mode=default
9161fi
9162
9163
9164test -z "$pic_mode" && pic_mode=default
9165
9166
9167
9168
9169
9170
9171
9172 # Check whether --enable-fast-install was given.
9173if test "${enable_fast_install+set}" = set; then :
9174 enableval=$enable_fast_install; p=${PACKAGE-default}
9175 case $enableval in
9176 yes) enable_fast_install=yes ;;
9177 no) enable_fast_install=no ;;
9178 *)
9179 enable_fast_install=no
9180 # Look at the argument we got. We use all the common list separators.
9181 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9182 for pkg in $enableval; do
9183 IFS="$lt_save_ifs"
9184 if test "X$pkg" = "X$p"; then
9185 enable_fast_install=yes
9186 fi
9187 done
9188 IFS="$lt_save_ifs"
9189 ;;
9190 esac
9191else
9192 enable_fast_install=yes
9193fi
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205# This can be used to rebuild libtool when needed
9206LIBTOOL_DEPS="$ltmain"
9207
9208# Always use our own libtool.
9209LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235test -z "$LN_S" && LN_S="ln -s"
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250if test -n "${ZSH_VERSION+set}" ; then
9251 setopt NO_GLOB_SUBST
9252fi
9253
9254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9255$as_echo_n "checking for objdir... " >&6; }
9256if test "${lt_cv_objdir+set}" = set; then :
9257 $as_echo_n "(cached) " >&6
9258else
9259 rm -f .libs 2>/dev/null
9260mkdir .libs 2>/dev/null
9261if test -d .libs; then
9262 lt_cv_objdir=.libs
9263else
9264 # MS-DOS does not allow filenames that begin with a dot.
9265 lt_cv_objdir=_libs
9266fi
9267rmdir .libs 2>/dev/null
9268fi
9269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9270$as_echo "$lt_cv_objdir" >&6; }
9271objdir=$lt_cv_objdir
9272
9273
9274
9275
9276
9277cat >>confdefs.h <<_ACEOF
9278#define LT_OBJDIR "$lt_cv_objdir/"
9279_ACEOF
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297case $host_os in
9298aix3*)
9299 # AIX sometimes has problems with the GCC collect2 program. For some
9300 # reason, if we set the COLLECT_NAMES environment variable, the problems
9301 # vanish in a puff of smoke.
9302 if test "X${COLLECT_NAMES+set}" != Xset; then
9303 COLLECT_NAMES=
9304 export COLLECT_NAMES
9305 fi
9306 ;;
9307esac
9308
9309# Sed substitution that helps us do robust quoting. It backslashifies
9310# metacharacters that are still active within double-quoted strings.
9311sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9312
9313# Same as above, but do not quote variable references.
9314double_quote_subst='s/\(["`\\]\)/\\\1/g'
9315
9316# Sed substitution to delay expansion of an escaped shell variable in a
9317# double_quote_subst'ed string.
9318delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9319
9320# Sed substitution to delay expansion of an escaped single quote.
9321delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9322
9323# Sed substitution to avoid accidental globbing in evaled expressions
9324no_glob_subst='s/\*/\\\*/g'
9325
9326# Global variables:
9327ofile=libtool
9328can_build_shared=yes
9329
9330# All known linkers require a `.a' archive for static linking (except MSVC,
9331# which needs '.lib').
9332libext=a
9333
9334with_gnu_ld="$lt_cv_prog_gnu_ld"
9335
9336old_CC="$CC"
9337old_CFLAGS="$CFLAGS"
9338
9339# Set sane defaults for various variables
9340test -z "$CC" && CC=cc
9341test -z "$LTCC" && LTCC=$CC
9342test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9343test -z "$LD" && LD=ld
9344test -z "$ac_objext" && ac_objext=o
9345
9346for cc_temp in $compiler""; do
9347 case $cc_temp in
9348 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9349 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9350 \-*) ;;
9351 *) break;;
9352 esac
9353done
9354cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9355
9356
9357# Only perform the check for file, if the check method requires it
9358test -z "$MAGIC_CMD" && MAGIC_CMD=file
9359case $deplibs_check_method in
9360file_magic*)
9361 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9363$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9364if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9365 $as_echo_n "(cached) " >&6
9366else
9367 case $MAGIC_CMD in
9368[\\/*] | ?:[\\/]*)
9369 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9370 ;;
9371*)
9372 lt_save_MAGIC_CMD="$MAGIC_CMD"
9373 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9374 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9375 for ac_dir in $ac_dummy; do
9376 IFS="$lt_save_ifs"
9377 test -z "$ac_dir" && ac_dir=.
9378 if test -f $ac_dir/${ac_tool_prefix}file; then
9379 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9380 if test -n "$file_magic_test_file"; then
9381 case $deplibs_check_method in
9382 "file_magic "*)
9383 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9384 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9385 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9386 $EGREP "$file_magic_regex" > /dev/null; then
9387 :
9388 else
9389 cat <<_LT_EOF 1>&2
9390
9391*** Warning: the command libtool uses to detect shared libraries,
9392*** $file_magic_cmd, produces output that libtool cannot recognize.
9393*** The result is that libtool may fail to recognize shared libraries
9394*** as such. This will affect the creation of libtool libraries that
9395*** depend on shared libraries, but programs linked with such libtool
9396*** libraries will work regardless of this problem. Nevertheless, you
9397*** may want to report the problem to your system manager and/or to
9398*** bug-libtool@gnu.org
9399
9400_LT_EOF
9401 fi ;;
9402 esac
9403 fi
9404 break
9405 fi
9406 done
9407 IFS="$lt_save_ifs"
9408 MAGIC_CMD="$lt_save_MAGIC_CMD"
9409 ;;
9410esac
9411fi
9412
9413MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9414if test -n "$MAGIC_CMD"; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9416$as_echo "$MAGIC_CMD" >&6; }
9417else
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9419$as_echo "no" >&6; }
9420fi
9421
9422
9423
9424
9425
9426if test -z "$lt_cv_path_MAGIC_CMD"; then
9427 if test -n "$ac_tool_prefix"; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9429$as_echo_n "checking for file... " >&6; }
9430if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9431 $as_echo_n "(cached) " >&6
9432else
9433 case $MAGIC_CMD in
9434[\\/*] | ?:[\\/]*)
9435 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9436 ;;
9437*)
9438 lt_save_MAGIC_CMD="$MAGIC_CMD"
9439 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9440 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9441 for ac_dir in $ac_dummy; do
9442 IFS="$lt_save_ifs"
9443 test -z "$ac_dir" && ac_dir=.
9444 if test -f $ac_dir/file; then
9445 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9446 if test -n "$file_magic_test_file"; then
9447 case $deplibs_check_method in
9448 "file_magic "*)
9449 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9450 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9451 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9452 $EGREP "$file_magic_regex" > /dev/null; then
9453 :
9454 else
9455 cat <<_LT_EOF 1>&2
9456
9457*** Warning: the command libtool uses to detect shared libraries,
9458*** $file_magic_cmd, produces output that libtool cannot recognize.
9459*** The result is that libtool may fail to recognize shared libraries
9460*** as such. This will affect the creation of libtool libraries that
9461*** depend on shared libraries, but programs linked with such libtool
9462*** libraries will work regardless of this problem. Nevertheless, you
9463*** may want to report the problem to your system manager and/or to
9464*** bug-libtool@gnu.org
9465
9466_LT_EOF
9467 fi ;;
9468 esac
9469 fi
9470 break
9471 fi
9472 done
9473 IFS="$lt_save_ifs"
9474 MAGIC_CMD="$lt_save_MAGIC_CMD"
9475 ;;
9476esac
9477fi
9478
9479MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9480if test -n "$MAGIC_CMD"; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9482$as_echo "$MAGIC_CMD" >&6; }
9483else
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9485$as_echo "no" >&6; }
9486fi
9487
9488
9489 else
9490 MAGIC_CMD=:
9491 fi
9492fi
9493
9494 fi
9495 ;;
9496esac
9497
9498# Use C for the default configuration in the libtool script
9499
9500lt_save_CC="$CC"
9501ac_ext=c
9502ac_cpp='$CPP $CPPFLAGS'
9503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9505ac_compiler_gnu=$ac_cv_c_compiler_gnu
9506
9507
9508# Source file extension for C test sources.
9509ac_ext=c
9510
9511# Object file extension for compiled C test sources.
9512objext=o
9513objext=$objext
9514
9515# Code to be used in simple compile tests
9516lt_simple_compile_test_code="int some_variable = 0;"
9517
9518# Code to be used in simple link tests
9519lt_simple_link_test_code='int main(){return(0);}'
9520
9521
9522
9523
9524
9525
9526
9527# If no C compiler was specified, use CC.
9528LTCC=${LTCC-"$CC"}
9529
9530# If no C compiler flags were specified, use CFLAGS.
9531LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9532
9533# Allow CC to be a program name with arguments.
9534compiler=$CC
9535
9536# Save the default compiler, since it gets overwritten when the other
9537# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9538compiler_DEFAULT=$CC
9539
9540# save warnings/boilerplate of simple test code
9541ac_outfile=conftest.$ac_objext
9542echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9543eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9544_lt_compiler_boilerplate=`cat conftest.err`
9545$RM conftest*
9546
9547ac_outfile=conftest.$ac_objext
9548echo "$lt_simple_link_test_code" >conftest.$ac_ext
9549eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9550_lt_linker_boilerplate=`cat conftest.err`
9551$RM -r conftest*
9552
9553
9554## CAVEAT EMPTOR:
9555## There is no encapsulation within the following macros, do not change
9556## the running order or otherwise move them around unless you know exactly
9557## what you are doing...
9558if test -n "$compiler"; then
9559
9560lt_prog_compiler_no_builtin_flag=
9561
9562if test "$GCC" = yes; then
9563 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9564
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9566$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9567if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9568 $as_echo_n "(cached) " >&6
9569else
9570 lt_cv_prog_compiler_rtti_exceptions=no
9571 ac_outfile=conftest.$ac_objext
9572 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9573 lt_compiler_flag="-fno-rtti -fno-exceptions"
9574 # Insert the option either (1) after the last *FLAGS variable, or
9575 # (2) before a word containing "conftest.", or (3) at the end.
9576 # Note that $ac_compile itself does not contain backslashes and begins
9577 # with a dollar sign (not a hyphen), so the echo should work correctly.
9578 # The option is referenced via a variable to avoid confusing sed.
9579 lt_compile=`echo "$ac_compile" | $SED \
9580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9582 -e 's:$: $lt_compiler_flag:'`
9583 (eval echo "\"\$as_me:9583: $lt_compile\"" >&5)
9584 (eval "$lt_compile" 2>conftest.err)
9585 ac_status=$?
9586 cat conftest.err >&5
9587 echo "$as_me:9587: \$? = $ac_status" >&5
9588 if (exit $ac_status) && test -s "$ac_outfile"; then
9589 # The compiler can only warn and ignore the option if not recognized
9590 # So say no if there are warnings other than the usual output.
9591 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9592 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9593 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9594 lt_cv_prog_compiler_rtti_exceptions=yes
9595 fi
9596 fi
9597 $RM conftest*
9598
9599fi
9600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9601$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9602
9603if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9604 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9605else
9606 :
9607fi
9608
9609fi
9610
9611
9612
9613
9614
9615
9616 lt_prog_compiler_wl=
9617lt_prog_compiler_pic=
9618lt_prog_compiler_static=
9619
9620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9621$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9622
9623 if test "$GCC" = yes; then
9624 lt_prog_compiler_wl='-Wl,'
9625 lt_prog_compiler_static='-static'
9626
9627 case $host_os in
9628 aix*)
9629 # All AIX code is PIC.
9630 if test "$host_cpu" = ia64; then
9631 # AIX 5 now supports IA64 processor
9632 lt_prog_compiler_static='-Bstatic'
9633 fi
9634 ;;
9635
9636 amigaos*)
9637 case $host_cpu in
9638 powerpc)
9639 # see comment about AmigaOS4 .so support
9640 lt_prog_compiler_pic='-fPIC'
9641 ;;
9642 m68k)
9643 # FIXME: we need at least 68020 code to build shared libraries, but
9644 # adding the `-m68020' flag to GCC prevents building anything better,
9645 # like `-m68040'.
9646 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9647 ;;
9648 esac
9649 ;;
9650
9651 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9652 # PIC is the default for these OSes.
9653 ;;
9654
9655 mingw* | cygwin* | pw32* | os2* | cegcc*)
9656 # This hack is so that the source file can tell whether it is being
9657 # built for inclusion in a dll (and should export symbols for example).
9658 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9659 # (--disable-auto-import) libraries
9660 lt_prog_compiler_pic='-DDLL_EXPORT'
9661 ;;
9662
9663 darwin* | rhapsody*)
9664 # PIC is the default on this platform
9665 # Common symbols not allowed in MH_DYLIB files
9666 lt_prog_compiler_pic='-fno-common'
9667 ;;
9668
9669 hpux*)
9670 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9671 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9672 # sets the default TLS model and affects inlining.
9673 case $host_cpu in
9674 hppa*64*)
9675 # +Z the default
9676 ;;
9677 *)
9678 lt_prog_compiler_pic='-fPIC'
9679 ;;
9680 esac
9681 ;;
9682
9683 interix[3-9]*)
9684 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9685 # Instead, we relocate shared libraries at runtime.
9686 ;;
9687
9688 msdosdjgpp*)
9689 # Just because we use GCC doesn't mean we suddenly get shared libraries
9690 # on systems that don't support them.
9691 lt_prog_compiler_can_build_shared=no
9692 enable_shared=no
9693 ;;
9694
9695 *nto* | *qnx*)
9696 # QNX uses GNU C++, but need to define -shared option too, otherwise
9697 # it will coredump.
9698 lt_prog_compiler_pic='-fPIC -shared'
9699 ;;
9700
9701 sysv4*MP*)
9702 if test -d /usr/nec; then
9703 lt_prog_compiler_pic=-Kconform_pic
9704 fi
9705 ;;
9706
9707 *)
9708 lt_prog_compiler_pic='-fPIC'
9709 ;;
9710 esac
9711 else
9712 # PORTME Check for flag to pass linker flags through the system compiler.
9713 case $host_os in
9714 aix*)
9715 lt_prog_compiler_wl='-Wl,'
9716 if test "$host_cpu" = ia64; then
9717 # AIX 5 now supports IA64 processor
9718 lt_prog_compiler_static='-Bstatic'
9719 else
9720 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9721 fi
9722 ;;
9723
9724 mingw* | cygwin* | pw32* | os2* | cegcc*)
9725 # This hack is so that the source file can tell whether it is being
9726 # built for inclusion in a dll (and should export symbols for example).
9727 lt_prog_compiler_pic='-DDLL_EXPORT'
9728 ;;
9729
9730 hpux9* | hpux10* | hpux11*)
9731 lt_prog_compiler_wl='-Wl,'
9732 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9733 # not for PA HP-UX.
9734 case $host_cpu in
9735 hppa*64*|ia64*)
9736 # +Z the default
9737 ;;
9738 *)
9739 lt_prog_compiler_pic='+Z'
9740 ;;
9741 esac
9742 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9743 lt_prog_compiler_static='${wl}-a ${wl}archive'
9744 ;;
9745
9746 irix5* | irix6* | nonstopux*)
9747 lt_prog_compiler_wl='-Wl,'
9748 # PIC (with -KPIC) is the default.
9749 lt_prog_compiler_static='-non_shared'
9750 ;;
9751
9752 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9753 case $cc_basename in
9754 # old Intel for x86_64 which still supported -KPIC.
9755 ecc*)
9756 lt_prog_compiler_wl='-Wl,'
9757 lt_prog_compiler_pic='-KPIC'
9758 lt_prog_compiler_static='-static'
9759 ;;
9760 # icc used to be incompatible with GCC.
9761 # ICC 10 doesn't accept -KPIC any more.
9762 icc* | ifort*)
9763 lt_prog_compiler_wl='-Wl,'
9764 lt_prog_compiler_pic='-fPIC'
9765 lt_prog_compiler_static='-static'
9766 ;;
9767 # Lahey Fortran 8.1.
9768 lf95*)
9769 lt_prog_compiler_wl='-Wl,'
9770 lt_prog_compiler_pic='--shared'
9771 lt_prog_compiler_static='--static'
9772 ;;
9773 pgcc* | pgf77* | pgf90* | pgf95*)
9774 # Portland Group compilers (*not* the Pentium gcc compiler,
9775 # which looks to be a dead project)
9776 lt_prog_compiler_wl='-Wl,'
9777 lt_prog_compiler_pic='-fpic'
9778 lt_prog_compiler_static='-Bstatic'
9779 ;;
9780 ccc*)
9781 lt_prog_compiler_wl='-Wl,'
9782 # All Alpha code is PIC.
9783 lt_prog_compiler_static='-non_shared'
9784 ;;
9785 xl*)
9786 # IBM XL C 8.0/Fortran 10.1 on PPC
9787 lt_prog_compiler_wl='-Wl,'
9788 lt_prog_compiler_pic='-qpic'
9789 lt_prog_compiler_static='-qstaticlink'
9790 ;;
9791 *)
9792 case `$CC -V 2>&1 | sed 5q` in
9793 *Sun\ C*)
9794 # Sun C 5.9
9795 lt_prog_compiler_pic='-KPIC'
9796 lt_prog_compiler_static='-Bstatic'
9797 lt_prog_compiler_wl='-Wl,'
9798 ;;
9799 *Sun\ F*)
9800 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9801 lt_prog_compiler_pic='-KPIC'
9802 lt_prog_compiler_static='-Bstatic'
9803 lt_prog_compiler_wl=''
9804 ;;
9805 esac
9806 ;;
9807 esac
9808 ;;
9809
9810 newsos6)
9811 lt_prog_compiler_pic='-KPIC'
9812 lt_prog_compiler_static='-Bstatic'
9813 ;;
9814
9815 *nto* | *qnx*)
9816 # QNX uses GNU C++, but need to define -shared option too, otherwise
9817 # it will coredump.
9818 lt_prog_compiler_pic='-fPIC -shared'
9819 ;;
9820
9821 osf3* | osf4* | osf5*)
9822 lt_prog_compiler_wl='-Wl,'
9823 # All OSF/1 code is PIC.
9824 lt_prog_compiler_static='-non_shared'
9825 ;;
9826
9827 rdos*)
9828 lt_prog_compiler_static='-non_shared'
9829 ;;
9830
9831 solaris*)
9832 lt_prog_compiler_pic='-KPIC'
9833 lt_prog_compiler_static='-Bstatic'
9834 case $cc_basename in
9835 f77* | f90* | f95*)
9836 lt_prog_compiler_wl='-Qoption ld ';;
9837 *)
9838 lt_prog_compiler_wl='-Wl,';;
9839 esac
9840 ;;
9841
9842 sunos4*)
9843 lt_prog_compiler_wl='-Qoption ld '
9844 lt_prog_compiler_pic='-PIC'
9845 lt_prog_compiler_static='-Bstatic'
9846 ;;
9847
9848 sysv4 | sysv4.2uw2* | sysv4.3*)
9849 lt_prog_compiler_wl='-Wl,'
9850 lt_prog_compiler_pic='-KPIC'
9851 lt_prog_compiler_static='-Bstatic'
9852 ;;
9853
9854 sysv4*MP*)
9855 if test -d /usr/nec ;then
9856 lt_prog_compiler_pic='-Kconform_pic'
9857 lt_prog_compiler_static='-Bstatic'
9858 fi
9859 ;;
9860
9861 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9862 lt_prog_compiler_wl='-Wl,'
9863 lt_prog_compiler_pic='-KPIC'
9864 lt_prog_compiler_static='-Bstatic'
9865 ;;
9866
9867 unicos*)
9868 lt_prog_compiler_wl='-Wl,'
9869 lt_prog_compiler_can_build_shared=no
9870 ;;
9871
9872 uts4*)
9873 lt_prog_compiler_pic='-pic'
9874 lt_prog_compiler_static='-Bstatic'
9875 ;;
9876
9877 *)
9878 lt_prog_compiler_can_build_shared=no
9879 ;;
9880 esac
9881 fi
9882
9883case $host_os in
9884 # For platforms which do not support PIC, -DPIC is meaningless:
9885 *djgpp*)
9886 lt_prog_compiler_pic=
9887 ;;
9888 *)
9889 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9890 ;;
9891esac
9892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9893$as_echo "$lt_prog_compiler_pic" >&6; }
9894
9895
9896
9897
9898
9899
9900#
9901# Check to make sure the PIC flag actually works.
9902#
9903if test -n "$lt_prog_compiler_pic"; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9905$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9906if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9907 $as_echo_n "(cached) " >&6
9908else
9909 lt_cv_prog_compiler_pic_works=no
9910 ac_outfile=conftest.$ac_objext
9911 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9912 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9913 # Insert the option either (1) after the last *FLAGS variable, or
9914 # (2) before a word containing "conftest.", or (3) at the end.
9915 # Note that $ac_compile itself does not contain backslashes and begins
9916 # with a dollar sign (not a hyphen), so the echo should work correctly.
9917 # The option is referenced via a variable to avoid confusing sed.
9918 lt_compile=`echo "$ac_compile" | $SED \
9919 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9920 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9921 -e 's:$: $lt_compiler_flag:'`
9922 (eval echo "\"\$as_me:9922: $lt_compile\"" >&5)
9923 (eval "$lt_compile" 2>conftest.err)
9924 ac_status=$?
9925 cat conftest.err >&5
9926 echo "$as_me:9926: \$? = $ac_status" >&5
9927 if (exit $ac_status) && test -s "$ac_outfile"; then
9928 # The compiler can only warn and ignore the option if not recognized
9929 # So say no if there are warnings other than the usual output.
9930 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9931 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9932 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9933 lt_cv_prog_compiler_pic_works=yes
9934 fi
9935 fi
9936 $RM conftest*
9937
9938fi
9939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9940$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9941
9942if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9943 case $lt_prog_compiler_pic in
9944 "" | " "*) ;;
9945 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9946 esac
9947else
9948 lt_prog_compiler_pic=
9949 lt_prog_compiler_can_build_shared=no
9950fi
9951
9952fi
9953
9954
9955
9956
9957
9958
9959#
9960# Check to make sure the static flag actually works.
9961#
9962wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9964$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9965if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9966 $as_echo_n "(cached) " >&6
9967else
9968 lt_cv_prog_compiler_static_works=no
9969 save_LDFLAGS="$LDFLAGS"
9970 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9971 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9972 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9973 # The linker can only warn and ignore the option if not recognized
9974 # So say no if there are warnings
9975 if test -s conftest.err; then
9976 # Append any errors to the config.log.
9977 cat conftest.err 1>&5
9978 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9979 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9980 if diff conftest.exp conftest.er2 >/dev/null; then
9981 lt_cv_prog_compiler_static_works=yes
9982 fi
9983 else
9984 lt_cv_prog_compiler_static_works=yes
9985 fi
9986 fi
9987 $RM -r conftest*
9988 LDFLAGS="$save_LDFLAGS"
9989
9990fi
9991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9992$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9993
9994if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9995 :
9996else
9997 lt_prog_compiler_static=
9998fi
9999
10000
10001
10002
10003
10004
10005
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10007$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10008if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10009 $as_echo_n "(cached) " >&6
10010else
10011 lt_cv_prog_compiler_c_o=no
10012 $RM -r conftest 2>/dev/null
10013 mkdir conftest
10014 cd conftest
10015 mkdir out
10016 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10017
10018 lt_compiler_flag="-o out/conftest2.$ac_objext"
10019 # Insert the option either (1) after the last *FLAGS variable, or
10020 # (2) before a word containing "conftest.", or (3) at the end.
10021 # Note that $ac_compile itself does not contain backslashes and begins
10022 # with a dollar sign (not a hyphen), so the echo should work correctly.
10023 lt_compile=`echo "$ac_compile" | $SED \
10024 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10026 -e 's:$: $lt_compiler_flag:'`
10027 (eval echo "\"\$as_me:10027: $lt_compile\"" >&5)
10028 (eval "$lt_compile" 2>out/conftest.err)
10029 ac_status=$?
10030 cat out/conftest.err >&5
10031 echo "$as_me:10031: \$? = $ac_status" >&5
10032 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10033 then
10034 # The compiler can only warn and ignore the option if not recognized
10035 # So say no if there are warnings
10036 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10037 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10038 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10039 lt_cv_prog_compiler_c_o=yes
10040 fi
10041 fi
10042 chmod u+w . 2>&5
10043 $RM conftest*
10044 # SGI C++ compiler will create directory out/ii_files/ for
10045 # template instantiation
10046 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10047 $RM out/* && rmdir out
10048 cd ..
10049 $RM -r conftest
10050 $RM conftest*
10051
10052fi
10053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10054$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10055
10056
10057
10058
10059
10060
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10062$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10063if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10064 $as_echo_n "(cached) " >&6
10065else
10066 lt_cv_prog_compiler_c_o=no
10067 $RM -r conftest 2>/dev/null
10068 mkdir conftest
10069 cd conftest
10070 mkdir out
10071 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10072
10073 lt_compiler_flag="-o out/conftest2.$ac_objext"
10074 # Insert the option either (1) after the last *FLAGS variable, or
10075 # (2) before a word containing "conftest.", or (3) at the end.
10076 # Note that $ac_compile itself does not contain backslashes and begins
10077 # with a dollar sign (not a hyphen), so the echo should work correctly.
10078 lt_compile=`echo "$ac_compile" | $SED \
10079 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10080 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10081 -e 's:$: $lt_compiler_flag:'`
10082 (eval echo "\"\$as_me:10082: $lt_compile\"" >&5)
10083 (eval "$lt_compile" 2>out/conftest.err)
10084 ac_status=$?
10085 cat out/conftest.err >&5
10086 echo "$as_me:10086: \$? = $ac_status" >&5
10087 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10088 then
10089 # The compiler can only warn and ignore the option if not recognized
10090 # So say no if there are warnings
10091 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10092 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10093 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10094 lt_cv_prog_compiler_c_o=yes
10095 fi
10096 fi
10097 chmod u+w . 2>&5
10098 $RM conftest*
10099 # SGI C++ compiler will create directory out/ii_files/ for
10100 # template instantiation
10101 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10102 $RM out/* && rmdir out
10103 cd ..
10104 $RM -r conftest
10105 $RM conftest*
10106
10107fi
10108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10109$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10110
10111
10112
10113
10114hard_links="nottested"
10115if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10116 # do not overwrite the value of need_locks provided by the user
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10118$as_echo_n "checking if we can lock with hard links... " >&6; }
10119 hard_links=yes
10120 $RM conftest*
10121 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10122 touch conftest.a
10123 ln conftest.a conftest.b 2>&5 || hard_links=no
10124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10126$as_echo "$hard_links" >&6; }
10127 if test "$hard_links" = no; then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10129$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10130 need_locks=warn
10131 fi
10132else
10133 need_locks=no
10134fi
10135
10136
10137
10138
10139
10140
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10142$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10143
10144 runpath_var=
10145 allow_undefined_flag=
10146 always_export_symbols=no
10147 archive_cmds=
10148 archive_expsym_cmds=
10149 compiler_needs_object=no
10150 enable_shared_with_static_runtimes=no
10151 export_dynamic_flag_spec=
10152 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10153 hardcode_automatic=no
10154 hardcode_direct=no
10155 hardcode_direct_absolute=no
10156 hardcode_libdir_flag_spec=
10157 hardcode_libdir_flag_spec_ld=
10158 hardcode_libdir_separator=
10159 hardcode_minus_L=no
10160 hardcode_shlibpath_var=unsupported
10161 inherit_rpath=no
10162 link_all_deplibs=unknown
10163 module_cmds=
10164 module_expsym_cmds=
10165 old_archive_from_new_cmds=
10166 old_archive_from_expsyms_cmds=
10167 thread_safe_flag_spec=
10168 whole_archive_flag_spec=
10169 # include_expsyms should be a list of space-separated symbols to be *always*
10170 # included in the symbol list
10171 include_expsyms=
10172 # exclude_expsyms can be an extended regexp of symbols to exclude
10173 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10174 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10175 # as well as any symbol that contains `d'.
10176 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10177 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10178 # platforms (ab)use it in PIC code, but their linkers get confused if
10179 # the symbol is explicitly referenced. Since portable code cannot
10180 # rely on this symbol name, it's probably fine to never include it in
10181 # preloaded symbol tables.
10182 # Exclude shared library initialization/finalization symbols.
10183 extract_expsyms_cmds=
10184
10185 case $host_os in
10186 cygwin* | mingw* | pw32* | cegcc*)
10187 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10188 # When not using gcc, we currently assume that we are using
10189 # Microsoft Visual C++.
10190 if test "$GCC" != yes; then
10191 with_gnu_ld=no
10192 fi
10193 ;;
10194 interix*)
10195 # we just hope/assume this is gcc and not c89 (= MSVC++)
10196 with_gnu_ld=yes
10197 ;;
10198 openbsd*)
10199 with_gnu_ld=no
10200 ;;
10201 linux* | k*bsd*-gnu)
10202 link_all_deplibs=no
10203 ;;
10204 esac
10205
10206 ld_shlibs=yes
10207 if test "$with_gnu_ld" = yes; then
10208 # If archive_cmds runs LD, not CC, wlarc should be empty
10209 wlarc='${wl}'
10210
10211 # Set some defaults for GNU ld with shared library support. These
10212 # are reset later if shared libraries are not supported. Putting them
10213 # here allows them to be overridden if necessary.
10214 runpath_var=LD_RUN_PATH
10215 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10216 export_dynamic_flag_spec='${wl}--export-dynamic'
10217 # ancient GNU ld didn't support --whole-archive et. al.
10218 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10219 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10220 else
10221 whole_archive_flag_spec=
10222 fi
10223 supports_anon_versioning=no
10224 case `$LD -v 2>&1` in
10225 *GNU\ gold*) supports_anon_versioning=yes ;;
10226 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10227 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10228 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10229 *\ 2.11.*) ;; # other 2.11 versions
10230 *) supports_anon_versioning=yes ;;
10231 esac
10232
10233 # See if GNU ld supports shared libraries.
10234 case $host_os in
10235 aix[3-9]*)
10236 # On AIX/PPC, the GNU linker is very broken
10237 if test "$host_cpu" != ia64; then
10238 ld_shlibs=no
10239 cat <<_LT_EOF 1>&2
10240
10241*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10242*** to be unable to reliably create shared libraries on AIX.
10243*** Therefore, libtool is disabling shared libraries support. If you
10244*** really care for shared libraries, you may want to modify your PATH
10245*** so that a non-GNU linker is found, and then restart.
10246
10247_LT_EOF
10248 fi
10249 ;;
10250
10251 amigaos*)
10252 case $host_cpu in
10253 powerpc)
10254 # see comment about AmigaOS4 .so support
10255 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10256 archive_expsym_cmds=''
10257 ;;
10258 m68k)
10259 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)'
10260 hardcode_libdir_flag_spec='-L$libdir'
10261 hardcode_minus_L=yes
10262 ;;
10263 esac
10264 ;;
10265
10266 beos*)
10267 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10268 allow_undefined_flag=unsupported
10269 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10270 # support --undefined. This deserves some investigation. FIXME
10271 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10272 else
10273 ld_shlibs=no
10274 fi
10275 ;;
10276
10277 cygwin* | mingw* | pw32* | cegcc*)
10278 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10279 # as there is no search path for DLLs.
10280 hardcode_libdir_flag_spec='-L$libdir'
10281 allow_undefined_flag=unsupported
10282 always_export_symbols=no
10283 enable_shared_with_static_runtimes=yes
10284 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10285
10286 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10287 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10288 # If the export-symbols file already is a .def file (1st line
10289 # is EXPORTS), use it as is; otherwise, prepend...
10290 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10291 cp $export_symbols $output_objdir/$soname.def;
10292 else
10293 echo EXPORTS > $output_objdir/$soname.def;
10294 cat $export_symbols >> $output_objdir/$soname.def;
10295 fi~
10296 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10297 else
10298 ld_shlibs=no
10299 fi
10300 ;;
10301
10302 interix[3-9]*)
10303 hardcode_direct=no
10304 hardcode_shlibpath_var=no
10305 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10306 export_dynamic_flag_spec='${wl}-E'
10307 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10308 # Instead, shared libraries are loaded at an image base (0x10000000 by
10309 # default) and relocated if they conflict, which is a slow very memory
10310 # consuming and fragmenting process. To avoid this, we pick a random,
10311 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10312 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10313 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10314 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'
10315 ;;
10316
10317 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10318 tmp_diet=no
10319 if test "$host_os" = linux-dietlibc; then
10320 case $cc_basename in
10321 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10322 esac
10323 fi
10324 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10325 && test "$tmp_diet" = no
10326 then
10327 tmp_addflag=
10328 tmp_sharedflag='-shared'
10329 case $cc_basename,$host_cpu in
10330 pgcc*) # Portland Group C compiler
10331 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'
10332 tmp_addflag=' $pic_flag'
10333 ;;
10334 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
10335 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'
10336 tmp_addflag=' $pic_flag -Mnomain' ;;
10337 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10338 tmp_addflag=' -i_dynamic' ;;
10339 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10340 tmp_addflag=' -i_dynamic -nofor_main' ;;
10341 ifc* | ifort*) # Intel Fortran compiler
10342 tmp_addflag=' -nofor_main' ;;
10343 lf95*) # Lahey Fortran 8.1
10344 whole_archive_flag_spec=
10345 tmp_sharedflag='--shared' ;;
10346 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10347 tmp_sharedflag='-qmkshrobj'
10348 tmp_addflag= ;;
10349 esac
10350 case `$CC -V 2>&1 | sed 5q` in
10351 *Sun\ C*) # Sun C 5.9
10352 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'
10353 compiler_needs_object=yes
10354 tmp_sharedflag='-G' ;;
10355 *Sun\ F*) # Sun Fortran 8.3
10356 tmp_sharedflag='-G' ;;
10357 esac
10358 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10359
10360 if test "x$supports_anon_versioning" = xyes; then
10361 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10362 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10363 echo "local: *; };" >> $output_objdir/$libname.ver~
10364 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10365 fi
10366
10367 case $cc_basename in
10368 xlf*)
10369 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10370 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10371 hardcode_libdir_flag_spec=
10372 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10373 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10374 if test "x$supports_anon_versioning" = xyes; then
10375 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10376 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10377 echo "local: *; };" >> $output_objdir/$libname.ver~
10378 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10379 fi
10380 ;;
10381 esac
10382 else
10383 ld_shlibs=no
10384 fi
10385 ;;
10386
10387 netbsd* | netbsdelf*-gnu)
10388 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10389 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10390 wlarc=
10391 else
10392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10393 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10394 fi
10395 ;;
10396
10397 solaris*)
10398 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10399 ld_shlibs=no
10400 cat <<_LT_EOF 1>&2
10401
10402*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10403*** create shared libraries on Solaris systems. Therefore, libtool
10404*** is disabling shared libraries support. We urge you to upgrade GNU
10405*** binutils to release 2.9.1 or newer. Another option is to modify
10406*** your PATH or compiler configuration so that the native linker is
10407*** used, and then restart.
10408
10409_LT_EOF
10410 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10411 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10412 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10413 else
10414 ld_shlibs=no
10415 fi
10416 ;;
10417
10418 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10419 case `$LD -v 2>&1` in
10420 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10421 ld_shlibs=no
10422 cat <<_LT_EOF 1>&2
10423
10424*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10425*** reliably create shared libraries on SCO systems. Therefore, libtool
10426*** is disabling shared libraries support. We urge you to upgrade GNU
10427*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10428*** your PATH or compiler configuration so that the native linker is
10429*** used, and then restart.
10430
10431_LT_EOF
10432 ;;
10433 *)
10434 # For security reasons, it is highly recommended that you always
10435 # use absolute paths for naming shared libraries, and exclude the
10436 # DT_RUNPATH tag from executables and libraries. But doing so
10437 # requires that you compile everything twice, which is a pain.
10438 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10439 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10440 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10441 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10442 else
10443 ld_shlibs=no
10444 fi
10445 ;;
10446 esac
10447 ;;
10448
10449 sunos4*)
10450 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10451 wlarc=
10452 hardcode_direct=yes
10453 hardcode_shlibpath_var=no
10454 ;;
10455
10456 *)
10457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10458 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10459 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10460 else
10461 ld_shlibs=no
10462 fi
10463 ;;
10464 esac
10465
10466 if test "$ld_shlibs" = no; then
10467 runpath_var=
10468 hardcode_libdir_flag_spec=
10469 export_dynamic_flag_spec=
10470 whole_archive_flag_spec=
10471 fi
10472 else
10473 # PORTME fill in a description of your system's linker (not GNU ld)
10474 case $host_os in
10475 aix3*)
10476 allow_undefined_flag=unsupported
10477 always_export_symbols=yes
10478 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'
10479 # Note: this linker hardcodes the directories in LIBPATH if there
10480 # are no directories specified by -L.
10481 hardcode_minus_L=yes
10482 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10483 # Neither direct hardcoding nor static linking is supported with a
10484 # broken collect2.
10485 hardcode_direct=unsupported
10486 fi
10487 ;;
10488
10489 aix[4-9]*)
10490 if test "$host_cpu" = ia64; then
10491 # On IA64, the linker does run time linking by default, so we don't
10492 # have to do anything special.
10493 aix_use_runtimelinking=no
10494 exp_sym_flag='-Bexport'
10495 no_entry_flag=""
10496 else
10497 # If we're using GNU nm, then we don't want the "-C" option.
10498 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10499 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10500 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'
10501 else
10502 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'
10503 fi
10504 aix_use_runtimelinking=no
10505
10506 # Test if we are trying to use run time linking or normal
10507 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10508 # need to do runtime linking.
10509 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10510 for ld_flag in $LDFLAGS; do
10511 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10512 aix_use_runtimelinking=yes
10513 break
10514 fi
10515 done
10516 ;;
10517 esac
10518
10519 exp_sym_flag='-bexport'
10520 no_entry_flag='-bnoentry'
10521 fi
10522
10523 # When large executables or shared objects are built, AIX ld can
10524 # have problems creating the table of contents. If linking a library
10525 # or program results in "error TOC overflow" add -mminimal-toc to
10526 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10527 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10528
10529 archive_cmds=''
10530 hardcode_direct=yes
10531 hardcode_direct_absolute=yes
10532 hardcode_libdir_separator=':'
10533 link_all_deplibs=yes
10534 file_list_spec='${wl}-f,'
10535
10536 if test "$GCC" = yes; then
10537 case $host_os in aix4.[012]|aix4.[012].*)
10538 # We only want to do this on AIX 4.2 and lower, the check
10539 # below for broken collect2 doesn't work under 4.3+
10540 collect2name=`${CC} -print-prog-name=collect2`
10541 if test -f "$collect2name" &&
10542 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10543 then
10544 # We have reworked collect2
10545 :
10546 else
10547 # We have old collect2
10548 hardcode_direct=unsupported
10549 # It fails to find uninstalled libraries when the uninstalled
10550 # path is not listed in the libpath. Setting hardcode_minus_L
10551 # to unsupported forces relinking
10552 hardcode_minus_L=yes
10553 hardcode_libdir_flag_spec='-L$libdir'
10554 hardcode_libdir_separator=
10555 fi
10556 ;;
10557 esac
10558 shared_flag='-shared'
10559 if test "$aix_use_runtimelinking" = yes; then
10560 shared_flag="$shared_flag "'${wl}-G'
10561 fi
10562 link_all_deplibs=no
10563 else
10564 # not using gcc
10565 if test "$host_cpu" = ia64; then
10566 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10567 # chokes on -Wl,-G. The following line is correct:
10568 shared_flag='-G'
10569 else
10570 if test "$aix_use_runtimelinking" = yes; then
10571 shared_flag='${wl}-G'
10572 else
10573 shared_flag='${wl}-bM:SRE'
10574 fi
10575 fi
10576 fi
10577
10578 export_dynamic_flag_spec='${wl}-bexpall'
10579 # It seems that -bexpall does not export symbols beginning with
10580 # underscore (_), so it is better to generate a list of symbols to export.
10581 always_export_symbols=yes
10582 if test "$aix_use_runtimelinking" = yes; then
10583 # Warning - without using the other runtime loading flags (-brtl),
10584 # -berok will link without error, but may produce a broken library.
10585 allow_undefined_flag='-berok'
10586 # Determine the default libpath from the value encoded in an
10587 # empty executable.
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589/* end confdefs.h. */
10590
10591int
10592main ()
10593{
10594
10595 ;
10596 return 0;
10597}
10598_ACEOF
10599if ac_fn_c_try_link "$LINENO"; then :
10600
10601lt_aix_libpath_sed='
10602 /Import File Strings/,/^$/ {
10603 /^0/ {
10604 s/^0 *\(.*\)$/\1/
10605 p
10606 }
10607 }'
10608aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10609# Check for a 64-bit object if we didn't find anything.
10610if test -z "$aix_libpath"; then
10611 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10612fi
10613fi
10614rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10617
10618 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10619 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"
10620 else
10621 if test "$host_cpu" = ia64; then
10622 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10623 allow_undefined_flag="-z nodefs"
10624 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"
10625 else
10626 # Determine the default libpath from the value encoded in an
10627 # empty executable.
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629/* end confdefs.h. */
10630
10631int
10632main ()
10633{
10634
10635 ;
10636 return 0;
10637}
10638_ACEOF
10639if ac_fn_c_try_link "$LINENO"; then :
10640
10641lt_aix_libpath_sed='
10642 /Import File Strings/,/^$/ {
10643 /^0/ {
10644 s/^0 *\(.*\)$/\1/
10645 p
10646 }
10647 }'
10648aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10649# Check for a 64-bit object if we didn't find anything.
10650if test -z "$aix_libpath"; then
10651 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10652fi
10653fi
10654rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10657
10658 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10659 # Warning - without using the other run time loading flags,
10660 # -berok will link without error, but may produce a broken library.
10661 no_undefined_flag=' ${wl}-bernotok'
10662 allow_undefined_flag=' ${wl}-berok'
10663 # Exported symbols can be pulled into shared objects from archives
10664 whole_archive_flag_spec='$convenience'
10665 archive_cmds_need_lc=yes
10666 # This is similar to how AIX traditionally builds its shared libraries.
10667 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'
10668 fi
10669 fi
10670 ;;
10671
10672 amigaos*)
10673 case $host_cpu in
10674 powerpc)
10675 # see comment about AmigaOS4 .so support
10676 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10677 archive_expsym_cmds=''
10678 ;;
10679 m68k)
10680 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)'
10681 hardcode_libdir_flag_spec='-L$libdir'
10682 hardcode_minus_L=yes
10683 ;;
10684 esac
10685 ;;
10686
10687 bsdi[45]*)
10688 export_dynamic_flag_spec=-rdynamic
10689 ;;
10690
10691 cygwin* | mingw* | pw32* | cegcc*)
10692 # When not using gcc, we currently assume that we are using
10693 # Microsoft Visual C++.
10694 # hardcode_libdir_flag_spec is actually meaningless, as there is
10695 # no search path for DLLs.
10696 hardcode_libdir_flag_spec=' '
10697 allow_undefined_flag=unsupported
10698 # Tell ltmain to make .lib files, not .a files.
10699 libext=lib
10700 # Tell ltmain to make .dll files, not .so files.
10701 shrext_cmds=".dll"
10702 # FIXME: Setting linknames here is a bad hack.
10703 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10704 # The linker will automatically build a .lib file if we build a DLL.
10705 old_archive_from_new_cmds='true'
10706 # FIXME: Should let the user specify the lib program.
10707 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10708 fix_srcfile_path='`cygpath -w "$srcfile"`'
10709 enable_shared_with_static_runtimes=yes
10710 ;;
10711
10712 darwin* | rhapsody*)
10713
10714
10715 archive_cmds_need_lc=no
10716 hardcode_direct=no
10717 hardcode_automatic=yes
10718 hardcode_shlibpath_var=unsupported
10719 whole_archive_flag_spec=''
10720 link_all_deplibs=yes
10721 allow_undefined_flag="$_lt_dar_allow_undefined"
10722 case $cc_basename in
10723 ifort*) _lt_dar_can_shared=yes ;;
10724 *) _lt_dar_can_shared=$GCC ;;
10725 esac
10726 if test "$_lt_dar_can_shared" = "yes"; then
10727 output_verbose_link_cmd=echo
10728 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10729 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10730 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}"
10731 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}"
10732
10733 else
10734 ld_shlibs=no
10735 fi
10736
10737 ;;
10738
10739 dgux*)
10740 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741 hardcode_libdir_flag_spec='-L$libdir'
10742 hardcode_shlibpath_var=no
10743 ;;
10744
10745 freebsd1*)
10746 ld_shlibs=no
10747 ;;
10748
10749 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10750 # support. Future versions do this automatically, but an explicit c++rt0.o
10751 # does not break anything, and helps significantly (at the cost of a little
10752 # extra space).
10753 freebsd2.2*)
10754 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10755 hardcode_libdir_flag_spec='-R$libdir'
10756 hardcode_direct=yes
10757 hardcode_shlibpath_var=no
10758 ;;
10759
10760 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10761 freebsd2*)
10762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_direct=yes
10764 hardcode_minus_L=yes
10765 hardcode_shlibpath_var=no
10766 ;;
10767
10768 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10769 freebsd* | dragonfly*)
10770 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10771 hardcode_libdir_flag_spec='-R$libdir'
10772 hardcode_direct=yes
10773 hardcode_shlibpath_var=no
10774 ;;
10775
10776 hpux9*)
10777 if test "$GCC" = yes; then
10778 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'
10779 else
10780 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'
10781 fi
10782 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10783 hardcode_libdir_separator=:
10784 hardcode_direct=yes
10785
10786 # hardcode_minus_L: Not really in the search PATH,
10787 # but as the default location of the library.
10788 hardcode_minus_L=yes
10789 export_dynamic_flag_spec='${wl}-E'
10790 ;;
10791
10792 hpux10*)
10793 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10794 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10795 else
10796 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10797 fi
10798 if test "$with_gnu_ld" = no; then
10799 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10800 hardcode_libdir_flag_spec_ld='+b $libdir'
10801 hardcode_libdir_separator=:
10802 hardcode_direct=yes
10803 hardcode_direct_absolute=yes
10804 export_dynamic_flag_spec='${wl}-E'
10805 # hardcode_minus_L: Not really in the search PATH,
10806 # but as the default location of the library.
10807 hardcode_minus_L=yes
10808 fi
10809 ;;
10810
10811 hpux11*)
10812 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10813 case $host_cpu in
10814 hppa*64*)
10815 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10816 ;;
10817 ia64*)
10818 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10819 ;;
10820 *)
10821 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10822 ;;
10823 esac
10824 else
10825 case $host_cpu in
10826 hppa*64*)
10827 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10828 ;;
10829 ia64*)
10830 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10831 ;;
10832 *)
10833 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10834 ;;
10835 esac
10836 fi
10837 if test "$with_gnu_ld" = no; then
10838 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10839 hardcode_libdir_separator=:
10840
10841 case $host_cpu in
10842 hppa*64*|ia64*)
10843 hardcode_direct=no
10844 hardcode_shlibpath_var=no
10845 ;;
10846 *)
10847 hardcode_direct=yes
10848 hardcode_direct_absolute=yes
10849 export_dynamic_flag_spec='${wl}-E'
10850
10851 # hardcode_minus_L: Not really in the search PATH,
10852 # but as the default location of the library.
10853 hardcode_minus_L=yes
10854 ;;
10855 esac
10856 fi
10857 ;;
10858
10859 irix5* | irix6* | nonstopux*)
10860 if test "$GCC" = yes; then
10861 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'
10862 # Try to use the -exported_symbol ld option, if it does not
10863 # work, assume that -exports_file does not work either and
10864 # implicitly export all symbols.
10865 save_LDFLAGS="$LDFLAGS"
10866 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868/* end confdefs.h. */
10869int foo(void) {}
10870_ACEOF
10871if ac_fn_c_try_link "$LINENO"; then :
10872 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'
10873
10874fi
10875rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LDFLAGS="$save_LDFLAGS"
10878 else
10879 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'
10880 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'
10881 fi
10882 archive_cmds_need_lc='no'
10883 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10884 hardcode_libdir_separator=:
10885 inherit_rpath=yes
10886 link_all_deplibs=yes
10887 ;;
10888
10889 netbsd* | netbsdelf*-gnu)
10890 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10891 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10892 else
10893 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10894 fi
10895 hardcode_libdir_flag_spec='-R$libdir'
10896 hardcode_direct=yes
10897 hardcode_shlibpath_var=no
10898 ;;
10899
10900 newsos6)
10901 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10902 hardcode_direct=yes
10903 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10904 hardcode_libdir_separator=:
10905 hardcode_shlibpath_var=no
10906 ;;
10907
10908 *nto* | *qnx*)
10909 ;;
10910
10911 openbsd*)
10912 if test -f /usr/libexec/ld.so; then
10913 hardcode_direct=yes
10914 hardcode_shlibpath_var=no
10915 hardcode_direct_absolute=yes
10916 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10917 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10918 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10919 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10920 export_dynamic_flag_spec='${wl}-E'
10921 else
10922 case $host_os in
10923 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10924 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10925 hardcode_libdir_flag_spec='-R$libdir'
10926 ;;
10927 *)
10928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10929 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10930 ;;
10931 esac
10932 fi
10933 else
10934 ld_shlibs=no
10935 fi
10936 ;;
10937
10938 os2*)
10939 hardcode_libdir_flag_spec='-L$libdir'
10940 hardcode_minus_L=yes
10941 allow_undefined_flag=unsupported
10942 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'
10943 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10944 ;;
10945
10946 osf3*)
10947 if test "$GCC" = yes; then
10948 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10949 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'
10950 else
10951 allow_undefined_flag=' -expect_unresolved \*'
10952 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'
10953 fi
10954 archive_cmds_need_lc='no'
10955 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10956 hardcode_libdir_separator=:
10957 ;;
10958
10959 osf4* | osf5*) # as osf3* with the addition of -msym flag
10960 if test "$GCC" = yes; then
10961 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10962 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'
10963 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10964 else
10965 allow_undefined_flag=' -expect_unresolved \*'
10966 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'
10967 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~
10968 $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'
10969
10970 # Both c and cxx compiler support -rpath directly
10971 hardcode_libdir_flag_spec='-rpath $libdir'
10972 fi
10973 archive_cmds_need_lc='no'
10974 hardcode_libdir_separator=:
10975 ;;
10976
10977 solaris*)
10978 no_undefined_flag=' -z defs'
10979 if test "$GCC" = yes; then
10980 wlarc='${wl}'
10981 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10982 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10983 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10984 else
10985 case `$CC -V 2>&1` in
10986 *"Compilers 5.0"*)
10987 wlarc=''
10988 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10989 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10990 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10991 ;;
10992 *)
10993 wlarc='${wl}'
10994 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10995 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10996 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10997 ;;
10998 esac
10999 fi
11000 hardcode_libdir_flag_spec='-R$libdir'
11001 hardcode_shlibpath_var=no
11002 case $host_os in
11003 solaris2.[0-5] | solaris2.[0-5].*) ;;
11004 *)
11005 # The compiler driver will combine and reorder linker options,
11006 # but understands `-z linker_flag'. GCC discards it without `$wl',
11007 # but is careful enough not to reorder.
11008 # Supported since Solaris 2.6 (maybe 2.5.1?)
11009 if test "$GCC" = yes; then
11010 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11011 else
11012 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11013 fi
11014 ;;
11015 esac
11016 link_all_deplibs=yes
11017 ;;
11018
11019 sunos4*)
11020 if test "x$host_vendor" = xsequent; then
11021 # Use $CC to link under sequent, because it throws in some extra .o
11022 # files that make .init and .fini sections work.
11023 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11024 else
11025 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11026 fi
11027 hardcode_libdir_flag_spec='-L$libdir'
11028 hardcode_direct=yes
11029 hardcode_minus_L=yes
11030 hardcode_shlibpath_var=no
11031 ;;
11032
11033 sysv4)
11034 case $host_vendor in
11035 sni)
11036 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11037 hardcode_direct=yes # is this really true???
11038 ;;
11039 siemens)
11040 ## LD is ld it makes a PLAMLIB
11041 ## CC just makes a GrossModule.
11042 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11043 reload_cmds='$CC -r -o $output$reload_objs'
11044 hardcode_direct=no
11045 ;;
11046 motorola)
11047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11048 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11049 ;;
11050 esac
11051 runpath_var='LD_RUN_PATH'
11052 hardcode_shlibpath_var=no
11053 ;;
11054
11055 sysv4.3*)
11056 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11057 hardcode_shlibpath_var=no
11058 export_dynamic_flag_spec='-Bexport'
11059 ;;
11060
11061 sysv4*MP*)
11062 if test -d /usr/nec; then
11063 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11064 hardcode_shlibpath_var=no
11065 runpath_var=LD_RUN_PATH
11066 hardcode_runpath_var=yes
11067 ld_shlibs=yes
11068 fi
11069 ;;
11070
11071 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11072 no_undefined_flag='${wl}-z,text'
11073 archive_cmds_need_lc=no
11074 hardcode_shlibpath_var=no
11075 runpath_var='LD_RUN_PATH'
11076
11077 if test "$GCC" = yes; then
11078 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11079 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11080 else
11081 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11082 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11083 fi
11084 ;;
11085
11086 sysv5* | sco3.2v5* | sco5v6*)
11087 # Note: We can NOT use -z defs as we might desire, because we do not
11088 # link with -lc, and that would cause any symbols used from libc to
11089 # always be unresolved, which means just about no library would
11090 # ever link correctly. If we're not using GNU ld we use -z text
11091 # though, which does catch some bad symbols but isn't as heavy-handed
11092 # as -z defs.
11093 no_undefined_flag='${wl}-z,text'
11094 allow_undefined_flag='${wl}-z,nodefs'
11095 archive_cmds_need_lc=no
11096 hardcode_shlibpath_var=no
11097 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11098 hardcode_libdir_separator=':'
11099 link_all_deplibs=yes
11100 export_dynamic_flag_spec='${wl}-Bexport'
11101 runpath_var='LD_RUN_PATH'
11102
11103 if test "$GCC" = yes; then
11104 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11105 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11106 else
11107 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11108 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11109 fi
11110 ;;
11111
11112 uts4*)
11113 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114 hardcode_libdir_flag_spec='-L$libdir'
11115 hardcode_shlibpath_var=no
11116 ;;
11117
11118 *)
11119 ld_shlibs=no
11120 ;;
11121 esac
11122
11123 if test x$host_vendor = xsni; then
11124 case $host in
11125 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11126 export_dynamic_flag_spec='${wl}-Blargedynsym'
11127 ;;
11128 esac
11129 fi
11130 fi
11131
11132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11133$as_echo "$ld_shlibs" >&6; }
11134test "$ld_shlibs" = no && can_build_shared=no
11135
11136with_gnu_ld=$with_gnu_ld
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152#
11153# Do we need to explicitly link libc?
11154#
11155case "x$archive_cmds_need_lc" in
11156x|xyes)
11157 # Assume -lc should be added
11158 archive_cmds_need_lc=yes
11159
11160 if test "$enable_shared" = yes && test "$GCC" = yes; then
11161 case $archive_cmds in
11162 *'~'*)
11163 # FIXME: we may have to deal with multi-command sequences.
11164 ;;
11165 '$CC '*)
11166 # Test whether the compiler implicitly links with -lc since on some
11167 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11168 # to ld, don't add -lc before -lgcc.
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11170$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11171 $RM conftest*
11172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11173
11174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11175 (eval $ac_compile) 2>&5
11176 ac_status=$?
11177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11178 test $ac_status = 0; } 2>conftest.err; then
11179 soname=conftest
11180 lib=conftest
11181 libobjs=conftest.$ac_objext
11182 deplibs=
11183 wl=$lt_prog_compiler_wl
11184 pic_flag=$lt_prog_compiler_pic
11185 compiler_flags=-v
11186 linker_flags=-v
11187 verstring=
11188 output_objdir=.
11189 libname=conftest
11190 lt_save_allow_undefined_flag=$allow_undefined_flag
11191 allow_undefined_flag=
11192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11193 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11194 ac_status=$?
11195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11196 test $ac_status = 0; }
11197 then
11198 archive_cmds_need_lc=no
11199 else
11200 archive_cmds_need_lc=yes
11201 fi
11202 allow_undefined_flag=$lt_save_allow_undefined_flag
11203 else
11204 cat conftest.err 1>&5
11205 fi
11206 $RM conftest*
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11208$as_echo "$archive_cmds_need_lc" >&6; }
11209 ;;
11210 esac
11211 fi
11212 ;;
11213esac
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11372$as_echo_n "checking dynamic linker characteristics... " >&6; }
11373
11374if test "$GCC" = yes; then
11375 case $host_os in
11376 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11377 *) lt_awk_arg="/^libraries:/" ;;
11378 esac
11379 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11380 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11381 # if the path contains ";" then we assume it to be the separator
11382 # otherwise default to the standard path separator (i.e. ":") - it is
11383 # assumed that no part of a normal pathname contains ";" but that should
11384 # okay in the real world where ";" in dirpaths is itself problematic.
11385 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11386 else
11387 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11388 fi
11389 # Ok, now we have the path, separated by spaces, we can step through it
11390 # and add multilib dir if necessary.
11391 lt_tmp_lt_search_path_spec=
11392 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11393 for lt_sys_path in $lt_search_path_spec; do
11394 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11395 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11396 else
11397 test -d "$lt_sys_path" && \
11398 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11399 fi
11400 done
11401 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11402BEGIN {RS=" "; FS="/|\n";} {
11403 lt_foo="";
11404 lt_count=0;
11405 for (lt_i = NF; lt_i > 0; lt_i--) {
11406 if ($lt_i != "" && $lt_i != ".") {
11407 if ($lt_i == "..") {
11408 lt_count++;
11409 } else {
11410 if (lt_count == 0) {
11411 lt_foo="/" $lt_i lt_foo;
11412 } else {
11413 lt_count--;
11414 }
11415 }
11416 }
11417 }
11418 if (lt_foo != "") { lt_freq[lt_foo]++; }
11419 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11420}'`
11421 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11422else
11423 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11424fi
11425library_names_spec=
11426libname_spec='lib$name'
11427soname_spec=
11428shrext_cmds=".so"
11429postinstall_cmds=
11430postuninstall_cmds=
11431finish_cmds=
11432finish_eval=
11433shlibpath_var=
11434shlibpath_overrides_runpath=unknown
11435version_type=none
11436dynamic_linker="$host_os ld.so"
11437sys_lib_dlsearch_path_spec="/lib /usr/lib"
11438need_lib_prefix=unknown
11439hardcode_into_libs=no
11440
11441# when you set need_version to no, make sure it does not cause -set_version
11442# flags to be left without arguments
11443need_version=unknown
11444
11445case $host_os in
11446aix3*)
11447 version_type=linux
11448 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11449 shlibpath_var=LIBPATH
11450
11451 # AIX 3 has no versioning support, so we append a major version to the name.
11452 soname_spec='${libname}${release}${shared_ext}$major'
11453 ;;
11454
11455aix[4-9]*)
11456 version_type=linux
11457 need_lib_prefix=no
11458 need_version=no
11459 hardcode_into_libs=yes
11460 if test "$host_cpu" = ia64; then
11461 # AIX 5 supports IA64
11462 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11463 shlibpath_var=LD_LIBRARY_PATH
11464 else
11465 # With GCC up to 2.95.x, collect2 would create an import file
11466 # for dependence libraries. The import file would start with
11467 # the line `#! .'. This would cause the generated library to
11468 # depend on `.', always an invalid library. This was fixed in
11469 # development snapshots of GCC prior to 3.0.
11470 case $host_os in
11471 aix4 | aix4.[01] | aix4.[01].*)
11472 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11473 echo ' yes '
11474 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11475 :
11476 else
11477 can_build_shared=no
11478 fi
11479 ;;
11480 esac
11481 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11482 # soname into executable. Probably we can add versioning support to
11483 # collect2, so additional links can be useful in future.
11484 if test "$aix_use_runtimelinking" = yes; then
11485 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11486 # instead of lib<name>.a to let people know that these are not
11487 # typical AIX shared libraries.
11488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 else
11490 # We preserve .a as extension for shared libraries through AIX4.2
11491 # and later when we are not doing run time linking.
11492 library_names_spec='${libname}${release}.a $libname.a'
11493 soname_spec='${libname}${release}${shared_ext}$major'
11494 fi
11495 shlibpath_var=LIBPATH
11496 fi
11497 ;;
11498
11499amigaos*)
11500 case $host_cpu in
11501 powerpc)
11502 # Since July 2007 AmigaOS4 officially supports .so libraries.
11503 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 ;;
11506 m68k)
11507 library_names_spec='$libname.ixlibrary $libname.a'
11508 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11509 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'
11510 ;;
11511 esac
11512 ;;
11513
11514beos*)
11515 library_names_spec='${libname}${shared_ext}'
11516 dynamic_linker="$host_os ld.so"
11517 shlibpath_var=LIBRARY_PATH
11518 ;;
11519
11520bsdi[45]*)
11521 version_type=linux
11522 need_version=no
11523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524 soname_spec='${libname}${release}${shared_ext}$major'
11525 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11528 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11529 # the default ld.so.conf also contains /usr/contrib/lib and
11530 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11531 # libtool to hard-code these into programs
11532 ;;
11533
11534cygwin* | mingw* | pw32* | cegcc*)
11535 version_type=windows
11536 shrext_cmds=".dll"
11537 need_version=no
11538 need_lib_prefix=no
11539
11540 case $GCC,$host_os in
11541 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11542 library_names_spec='$libname.dll.a'
11543 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11544 postinstall_cmds='base_file=`basename \${file}`~
11545 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11546 dldir=$destdir/`dirname \$dlpath`~
11547 test -d \$dldir || mkdir -p \$dldir~
11548 $install_prog $dir/$dlname \$dldir/$dlname~
11549 chmod a+x \$dldir/$dlname~
11550 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11551 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11552 fi'
11553 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11554 dlpath=$dir/\$dldll~
11555 $RM \$dlpath'
11556 shlibpath_overrides_runpath=yes
11557
11558 case $host_os in
11559 cygwin*)
11560 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11561 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11562 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11563 ;;
11564 mingw* | cegcc*)
11565 # MinGW DLLs use traditional 'lib' prefix
11566 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11567 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11568 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11569 # It is most probably a Windows format PATH printed by
11570 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11571 # path with ; separators, and with drive letters. We can handle the
11572 # drive letters (cygwin fileutils understands them), so leave them,
11573 # especially as we might pass files found there to a mingw objdump,
11574 # which wouldn't understand a cygwinified path. Ahh.
11575 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11576 else
11577 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11578 fi
11579 ;;
11580 pw32*)
11581 # pw32 DLLs use 'pw' prefix rather than 'lib'
11582 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11583 ;;
11584 esac
11585 ;;
11586
11587 *)
11588 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11589 ;;
11590 esac
11591 dynamic_linker='Win32 ld.exe'
11592 # FIXME: first we should search . and the directory the executable is in
11593 shlibpath_var=PATH
11594 ;;
11595
11596darwin* | rhapsody*)
11597 dynamic_linker="$host_os dyld"
11598 version_type=darwin
11599 need_lib_prefix=no
11600 need_version=no
11601 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11602 soname_spec='${libname}${release}${major}$shared_ext'
11603 shlibpath_overrides_runpath=yes
11604 shlibpath_var=DYLD_LIBRARY_PATH
11605 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11606
11607 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11608 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11609 ;;
11610
11611dgux*)
11612 version_type=linux
11613 need_lib_prefix=no
11614 need_version=no
11615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11616 soname_spec='${libname}${release}${shared_ext}$major'
11617 shlibpath_var=LD_LIBRARY_PATH
11618 ;;
11619
11620freebsd1*)
11621 dynamic_linker=no
11622 ;;
11623
11624freebsd* | dragonfly*)
11625 # DragonFly does not have aout. When/if they implement a new
11626 # versioning mechanism, adjust this.
11627 if test -x /usr/bin/objformat; then
11628 objformat=`/usr/bin/objformat`
11629 else
11630 case $host_os in
11631 freebsd[123]*) objformat=aout ;;
11632 *) objformat=elf ;;
11633 esac
11634 fi
11635 version_type=freebsd-$objformat
11636 case $version_type in
11637 freebsd-elf*)
11638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11639 need_version=no
11640 need_lib_prefix=no
11641 ;;
11642 freebsd-*)
11643 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11644 need_version=yes
11645 ;;
11646 esac
11647 shlibpath_var=LD_LIBRARY_PATH
11648 case $host_os in
11649 freebsd2*)
11650 shlibpath_overrides_runpath=yes
11651 ;;
11652 freebsd3.[01]* | freebsdelf3.[01]*)
11653 shlibpath_overrides_runpath=yes
11654 hardcode_into_libs=yes
11655 ;;
11656 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11657 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11658 shlibpath_overrides_runpath=no
11659 hardcode_into_libs=yes
11660 ;;
11661 *) # from 4.6 on, and DragonFly
11662 shlibpath_overrides_runpath=yes
11663 hardcode_into_libs=yes
11664 ;;
11665 esac
11666 ;;
11667
11668gnu*)
11669 version_type=linux
11670 need_lib_prefix=no
11671 need_version=no
11672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11673 soname_spec='${libname}${release}${shared_ext}$major'
11674 shlibpath_var=LD_LIBRARY_PATH
11675 hardcode_into_libs=yes
11676 ;;
11677
11678hpux9* | hpux10* | hpux11*)
11679 # Give a soname corresponding to the major version so that dld.sl refuses to
11680 # link against other versions.
11681 version_type=sunos
11682 need_lib_prefix=no
11683 need_version=no
11684 case $host_cpu in
11685 ia64*)
11686 shrext_cmds='.so'
11687 hardcode_into_libs=yes
11688 dynamic_linker="$host_os dld.so"
11689 shlibpath_var=LD_LIBRARY_PATH
11690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11692 soname_spec='${libname}${release}${shared_ext}$major'
11693 if test "X$HPUX_IA64_MODE" = X32; then
11694 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11695 else
11696 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11697 fi
11698 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11699 ;;
11700 hppa*64*)
11701 shrext_cmds='.sl'
11702 hardcode_into_libs=yes
11703 dynamic_linker="$host_os dld.sl"
11704 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11705 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11707 soname_spec='${libname}${release}${shared_ext}$major'
11708 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11709 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11710 ;;
11711 *)
11712 shrext_cmds='.sl'
11713 dynamic_linker="$host_os dld.sl"
11714 shlibpath_var=SHLIB_PATH
11715 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11717 soname_spec='${libname}${release}${shared_ext}$major'
11718 ;;
11719 esac
11720 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11721 postinstall_cmds='chmod 555 $lib'
11722 ;;
11723
11724interix[3-9]*)
11725 version_type=linux
11726 need_lib_prefix=no
11727 need_version=no
11728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11729 soname_spec='${libname}${release}${shared_ext}$major'
11730 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11731 shlibpath_var=LD_LIBRARY_PATH
11732 shlibpath_overrides_runpath=no
11733 hardcode_into_libs=yes
11734 ;;
11735
11736irix5* | irix6* | nonstopux*)
11737 case $host_os in
11738 nonstopux*) version_type=nonstopux ;;
11739 *)
11740 if test "$lt_cv_prog_gnu_ld" = yes; then
11741 version_type=linux
11742 else
11743 version_type=irix
11744 fi ;;
11745 esac
11746 need_lib_prefix=no
11747 need_version=no
11748 soname_spec='${libname}${release}${shared_ext}$major'
11749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11750 case $host_os in
11751 irix5* | nonstopux*)
11752 libsuff= shlibsuff=
11753 ;;
11754 *)
11755 case $LD in # libtool.m4 will add one of these switches to LD
11756 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11757 libsuff= shlibsuff= libmagic=32-bit;;
11758 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11759 libsuff=32 shlibsuff=N32 libmagic=N32;;
11760 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11761 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11762 *) libsuff= shlibsuff= libmagic=never-match;;
11763 esac
11764 ;;
11765 esac
11766 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11767 shlibpath_overrides_runpath=no
11768 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11769 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11770 hardcode_into_libs=yes
11771 ;;
11772
11773# No shared lib support for Linux oldld, aout, or coff.
11774linux*oldld* | linux*aout* | linux*coff*)
11775 dynamic_linker=no
11776 ;;
11777
11778# This must be Linux ELF.
11779linux* | k*bsd*-gnu | kopensolaris*-gnu)
11780 version_type=linux
11781 need_lib_prefix=no
11782 need_version=no
11783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11784 soname_spec='${libname}${release}${shared_ext}$major'
11785 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11786 shlibpath_var=LD_LIBRARY_PATH
11787 shlibpath_overrides_runpath=no
11788 # Some binutils ld are patched to set DT_RUNPATH
11789 save_LDFLAGS=$LDFLAGS
11790 save_libdir=$libdir
11791 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11792 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794/* end confdefs.h. */
11795
11796int
11797main ()
11798{
11799
11800 ;
11801 return 0;
11802}
11803_ACEOF
11804if ac_fn_c_try_link "$LINENO"; then :
11805 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11806 shlibpath_overrides_runpath=yes
11807fi
11808fi
11809rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LDFLAGS=$save_LDFLAGS
11812 libdir=$save_libdir
11813
11814 # This implies no fast_install, which is unacceptable.
11815 # Some rework will be needed to allow for fast_install
11816 # before this can be enabled.
11817 hardcode_into_libs=yes
11818
11819 # Append ld.so.conf contents to the search path
11820 if test -f /etc/ld.so.conf; then
11821 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' ' '`
11822 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11823 fi
11824
11825 # We used to test for /lib/ld.so.1 and disable shared libraries on
11826 # powerpc, because MkLinux only supported shared libraries with the
11827 # GNU dynamic linker. Since this was broken with cross compilers,
11828 # most powerpc-linux boxes support dynamic linking these days and
11829 # people can always --disable-shared, the test was removed, and we
11830 # assume the GNU/Linux dynamic linker is in use.
11831 dynamic_linker='GNU/Linux ld.so'
11832 ;;
11833
11834netbsdelf*-gnu)
11835 version_type=linux
11836 need_lib_prefix=no
11837 need_version=no
11838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11839 soname_spec='${libname}${release}${shared_ext}$major'
11840 shlibpath_var=LD_LIBRARY_PATH
11841 shlibpath_overrides_runpath=no
11842 hardcode_into_libs=yes
11843 dynamic_linker='NetBSD ld.elf_so'
11844 ;;
11845
11846netbsd*)
11847 version_type=sunos
11848 need_lib_prefix=no
11849 need_version=no
11850 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11853 dynamic_linker='NetBSD (a.out) ld.so'
11854 else
11855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11856 soname_spec='${libname}${release}${shared_ext}$major'
11857 dynamic_linker='NetBSD ld.elf_so'
11858 fi
11859 shlibpath_var=LD_LIBRARY_PATH
11860 shlibpath_overrides_runpath=yes
11861 hardcode_into_libs=yes
11862 ;;
11863
11864newsos6)
11865 version_type=linux
11866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11867 shlibpath_var=LD_LIBRARY_PATH
11868 shlibpath_overrides_runpath=yes
11869 ;;
11870
11871*nto* | *qnx*)
11872 version_type=qnx
11873 need_lib_prefix=no
11874 need_version=no
11875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11876 soname_spec='${libname}${release}${shared_ext}$major'
11877 shlibpath_var=LD_LIBRARY_PATH
11878 shlibpath_overrides_runpath=no
11879 hardcode_into_libs=yes
11880 dynamic_linker='ldqnx.so'
11881 ;;
11882
11883openbsd*)
11884 version_type=sunos
11885 sys_lib_dlsearch_path_spec="/usr/lib"
11886 need_lib_prefix=no
11887 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11888 case $host_os in
11889 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11890 *) need_version=no ;;
11891 esac
11892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11894 shlibpath_var=LD_LIBRARY_PATH
11895 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11896 case $host_os in
11897 openbsd2.[89] | openbsd2.[89].*)
11898 shlibpath_overrides_runpath=no
11899 ;;
11900 *)
11901 shlibpath_overrides_runpath=yes
11902 ;;
11903 esac
11904 else
11905 shlibpath_overrides_runpath=yes
11906 fi
11907 ;;
11908
11909os2*)
11910 libname_spec='$name'
11911 shrext_cmds=".dll"
11912 need_lib_prefix=no
11913 library_names_spec='$libname${shared_ext} $libname.a'
11914 dynamic_linker='OS/2 ld.exe'
11915 shlibpath_var=LIBPATH
11916 ;;
11917
11918osf3* | osf4* | osf5*)
11919 version_type=osf
11920 need_lib_prefix=no
11921 need_version=no
11922 soname_spec='${libname}${release}${shared_ext}$major'
11923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11924 shlibpath_var=LD_LIBRARY_PATH
11925 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11926 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11927 ;;
11928
11929rdos*)
11930 dynamic_linker=no
11931 ;;
11932
11933solaris*)
11934 version_type=linux
11935 need_lib_prefix=no
11936 need_version=no
11937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11938 soname_spec='${libname}${release}${shared_ext}$major'
11939 shlibpath_var=LD_LIBRARY_PATH
11940 shlibpath_overrides_runpath=yes
11941 hardcode_into_libs=yes
11942 # ldd complains unless libraries are executable
11943 postinstall_cmds='chmod +x $lib'
11944 ;;
11945
11946sunos4*)
11947 version_type=sunos
11948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11949 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11950 shlibpath_var=LD_LIBRARY_PATH
11951 shlibpath_overrides_runpath=yes
11952 if test "$with_gnu_ld" = yes; then
11953 need_lib_prefix=no
11954 fi
11955 need_version=yes
11956 ;;
11957
11958sysv4 | sysv4.3*)
11959 version_type=linux
11960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11961 soname_spec='${libname}${release}${shared_ext}$major'
11962 shlibpath_var=LD_LIBRARY_PATH
11963 case $host_vendor in
11964 sni)
11965 shlibpath_overrides_runpath=no
11966 need_lib_prefix=no
11967 runpath_var=LD_RUN_PATH
11968 ;;
11969 siemens)
11970 need_lib_prefix=no
11971 ;;
11972 motorola)
11973 need_lib_prefix=no
11974 need_version=no
11975 shlibpath_overrides_runpath=no
11976 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11977 ;;
11978 esac
11979 ;;
11980
11981sysv4*MP*)
11982 if test -d /usr/nec ;then
11983 version_type=linux
11984 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11985 soname_spec='$libname${shared_ext}.$major'
11986 shlibpath_var=LD_LIBRARY_PATH
11987 fi
11988 ;;
11989
11990sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11991 version_type=freebsd-elf
11992 need_lib_prefix=no
11993 need_version=no
11994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11995 soname_spec='${libname}${release}${shared_ext}$major'
11996 shlibpath_var=LD_LIBRARY_PATH
11997 shlibpath_overrides_runpath=yes
11998 hardcode_into_libs=yes
11999 if test "$with_gnu_ld" = yes; then
12000 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12001 else
12002 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12003 case $host_os in
12004 sco3.2v5*)
12005 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12006 ;;
12007 esac
12008 fi
12009 sys_lib_dlsearch_path_spec='/usr/lib'
12010 ;;
12011
12012tpf*)
12013 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12014 version_type=linux
12015 need_lib_prefix=no
12016 need_version=no
12017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12018 shlibpath_var=LD_LIBRARY_PATH
12019 shlibpath_overrides_runpath=no
12020 hardcode_into_libs=yes
12021 ;;
12022
12023uts4*)
12024 version_type=linux
12025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12026 soname_spec='${libname}${release}${shared_ext}$major'
12027 shlibpath_var=LD_LIBRARY_PATH
12028 ;;
12029
12030*)
12031 dynamic_linker=no
12032 ;;
12033esac
12034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12035$as_echo "$dynamic_linker" >&6; }
12036test "$dynamic_linker" = no && can_build_shared=no
12037
12038variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12039if test "$GCC" = yes; then
12040 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12041fi
12042
12043if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12044 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12045fi
12046if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12047 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12048fi
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12137$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12138hardcode_action=
12139if test -n "$hardcode_libdir_flag_spec" ||
12140 test -n "$runpath_var" ||
12141 test "X$hardcode_automatic" = "Xyes" ; then
12142
12143 # We can hardcode non-existent directories.
12144 if test "$hardcode_direct" != no &&
12145 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12146 # have to relink, otherwise we might link with an installed library
12147 # when we should be linking with a yet-to-be-installed one
12148 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12149 test "$hardcode_minus_L" != no; then
12150 # Linking always hardcodes the temporary library directory.
12151 hardcode_action=relink
12152 else
12153 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12154 hardcode_action=immediate
12155 fi
12156else
12157 # We cannot hardcode anything, or else we can only hardcode existing
12158 # directories.
12159 hardcode_action=unsupported
12160fi
12161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12162$as_echo "$hardcode_action" >&6; }
12163
12164if test "$hardcode_action" = relink ||
12165 test "$inherit_rpath" = yes; then
12166 # Fast installation is not supported
12167 enable_fast_install=no
12168elif test "$shlibpath_overrides_runpath" = yes ||
12169 test "$enable_shared" = no; then
12170 # Fast installation is not necessary
12171 enable_fast_install=needless
12172fi
12173
12174
12175
12176
12177
12178
12179 if test "x$enable_dlopen" != xyes; then
12180 enable_dlopen=unknown
12181 enable_dlopen_self=unknown
12182 enable_dlopen_self_static=unknown
12183else
12184 lt_cv_dlopen=no
12185 lt_cv_dlopen_libs=
12186
12187 case $host_os in
12188 beos*)
12189 lt_cv_dlopen="load_add_on"
12190 lt_cv_dlopen_libs=
12191 lt_cv_dlopen_self=yes
12192 ;;
12193
12194 mingw* | pw32* | cegcc*)
12195 lt_cv_dlopen="LoadLibrary"
12196 lt_cv_dlopen_libs=
12197 ;;
12198
12199 cygwin*)
12200 lt_cv_dlopen="dlopen"
12201 lt_cv_dlopen_libs=
12202 ;;
12203
12204 darwin*)
12205 # if libdl is installed we need to link against it
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12207$as_echo_n "checking for dlopen in -ldl... " >&6; }
12208if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12209 $as_echo_n "(cached) " >&6
12210else
12211 ac_check_lib_save_LIBS=$LIBS
12212LIBS="-ldl $LIBS"
12213cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214/* end confdefs.h. */
12215
12216/* Override any GCC internal prototype to avoid an error.
12217 Use char because int might match the return type of a GCC
12218 builtin and then its argument prototype would still apply. */
12219#ifdef __cplusplus
12220extern "C"
12221#endif
12222char dlopen ();
12223int
12224main ()
12225{
12226return dlopen ();
12227 ;
12228 return 0;
12229}
12230_ACEOF
12231if ac_fn_c_try_link "$LINENO"; then :
12232 ac_cv_lib_dl_dlopen=yes
12233else
12234 ac_cv_lib_dl_dlopen=no
12235fi
12236rm -f core conftest.err conftest.$ac_objext \
12237 conftest$ac_exeext conftest.$ac_ext
12238LIBS=$ac_check_lib_save_LIBS
12239fi
12240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12241$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12242if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12243 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12244else
12245
12246 lt_cv_dlopen="dyld"
12247 lt_cv_dlopen_libs=
12248 lt_cv_dlopen_self=yes
12249
12250fi
12251
12252 ;;
12253
12254 *)
12255 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12256if test "x$ac_cv_func_shl_load" = x""yes; then :
12257 lt_cv_dlopen="shl_load"
12258else
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12260$as_echo_n "checking for shl_load in -ldld... " >&6; }
12261if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12262 $as_echo_n "(cached) " >&6
12263else
12264 ac_check_lib_save_LIBS=$LIBS
12265LIBS="-ldld $LIBS"
12266cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267/* end confdefs.h. */
12268
12269/* Override any GCC internal prototype to avoid an error.
12270 Use char because int might match the return type of a GCC
12271 builtin and then its argument prototype would still apply. */
12272#ifdef __cplusplus
12273extern "C"
12274#endif
12275char shl_load ();
12276int
12277main ()
12278{
12279return shl_load ();
12280 ;
12281 return 0;
12282}
12283_ACEOF
12284if ac_fn_c_try_link "$LINENO"; then :
12285 ac_cv_lib_dld_shl_load=yes
12286else
12287 ac_cv_lib_dld_shl_load=no
12288fi
12289rm -f core conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291LIBS=$ac_check_lib_save_LIBS
12292fi
12293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12294$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12295if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12296 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12297else
12298 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12299if test "x$ac_cv_func_dlopen" = x""yes; then :
12300 lt_cv_dlopen="dlopen"
12301else
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12303$as_echo_n "checking for dlopen in -ldl... " >&6; }
12304if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12305 $as_echo_n "(cached) " >&6
12306else
12307 ac_check_lib_save_LIBS=$LIBS
12308LIBS="-ldl $LIBS"
12309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310/* end confdefs.h. */
12311
12312/* Override any GCC internal prototype to avoid an error.
12313 Use char because int might match the return type of a GCC
12314 builtin and then its argument prototype would still apply. */
12315#ifdef __cplusplus
12316extern "C"
12317#endif
12318char dlopen ();
12319int
12320main ()
12321{
12322return dlopen ();
12323 ;
12324 return 0;
12325}
12326_ACEOF
12327if ac_fn_c_try_link "$LINENO"; then :
12328 ac_cv_lib_dl_dlopen=yes
12329else
12330 ac_cv_lib_dl_dlopen=no
12331fi
12332rm -f core conftest.err conftest.$ac_objext \
12333 conftest$ac_exeext conftest.$ac_ext
12334LIBS=$ac_check_lib_save_LIBS
12335fi
12336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12337$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12338if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12339 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12340else
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12342$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12343if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12345else
12346 ac_check_lib_save_LIBS=$LIBS
12347LIBS="-lsvld $LIBS"
12348cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349/* end confdefs.h. */
12350
12351/* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12354#ifdef __cplusplus
12355extern "C"
12356#endif
12357char dlopen ();
12358int
12359main ()
12360{
12361return dlopen ();
12362 ;
12363 return 0;
12364}
12365_ACEOF
12366if ac_fn_c_try_link "$LINENO"; then :
12367 ac_cv_lib_svld_dlopen=yes
12368else
12369 ac_cv_lib_svld_dlopen=no
12370fi
12371rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373LIBS=$ac_check_lib_save_LIBS
12374fi
12375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12376$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12377if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12378 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12379else
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12381$as_echo_n "checking for dld_link in -ldld... " >&6; }
12382if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12383 $as_echo_n "(cached) " >&6
12384else
12385 ac_check_lib_save_LIBS=$LIBS
12386LIBS="-ldld $LIBS"
12387cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388/* end confdefs.h. */
12389
12390/* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12393#ifdef __cplusplus
12394extern "C"
12395#endif
12396char dld_link ();
12397int
12398main ()
12399{
12400return dld_link ();
12401 ;
12402 return 0;
12403}
12404_ACEOF
12405if ac_fn_c_try_link "$LINENO"; then :
12406 ac_cv_lib_dld_dld_link=yes
12407else
12408 ac_cv_lib_dld_dld_link=no
12409fi
12410rm -f core conftest.err conftest.$ac_objext \
12411 conftest$ac_exeext conftest.$ac_ext
12412LIBS=$ac_check_lib_save_LIBS
12413fi
12414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12415$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12416if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12417 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12418fi
12419
12420
12421fi
12422
12423
12424fi
12425
12426
12427fi
12428
12429
12430fi
12431
12432
12433fi
12434
12435 ;;
12436 esac
12437
12438 if test "x$lt_cv_dlopen" != xno; then
12439 enable_dlopen=yes
12440 else
12441 enable_dlopen=no
12442 fi
12443
12444 case $lt_cv_dlopen in
12445 dlopen)
12446 save_CPPFLAGS="$CPPFLAGS"
12447 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12448
12449 save_LDFLAGS="$LDFLAGS"
12450 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12451
12452 save_LIBS="$LIBS"
12453 LIBS="$lt_cv_dlopen_libs $LIBS"
12454
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12456$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12457if test "${lt_cv_dlopen_self+set}" = set; then :
12458 $as_echo_n "(cached) " >&6
12459else
12460 if test "$cross_compiling" = yes; then :
12461 lt_cv_dlopen_self=cross
12462else
12463 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12464 lt_status=$lt_dlunknown
12465 cat > conftest.$ac_ext <<_LT_EOF
12466#line 12466 "configure"
12467#include "confdefs.h"
12468
12469#if HAVE_DLFCN_H
12470#include <dlfcn.h>
12471#endif
12472
12473#include <stdio.h>
12474
12475#ifdef RTLD_GLOBAL
12476# define LT_DLGLOBAL RTLD_GLOBAL
12477#else
12478# ifdef DL_GLOBAL
12479# define LT_DLGLOBAL DL_GLOBAL
12480# else
12481# define LT_DLGLOBAL 0
12482# endif
12483#endif
12484
12485/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12486 find out it does not work in some platform. */
12487#ifndef LT_DLLAZY_OR_NOW
12488# ifdef RTLD_LAZY
12489# define LT_DLLAZY_OR_NOW RTLD_LAZY
12490# else
12491# ifdef DL_LAZY
12492# define LT_DLLAZY_OR_NOW DL_LAZY
12493# else
12494# ifdef RTLD_NOW
12495# define LT_DLLAZY_OR_NOW RTLD_NOW
12496# else
12497# ifdef DL_NOW
12498# define LT_DLLAZY_OR_NOW DL_NOW
12499# else
12500# define LT_DLLAZY_OR_NOW 0
12501# endif
12502# endif
12503# endif
12504# endif
12505#endif
12506
12507void fnord() { int i=42;}
12508int main ()
12509{
12510 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12511 int status = $lt_dlunknown;
12512
12513 if (self)
12514 {
12515 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12516 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12517 /* dlclose (self); */
12518 }
12519 else
12520 puts (dlerror ());
12521
12522 return status;
12523}
12524_LT_EOF
12525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12526 (eval $ac_link) 2>&5
12527 ac_status=$?
12528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12529 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12530 (./conftest; exit; ) >&5 2>/dev/null
12531 lt_status=$?
12532 case x$lt_status in
12533 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12534 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12535 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12536 esac
12537 else :
12538 # compilation failed
12539 lt_cv_dlopen_self=no
12540 fi
12541fi
12542rm -fr conftest*
12543
12544
12545fi
12546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12547$as_echo "$lt_cv_dlopen_self" >&6; }
12548
12549 if test "x$lt_cv_dlopen_self" = xyes; then
12550 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12552$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12553if test "${lt_cv_dlopen_self_static+set}" = set; then :
12554 $as_echo_n "(cached) " >&6
12555else
12556 if test "$cross_compiling" = yes; then :
12557 lt_cv_dlopen_self_static=cross
12558else
12559 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12560 lt_status=$lt_dlunknown
12561 cat > conftest.$ac_ext <<_LT_EOF
12562#line 12562 "configure"
12563#include "confdefs.h"
12564
12565#if HAVE_DLFCN_H
12566#include <dlfcn.h>
12567#endif
12568
12569#include <stdio.h>
12570
12571#ifdef RTLD_GLOBAL
12572# define LT_DLGLOBAL RTLD_GLOBAL
12573#else
12574# ifdef DL_GLOBAL
12575# define LT_DLGLOBAL DL_GLOBAL
12576# else
12577# define LT_DLGLOBAL 0
12578# endif
12579#endif
12580
12581/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12582 find out it does not work in some platform. */
12583#ifndef LT_DLLAZY_OR_NOW
12584# ifdef RTLD_LAZY
12585# define LT_DLLAZY_OR_NOW RTLD_LAZY
12586# else
12587# ifdef DL_LAZY
12588# define LT_DLLAZY_OR_NOW DL_LAZY
12589# else
12590# ifdef RTLD_NOW
12591# define LT_DLLAZY_OR_NOW RTLD_NOW
12592# else
12593# ifdef DL_NOW
12594# define LT_DLLAZY_OR_NOW DL_NOW
12595# else
12596# define LT_DLLAZY_OR_NOW 0
12597# endif
12598# endif
12599# endif
12600# endif
12601#endif
12602
12603void fnord() { int i=42;}
12604int main ()
12605{
12606 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12607 int status = $lt_dlunknown;
12608
12609 if (self)
12610 {
12611 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12612 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12613 /* dlclose (self); */
12614 }
12615 else
12616 puts (dlerror ());
12617
12618 return status;
12619}
12620_LT_EOF
12621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12622 (eval $ac_link) 2>&5
12623 ac_status=$?
12624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12625 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12626 (./conftest; exit; ) >&5 2>/dev/null
12627 lt_status=$?
12628 case x$lt_status in
12629 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12630 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12631 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12632 esac
12633 else :
12634 # compilation failed
12635 lt_cv_dlopen_self_static=no
12636 fi
12637fi
12638rm -fr conftest*
12639
12640
12641fi
12642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12643$as_echo "$lt_cv_dlopen_self_static" >&6; }
12644 fi
12645
12646 CPPFLAGS="$save_CPPFLAGS"
12647 LDFLAGS="$save_LDFLAGS"
12648 LIBS="$save_LIBS"
12649 ;;
12650 esac
12651
12652 case $lt_cv_dlopen_self in
12653 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12654 *) enable_dlopen_self=unknown ;;
12655 esac
12656
12657 case $lt_cv_dlopen_self_static in
12658 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12659 *) enable_dlopen_self_static=unknown ;;
12660 esac
12661fi
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679striplib=
12680old_striplib=
12681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12682$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12683if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12684 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12685 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12687$as_echo "yes" >&6; }
12688else
12689# FIXME - insert some real tests, host_os isn't really good enough
12690 case $host_os in
12691 darwin*)
12692 if test -n "$STRIP" ; then
12693 striplib="$STRIP -x"
12694 old_striplib="$STRIP -S"
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12696$as_echo "yes" >&6; }
12697 else
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12699$as_echo "no" >&6; }
12700 fi
12701 ;;
12702 *)
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704$as_echo "no" >&6; }
12705 ;;
12706 esac
12707fi
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720 # Report which library types will actually be built
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12722$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12724$as_echo "$can_build_shared" >&6; }
12725
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12727$as_echo_n "checking whether to build shared libraries... " >&6; }
12728 test "$can_build_shared" = "no" && enable_shared=no
12729
12730 # On AIX, shared libraries and static libraries use the same namespace, and
12731 # are all built from PIC.
12732 case $host_os in
12733 aix3*)
12734 test "$enable_shared" = yes && enable_static=no
12735 if test -n "$RANLIB"; then
12736 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12737 postinstall_cmds='$RANLIB $lib'
12738 fi
12739 ;;
12740
12741 aix[4-9]*)
12742 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12743 test "$enable_shared" = yes && enable_static=no
12744 fi
12745 ;;
12746 esac
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12748$as_echo "$enable_shared" >&6; }
12749
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12751$as_echo_n "checking whether to build static libraries... " >&6; }
12752 # Make sure either enable_shared or enable_static is yes.
12753 test "$enable_shared" = yes || enable_static=yes
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12755$as_echo "$enable_static" >&6; }
12756
12757
12758
12759
12760fi
12761ac_ext=c
12762ac_cpp='$CPP $CPPFLAGS'
12763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765ac_compiler_gnu=$ac_cv_c_compiler_gnu
12766
12767CC="$lt_save_CC"
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781 ac_config_commands="$ac_config_commands libtool"
12782
12783
12784
12785
12786# Only expand once:
12787
12788
12789
12790##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12791##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12792
12793
12794
12795cat >>confdefs.h <<_ACEOF
12796#define VMAJ 1
12797_ACEOF
12798
12799
12800cat >>confdefs.h <<_ACEOF
12801#define VMIN 0
12802_ACEOF
12803
12804
12805cat >>confdefs.h <<_ACEOF
12806#define VMIC 0
12807_ACEOF
12808
12809
12810cat >>confdefs.h <<_ACEOF
12811#define VREV 0
12812_ACEOF
12813
12814version_info="1:0:0"
12815release_info=""
12816
12817
12818##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12819##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12820VMAJ=1
12821VMIN=0
12822
12823
12824
12825# pkg-config
12826
12827
12828
12829
12830
12831
12832if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12833 if test -n "$ac_tool_prefix"; then
12834 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12835set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12837$as_echo_n "checking for $ac_word... " >&6; }
12838if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12839 $as_echo_n "(cached) " >&6
12840else
12841 case $PKG_CONFIG in
12842 [\\/]* | ?:[\\/]*)
12843 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12844 ;;
12845 *)
12846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847for as_dir in $PATH
12848do
12849 IFS=$as_save_IFS
12850 test -z "$as_dir" && as_dir=.
12851 for ac_exec_ext in '' $ac_executable_extensions; do
12852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12853 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12855 break 2
12856 fi
12857done
12858 done
12859IFS=$as_save_IFS
12860
12861 ;;
12862esac
12863fi
12864PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12865if test -n "$PKG_CONFIG"; then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12867$as_echo "$PKG_CONFIG" >&6; }
12868else
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870$as_echo "no" >&6; }
12871fi
12872
12873
12874fi
12875if test -z "$ac_cv_path_PKG_CONFIG"; then
12876 ac_pt_PKG_CONFIG=$PKG_CONFIG
12877 # Extract the first word of "pkg-config", so it can be a program name with args.
12878set dummy pkg-config; ac_word=$2
12879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880$as_echo_n "checking for $ac_word... " >&6; }
12881if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12882 $as_echo_n "(cached) " >&6
12883else
12884 case $ac_pt_PKG_CONFIG in
12885 [\\/]* | ?:[\\/]*)
12886 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12887 ;;
12888 *)
12889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12890for as_dir in $PATH
12891do
12892 IFS=$as_save_IFS
12893 test -z "$as_dir" && as_dir=.
12894 for ac_exec_ext in '' $ac_executable_extensions; do
12895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12896 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12898 break 2
12899 fi
12900done
12901 done
12902IFS=$as_save_IFS
12903
12904 ;;
12905esac
12906fi
12907ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12908if test -n "$ac_pt_PKG_CONFIG"; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12910$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12911else
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913$as_echo "no" >&6; }
12914fi
12915
12916 if test "x$ac_pt_PKG_CONFIG" = x; then
12917 PKG_CONFIG=""
12918 else
12919 case $cross_compiling:$ac_tool_warned in
12920yes:)
12921{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12922$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12923ac_tool_warned=yes ;;
12924esac
12925 PKG_CONFIG=$ac_pt_PKG_CONFIG
12926 fi
12927else
12928 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12929fi
12930
12931fi
12932if test -n "$PKG_CONFIG"; then
12933 _pkg_min_version=0.9.0
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12935$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12936 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12938$as_echo "yes" >&6; }
12939 else
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941$as_echo "no" >&6; }
12942 PKG_CONFIG=""
12943 fi
12944fi
12945EDJE_VERSION=`$PKG_CONFIG edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
12946
12947case "$host_os" in
12948 mingw32ce* | cegcc*)
12949 MODULE_ARCH="$host_os-$host_cpu"
12950 MODULE_EDJE="$host_os-$host_cpu"
12951 ;;
12952 *)
12953 MODULE_ARCH="$host_os-$host_cpu-1.0.0"
12954 MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
12955 ;;
12956esac
12957
12958
12959
12960cat >>confdefs.h <<_ACEOF
12961#define MODULE_ARCH "$MODULE_ARCH"
12962_ACEOF
12963
12964
12965
12966cat >>confdefs.h <<_ACEOF
12967#define MODULE_EDJE "$MODULE_EDJE"
12968_ACEOF
12969
12970
12971EFL_SHARED_EXTENSION="${shrext_cmds}"
12972
12973cat >>confdefs.h <<_ACEOF
12974#define EFL_SHARED_EXTENSION "${EFL_SHARED_EXTENSION}"
12975_ACEOF
12976
12977
12978requirement_elm=""
12979
12980
12981
12982
12983
12984
12985
12986if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12987 if test -n "$ac_tool_prefix"; then
12988 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12989set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12991$as_echo_n "checking for $ac_word... " >&6; }
12992if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12993 $as_echo_n "(cached) " >&6
12994else
12995 case $PKG_CONFIG in
12996 [\\/]* | ?:[\\/]*)
12997 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12998 ;;
12999 *)
13000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13001for as_dir in $PATH
13002do
13003 IFS=$as_save_IFS
13004 test -z "$as_dir" && as_dir=.
13005 for ac_exec_ext in '' $ac_executable_extensions; do
13006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13007 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13009 break 2
13010 fi
13011done
13012 done
13013IFS=$as_save_IFS
13014
13015 ;;
13016esac
13017fi
13018PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13019if test -n "$PKG_CONFIG"; then
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13021$as_echo "$PKG_CONFIG" >&6; }
13022else
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13024$as_echo "no" >&6; }
13025fi
13026
13027
13028fi
13029if test -z "$ac_cv_path_PKG_CONFIG"; then
13030 ac_pt_PKG_CONFIG=$PKG_CONFIG
13031 # Extract the first word of "pkg-config", so it can be a program name with args.
13032set dummy pkg-config; ac_word=$2
13033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13034$as_echo_n "checking for $ac_word... " >&6; }
13035if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13036 $as_echo_n "(cached) " >&6
13037else
13038 case $ac_pt_PKG_CONFIG in
13039 [\\/]* | ?:[\\/]*)
13040 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13041 ;;
13042 *)
13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044for as_dir in $PATH
13045do
13046 IFS=$as_save_IFS
13047 test -z "$as_dir" && as_dir=.
13048 for ac_exec_ext in '' $ac_executable_extensions; do
13049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13050 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13052 break 2
13053 fi
13054done
13055 done
13056IFS=$as_save_IFS
13057
13058 ;;
13059esac
13060fi
13061ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13062if test -n "$ac_pt_PKG_CONFIG"; then
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13064$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13065else
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13067$as_echo "no" >&6; }
13068fi
13069
13070 if test "x$ac_pt_PKG_CONFIG" = x; then
13071 PKG_CONFIG=""
13072 else
13073 case $cross_compiling:$ac_tool_warned in
13074yes:)
13075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13077ac_tool_warned=yes ;;
13078esac
13079 PKG_CONFIG=$ac_pt_PKG_CONFIG
13080 fi
13081else
13082 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13083fi
13084
13085fi
13086if test -n "$PKG_CONFIG"; then
13087 _pkg_min_version=0.9.0
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13089$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13090 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13092$as_echo "yes" >&6; }
13093 else
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13095$as_echo "no" >&6; }
13096 PKG_CONFIG=""
13097 fi
13098fi
13099
13100# Check whether pkg-config supports Requires.private
13101if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13102 pkgconfig_requires_private="Requires.private"
13103else
13104 pkgconfig_requires_private="Requires"
13105fi
13106
13107
13108#================================================
13109if test "x${prefix}" = "xNONE"; then
13110 LOCALE_DIR="${ac_default_prefix}/share/locale"
13111else
13112 LOCALE_DIR="${prefix}/share/locale"
13113fi
13114
13115#================================================
13116
13117lt_enable_auto_import=""
13118ELM_UNIX_DEF="#undef"
13119ELM_WIN32_DEF="#undef"
13120ELM_WINCE_DEF="#undef"
13121have_windows="no"
13122have_dlopen="no"
13123case "$host_os" in
13124 mingw32ce*)
13125
13126pkg_failed=no
13127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13128$as_echo_n "checking for EVIL... " >&6; }
13129
13130if test -n "$EVIL_CFLAGS"; then
13131 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13132 elif test -n "$PKG_CONFIG"; then
13133 if test -n "$PKG_CONFIG" && \
13134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13135 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13136 ac_status=$?
13137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13138 test $ac_status = 0; }; then
13139 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
13140else
13141 pkg_failed=yes
13142fi
13143 else
13144 pkg_failed=untried
13145fi
13146if test -n "$EVIL_LIBS"; then
13147 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13148 elif test -n "$PKG_CONFIG"; then
13149 if test -n "$PKG_CONFIG" && \
13150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13151 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13152 ac_status=$?
13153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13154 test $ac_status = 0; }; then
13155 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
13156else
13157 pkg_failed=yes
13158fi
13159 else
13160 pkg_failed=untried
13161fi
13162
13163
13164
13165if test $pkg_failed = yes; then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167$as_echo "no" >&6; }
13168
13169if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13170 _pkg_short_errors_supported=yes
13171else
13172 _pkg_short_errors_supported=no
13173fi
13174 if test $_pkg_short_errors_supported = yes; then
13175 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil" 2>&1`
13176 else
13177 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil" 2>&1`
13178 fi
13179 # Put the nasty error message in config.log where it belongs
13180 echo "$EVIL_PKG_ERRORS" >&5
13181
13182 as_fn_error $? "Package requirements (evil) were not met:
13183
13184$EVIL_PKG_ERRORS
13185
13186Consider adjusting the PKG_CONFIG_PATH environment variable if you
13187installed software in a non-standard prefix.
13188
13189Alternatively, you may set the environment variables EVIL_CFLAGS
13190and EVIL_LIBS to avoid the need to call pkg-config.
13191See the pkg-config man page for more details." "$LINENO" 5
13192elif test $pkg_failed = untried; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13194$as_echo "no" >&6; }
13195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13197as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13198is in your PATH or set the PKG_CONFIG environment variable to the full
13199path to pkg-config.
13200
13201Alternatively, you may set the environment variables EVIL_CFLAGS
13202and EVIL_LIBS to avoid the need to call pkg-config.
13203See the pkg-config man page for more details.
13204
13205To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13206See \`config.log' for more details" "$LINENO" 5 ; }
13207else
13208 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13209 EVIL_LIBS=$pkg_cv_EVIL_LIBS
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13211$as_echo "yes" >&6; }
13212
13213fi
13214
13215$as_echo "#define HAVE_EVIL 1" >>confdefs.h
13216
13217 lt_enable_auto_import="-Wl,--enable-auto-import"
13218 ELM_WINCE_DEF="#define"
13219 have_windows="yes"
13220 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13221
13222 have_dlopen="yes"
13223 dlopen_libs=-ldl
13224 requirement_elm="evil"
13225 have_socket="no"
13226 ;;
13227 mingw*)
13228
13229pkg_failed=no
13230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13231$as_echo_n "checking for EVIL... " >&6; }
13232
13233if test -n "$EVIL_CFLAGS"; then
13234 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13235 elif test -n "$PKG_CONFIG"; then
13236 if test -n "$PKG_CONFIG" && \
13237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13238 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13239 ac_status=$?
13240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13241 test $ac_status = 0; }; then
13242 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
13243else
13244 pkg_failed=yes
13245fi
13246 else
13247 pkg_failed=untried
13248fi
13249if test -n "$EVIL_LIBS"; then
13250 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13251 elif test -n "$PKG_CONFIG"; then
13252 if test -n "$PKG_CONFIG" && \
13253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13254 ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13255 ac_status=$?
13256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13257 test $ac_status = 0; }; then
13258 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
13259else
13260 pkg_failed=yes
13261fi
13262 else
13263 pkg_failed=untried
13264fi
13265
13266
13267
13268if test $pkg_failed = yes; then
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270$as_echo "no" >&6; }
13271
13272if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13273 _pkg_short_errors_supported=yes
13274else
13275 _pkg_short_errors_supported=no
13276fi
13277 if test $_pkg_short_errors_supported = yes; then
13278 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil" 2>&1`
13279 else
13280 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil" 2>&1`
13281 fi
13282 # Put the nasty error message in config.log where it belongs
13283 echo "$EVIL_PKG_ERRORS" >&5
13284
13285 as_fn_error $? "Package requirements (evil) were not met:
13286
13287$EVIL_PKG_ERRORS
13288
13289Consider adjusting the PKG_CONFIG_PATH environment variable if you
13290installed software in a non-standard prefix.
13291
13292Alternatively, you may set the environment variables EVIL_CFLAGS
13293and EVIL_LIBS to avoid the need to call pkg-config.
13294See the pkg-config man page for more details." "$LINENO" 5
13295elif test $pkg_failed = untried; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297$as_echo "no" >&6; }
13298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13299$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13300as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13301is in your PATH or set the PKG_CONFIG environment variable to the full
13302path to pkg-config.
13303
13304Alternatively, you may set the environment variables EVIL_CFLAGS
13305and EVIL_LIBS to avoid the need to call pkg-config.
13306See the pkg-config man page for more details.
13307
13308To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13309See \`config.log' for more details" "$LINENO" 5 ; }
13310else
13311 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13312 EVIL_LIBS=$pkg_cv_EVIL_LIBS
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13314$as_echo "yes" >&6; }
13315
13316fi
13317
13318$as_echo "#define HAVE_EVIL 1" >>confdefs.h
13319
13320 lt_enable_auto_import="-Wl,--enable-auto-import"
13321 ELM_WIN32_DEF="#define"
13322 have_windows="yes"
13323 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13324
13325 have_dlopen="yes"
13326 dlopen_libs=-ldl
13327 requirement_elm="evil"
13328 have_socket="no"
13329 ;;
13330 *solaris*)
13331 ELM_UNIX_DEF="#define"
13332 have_socket="yes"
13333 have_dlopen="yes"
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13335$as_echo_n "checking for connect in -lsocket... " >&6; }
13336if test "${ac_cv_lib_socket_connect+set}" = set; then :
13337 $as_echo_n "(cached) " >&6
13338else
13339 ac_check_lib_save_LIBS=$LIBS
13340LIBS="-lsocket $LIBS"
13341cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342/* end confdefs.h. */
13343
13344/* Override any GCC internal prototype to avoid an error.
13345 Use char because int might match the return type of a GCC
13346 builtin and then its argument prototype would still apply. */
13347#ifdef __cplusplus
13348extern "C"
13349#endif
13350char connect ();
13351int
13352main ()
13353{
13354return connect ();
13355 ;
13356 return 0;
13357}
13358_ACEOF
13359if ac_fn_c_try_link "$LINENO"; then :
13360 ac_cv_lib_socket_connect=yes
13361else
13362 ac_cv_lib_socket_connect=no
13363fi
13364rm -f core conftest.err conftest.$ac_objext \
13365 conftest$ac_exeext conftest.$ac_ext
13366LIBS=$ac_check_lib_save_LIBS
13367fi
13368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13369$as_echo "$ac_cv_lib_socket_connect" >&6; }
13370if test "x$ac_cv_lib_socket_connect" = x""yes; then :
13371 cat >>confdefs.h <<_ACEOF
13372#define HAVE_LIBSOCKET 1
13373_ACEOF
13374
13375 LIBS="-lsocket $LIBS"
13376
13377else
13378 have_socket="no"
13379fi
13380
13381 ;;
13382 darwin*)
13383 ELM_UNIX_DEF="#define"
13384 have_socket="yes"
13385 have_dlopen="yes"
13386 for ac_header in crt_externs.h
13387do :
13388 ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
13389if test "x$ac_cv_header_crt_externs_h" = x""yes; then :
13390 cat >>confdefs.h <<_ACEOF
13391#define HAVE_CRT_EXTERNS_H 1
13392_ACEOF
13393
13394fi
13395
13396done
13397
13398
13399$as_echo "#define environ (*_NSGetEnviron())" >>confdefs.h
13400
13401 ;;
13402 *)
13403 ELM_UNIX_DEF="#define"
13404 for ac_func in dlopen
13405do :
13406 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13407if test "x$ac_cv_func_dlopen" = x""yes; then :
13408 cat >>confdefs.h <<_ACEOF
13409#define HAVE_DLOPEN 1
13410_ACEOF
13411 res=yes
13412else
13413 res=no
13414fi
13415done
13416
13417 if test "x$res" = "xyes"; then
13418 for ac_func in dladdr
13419do :
13420 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13421if test "x$ac_cv_func_dladdr" = x""yes; then :
13422 cat >>confdefs.h <<_ACEOF
13423#define HAVE_DLADDR 1
13424_ACEOF
13425 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13426
13427fi
13428done
13429
13430 have_dlopen="yes"
13431 else
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13433$as_echo_n "checking for dlopen in -ldl... " >&6; }
13434if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13435 $as_echo_n "(cached) " >&6
13436else
13437 ac_check_lib_save_LIBS=$LIBS
13438LIBS="-ldl $LIBS"
13439cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440/* end confdefs.h. */
13441
13442/* Override any GCC internal prototype to avoid an error.
13443 Use char because int might match the return type of a GCC
13444 builtin and then its argument prototype would still apply. */
13445#ifdef __cplusplus
13446extern "C"
13447#endif
13448char dlopen ();
13449int
13450main ()
13451{
13452return dlopen ();
13453 ;
13454 return 0;
13455}
13456_ACEOF
13457if ac_fn_c_try_link "$LINENO"; then :
13458 ac_cv_lib_dl_dlopen=yes
13459else
13460 ac_cv_lib_dl_dlopen=no
13461fi
13462rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464LIBS=$ac_check_lib_save_LIBS
13465fi
13466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13467$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13468if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13469 res=yes
13470else
13471 res=no
13472fi
13473
13474 if test "x$res" = "xyes"; then
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
13476$as_echo_n "checking for dladdr in -ldl... " >&6; }
13477if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
13478 $as_echo_n "(cached) " >&6
13479else
13480 ac_check_lib_save_LIBS=$LIBS
13481LIBS="-ldl $LIBS"
13482cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13483/* end confdefs.h. */
13484
13485/* Override any GCC internal prototype to avoid an error.
13486 Use char because int might match the return type of a GCC
13487 builtin and then its argument prototype would still apply. */
13488#ifdef __cplusplus
13489extern "C"
13490#endif
13491char dladdr ();
13492int
13493main ()
13494{
13495return dladdr ();
13496 ;
13497 return 0;
13498}
13499_ACEOF
13500if ac_fn_c_try_link "$LINENO"; then :
13501 ac_cv_lib_dl_dladdr=yes
13502else
13503 ac_cv_lib_dl_dladdr=no
13504fi
13505rm -f core conftest.err conftest.$ac_objext \
13506 conftest$ac_exeext conftest.$ac_ext
13507LIBS=$ac_check_lib_save_LIBS
13508fi
13509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
13510$as_echo "$ac_cv_lib_dl_dladdr" >&6; }
13511if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
13512 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13513
13514fi
13515
13516 dlopen_libs=-ldl
13517 have_dlopen="yes"
13518 fi
13519 fi
13520 have_socket="yes"
13521 ;;
13522esac
13523 if test "x$have_socket" = "xyes"; then
13524 BUILD_RUN_TRUE=
13525 BUILD_RUN_FALSE='#'
13526else
13527 BUILD_RUN_TRUE='#'
13528 BUILD_RUN_FALSE=
13529fi
13530
13531 if test "x$have_dlopen" = "xyes"; then
13532 BUILD_MODULES_TRUE=
13533 BUILD_MODULES_FALSE='#'
13534else
13535 BUILD_MODULES_TRUE='#'
13536 BUILD_MODULES_FALSE=
13537fi
13538
13539
13540
13541
13542
13543CFLAGS_save="${CFLAGS}"
13544CFLAGS="${CFLAGS} -Wshadow"
13545
13546ac_ext=c
13547ac_cpp='$CPP $CPPFLAGS'
13548ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13549ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13550ac_compiler_gnu=$ac_cv_c_compiler_gnu
13551
13552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
13553$as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
13554
13555cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556/* end confdefs.h. */
13557
13558int
13559main ()
13560{
13561
13562 ;
13563 return 0;
13564}
13565_ACEOF
13566if ac_fn_c_try_compile "$LINENO"; then :
13567 have_flag="yes"
13568else
13569 have_flag="no"
13570fi
13571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13573$as_echo "${have_flag}" >&6; }
13574
13575if test "x${have_flag}" = "xno" ; then
13576 CFLAGS="${CFLAGS_save}"
13577fi
13578ac_ext=c
13579ac_cpp='$CPP $CPPFLAGS'
13580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13582ac_compiler_gnu=$ac_cv_c_compiler_gnu
13583
13584
13585
13586
13587
13588CFLAGS_save="${CFLAGS}"
13589CFLAGS="${CFLAGS} -Wall"
13590
13591ac_ext=c
13592ac_cpp='$CPP $CPPFLAGS'
13593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13595ac_compiler_gnu=$ac_cv_c_compiler_gnu
13596
13597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13598$as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13599
13600cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601/* end confdefs.h. */
13602
13603int
13604main ()
13605{
13606
13607 ;
13608 return 0;
13609}
13610_ACEOF
13611if ac_fn_c_try_compile "$LINENO"; then :
13612 have_flag="yes"
13613else
13614 have_flag="no"
13615fi
13616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13618$as_echo "${have_flag}" >&6; }
13619
13620if test "x${have_flag}" = "xno" ; then
13621 CFLAGS="${CFLAGS_save}"
13622fi
13623ac_ext=c
13624ac_cpp='$CPP $CPPFLAGS'
13625ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13626ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13627ac_compiler_gnu=$ac_cv_c_compiler_gnu
13628
13629
13630
13631
13632
13633CFLAGS_save="${CFLAGS}"
13634CFLAGS="${CFLAGS} -W"
13635
13636ac_ext=c
13637ac_cpp='$CPP $CPPFLAGS'
13638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13640ac_compiler_gnu=$ac_cv_c_compiler_gnu
13641
13642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13643$as_echo_n "checking whether the compiler supports -W... " >&6; }
13644
13645cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646/* end confdefs.h. */
13647
13648int
13649main ()
13650{
13651
13652 ;
13653 return 0;
13654}
13655_ACEOF
13656if ac_fn_c_try_compile "$LINENO"; then :
13657 have_flag="yes"
13658else
13659 have_flag="no"
13660fi
13661rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13663$as_echo "${have_flag}" >&6; }
13664
13665if test "x${have_flag}" = "xno" ; then
13666 CFLAGS="${CFLAGS_save}"
13667fi
13668ac_ext=c
13669ac_cpp='$CPP $CPPFLAGS'
13670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672ac_compiler_gnu=$ac_cv_c_compiler_gnu
13673
13674
13675
13676
13677
13678have_fork="no"
13679want_quicklaunch="auto"
13680# Check whether --enable-quick-launch was given.
13681if test "${enable_quick_launch+set}" = set; then :
13682 enableval=$enable_quick_launch; want_quicklaunch=$enableval
13683fi
13684
13685
13686if test "x$want_quicklaunch" != "xno"; then
13687 for ac_func in fork
13688do :
13689 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
13690if test "x$ac_cv_func_fork" = x""yes; then :
13691 cat >>confdefs.h <<_ACEOF
13692#define HAVE_FORK 1
13693_ACEOF
13694
13695 have_fork="yes"
13696 $as_echo "#define HAVE_FORK 1" >>confdefs.h
13697
13698
13699fi
13700done
13701
13702fi
13703 if test "x$have_fork" = "xyes" && test "x$have_dlopen" = "xyes"; then
13704 BUILD_QUICKLAUNCH_TRUE=
13705 BUILD_QUICKLAUNCH_FALSE='#'
13706else
13707 BUILD_QUICKLAUNCH_TRUE='#'
13708 BUILD_QUICKLAUNCH_FALSE=
13709fi
13710
13711
13712
13713
13714
13715
13716
13717
13718 if test "x${have_windows}" = "xyes"; then
13719 ELEMENTARY_WINDOWS_BUILD_TRUE=
13720 ELEMENTARY_WINDOWS_BUILD_FALSE='#'
13721else
13722 ELEMENTARY_WINDOWS_BUILD_TRUE='#'
13723 ELEMENTARY_WINDOWS_BUILD_FALSE=
13724fi
13725
13726
13727
13728pkg_failed=no
13729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13730$as_echo_n "checking for ELEMENTARY... " >&6; }
13731
13732if test -n "$ELEMENTARY_CFLAGS"; then
13733 pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13734 elif test -n "$PKG_CONFIG"; then
13735 if test -n "$PKG_CONFIG" && \
13736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13737 eina >= 1.2.0
13738 eet >= 1.6.0
13739 evas >= 1.2.0
13740 ecore >= 1.2.0
13741 ecore-evas >= 1.2.0
13742 ecore-file >= 1.2.0
13743 edje >= 1.2.0
13744
13745\""; } >&5
13746 ($PKG_CONFIG --exists --print-errors "
13747 eina >= 1.2.0
13748 eet >= 1.6.0
13749 evas >= 1.2.0
13750 ecore >= 1.2.0
13751 ecore-evas >= 1.2.0
13752 ecore-file >= 1.2.0
13753 edje >= 1.2.0
13754
13755") 2>&5
13756 ac_status=$?
13757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13758 test $ac_status = 0; }; then
13759 pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "
13760 eina >= 1.2.0
13761 eet >= 1.6.0
13762 evas >= 1.2.0
13763 ecore >= 1.2.0
13764 ecore-evas >= 1.2.0
13765 ecore-file >= 1.2.0
13766 edje >= 1.2.0
13767
13768" 2>/dev/null`
13769else
13770 pkg_failed=yes
13771fi
13772 else
13773 pkg_failed=untried
13774fi
13775if test -n "$ELEMENTARY_LIBS"; then
13776 pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13777 elif test -n "$PKG_CONFIG"; then
13778 if test -n "$PKG_CONFIG" && \
13779 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13780 eina >= 1.2.0
13781 eet >= 1.6.0
13782 evas >= 1.2.0
13783 ecore >= 1.2.0
13784 ecore-evas >= 1.2.0
13785 ecore-file >= 1.2.0
13786 edje >= 1.2.0
13787
13788\""; } >&5
13789 ($PKG_CONFIG --exists --print-errors "
13790 eina >= 1.2.0
13791 eet >= 1.6.0
13792 evas >= 1.2.0
13793 ecore >= 1.2.0
13794 ecore-evas >= 1.2.0
13795 ecore-file >= 1.2.0
13796 edje >= 1.2.0
13797
13798") 2>&5
13799 ac_status=$?
13800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13801 test $ac_status = 0; }; then
13802 pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "
13803 eina >= 1.2.0
13804 eet >= 1.6.0
13805 evas >= 1.2.0
13806 ecore >= 1.2.0
13807 ecore-evas >= 1.2.0
13808 ecore-file >= 1.2.0
13809 edje >= 1.2.0
13810
13811" 2>/dev/null`
13812else
13813 pkg_failed=yes
13814fi
13815 else
13816 pkg_failed=untried
13817fi
13818
13819
13820
13821if test $pkg_failed = yes; then
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13823$as_echo "no" >&6; }
13824
13825if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13826 _pkg_short_errors_supported=yes
13827else
13828 _pkg_short_errors_supported=no
13829fi
13830 if test $_pkg_short_errors_supported = yes; then
13831 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
13832 eina >= 1.2.0
13833 eet >= 1.6.0
13834 evas >= 1.2.0
13835 ecore >= 1.2.0
13836 ecore-evas >= 1.2.0
13837 ecore-file >= 1.2.0
13838 edje >= 1.2.0
13839
13840" 2>&1`
13841 else
13842 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors "
13843 eina >= 1.2.0
13844 eet >= 1.6.0
13845 evas >= 1.2.0
13846 ecore >= 1.2.0
13847 ecore-evas >= 1.2.0
13848 ecore-file >= 1.2.0
13849 edje >= 1.2.0
13850
13851" 2>&1`
13852 fi
13853 # Put the nasty error message in config.log where it belongs
13854 echo "$ELEMENTARY_PKG_ERRORS" >&5
13855
13856 as_fn_error $? "Package requirements (
13857 eina >= 1.2.0
13858 eet >= 1.6.0
13859 evas >= 1.2.0
13860 ecore >= 1.2.0
13861 ecore-evas >= 1.2.0
13862 ecore-file >= 1.2.0
13863 edje >= 1.2.0
13864
13865) were not met:
13866
13867$ELEMENTARY_PKG_ERRORS
13868
13869Consider adjusting the PKG_CONFIG_PATH environment variable if you
13870installed software in a non-standard prefix.
13871
13872Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13873and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13874See the pkg-config man page for more details." "$LINENO" 5
13875elif test $pkg_failed = untried; then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13877$as_echo "no" >&6; }
13878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13879$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13880as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13881is in your PATH or set the PKG_CONFIG environment variable to the full
13882path to pkg-config.
13883
13884Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13885and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13886See the pkg-config man page for more details.
13887
13888To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13889See \`config.log' for more details" "$LINENO" 5 ; }
13890else
13891 ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13892 ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13894$as_echo "yes" >&6; }
13895
13896fi
13897
13898requirement_elm="edje >= 1.2.0 ecore-file >= 1.2.0 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 eina >= 1.2.0 ${requirement_elm}"
13899
13900
13901pkg_failed=no
13902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_IMF" >&5
13903$as_echo_n "checking for ELEMENTARY_ECORE_IMF... " >&6; }
13904
13905if test -n "$ELEMENTARY_ECORE_IMF_CFLAGS"; then
13906 pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS="$ELEMENTARY_ECORE_IMF_CFLAGS"
13907 elif test -n "$PKG_CONFIG"; then
13908 if test -n "$PKG_CONFIG" && \
13909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.2.0\""; } >&5
13910 ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.2.0") 2>&5
13911 ac_status=$?
13912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13913 test $ac_status = 0; }; then
13914 pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "ecore-imf >= 1.2.0" 2>/dev/null`
13915else
13916 pkg_failed=yes
13917fi
13918 else
13919 pkg_failed=untried
13920fi
13921if test -n "$ELEMENTARY_ECORE_IMF_LIBS"; then
13922 pkg_cv_ELEMENTARY_ECORE_IMF_LIBS="$ELEMENTARY_ECORE_IMF_LIBS"
13923 elif test -n "$PKG_CONFIG"; then
13924 if test -n "$PKG_CONFIG" && \
13925 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.2.0\""; } >&5
13926 ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.2.0") 2>&5
13927 ac_status=$?
13928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13929 test $ac_status = 0; }; then
13930 pkg_cv_ELEMENTARY_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "ecore-imf >= 1.2.0" 2>/dev/null`
13931else
13932 pkg_failed=yes
13933fi
13934 else
13935 pkg_failed=untried
13936fi
13937
13938
13939
13940if test $pkg_failed = yes; then
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13942$as_echo "no" >&6; }
13943
13944if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13945 _pkg_short_errors_supported=yes
13946else
13947 _pkg_short_errors_supported=no
13948fi
13949 if test $_pkg_short_errors_supported = yes; then
13950 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-imf >= 1.2.0" 2>&1`
13951 else
13952 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-imf >= 1.2.0" 2>&1`
13953 fi
13954 # Put the nasty error message in config.log where it belongs
13955 echo "$ELEMENTARY_ECORE_IMF_PKG_ERRORS" >&5
13956
13957 have_ecore_imf="no"
13958elif test $pkg_failed = untried; then
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13960$as_echo "no" >&6; }
13961 have_ecore_imf="no"
13962else
13963 ELEMENTARY_ECORE_IMF_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS
13964 ELEMENTARY_ECORE_IMF_LIBS=$pkg_cv_ELEMENTARY_ECORE_IMF_LIBS
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13966$as_echo "yes" >&6; }
13967
13968 ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
13969
13970$as_echo "#define HAVE_ELEMENTARY_ECORE_IMF 1" >>confdefs.h
13971
13972 have_ecore_imf="yes"
13973 requirement_elm="ecore-imf >= 1.2.0 ${requirement_elm}"
13974
13975fi
13976
13977
13978 if test "x${have_ecore_imf}" = "xyes"; then
13979 HAVE_ECORE_IMF_TRUE=
13980 HAVE_ECORE_IMF_FALSE='#'
13981else
13982 HAVE_ECORE_IMF_TRUE='#'
13983 HAVE_ECORE_IMF_FALSE=
13984fi
13985
13986
13987
13988pkg_failed=no
13989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_CON" >&5
13990$as_echo_n "checking for ELEMENTARY_ECORE_CON... " >&6; }
13991
13992if test -n "$ELEMENTARY_ECORE_CON_CFLAGS"; then
13993 pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS="$ELEMENTARY_ECORE_CON_CFLAGS"
13994 elif test -n "$PKG_CONFIG"; then
13995 if test -n "$PKG_CONFIG" && \
13996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.2.0\""; } >&5
13997 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.2.0") 2>&5
13998 ac_status=$?
13999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14000 test $ac_status = 0; }; then
14001 pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.2.0" 2>/dev/null`
14002else
14003 pkg_failed=yes
14004fi
14005 else
14006 pkg_failed=untried
14007fi
14008if test -n "$ELEMENTARY_ECORE_CON_LIBS"; then
14009 pkg_cv_ELEMENTARY_ECORE_CON_LIBS="$ELEMENTARY_ECORE_CON_LIBS"
14010 elif test -n "$PKG_CONFIG"; then
14011 if test -n "$PKG_CONFIG" && \
14012 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.2.0\""; } >&5
14013 ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.2.0") 2>&5
14014 ac_status=$?
14015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14016 test $ac_status = 0; }; then
14017 pkg_cv_ELEMENTARY_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.2.0" 2>/dev/null`
14018else
14019 pkg_failed=yes
14020fi
14021 else
14022 pkg_failed=untried
14023fi
14024
14025
14026
14027if test $pkg_failed = yes; then
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14029$as_echo "no" >&6; }
14030
14031if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14032 _pkg_short_errors_supported=yes
14033else
14034 _pkg_short_errors_supported=no
14035fi
14036 if test $_pkg_short_errors_supported = yes; then
14037 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-con >= 1.2.0" 2>&1`
14038 else
14039 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-con >= 1.2.0" 2>&1`
14040 fi
14041 # Put the nasty error message in config.log where it belongs
14042 echo "$ELEMENTARY_ECORE_CON_PKG_ERRORS" >&5
14043
14044 have_ecore_con="no"
14045elif test $pkg_failed = untried; then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14047$as_echo "no" >&6; }
14048 have_ecore_con="no"
14049else
14050 ELEMENTARY_ECORE_CON_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS
14051 ELEMENTARY_ECORE_CON_LIBS=$pkg_cv_ELEMENTARY_ECORE_CON_LIBS
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14053$as_echo "yes" >&6; }
14054
14055 ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
14056
14057$as_echo "#define HAVE_ELEMENTARY_ECORE_CON 1" >>confdefs.h
14058
14059 have_ecore_con="yes"
14060 requirement_elm="ecore-con >= 1.2.0 ${requirement_elm}"
14061
14062fi
14063
14064
14065 if test "x${have_ecore_con}" = "xyes"; then
14066 HAVE_ECORE_CON_TRUE=
14067 HAVE_ECORE_CON_FALSE='#'
14068else
14069 HAVE_ECORE_CON_TRUE='#'
14070 HAVE_ECORE_CON_FALSE=
14071fi
14072
14073
14074
14075pkg_failed=no
14076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
14077$as_echo_n "checking for EIO... " >&6; }
14078
14079if test -n "$EIO_CFLAGS"; then
14080 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
14081 elif test -n "$PKG_CONFIG"; then
14082 if test -n "$PKG_CONFIG" && \
14083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
14084 ($PKG_CONFIG --exists --print-errors "eio") 2>&5
14085 ac_status=$?
14086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14087 test $ac_status = 0; }; then
14088 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio" 2>/dev/null`
14089else
14090 pkg_failed=yes
14091fi
14092 else
14093 pkg_failed=untried
14094fi
14095if test -n "$EIO_LIBS"; then
14096 pkg_cv_EIO_LIBS="$EIO_LIBS"
14097 elif test -n "$PKG_CONFIG"; then
14098 if test -n "$PKG_CONFIG" && \
14099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
14100 ($PKG_CONFIG --exists --print-errors "eio") 2>&5
14101 ac_status=$?
14102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14103 test $ac_status = 0; }; then
14104 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio" 2>/dev/null`
14105else
14106 pkg_failed=yes
14107fi
14108 else
14109 pkg_failed=untried
14110fi
14111
14112
14113
14114if test $pkg_failed = yes; then
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14116$as_echo "no" >&6; }
14117
14118if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14119 _pkg_short_errors_supported=yes
14120else
14121 _pkg_short_errors_supported=no
14122fi
14123 if test $_pkg_short_errors_supported = yes; then
14124 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio" 2>&1`
14125 else
14126 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio" 2>&1`
14127 fi
14128 # Put the nasty error message in config.log where it belongs
14129 echo "$EIO_PKG_ERRORS" >&5
14130
14131 have_eio="no"
14132elif test $pkg_failed = untried; then
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14134$as_echo "no" >&6; }
14135 have_eio="no"
14136else
14137 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
14138 EIO_LIBS=$pkg_cv_EIO_LIBS
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14140$as_echo "yes" >&6; }
14141
14142 have_eio="yes"
14143
14144$as_echo "#define HAVE_EIO 1" >>confdefs.h
14145
14146 requirement_elm="eio ${requirement_elm}"
14147
14148fi
14149
14150 if test "x${have_eio}" = "xyes"; then
14151 HAVE_EIO_TRUE=
14152 HAVE_EIO_FALSE='#'
14153else
14154 HAVE_EIO_TRUE='#'
14155 HAVE_EIO_FALSE=
14156fi
14157
14158
14159have_emotion="no"
14160want_elementary_emotion="yes"
14161# Check whether --enable-emotion was given.
14162if test "${enable_emotion+set}" = set; then :
14163 enableval=$enable_emotion; want_elementary_emotion=$enableval
14164fi
14165
14166
14167if test "x$want_elementary_emotion" != "xno"; then
14168
14169pkg_failed=no
14170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
14171$as_echo_n "checking for EMOTION... " >&6; }
14172
14173if test -n "$EMOTION_CFLAGS"; then
14174 pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
14175 elif test -n "$PKG_CONFIG"; then
14176 if test -n "$PKG_CONFIG" && \
14177 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
14178 ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
14179 ac_status=$?
14180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14181 test $ac_status = 0; }; then
14182 pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "emotion" 2>/dev/null`
14183else
14184 pkg_failed=yes
14185fi
14186 else
14187 pkg_failed=untried
14188fi
14189if test -n "$EMOTION_LIBS"; then
14190 pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
14191 elif test -n "$PKG_CONFIG"; then
14192 if test -n "$PKG_CONFIG" && \
14193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
14194 ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
14195 ac_status=$?
14196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14197 test $ac_status = 0; }; then
14198 pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "emotion" 2>/dev/null`
14199else
14200 pkg_failed=yes
14201fi
14202 else
14203 pkg_failed=untried
14204fi
14205
14206
14207
14208if test $pkg_failed = yes; then
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210$as_echo "no" >&6; }
14211
14212if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14213 _pkg_short_errors_supported=yes
14214else
14215 _pkg_short_errors_supported=no
14216fi
14217 if test $_pkg_short_errors_supported = yes; then
14218 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "emotion" 2>&1`
14219 else
14220 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "emotion" 2>&1`
14221 fi
14222 # Put the nasty error message in config.log where it belongs
14223 echo "$EMOTION_PKG_ERRORS" >&5
14224
14225 have_emotion="no"
14226elif test $pkg_failed = untried; then
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14228$as_echo "no" >&6; }
14229 have_emotion="no"
14230else
14231 EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
14232 EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14234$as_echo "yes" >&6; }
14235
14236 have_emotion="yes"
14237
14238$as_echo "#define HAVE_EMOTION 1" >>confdefs.h
14239
14240 requirement_elm="emotion ${requirement_elm}"
14241
14242fi
14243fi
14244
14245 if test "x${have_emotion}" = "xyes"; then
14246 HAVE_EMOTION_TRUE=
14247 HAVE_EMOTION_FALSE='#'
14248else
14249 HAVE_EMOTION_TRUE='#'
14250 HAVE_EMOTION_FALSE=
14251fi
14252
14253
14254have_elementary_x="no"
14255want_elementary_x="auto"
14256# Check whether --enable-ecore-x was given.
14257if test "${enable_ecore_x+set}" = set; then :
14258 enableval=$enable_ecore_x; want_elementary_x=$enableval
14259fi
14260
14261
14262if test "x$want_elementary_x" != "xno"; then
14263
14264pkg_failed=no
14265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_X" >&5
14266$as_echo_n "checking for ELEMENTARY_X... " >&6; }
14267
14268if test -n "$ELEMENTARY_X_CFLAGS"; then
14269 pkg_cv_ELEMENTARY_X_CFLAGS="$ELEMENTARY_X_CFLAGS"
14270 elif test -n "$PKG_CONFIG"; then
14271 if test -n "$PKG_CONFIG" && \
14272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.2.0\""; } >&5
14273 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.2.0") 2>&5
14274 ac_status=$?
14275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14276 test $ac_status = 0; }; then
14277 pkg_cv_ELEMENTARY_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.2.0" 2>/dev/null`
14278else
14279 pkg_failed=yes
14280fi
14281 else
14282 pkg_failed=untried
14283fi
14284if test -n "$ELEMENTARY_X_LIBS"; then
14285 pkg_cv_ELEMENTARY_X_LIBS="$ELEMENTARY_X_LIBS"
14286 elif test -n "$PKG_CONFIG"; then
14287 if test -n "$PKG_CONFIG" && \
14288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.2.0\""; } >&5
14289 ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.2.0") 2>&5
14290 ac_status=$?
14291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14292 test $ac_status = 0; }; then
14293 pkg_cv_ELEMENTARY_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.2.0" 2>/dev/null`
14294else
14295 pkg_failed=yes
14296fi
14297 else
14298 pkg_failed=untried
14299fi
14300
14301
14302
14303if test $pkg_failed = yes; then
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14305$as_echo "no" >&6; }
14306
14307if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14308 _pkg_short_errors_supported=yes
14309else
14310 _pkg_short_errors_supported=no
14311fi
14312 if test $_pkg_short_errors_supported = yes; then
14313 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.2.0" 2>&1`
14314 else
14315 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.2.0" 2>&1`
14316 fi
14317 # Put the nasty error message in config.log where it belongs
14318 echo "$ELEMENTARY_X_PKG_ERRORS" >&5
14319
14320 have_elementary_x="no"
14321
14322elif test $pkg_failed = untried; then
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14324$as_echo "no" >&6; }
14325 have_elementary_x="no"
14326
14327else
14328 ELEMENTARY_X_CFLAGS=$pkg_cv_ELEMENTARY_X_CFLAGS
14329 ELEMENTARY_X_LIBS=$pkg_cv_ELEMENTARY_X_LIBS
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14331$as_echo "yes" >&6; }
14332
14333
14334$as_echo "#define HAVE_ELEMENTARY_X 1" >>confdefs.h
14335
14336 have_elementary_x="yes"
14337 requirement_elm="ecore-x >= 1.2.0 ${requirement_elm}"
14338
14339fi
14340else
14341 have_elementary_x="no"
14342fi
14343if test "x$want_elementary_x" = "xyes" -a "x$have_elementary_x" = "xno"; then
14344 as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
14345fi
14346
14347
14348have_elementary_fb="no"
14349want_elementary_fb="auto"
14350# Check whether --enable-ecore-fb was given.
14351if test "${enable_ecore_fb+set}" = set; then :
14352 enableval=$enable_ecore_fb; want_elementary_fb=$enableval
14353fi
14354
14355
14356if test "x$want_elementary_fb" != "xno"; then
14357
14358pkg_failed=no
14359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_FB" >&5
14360$as_echo_n "checking for ELEMENTARY_FB... " >&6; }
14361
14362if test -n "$ELEMENTARY_FB_CFLAGS"; then
14363 pkg_cv_ELEMENTARY_FB_CFLAGS="$ELEMENTARY_FB_CFLAGS"
14364 elif test -n "$PKG_CONFIG"; then
14365 if test -n "$PKG_CONFIG" && \
14366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.2.0\""; } >&5
14367 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.2.0") 2>&5
14368 ac_status=$?
14369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14370 test $ac_status = 0; }; then
14371 pkg_cv_ELEMENTARY_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.2.0" 2>/dev/null`
14372else
14373 pkg_failed=yes
14374fi
14375 else
14376 pkg_failed=untried
14377fi
14378if test -n "$ELEMENTARY_FB_LIBS"; then
14379 pkg_cv_ELEMENTARY_FB_LIBS="$ELEMENTARY_FB_LIBS"
14380 elif test -n "$PKG_CONFIG"; then
14381 if test -n "$PKG_CONFIG" && \
14382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.2.0\""; } >&5
14383 ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.2.0") 2>&5
14384 ac_status=$?
14385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14386 test $ac_status = 0; }; then
14387 pkg_cv_ELEMENTARY_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.2.0" 2>/dev/null`
14388else
14389 pkg_failed=yes
14390fi
14391 else
14392 pkg_failed=untried
14393fi
14394
14395
14396
14397if test $pkg_failed = yes; then
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14399$as_echo "no" >&6; }
14400
14401if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14402 _pkg_short_errors_supported=yes
14403else
14404 _pkg_short_errors_supported=no
14405fi
14406 if test $_pkg_short_errors_supported = yes; then
14407 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-fb >= 1.2.0" 2>&1`
14408 else
14409 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-fb >= 1.2.0" 2>&1`
14410 fi
14411 # Put the nasty error message in config.log where it belongs
14412 echo "$ELEMENTARY_FB_PKG_ERRORS" >&5
14413
14414 have_elementary_fb="no"
14415
14416elif test $pkg_failed = untried; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14418$as_echo "no" >&6; }
14419 have_elementary_fb="no"
14420
14421else
14422 ELEMENTARY_FB_CFLAGS=$pkg_cv_ELEMENTARY_FB_CFLAGS
14423 ELEMENTARY_FB_LIBS=$pkg_cv_ELEMENTARY_FB_LIBS
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14425$as_echo "yes" >&6; }
14426
14427
14428$as_echo "#define HAVE_ELEMENTARY_FB 1" >>confdefs.h
14429
14430 have_elementary_fb="yes"
14431 requirement_elm="ecore-fb >= 1.2.0 ${requirement_elm}"
14432
14433fi
14434else
14435 have_elementary_fb="no"
14436fi
14437if test "x$want_elementary_fb" = "xyes" -a "x$have_elementary_fb" = "xno"; then
14438 as_fn_error $? "ecore-fb support requested, but not found by pkg-config." "$LINENO" 5
14439fi
14440
14441have_elementary_psl1ght="no"
14442want_elementary_psl1ght="auto"
14443# Check whether --enable-ecore-psl1ght was given.
14444if test "${enable_ecore_psl1ght+set}" = set; then :
14445 enableval=$enable_ecore_psl1ght; want_elementary_psl1ght=$enableval
14446fi
14447
14448
14449if test "x$want_elementary_psl1ght" != "xno"; then
14450
14451pkg_failed=no
14452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_PSL1GHT" >&5
14453$as_echo_n "checking for ELEMENTARY_PSL1GHT... " >&6; }
14454
14455if test -n "$ELEMENTARY_PSL1GHT_CFLAGS"; then
14456 pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS="$ELEMENTARY_PSL1GHT_CFLAGS"
14457 elif test -n "$PKG_CONFIG"; then
14458 if test -n "$PKG_CONFIG" && \
14459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.2.0\""; } >&5
14460 ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.2.0") 2>&5
14461 ac_status=$?
14462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14463 test $ac_status = 0; }; then
14464 pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS=`$PKG_CONFIG --cflags "ecore-psl1ght >= 1.2.0" 2>/dev/null`
14465else
14466 pkg_failed=yes
14467fi
14468 else
14469 pkg_failed=untried
14470fi
14471if test -n "$ELEMENTARY_PSL1GHT_LIBS"; then
14472 pkg_cv_ELEMENTARY_PSL1GHT_LIBS="$ELEMENTARY_PSL1GHT_LIBS"
14473 elif test -n "$PKG_CONFIG"; then
14474 if test -n "$PKG_CONFIG" && \
14475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.2.0\""; } >&5
14476 ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.2.0") 2>&5
14477 ac_status=$?
14478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14479 test $ac_status = 0; }; then
14480 pkg_cv_ELEMENTARY_PSL1GHT_LIBS=`$PKG_CONFIG --libs "ecore-psl1ght >= 1.2.0" 2>/dev/null`
14481else
14482 pkg_failed=yes
14483fi
14484 else
14485 pkg_failed=untried
14486fi
14487
14488
14489
14490if test $pkg_failed = yes; then
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14492$as_echo "no" >&6; }
14493
14494if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14495 _pkg_short_errors_supported=yes
14496else
14497 _pkg_short_errors_supported=no
14498fi
14499 if test $_pkg_short_errors_supported = yes; then
14500 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-psl1ght >= 1.2.0" 2>&1`
14501 else
14502 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-psl1ght >= 1.2.0" 2>&1`
14503 fi
14504 # Put the nasty error message in config.log where it belongs
14505 echo "$ELEMENTARY_PSL1GHT_PKG_ERRORS" >&5
14506
14507 have_elementary_psl1ght="no"
14508
14509elif test $pkg_failed = untried; then
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14511$as_echo "no" >&6; }
14512 have_elementary_psl1ght="no"
14513
14514else
14515 ELEMENTARY_PSL1GHT_CFLAGS=$pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS
14516 ELEMENTARY_PSL1GHT_LIBS=$pkg_cv_ELEMENTARY_PSL1GHT_LIBS
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14518$as_echo "yes" >&6; }
14519
14520
14521$as_echo "#define HAVE_ELEMENTARY_PSL1GHT 1" >>confdefs.h
14522
14523 have_elementary_psl1ght="yes"
14524 requirement_elm="ecore-psl1ght >= 1.2.0 ${requirement_elm}"
14525
14526fi
14527else
14528 have_elementary_psl1ght="no"
14529fi
14530if test "x$want_elementary_psl1ght" = "xyes" -a "x$have_elementary_psl1ght" = "xno"; then
14531 as_fn_error $? "ecore-psl1ght support requested, but not found by pkg-config." "$LINENO" 5
14532fi
14533
14534have_elementary_sdl="no"
14535want_elementary_sdl="auto"
14536# Check whether --enable-ecore-sdl was given.
14537if test "${enable_ecore_sdl+set}" = set; then :
14538 enableval=$enable_ecore_sdl; want_elementary_sdl=$enableval
14539fi
14540
14541
14542if test "x$want_elementary_sdl" != "xno"; then
14543
14544pkg_failed=no
14545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_SDL" >&5
14546$as_echo_n "checking for ELEMENTARY_SDL... " >&6; }
14547
14548if test -n "$ELEMENTARY_SDL_CFLAGS"; then
14549 pkg_cv_ELEMENTARY_SDL_CFLAGS="$ELEMENTARY_SDL_CFLAGS"
14550 elif test -n "$PKG_CONFIG"; then
14551 if test -n "$PKG_CONFIG" && \
14552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.2.0\""; } >&5
14553 ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.2.0") 2>&5
14554 ac_status=$?
14555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14556 test $ac_status = 0; }; then
14557 pkg_cv_ELEMENTARY_SDL_CFLAGS=`$PKG_CONFIG --cflags "ecore-sdl >= 1.2.0" 2>/dev/null`
14558else
14559 pkg_failed=yes
14560fi
14561 else
14562 pkg_failed=untried
14563fi
14564if test -n "$ELEMENTARY_SDL_LIBS"; then
14565 pkg_cv_ELEMENTARY_SDL_LIBS="$ELEMENTARY_SDL_LIBS"
14566 elif test -n "$PKG_CONFIG"; then
14567 if test -n "$PKG_CONFIG" && \
14568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.2.0\""; } >&5
14569 ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.2.0") 2>&5
14570 ac_status=$?
14571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14572 test $ac_status = 0; }; then
14573 pkg_cv_ELEMENTARY_SDL_LIBS=`$PKG_CONFIG --libs "ecore-sdl >= 1.2.0" 2>/dev/null`
14574else
14575 pkg_failed=yes
14576fi
14577 else
14578 pkg_failed=untried
14579fi
14580
14581
14582
14583if test $pkg_failed = yes; then
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14585$as_echo "no" >&6; }
14586
14587if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14588 _pkg_short_errors_supported=yes
14589else
14590 _pkg_short_errors_supported=no
14591fi
14592 if test $_pkg_short_errors_supported = yes; then
14593 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-sdl >= 1.2.0" 2>&1`
14594 else
14595 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-sdl >= 1.2.0" 2>&1`
14596 fi
14597 # Put the nasty error message in config.log where it belongs
14598 echo "$ELEMENTARY_SDL_PKG_ERRORS" >&5
14599
14600 have_elementary_sdl="no"
14601
14602elif test $pkg_failed = untried; then
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14604$as_echo "no" >&6; }
14605 have_elementary_sdl="no"
14606
14607else
14608 ELEMENTARY_SDL_CFLAGS=$pkg_cv_ELEMENTARY_SDL_CFLAGS
14609 ELEMENTARY_SDL_LIBS=$pkg_cv_ELEMENTARY_SDL_LIBS
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14611$as_echo "yes" >&6; }
14612
14613
14614$as_echo "#define HAVE_ELEMENTARY_SDL 1" >>confdefs.h
14615
14616 have_elementary_sdl="yes"
14617 requirement_elm="ecore-sdl >= 1.2.0 ${requirement_elm}"
14618
14619fi
14620else
14621 have_elementary_sdl="no"
14622fi
14623if test "x$want_elementary_sdl" = "xyes" -a "x$have_elementary_sdl" = "xno"; then
14624 as_fn_error $? "ecore-sdl support requested, but not found by pkg-config." "$LINENO" 5
14625fi
14626
14627have_elementary_cocoa="no"
14628want_elementary_cocoa="auto"
14629# Check whether --enable-ecore-cocoa was given.
14630if test "${enable_ecore_cocoa+set}" = set; then :
14631 enableval=$enable_ecore_cocoa; want_elementary_cocoa=$enableval
14632fi
14633
14634
14635if test "x$want_elementary_cocoa" != "xno"; then
14636
14637pkg_failed=no
14638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_COCOA" >&5
14639$as_echo_n "checking for ELEMENTARY_COCOA... " >&6; }
14640
14641if test -n "$ELEMENTARY_COCOA_CFLAGS"; then
14642 pkg_cv_ELEMENTARY_COCOA_CFLAGS="$ELEMENTARY_COCOA_CFLAGS"
14643 elif test -n "$PKG_CONFIG"; then
14644 if test -n "$PKG_CONFIG" && \
14645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.2.0\""; } >&5
14646 ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.2.0") 2>&5
14647 ac_status=$?
14648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14649 test $ac_status = 0; }; then
14650 pkg_cv_ELEMENTARY_COCOA_CFLAGS=`$PKG_CONFIG --cflags "ecore-cocoa >= 1.2.0" 2>/dev/null`
14651else
14652 pkg_failed=yes
14653fi
14654 else
14655 pkg_failed=untried
14656fi
14657if test -n "$ELEMENTARY_COCOA_LIBS"; then
14658 pkg_cv_ELEMENTARY_COCOA_LIBS="$ELEMENTARY_COCOA_LIBS"
14659 elif test -n "$PKG_CONFIG"; then
14660 if test -n "$PKG_CONFIG" && \
14661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.2.0\""; } >&5
14662 ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.2.0") 2>&5
14663 ac_status=$?
14664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14665 test $ac_status = 0; }; then
14666 pkg_cv_ELEMENTARY_COCOA_LIBS=`$PKG_CONFIG --libs "ecore-cocoa >= 1.2.0" 2>/dev/null`
14667else
14668 pkg_failed=yes
14669fi
14670 else
14671 pkg_failed=untried
14672fi
14673
14674
14675
14676if test $pkg_failed = yes; then
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14678$as_echo "no" >&6; }
14679
14680if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14681 _pkg_short_errors_supported=yes
14682else
14683 _pkg_short_errors_supported=no
14684fi
14685 if test $_pkg_short_errors_supported = yes; then
14686 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-cocoa >= 1.2.0" 2>&1`
14687 else
14688 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-cocoa >= 1.2.0" 2>&1`
14689 fi
14690 # Put the nasty error message in config.log where it belongs
14691 echo "$ELEMENTARY_COCOA_PKG_ERRORS" >&5
14692
14693 have_elementary_cocoa="no"
14694
14695elif test $pkg_failed = untried; then
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14697$as_echo "no" >&6; }
14698 have_elementary_cocoa="no"
14699
14700else
14701 ELEMENTARY_COCOA_CFLAGS=$pkg_cv_ELEMENTARY_COCOA_CFLAGS
14702 ELEMENTARY_COCOA_LIBS=$pkg_cv_ELEMENTARY_COCOA_LIBS
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14704$as_echo "yes" >&6; }
14705
14706
14707$as_echo "#define HAVE_ELEMENTARY_COCOA 1" >>confdefs.h
14708
14709 have_elementary_cocoa="yes"
14710 requirement_elm="ecore-cocoa >= 1.2.0 ${requirement_elm}"
14711
14712fi
14713else
14714 have_elementary_cocoa="no"
14715fi
14716if test "x$want_elementary_cocoa" = "xyes" -a "x$have_elementary_cocoa" = "xno"; then
14717 as_fn_error $? "ecore-cocoa support requested, but not found by pkg-config." "$LINENO" 5
14718fi
14719
14720have_elementary_win32="no"
14721want_elementary_win32="auto"
14722# Check whether --enable-ecore-win32 was given.
14723if test "${enable_ecore_win32+set}" = set; then :
14724 enableval=$enable_ecore_win32; want_elementary_win32=$enableval
14725fi
14726
14727
14728if test "x$want_elementary_win32" != "xno"; then
14729
14730pkg_failed=no
14731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WIN32" >&5
14732$as_echo_n "checking for ELEMENTARY_WIN32... " >&6; }
14733
14734if test -n "$ELEMENTARY_WIN32_CFLAGS"; then
14735 pkg_cv_ELEMENTARY_WIN32_CFLAGS="$ELEMENTARY_WIN32_CFLAGS"
14736 elif test -n "$PKG_CONFIG"; then
14737 if test -n "$PKG_CONFIG" && \
14738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.2.0\""; } >&5
14739 ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.2.0") 2>&5
14740 ac_status=$?
14741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14742 test $ac_status = 0; }; then
14743 pkg_cv_ELEMENTARY_WIN32_CFLAGS=`$PKG_CONFIG --cflags "ecore-win32 >= 1.2.0" 2>/dev/null`
14744else
14745 pkg_failed=yes
14746fi
14747 else
14748 pkg_failed=untried
14749fi
14750if test -n "$ELEMENTARY_WIN32_LIBS"; then
14751 pkg_cv_ELEMENTARY_WIN32_LIBS="$ELEMENTARY_WIN32_LIBS"
14752 elif test -n "$PKG_CONFIG"; then
14753 if test -n "$PKG_CONFIG" && \
14754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.2.0\""; } >&5
14755 ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.2.0") 2>&5
14756 ac_status=$?
14757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14758 test $ac_status = 0; }; then
14759 pkg_cv_ELEMENTARY_WIN32_LIBS=`$PKG_CONFIG --libs "ecore-win32 >= 1.2.0" 2>/dev/null`
14760else
14761 pkg_failed=yes
14762fi
14763 else
14764 pkg_failed=untried
14765fi
14766
14767
14768
14769if test $pkg_failed = yes; then
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14771$as_echo "no" >&6; }
14772
14773if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14774 _pkg_short_errors_supported=yes
14775else
14776 _pkg_short_errors_supported=no
14777fi
14778 if test $_pkg_short_errors_supported = yes; then
14779 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-win32 >= 1.2.0" 2>&1`
14780 else
14781 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-win32 >= 1.2.0" 2>&1`
14782 fi
14783 # Put the nasty error message in config.log where it belongs
14784 echo "$ELEMENTARY_WIN32_PKG_ERRORS" >&5
14785
14786 have_elementary_win32="no"
14787
14788elif test $pkg_failed = untried; then
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14790$as_echo "no" >&6; }
14791 have_elementary_win32="no"
14792
14793else
14794 ELEMENTARY_WIN32_CFLAGS=$pkg_cv_ELEMENTARY_WIN32_CFLAGS
14795 ELEMENTARY_WIN32_LIBS=$pkg_cv_ELEMENTARY_WIN32_LIBS
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14797$as_echo "yes" >&6; }
14798
14799
14800$as_echo "#define HAVE_ELEMENTARY_WIN32 1" >>confdefs.h
14801
14802 have_elementary_win32="yes"
14803 requirement_elm="ecore-win32 >= 1.2.0 ${requirement_elm}"
14804
14805fi
14806else
14807 have_elementary_win32="no"
14808fi
14809if test "x$want_elementary_win32" = "xyes" -a "x$have_elementary_win32" = "xno"; then
14810 as_fn_error $? "ecore-win32 support requested, but not found by pkg-config." "$LINENO" 5
14811fi
14812
14813have_elementary_wince="no"
14814want_elementary_wince="auto"
14815# Check whether --enable-ecore-wince was given.
14816if test "${enable_ecore_wince+set}" = set; then :
14817 enableval=$enable_ecore_wince; want_elementary_wince=$enableval
14818fi
14819
14820
14821if test "x$want_elementary_wince" != "xno"; then
14822
14823pkg_failed=no
14824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WINCE" >&5
14825$as_echo_n "checking for ELEMENTARY_WINCE... " >&6; }
14826
14827if test -n "$ELEMENTARY_WINCE_CFLAGS"; then
14828 pkg_cv_ELEMENTARY_WINCE_CFLAGS="$ELEMENTARY_WINCE_CFLAGS"
14829 elif test -n "$PKG_CONFIG"; then
14830 if test -n "$PKG_CONFIG" && \
14831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.2.0\""; } >&5
14832 ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.2.0") 2>&5
14833 ac_status=$?
14834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14835 test $ac_status = 0; }; then
14836 pkg_cv_ELEMENTARY_WINCE_CFLAGS=`$PKG_CONFIG --cflags "ecore-wince >= 1.2.0" 2>/dev/null`
14837else
14838 pkg_failed=yes
14839fi
14840 else
14841 pkg_failed=untried
14842fi
14843if test -n "$ELEMENTARY_WINCE_LIBS"; then
14844 pkg_cv_ELEMENTARY_WINCE_LIBS="$ELEMENTARY_WINCE_LIBS"
14845 elif test -n "$PKG_CONFIG"; then
14846 if test -n "$PKG_CONFIG" && \
14847 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.2.0\""; } >&5
14848 ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.2.0") 2>&5
14849 ac_status=$?
14850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14851 test $ac_status = 0; }; then
14852 pkg_cv_ELEMENTARY_WINCE_LIBS=`$PKG_CONFIG --libs "ecore-wince >= 1.2.0" 2>/dev/null`
14853else
14854 pkg_failed=yes
14855fi
14856 else
14857 pkg_failed=untried
14858fi
14859
14860
14861
14862if test $pkg_failed = yes; then
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14864$as_echo "no" >&6; }
14865
14866if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14867 _pkg_short_errors_supported=yes
14868else
14869 _pkg_short_errors_supported=no
14870fi
14871 if test $_pkg_short_errors_supported = yes; then
14872 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-wince >= 1.2.0" 2>&1`
14873 else
14874 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-wince >= 1.2.0" 2>&1`
14875 fi
14876 # Put the nasty error message in config.log where it belongs
14877 echo "$ELEMENTARY_WINCE_PKG_ERRORS" >&5
14878
14879 have_elementary_wince="no"
14880
14881elif test $pkg_failed = untried; then
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14883$as_echo "no" >&6; }
14884 have_elementary_wince="no"
14885
14886else
14887 ELEMENTARY_WINCE_CFLAGS=$pkg_cv_ELEMENTARY_WINCE_CFLAGS
14888 ELEMENTARY_WINCE_LIBS=$pkg_cv_ELEMENTARY_WINCE_LIBS
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14890$as_echo "yes" >&6; }
14891
14892
14893$as_echo "#define HAVE_ELEMENTARY_WINCE 1" >>confdefs.h
14894
14895 have_elementary_wince="yes"
14896 requirement_elm="ecore-wince >= 1.2.0 ${requirement_elm}"
14897
14898fi
14899else
14900 have_elementary_wince="no"
14901fi
14902if test "x$want_elementary_wince" = "xyes" -a "x$have_elementary_wince" = "xno"; then
14903 as_fn_error $? "ecore-wince support requested, but not found by pkg-config." "$LINENO" 5
14904fi
14905
14906ELM_EDBUS_DEF="#undef"
14907have_elementary_edbus="no"
14908want_elementary_edbus="auto"
14909# Check whether --enable-edbus was given.
14910if test "${enable_edbus+set}" = set; then :
14911 enableval=$enable_edbus; want_elementary_edbus=$enableval
14912fi
14913
14914
14915if test "x$want_elementary_edbus" != "xno"; then
14916
14917pkg_failed=no
14918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EDBUS" >&5
14919$as_echo_n "checking for ELEMENTARY_EDBUS... " >&6; }
14920
14921if test -n "$ELEMENTARY_EDBUS_CFLAGS"; then
14922 pkg_cv_ELEMENTARY_EDBUS_CFLAGS="$ELEMENTARY_EDBUS_CFLAGS"
14923 elif test -n "$PKG_CONFIG"; then
14924 if test -n "$PKG_CONFIG" && \
14925 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14926 edbus >= 1.2.0
14927 \""; } >&5
14928 ($PKG_CONFIG --exists --print-errors "
14929 edbus >= 1.2.0
14930 ") 2>&5
14931 ac_status=$?
14932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14933 test $ac_status = 0; }; then
14934 pkg_cv_ELEMENTARY_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "
14935 edbus >= 1.2.0
14936 " 2>/dev/null`
14937else
14938 pkg_failed=yes
14939fi
14940 else
14941 pkg_failed=untried
14942fi
14943if test -n "$ELEMENTARY_EDBUS_LIBS"; then
14944 pkg_cv_ELEMENTARY_EDBUS_LIBS="$ELEMENTARY_EDBUS_LIBS"
14945 elif test -n "$PKG_CONFIG"; then
14946 if test -n "$PKG_CONFIG" && \
14947 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14948 edbus >= 1.2.0
14949 \""; } >&5
14950 ($PKG_CONFIG --exists --print-errors "
14951 edbus >= 1.2.0
14952 ") 2>&5
14953 ac_status=$?
14954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14955 test $ac_status = 0; }; then
14956 pkg_cv_ELEMENTARY_EDBUS_LIBS=`$PKG_CONFIG --libs "
14957 edbus >= 1.2.0
14958 " 2>/dev/null`
14959else
14960 pkg_failed=yes
14961fi
14962 else
14963 pkg_failed=untried
14964fi
14965
14966
14967
14968if test $pkg_failed = yes; then
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14970$as_echo "no" >&6; }
14971
14972if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14973 _pkg_short_errors_supported=yes
14974else
14975 _pkg_short_errors_supported=no
14976fi
14977 if test $_pkg_short_errors_supported = yes; then
14978 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14979 edbus >= 1.2.0
14980 " 2>&1`
14981 else
14982 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14983 edbus >= 1.2.0
14984 " 2>&1`
14985 fi
14986 # Put the nasty error message in config.log where it belongs
14987 echo "$ELEMENTARY_EDBUS_PKG_ERRORS" >&5
14988
14989 have_elementary_edbus="no"
14990
14991elif test $pkg_failed = untried; then
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14993$as_echo "no" >&6; }
14994 have_elementary_edbus="no"
14995
14996else
14997 ELEMENTARY_EDBUS_CFLAGS=$pkg_cv_ELEMENTARY_EDBUS_CFLAGS
14998 ELEMENTARY_EDBUS_LIBS=$pkg_cv_ELEMENTARY_EDBUS_LIBS
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15000$as_echo "yes" >&6; }
15001
15002
15003$as_echo "#define HAVE_ELEMENTARY_EDBUS 1" >>confdefs.h
15004
15005 have_elementary_edbus="yes"
15006 ELM_EDBUS_DEF="#define"
15007 requirement_elm="edbus >= 1.2.0 ${requirement_elm}"
15008
15009fi
15010else
15011 have_elementary_edbus="no"
15012fi
15013if test "x$want_elementary_edbus" = "xyes" -a "x$have_elementary_edbus" = "xno"; then
15014 as_fn_error $? "E_DBus support requested, but no e_dbus found by pkg-config." "$LINENO" 5
15015fi
15016
15017
15018ELM_EFREET_DEF="#undef"
15019have_elementary_efreet="no"
15020want_elementary_efreet="auto"
15021# Check whether --enable-efreet was given.
15022if test "${enable_efreet+set}" = set; then :
15023 enableval=$enable_efreet; want_elementary_efreet=$enableval
15024fi
15025
15026
15027if test "x$want_elementary_efreet" != "xno"; then
15028
15029pkg_failed=no
15030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EFREET" >&5
15031$as_echo_n "checking for ELEMENTARY_EFREET... " >&6; }
15032
15033if test -n "$ELEMENTARY_EFREET_CFLAGS"; then
15034 pkg_cv_ELEMENTARY_EFREET_CFLAGS="$ELEMENTARY_EFREET_CFLAGS"
15035 elif test -n "$PKG_CONFIG"; then
15036 if test -n "$PKG_CONFIG" && \
15037 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15038 efreet >= 1.2.0
15039 efreet-mime >= 1.2.0
15040 efreet-trash >= 1.2.0
15041 \""; } >&5
15042 ($PKG_CONFIG --exists --print-errors "
15043 efreet >= 1.2.0
15044 efreet-mime >= 1.2.0
15045 efreet-trash >= 1.2.0
15046 ") 2>&5
15047 ac_status=$?
15048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15049 test $ac_status = 0; }; then
15050 pkg_cv_ELEMENTARY_EFREET_CFLAGS=`$PKG_CONFIG --cflags "
15051 efreet >= 1.2.0
15052 efreet-mime >= 1.2.0
15053 efreet-trash >= 1.2.0
15054 " 2>/dev/null`
15055else
15056 pkg_failed=yes
15057fi
15058 else
15059 pkg_failed=untried
15060fi
15061if test -n "$ELEMENTARY_EFREET_LIBS"; then
15062 pkg_cv_ELEMENTARY_EFREET_LIBS="$ELEMENTARY_EFREET_LIBS"
15063 elif test -n "$PKG_CONFIG"; then
15064 if test -n "$PKG_CONFIG" && \
15065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15066 efreet >= 1.2.0
15067 efreet-mime >= 1.2.0
15068 efreet-trash >= 1.2.0
15069 \""; } >&5
15070 ($PKG_CONFIG --exists --print-errors "
15071 efreet >= 1.2.0
15072 efreet-mime >= 1.2.0
15073 efreet-trash >= 1.2.0
15074 ") 2>&5
15075 ac_status=$?
15076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15077 test $ac_status = 0; }; then
15078 pkg_cv_ELEMENTARY_EFREET_LIBS=`$PKG_CONFIG --libs "
15079 efreet >= 1.2.0
15080 efreet-mime >= 1.2.0
15081 efreet-trash >= 1.2.0
15082 " 2>/dev/null`
15083else
15084 pkg_failed=yes
15085fi
15086 else
15087 pkg_failed=untried
15088fi
15089
15090
15091
15092if test $pkg_failed = yes; then
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15094$as_echo "no" >&6; }
15095
15096if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15097 _pkg_short_errors_supported=yes
15098else
15099 _pkg_short_errors_supported=no
15100fi
15101 if test $_pkg_short_errors_supported = yes; then
15102 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15103 efreet >= 1.2.0
15104 efreet-mime >= 1.2.0
15105 efreet-trash >= 1.2.0
15106 " 2>&1`
15107 else
15108 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15109 efreet >= 1.2.0
15110 efreet-mime >= 1.2.0
15111 efreet-trash >= 1.2.0
15112 " 2>&1`
15113 fi
15114 # Put the nasty error message in config.log where it belongs
15115 echo "$ELEMENTARY_EFREET_PKG_ERRORS" >&5
15116
15117 have_elementary_efreet="no"
15118
15119elif test $pkg_failed = untried; then
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15121$as_echo "no" >&6; }
15122 have_elementary_efreet="no"
15123
15124else
15125 ELEMENTARY_EFREET_CFLAGS=$pkg_cv_ELEMENTARY_EFREET_CFLAGS
15126 ELEMENTARY_EFREET_LIBS=$pkg_cv_ELEMENTARY_EFREET_LIBS
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15128$as_echo "yes" >&6; }
15129
15130
15131$as_echo "#define HAVE_ELEMENTARY_EFREET 1" >>confdefs.h
15132
15133 have_elementary_efreet="yes"
15134 ELM_EFREET_DEF="#define"
15135 requirement_elm="efreet >= 1.2.0 efreet-mime >= 1.2.0 efreet-trash >= 1.2.0 ${requirement_elm}"
15136
15137fi
15138else
15139 have_elementary_efreet="no"
15140fi
15141if test "x$want_elementary_efreet" = "xyes" -a "x$have_elementary_efreet" = "xno"; then
15142 as_fn_error $? "Efreet support requested, but no efreet/efreet-mime/efreet-trash found by pkg-config." "$LINENO" 5
15143fi
15144
15145
15146ELM_EWEATHER_DEF="#undef"
15147have_elementary_eweather="no"
15148want_elementary_eweather="auto"
15149# Check whether --enable-eweather was given.
15150if test "${enable_eweather+set}" = set; then :
15151 enableval=$enable_eweather; want_elementary_eweather=$enableval
15152fi
15153
15154
15155if test "x$want_elementary_eweather" != "xno"; then
15156
15157pkg_failed=no
15158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EWEATHER" >&5
15159$as_echo_n "checking for ELEMENTARY_EWEATHER... " >&6; }
15160
15161if test -n "$ELEMENTARY_EWEATHER_CFLAGS"; then
15162 pkg_cv_ELEMENTARY_EWEATHER_CFLAGS="$ELEMENTARY_EWEATHER_CFLAGS"
15163 elif test -n "$PKG_CONFIG"; then
15164 if test -n "$PKG_CONFIG" && \
15165 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15166 eweather
15167 \""; } >&5
15168 ($PKG_CONFIG --exists --print-errors "
15169 eweather
15170 ") 2>&5
15171 ac_status=$?
15172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15173 test $ac_status = 0; }; then
15174 pkg_cv_ELEMENTARY_EWEATHER_CFLAGS=`$PKG_CONFIG --cflags "
15175 eweather
15176 " 2>/dev/null`
15177else
15178 pkg_failed=yes
15179fi
15180 else
15181 pkg_failed=untried
15182fi
15183if test -n "$ELEMENTARY_EWEATHER_LIBS"; then
15184 pkg_cv_ELEMENTARY_EWEATHER_LIBS="$ELEMENTARY_EWEATHER_LIBS"
15185 elif test -n "$PKG_CONFIG"; then
15186 if test -n "$PKG_CONFIG" && \
15187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15188 eweather
15189 \""; } >&5
15190 ($PKG_CONFIG --exists --print-errors "
15191 eweather
15192 ") 2>&5
15193 ac_status=$?
15194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15195 test $ac_status = 0; }; then
15196 pkg_cv_ELEMENTARY_EWEATHER_LIBS=`$PKG_CONFIG --libs "
15197 eweather
15198 " 2>/dev/null`
15199else
15200 pkg_failed=yes
15201fi
15202 else
15203 pkg_failed=untried
15204fi
15205
15206
15207
15208if test $pkg_failed = yes; then
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15210$as_echo "no" >&6; }
15211
15212if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15213 _pkg_short_errors_supported=yes
15214else
15215 _pkg_short_errors_supported=no
15216fi
15217 if test $_pkg_short_errors_supported = yes; then
15218 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15219 eweather
15220 " 2>&1`
15221 else
15222 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15223 eweather
15224 " 2>&1`
15225 fi
15226 # Put the nasty error message in config.log where it belongs
15227 echo "$ELEMENTARY_EWEATHER_PKG_ERRORS" >&5
15228
15229 have_elementary_eweather="no"
15230
15231elif test $pkg_failed = untried; then
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15233$as_echo "no" >&6; }
15234 have_elementary_eweather="no"
15235
15236else
15237 ELEMENTARY_EWEATHER_CFLAGS=$pkg_cv_ELEMENTARY_EWEATHER_CFLAGS
15238 ELEMENTARY_EWEATHER_LIBS=$pkg_cv_ELEMENTARY_EWEATHER_LIBS
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15240$as_echo "yes" >&6; }
15241
15242
15243$as_echo "#define HAVE_ELEMENTARY_EWEATHER 1" >>confdefs.h
15244
15245 have_elementary_eweather="yes"
15246 ELM_EWEATHER_DEF="#define"
15247 requirement_elm="eweather ${requirement_elm}"
15248
15249fi
15250else
15251 have_elementary_eweather="no"
15252fi
15253if test "x$want_elementary_eweather" = "xyes" -a "x$have_elementary_eweather" = "xno"; then
15254 as_fn_error $? "Eweather support requested, but no eweather found by pkg-config." "$LINENO" 5
15255fi
15256
15257
15258ELM_EMAP_DEF="#undef"
15259have_elementary_emap="no"
15260want_elementary_emap="auto"
15261# Check whether --enable-emap was given.
15262if test "${enable_emap+set}" = set; then :
15263 enableval=$enable_emap; want_elementary_emap=$enableval
15264fi
15265
15266
15267if test "x$want_elementary_emap" != "xno"; then
15268
15269pkg_failed=no
15270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EMAP" >&5
15271$as_echo_n "checking for ELEMENTARY_EMAP... " >&6; }
15272
15273if test -n "$ELEMENTARY_EMAP_CFLAGS"; then
15274 pkg_cv_ELEMENTARY_EMAP_CFLAGS="$ELEMENTARY_EMAP_CFLAGS"
15275 elif test -n "$PKG_CONFIG"; then
15276 if test -n "$PKG_CONFIG" && \
15277 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15278 emap
15279 \""; } >&5
15280 ($PKG_CONFIG --exists --print-errors "
15281 emap
15282 ") 2>&5
15283 ac_status=$?
15284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15285 test $ac_status = 0; }; then
15286 pkg_cv_ELEMENTARY_EMAP_CFLAGS=`$PKG_CONFIG --cflags "
15287 emap
15288 " 2>/dev/null`
15289else
15290 pkg_failed=yes
15291fi
15292 else
15293 pkg_failed=untried
15294fi
15295if test -n "$ELEMENTARY_EMAP_LIBS"; then
15296 pkg_cv_ELEMENTARY_EMAP_LIBS="$ELEMENTARY_EMAP_LIBS"
15297 elif test -n "$PKG_CONFIG"; then
15298 if test -n "$PKG_CONFIG" && \
15299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15300 emap
15301 \""; } >&5
15302 ($PKG_CONFIG --exists --print-errors "
15303 emap
15304 ") 2>&5
15305 ac_status=$?
15306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15307 test $ac_status = 0; }; then
15308 pkg_cv_ELEMENTARY_EMAP_LIBS=`$PKG_CONFIG --libs "
15309 emap
15310 " 2>/dev/null`
15311else
15312 pkg_failed=yes
15313fi
15314 else
15315 pkg_failed=untried
15316fi
15317
15318
15319
15320if test $pkg_failed = yes; then
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15322$as_echo "no" >&6; }
15323
15324if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15325 _pkg_short_errors_supported=yes
15326else
15327 _pkg_short_errors_supported=no
15328fi
15329 if test $_pkg_short_errors_supported = yes; then
15330 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15331 emap
15332 " 2>&1`
15333 else
15334 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15335 emap
15336 " 2>&1`
15337 fi
15338 # Put the nasty error message in config.log where it belongs
15339 echo "$ELEMENTARY_EMAP_PKG_ERRORS" >&5
15340
15341 have_elementary_emap="no"
15342
15343elif test $pkg_failed = untried; then
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15345$as_echo "no" >&6; }
15346 have_elementary_emap="no"
15347
15348else
15349 ELEMENTARY_EMAP_CFLAGS=$pkg_cv_ELEMENTARY_EMAP_CFLAGS
15350 ELEMENTARY_EMAP_LIBS=$pkg_cv_ELEMENTARY_EMAP_LIBS
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15352$as_echo "yes" >&6; }
15353
15354
15355$as_echo "#define HAVE_ELEMENTARY_EMAP 1" >>confdefs.h
15356
15357 have_elementary_emap="yes"
15358 ELM_EMAP_DEF="#define"
15359 requirement_elm="emap ${requirement_elm}"
15360
15361fi
15362else
15363 have_elementary_emap="no"
15364fi
15365if test "x$want_elementary_emap" = "xyes" -a "x$have_elementary_emap" = "xno"; then
15366 as_fn_error $? "Emap support requested, but no emap found by pkg-config." "$LINENO" 5
15367fi
15368
15369
15370
15371
15372ELM_ETHUMB_DEF="#undef"
15373have_elementary_ethumb="no"
15374want_elementary_ethumb="auto"
15375# Check whether --enable-ethumb was given.
15376if test "${enable_ethumb+set}" = set; then :
15377 enableval=$enable_ethumb; want_elementary_ethumb=$enableval
15378fi
15379
15380
15381if test "x$want_elementary_ethumb" != "xno"; then
15382
15383pkg_failed=no
15384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ETHUMB" >&5
15385$as_echo_n "checking for ELEMENTARY_ETHUMB... " >&6; }
15386
15387if test -n "$ELEMENTARY_ETHUMB_CFLAGS"; then
15388 pkg_cv_ELEMENTARY_ETHUMB_CFLAGS="$ELEMENTARY_ETHUMB_CFLAGS"
15389 elif test -n "$PKG_CONFIG"; then
15390 if test -n "$PKG_CONFIG" && \
15391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15392 ethumb_client
15393 \""; } >&5
15394 ($PKG_CONFIG --exists --print-errors "
15395 ethumb_client
15396 ") 2>&5
15397 ac_status=$?
15398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15399 test $ac_status = 0; }; then
15400 pkg_cv_ELEMENTARY_ETHUMB_CFLAGS=`$PKG_CONFIG --cflags "
15401 ethumb_client
15402 " 2>/dev/null`
15403else
15404 pkg_failed=yes
15405fi
15406 else
15407 pkg_failed=untried
15408fi
15409if test -n "$ELEMENTARY_ETHUMB_LIBS"; then
15410 pkg_cv_ELEMENTARY_ETHUMB_LIBS="$ELEMENTARY_ETHUMB_LIBS"
15411 elif test -n "$PKG_CONFIG"; then
15412 if test -n "$PKG_CONFIG" && \
15413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15414 ethumb_client
15415 \""; } >&5
15416 ($PKG_CONFIG --exists --print-errors "
15417 ethumb_client
15418 ") 2>&5
15419 ac_status=$?
15420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15421 test $ac_status = 0; }; then
15422 pkg_cv_ELEMENTARY_ETHUMB_LIBS=`$PKG_CONFIG --libs "
15423 ethumb_client
15424 " 2>/dev/null`
15425else
15426 pkg_failed=yes
15427fi
15428 else
15429 pkg_failed=untried
15430fi
15431
15432
15433
15434if test $pkg_failed = yes; then
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15436$as_echo "no" >&6; }
15437
15438if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15439 _pkg_short_errors_supported=yes
15440else
15441 _pkg_short_errors_supported=no
15442fi
15443 if test $_pkg_short_errors_supported = yes; then
15444 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15445 ethumb_client
15446 " 2>&1`
15447 else
15448 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15449 ethumb_client
15450 " 2>&1`
15451 fi
15452 # Put the nasty error message in config.log where it belongs
15453 echo "$ELEMENTARY_ETHUMB_PKG_ERRORS" >&5
15454
15455 have_elementary_ethumb="no"
15456
15457elif test $pkg_failed = untried; then
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15459$as_echo "no" >&6; }
15460 have_elementary_ethumb="no"
15461
15462else
15463 ELEMENTARY_ETHUMB_CFLAGS=$pkg_cv_ELEMENTARY_ETHUMB_CFLAGS
15464 ELEMENTARY_ETHUMB_LIBS=$pkg_cv_ELEMENTARY_ETHUMB_LIBS
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15466$as_echo "yes" >&6; }
15467
15468
15469$as_echo "#define HAVE_ELEMENTARY_ETHUMB 1" >>confdefs.h
15470
15471 have_elementary_ethumb="yes"
15472 ELM_ETHUMB_DEF="#define"
15473 requirement_elm="ethumb_client ${requirement_elm}"
15474
15475fi
15476else
15477 have_elementary_ethumb="no"
15478fi
15479if test "x$want_elementary_ethumb" = "xyes" -a "x$have_elementary_ethumb" = "xno"; then
15480 as_fn_error $? "Ethumb support requested, but no ethumb found by pkg-config." "$LINENO" 5
15481fi
15482
15483
15484ELM_WEB_DEF="#undef"
15485have_elementary_web="no"
15486want_elementary_web="auto"
15487# Check whether --enable-web was given.
15488if test "${enable_web+set}" = set; then :
15489 enableval=$enable_web; want_elementary_web=$enableval
15490fi
15491
15492
15493if test "x$want_elementary_web" != "xno"; then
15494
15495pkg_failed=no
15496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WEB" >&5
15497$as_echo_n "checking for ELEMENTARY_WEB... " >&6; }
15498
15499if test -n "$ELEMENTARY_WEB_CFLAGS"; then
15500 pkg_cv_ELEMENTARY_WEB_CFLAGS="$ELEMENTARY_WEB_CFLAGS"
15501 elif test -n "$PKG_CONFIG"; then
15502 if test -n "$PKG_CONFIG" && \
15503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15504 ewebkit
15505 \""; } >&5
15506 ($PKG_CONFIG --exists --print-errors "
15507 ewebkit
15508 ") 2>&5
15509 ac_status=$?
15510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15511 test $ac_status = 0; }; then
15512 pkg_cv_ELEMENTARY_WEB_CFLAGS=`$PKG_CONFIG --cflags "
15513 ewebkit
15514 " 2>/dev/null`
15515else
15516 pkg_failed=yes
15517fi
15518 else
15519 pkg_failed=untried
15520fi
15521if test -n "$ELEMENTARY_WEB_LIBS"; then
15522 pkg_cv_ELEMENTARY_WEB_LIBS="$ELEMENTARY_WEB_LIBS"
15523 elif test -n "$PKG_CONFIG"; then
15524 if test -n "$PKG_CONFIG" && \
15525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15526 ewebkit
15527 \""; } >&5
15528 ($PKG_CONFIG --exists --print-errors "
15529 ewebkit
15530 ") 2>&5
15531 ac_status=$?
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; }; then
15534 pkg_cv_ELEMENTARY_WEB_LIBS=`$PKG_CONFIG --libs "
15535 ewebkit
15536 " 2>/dev/null`
15537else
15538 pkg_failed=yes
15539fi
15540 else
15541 pkg_failed=untried
15542fi
15543
15544
15545
15546if test $pkg_failed = yes; then
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15548$as_echo "no" >&6; }
15549
15550if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15551 _pkg_short_errors_supported=yes
15552else
15553 _pkg_short_errors_supported=no
15554fi
15555 if test $_pkg_short_errors_supported = yes; then
15556 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15557 ewebkit
15558 " 2>&1`
15559 else
15560 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15561 ewebkit
15562 " 2>&1`
15563 fi
15564 # Put the nasty error message in config.log where it belongs
15565 echo "$ELEMENTARY_WEB_PKG_ERRORS" >&5
15566
15567 have_elementary_web="no"
15568
15569elif test $pkg_failed = untried; then
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15571$as_echo "no" >&6; }
15572 have_elementary_web="no"
15573
15574else
15575 ELEMENTARY_WEB_CFLAGS=$pkg_cv_ELEMENTARY_WEB_CFLAGS
15576 ELEMENTARY_WEB_LIBS=$pkg_cv_ELEMENTARY_WEB_LIBS
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15578$as_echo "yes" >&6; }
15579
15580
15581$as_echo "#define HAVE_ELEMENTARY_WEB 1" >>confdefs.h
15582
15583 webkit_datadir=$($PKG_CONFIG ewebkit --variable=datadir)
15584
15585cat >>confdefs.h <<_ACEOF
15586#define WEBKIT_DATADIR "$webkit_datadir"
15587_ACEOF
15588
15589 have_elementary_web="yes"
15590 ELM_WEB_DEF="#define"
15591## web_client? how about ewebkit? at least in current upstreak webkit
15592## there is no web_client.pc
15593# requirement_elm="web_client ${requirement_elm}"
15594 requirement_elm="ewebkit ${requirement_elm}"
15595
15596fi
15597else
15598 have_elementary_web="no"
15599fi
15600if test "x$want_elementary_web" = "xyes" -a "x$have_elementary_web" = "xno"; then
15601 as_fn_error $? "Web support requested, but no ewebkit found by pkg-config." "$LINENO" 5
15602fi
15603
15604
15605ELM_DEBUG_DEF="#undef"
15606want_elementary_debug="no"
15607# Check whether --enable-debug was given.
15608if test "${enable_debug+set}" = set; then :
15609 enableval=$enable_debug; want_elementary_debug=$enableval
15610fi
15611
15612
15613if test "x$want_elementary_debug" = "xyes"; then
15614
15615$as_echo "#define HAVE_ELEMENTARY_DEBUG 1" >>confdefs.h
15616
15617 ELM_DEBUG_DEF="#define"
15618fi
15619
15620
15621ELM_ALLOCA_H_DEF="#undef"
15622ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
15623if test "x$ac_cv_header_alloca_h" = x""yes; then :
15624 ELM_ALLOCA_H_DEF="#define"
15625fi
15626
15627
15628
15629
15630ELM_LIBINTL_H_DEF="#undef"
15631ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15632if test "x$ac_cv_header_libintl_h" = x""yes; then :
15633 ELM_LIBINTL_H_DEF="#define"
15634fi
15635
15636
15637
15638
15639ELM_DIRENT_H_DEF="#undef"
15640ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
15641if test "x$ac_cv_header_dirent_h" = x""yes; then :
15642 ELM_DIRENT_H_DEF="#define"
15643fi
15644
15645
15646
15647
15648ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
15649if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
15650 have_mman="yes"
15651else
15652 have_mman="no"
15653fi
15654
15655
15656if test "x${have_mman}" = "xyes"; then
15657
15658$as_echo "#define HAVE_MMAN_H 1" >>confdefs.h
15659
15660fi
15661
15662for ac_header in locale.h langinfo.h
15663do :
15664 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15665ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15666if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15667 cat >>confdefs.h <<_ACEOF
15668#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15669_ACEOF
15670
15671fi
15672
15673done
15674
15675
15676my_libs="-lm"
15677
15678
15679
15680
15681
15682
15683
15684
15685# Check whether --with-eet-eet was given.
15686if test "${with_eet_eet+set}" = set; then :
15687 withval=$with_eet_eet; _efl_with_binary=${withval}
15688else
15689 _efl_with_binary=$(pkg-config --variable=prefix eet)/bin/eet
15690fi
15691
15692
15693eet_eet=${_efl_with_binary}
15694{ $as_echo "$as_me:${as_lineno-$LINENO}: eet_eet set to ${_efl_with_binary}" >&5
15695$as_echo "$as_me: eet_eet set to ${_efl_with_binary}" >&6;}
15696
15697with_binary_eet_eet=${_efl_with_binary}
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707# Check whether --with-edje-cc was given.
15708if test "${with_edje_cc+set}" = set; then :
15709 withval=$with_edje_cc; _efl_with_binary=${withval}
15710else
15711 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
15712fi
15713
15714
15715edje_cc=${_efl_with_binary}
15716{ $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
15717$as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
15718
15719with_binary_edje_cc=${_efl_with_binary}
15720
15721
15722
15723
15724
15725
15726
15727# Check whether --enable-doc was given.
15728if test "${enable_doc+set}" = set; then :
15729 enableval=$enable_doc;
15730 if test "x${enableval}" = "xyes" ; then
15731 efl_enable_doc="yes"
15732 else
15733 efl_enable_doc="no"
15734 fi
15735
15736else
15737 efl_enable_doc="yes"
15738fi
15739
15740
15741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
15742$as_echo_n "checking whether to build documentation... " >&6; }
15743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
15744$as_echo "${efl_enable_doc}" >&6; }
15745
15746if test "x${efl_enable_doc}" = "xyes" ; then
15747
15748
15749 efl_doxygen="doxygen"
15750
15751
15752# Check whether --with-doxygen was given.
15753if test "${with_doxygen+set}" = set; then :
15754 withval=$with_doxygen; efl_doxygen=${withval}
15755 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
15756set dummy ${efl_doxygen}; ac_word=$2
15757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15758$as_echo_n "checking for $ac_word... " >&6; }
15759if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
15760 $as_echo_n "(cached) " >&6
15761else
15762 if test -n "$efl_have_doxygen"; then
15763 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
15764else
15765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15766for as_dir in $PATH
15767do
15768 IFS=$as_save_IFS
15769 test -z "$as_dir" && as_dir=.
15770 for ac_exec_ext in '' $ac_executable_extensions; do
15771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15772 ac_cv_prog_efl_have_doxygen="yes"
15773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15774 break 2
15775 fi
15776done
15777 done
15778IFS=$as_save_IFS
15779
15780 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
15781fi
15782fi
15783efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
15784if test -n "$efl_have_doxygen"; then
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
15786$as_echo "$efl_have_doxygen" >&6; }
15787else
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15789$as_echo "no" >&6; }
15790fi
15791
15792
15793 if test "x${efl_have_doxygen}" = "xno" ; then
15794 echo "WARNING:"
15795 echo "The doxygen program you specified:"
15796 echo "${efl_doxygen}"
15797 echo "was not found. Please check the path and make sure "
15798 echo "the program exists and is executable."
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
15800$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
15801 fi
15802
15803else
15804 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
15805set dummy ${efl_doxygen}; ac_word=$2
15806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15807$as_echo_n "checking for $ac_word... " >&6; }
15808if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
15809 $as_echo_n "(cached) " >&6
15810else
15811 if test -n "$efl_have_doxygen"; then
15812 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
15813else
15814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15815for as_dir in $PATH
15816do
15817 IFS=$as_save_IFS
15818 test -z "$as_dir" && as_dir=.
15819 for ac_exec_ext in '' $ac_executable_extensions; do
15820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15821 ac_cv_prog_efl_have_doxygen="yes"
15822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15823 break 2
15824 fi
15825done
15826 done
15827IFS=$as_save_IFS
15828
15829 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
15830fi
15831fi
15832efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
15833if test -n "$efl_have_doxygen"; then
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
15835$as_echo "$efl_have_doxygen" >&6; }
15836else
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15838$as_echo "no" >&6; }
15839fi
15840
15841
15842 if test "x${efl_have_doxygen}" = "xno" ; then
15843 echo "WARNING:"
15844 echo "The doxygen program was not found in your execute path."
15845 echo "You may have doxygen installed somewhere not covered by your path."
15846 echo ""
15847 echo "If this is the case make sure you have the packages installed, AND"
15848 echo "that the doxygen program is in your execute path (see your"
15849 echo "shell manual page on setting the \$PATH environment variable), OR"
15850 echo "alternatively, specify the program to use with --with-doxygen."
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
15852$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
15853 fi
15854
15855fi
15856
15857fi
15858
15859
15860
15861if ! test "x${efl_have_doxygen}" = "xyes" ; then
15862 efl_enable_doc="no"
15863fi
15864
15865 if test "x${efl_enable_doc}" = "xyes"; then
15866 EFL_BUILD_DOC_TRUE=
15867 EFL_BUILD_DOC_FALSE='#'
15868else
15869 EFL_BUILD_DOC_TRUE='#'
15870 EFL_BUILD_DOC_FALSE=
15871fi
15872
15873
15874if test "x${efl_enable_doc}" = "xyes" ; then
15875 build_doc="yes"
15876else
15877 build_doc="no"
15878fi
15879
15880
15881
15882
15883
15884
15885have_elementary_test="yes"
15886
15887
15888# Check whether --enable-elementary-test was given.
15889if test "${enable_elementary_test+set}" = set; then :
15890 enableval=$enable_elementary_test;
15891 if test "x${enableval}" = "xyes" ; then
15892 have_elementary_test="yes"
15893 else
15894 have_elementary_test="no"
15895 fi
15896
15897fi
15898
15899
15900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_test binary" >&5
15901$as_echo_n "checking whether to build elementary_test binary... " >&6; }
15902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_test" >&5
15903$as_echo "$have_elementary_test" >&6; }
15904
15905if test "x$have_elementary_test" = "xyes"; then
15906 ELEMENTARY_TEST_PRG=elementary_test${EXEEXT}
15907fi
15908
15909
15910
15911 if test "x$have_elementary_test" = "xyes"; then
15912 BUILD_ELEMENTARY_TEST_TRUE=
15913 BUILD_ELEMENTARY_TEST_FALSE='#'
15914else
15915 BUILD_ELEMENTARY_TEST_TRUE='#'
15916 BUILD_ELEMENTARY_TEST_FALSE=
15917fi
15918
15919
15920if test "x$have_elementary_test" = "xyes"; then :
15921
15922fi
15923
15924
15925
15926
15927
15928have_elementary_config="yes"
15929
15930
15931# Check whether --enable-elementary-config was given.
15932if test "${enable_elementary_config+set}" = set; then :
15933 enableval=$enable_elementary_config;
15934 if test "x${enableval}" = "xyes" ; then
15935 have_elementary_config="yes"
15936 else
15937 have_elementary_config="no"
15938 fi
15939
15940fi
15941
15942
15943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_config binary" >&5
15944$as_echo_n "checking whether to build elementary_config binary... " >&6; }
15945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_config" >&5
15946$as_echo "$have_elementary_config" >&6; }
15947
15948if test "x$have_elementary_config" = "xyes"; then
15949 ELEMENTARY_CONFIG_PRG=elementary_config${EXEEXT}
15950fi
15951
15952
15953
15954 if test "x$have_elementary_config" = "xyes"; then
15955 BUILD_ELEMENTARY_CONFIG_TRUE=
15956 BUILD_ELEMENTARY_CONFIG_FALSE='#'
15957else
15958 BUILD_ELEMENTARY_CONFIG_TRUE='#'
15959 BUILD_ELEMENTARY_CONFIG_FALSE=
15960fi
15961
15962
15963if test "x$have_elementary_config" = "xyes"; then :
15964
15965fi
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15976$as_echo_n "checking whether NLS is requested... " >&6; }
15977 # Check whether --enable-nls was given.
15978if test "${enable_nls+set}" = set; then :
15979 enableval=$enable_nls; USE_NLS=$enableval
15980else
15981 USE_NLS=yes
15982fi
15983
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15985$as_echo "$USE_NLS" >&6; }
15986
15987
15988
15989
15990 GETTEXT_MACRO_VERSION=0.17
15991
15992
15993
15994
15995# Prepare PATH_SEPARATOR.
15996# The user is always right.
15997if test "${PATH_SEPARATOR+set}" != set; then
15998 echo "#! /bin/sh" >conf$$.sh
15999 echo "exit 0" >>conf$$.sh
16000 chmod +x conf$$.sh
16001 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16002 PATH_SEPARATOR=';'
16003 else
16004 PATH_SEPARATOR=:
16005 fi
16006 rm -f conf$$.sh
16007fi
16008
16009# Find out how to test for executable files. Don't use a zero-byte file,
16010# as systems may use methods other than mode bits to determine executability.
16011cat >conf$$.file <<_ASEOF
16012#! /bin/sh
16013exit 0
16014_ASEOF
16015chmod +x conf$$.file
16016if test -x conf$$.file >/dev/null 2>&1; then
16017 ac_executable_p="test -x"
16018else
16019 ac_executable_p="test -f"
16020fi
16021rm -f conf$$.file
16022
16023# Extract the first word of "msgfmt", so it can be a program name with args.
16024set dummy msgfmt; ac_word=$2
16025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16026$as_echo_n "checking for $ac_word... " >&6; }
16027if test "${ac_cv_path_MSGFMT+set}" = set; then :
16028 $as_echo_n "(cached) " >&6
16029else
16030 case "$MSGFMT" in
16031 [\\/]* | ?:[\\/]*)
16032 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16033 ;;
16034 *)
16035 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16036 for ac_dir in $PATH; do
16037 IFS="$ac_save_IFS"
16038 test -z "$ac_dir" && ac_dir=.
16039 for ac_exec_ext in '' $ac_executable_extensions; do
16040 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16041 echo "$as_me: trying $ac_dir/$ac_word..." >&5
16042 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
16043 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16044 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
16045 break 2
16046 fi
16047 fi
16048 done
16049 done
16050 IFS="$ac_save_IFS"
16051 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
16052 ;;
16053esac
16054fi
16055MSGFMT="$ac_cv_path_MSGFMT"
16056if test "$MSGFMT" != ":"; then
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16058$as_echo "$MSGFMT" >&6; }
16059else
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16061$as_echo "no" >&6; }
16062fi
16063
16064 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16065set dummy gmsgfmt; ac_word=$2
16066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16067$as_echo_n "checking for $ac_word... " >&6; }
16068if test "${ac_cv_path_GMSGFMT+set}" = set; then :
16069 $as_echo_n "(cached) " >&6
16070else
16071 case $GMSGFMT in
16072 [\\/]* | ?:[\\/]*)
16073 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16074 ;;
16075 *)
16076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16077for as_dir in $PATH
16078do
16079 IFS=$as_save_IFS
16080 test -z "$as_dir" && as_dir=.
16081 for ac_exec_ext in '' $ac_executable_extensions; do
16082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16083 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16085 break 2
16086 fi
16087done
16088 done
16089IFS=$as_save_IFS
16090
16091 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16092 ;;
16093esac
16094fi
16095GMSGFMT=$ac_cv_path_GMSGFMT
16096if test -n "$GMSGFMT"; then
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16098$as_echo "$GMSGFMT" >&6; }
16099else
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16101$as_echo "no" >&6; }
16102fi
16103
16104
16105
16106 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16107 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
16108 *) MSGFMT_015=$MSGFMT ;;
16109 esac
16110
16111 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16112 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
16113 *) GMSGFMT_015=$GMSGFMT ;;
16114 esac
16115
16116
16117
16118# Prepare PATH_SEPARATOR.
16119# The user is always right.
16120if test "${PATH_SEPARATOR+set}" != set; then
16121 echo "#! /bin/sh" >conf$$.sh
16122 echo "exit 0" >>conf$$.sh
16123 chmod +x conf$$.sh
16124 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16125 PATH_SEPARATOR=';'
16126 else
16127 PATH_SEPARATOR=:
16128 fi
16129 rm -f conf$$.sh
16130fi
16131
16132# Find out how to test for executable files. Don't use a zero-byte file,
16133# as systems may use methods other than mode bits to determine executability.
16134cat >conf$$.file <<_ASEOF
16135#! /bin/sh
16136exit 0
16137_ASEOF
16138chmod +x conf$$.file
16139if test -x conf$$.file >/dev/null 2>&1; then
16140 ac_executable_p="test -x"
16141else
16142 ac_executable_p="test -f"
16143fi
16144rm -f conf$$.file
16145
16146# Extract the first word of "xgettext", so it can be a program name with args.
16147set dummy xgettext; ac_word=$2
16148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16149$as_echo_n "checking for $ac_word... " >&6; }
16150if test "${ac_cv_path_XGETTEXT+set}" = set; then :
16151 $as_echo_n "(cached) " >&6
16152else
16153 case "$XGETTEXT" in
16154 [\\/]* | ?:[\\/]*)
16155 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16156 ;;
16157 *)
16158 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16159 for ac_dir in $PATH; do
16160 IFS="$ac_save_IFS"
16161 test -z "$ac_dir" && ac_dir=.
16162 for ac_exec_ext in '' $ac_executable_extensions; do
16163 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16164 echo "$as_me: trying $ac_dir/$ac_word..." >&5
16165 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
16166 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16167 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
16168 break 2
16169 fi
16170 fi
16171 done
16172 done
16173 IFS="$ac_save_IFS"
16174 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
16175 ;;
16176esac
16177fi
16178XGETTEXT="$ac_cv_path_XGETTEXT"
16179if test "$XGETTEXT" != ":"; then
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16181$as_echo "$XGETTEXT" >&6; }
16182else
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16184$as_echo "no" >&6; }
16185fi
16186
16187 rm -f messages.po
16188
16189 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16190 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
16191 *) XGETTEXT_015=$XGETTEXT ;;
16192 esac
16193
16194
16195
16196# Prepare PATH_SEPARATOR.
16197# The user is always right.
16198if test "${PATH_SEPARATOR+set}" != set; then
16199 echo "#! /bin/sh" >conf$$.sh
16200 echo "exit 0" >>conf$$.sh
16201 chmod +x conf$$.sh
16202 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16203 PATH_SEPARATOR=';'
16204 else
16205 PATH_SEPARATOR=:
16206 fi
16207 rm -f conf$$.sh
16208fi
16209
16210# Find out how to test for executable files. Don't use a zero-byte file,
16211# as systems may use methods other than mode bits to determine executability.
16212cat >conf$$.file <<_ASEOF
16213#! /bin/sh
16214exit 0
16215_ASEOF
16216chmod +x conf$$.file
16217if test -x conf$$.file >/dev/null 2>&1; then
16218 ac_executable_p="test -x"
16219else
16220 ac_executable_p="test -f"
16221fi
16222rm -f conf$$.file
16223
16224# Extract the first word of "msgmerge", so it can be a program name with args.
16225set dummy msgmerge; ac_word=$2
16226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16227$as_echo_n "checking for $ac_word... " >&6; }
16228if test "${ac_cv_path_MSGMERGE+set}" = set; then :
16229 $as_echo_n "(cached) " >&6
16230else
16231 case "$MSGMERGE" in
16232 [\\/]* | ?:[\\/]*)
16233 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16234 ;;
16235 *)
16236 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16237 for ac_dir in $PATH; do
16238 IFS="$ac_save_IFS"
16239 test -z "$ac_dir" && ac_dir=.
16240 for ac_exec_ext in '' $ac_executable_extensions; do
16241 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16242 echo "$as_me: trying $ac_dir/$ac_word..." >&5
16243 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
16244 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
16245 break 2
16246 fi
16247 fi
16248 done
16249 done
16250 IFS="$ac_save_IFS"
16251 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
16252 ;;
16253esac
16254fi
16255MSGMERGE="$ac_cv_path_MSGMERGE"
16256if test "$MSGMERGE" != ":"; then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16258$as_echo "$MSGMERGE" >&6; }
16259else
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16261$as_echo "no" >&6; }
16262fi
16263
16264
16265 test -n "$localedir" || localedir='${datadir}/locale'
16266
16267
16268 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
16269
16270
16271 ac_config_commands="$ac_config_commands po-directories"
16272
16273
16274
16275 if test "X$prefix" = "XNONE"; then
16276 acl_final_prefix="$ac_default_prefix"
16277 else
16278 acl_final_prefix="$prefix"
16279 fi
16280 if test "X$exec_prefix" = "XNONE"; then
16281 acl_final_exec_prefix='${prefix}'
16282 else
16283 acl_final_exec_prefix="$exec_prefix"
16284 fi
16285 acl_save_prefix="$prefix"
16286 prefix="$acl_final_prefix"
16287 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16288 prefix="$acl_save_prefix"
16289
16290
16291# Check whether --with-gnu-ld was given.
16292if test "${with_gnu_ld+set}" = set; then :
16293 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16294else
16295 with_gnu_ld=no
16296fi
16297
16298# Prepare PATH_SEPARATOR.
16299# The user is always right.
16300if test "${PATH_SEPARATOR+set}" != set; then
16301 echo "#! /bin/sh" >conf$$.sh
16302 echo "exit 0" >>conf$$.sh
16303 chmod +x conf$$.sh
16304 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16305 PATH_SEPARATOR=';'
16306 else
16307 PATH_SEPARATOR=:
16308 fi
16309 rm -f conf$$.sh
16310fi
16311ac_prog=ld
16312if test "$GCC" = yes; then
16313 # Check if gcc -print-prog-name=ld gives a path.
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16315$as_echo_n "checking for ld used by GCC... " >&6; }
16316 case $host in
16317 *-*-mingw*)
16318 # gcc leaves a trailing carriage return which upsets mingw
16319 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16320 *)
16321 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16322 esac
16323 case $ac_prog in
16324 # Accept absolute paths.
16325 [\\/]* | [A-Za-z]:[\\/]*)
16326 re_direlt='/[^/][^/]*/\.\./'
16327 # Canonicalize the path of ld
16328 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16329 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16330 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16331 done
16332 test -z "$LD" && LD="$ac_prog"
16333 ;;
16334 "")
16335 # If it fails, then pretend we aren't using GCC.
16336 ac_prog=ld
16337 ;;
16338 *)
16339 # If it is relative, then search for the first ld in PATH.
16340 with_gnu_ld=unknown
16341 ;;
16342 esac
16343elif test "$with_gnu_ld" = yes; then
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16345$as_echo_n "checking for GNU ld... " >&6; }
16346else
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16348$as_echo_n "checking for non-GNU ld... " >&6; }
16349fi
16350if test "${acl_cv_path_LD+set}" = set; then :
16351 $as_echo_n "(cached) " >&6
16352else
16353 if test -z "$LD"; then
16354 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16355 for ac_dir in $PATH; do
16356 test -z "$ac_dir" && ac_dir=.
16357 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16358 acl_cv_path_LD="$ac_dir/$ac_prog"
16359 # Check to see if the program is GNU ld. I'd rather use --version,
16360 # but apparently some GNU ld's only accept -v.
16361 # Break only if it was the GNU/non-GNU ld that we prefer.
16362 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16363 *GNU* | *'with BFD'*)
16364 test "$with_gnu_ld" != no && break ;;
16365 *)
16366 test "$with_gnu_ld" != yes && break ;;
16367 esac
16368 fi
16369 done
16370 IFS="$ac_save_ifs"
16371else
16372 acl_cv_path_LD="$LD" # Let the user override the test with a path.
16373fi
16374fi
16375
16376LD="$acl_cv_path_LD"
16377if test -n "$LD"; then
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16379$as_echo "$LD" >&6; }
16380else
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16382$as_echo "no" >&6; }
16383fi
16384test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16386$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16387if test "${acl_cv_prog_gnu_ld+set}" = set; then :
16388 $as_echo_n "(cached) " >&6
16389else
16390 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16391case `$LD -v 2>&1 </dev/null` in
16392*GNU* | *'with BFD'*)
16393 acl_cv_prog_gnu_ld=yes ;;
16394*)
16395 acl_cv_prog_gnu_ld=no ;;
16396esac
16397fi
16398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16399$as_echo "$acl_cv_prog_gnu_ld" >&6; }
16400with_gnu_ld=$acl_cv_prog_gnu_ld
16401
16402
16403
16404
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16406$as_echo_n "checking for shared library run path origin... " >&6; }
16407if test "${acl_cv_rpath+set}" = set; then :
16408 $as_echo_n "(cached) " >&6
16409else
16410
16411 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16412 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16413 . ./conftest.sh
16414 rm -f ./conftest.sh
16415 acl_cv_rpath=done
16416
16417fi
16418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16419$as_echo "$acl_cv_rpath" >&6; }
16420 wl="$acl_cv_wl"
16421 acl_libext="$acl_cv_libext"
16422 acl_shlibext="$acl_cv_shlibext"
16423 acl_libname_spec="$acl_cv_libname_spec"
16424 acl_library_names_spec="$acl_cv_library_names_spec"
16425 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16426 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16427 acl_hardcode_direct="$acl_cv_hardcode_direct"
16428 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16429 # Check whether --enable-rpath was given.
16430if test "${enable_rpath+set}" = set; then :
16431 enableval=$enable_rpath; :
16432else
16433 enable_rpath=yes
16434fi
16435
16436
16437
16438 acl_libdirstem=lib
16439 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16440 if test -n "$searchpath"; then
16441 acl_save_IFS="${IFS= }"; IFS=":"
16442 for searchdir in $searchpath; do
16443 if test -d "$searchdir"; then
16444 case "$searchdir" in
16445 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16446 *) searchdir=`cd "$searchdir" && pwd`
16447 case "$searchdir" in
16448 */lib64 ) acl_libdirstem=lib64 ;;
16449 esac ;;
16450 esac
16451 fi
16452 done
16453 IFS="$acl_save_IFS"
16454 fi
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464 use_additional=yes
16465
16466 acl_save_prefix="$prefix"
16467 prefix="$acl_final_prefix"
16468 acl_save_exec_prefix="$exec_prefix"
16469 exec_prefix="$acl_final_exec_prefix"
16470
16471 eval additional_includedir=\"$includedir\"
16472 eval additional_libdir=\"$libdir\"
16473
16474 exec_prefix="$acl_save_exec_prefix"
16475 prefix="$acl_save_prefix"
16476
16477
16478# Check whether --with-libiconv-prefix was given.
16479if test "${with_libiconv_prefix+set}" = set; then :
16480 withval=$with_libiconv_prefix;
16481 if test "X$withval" = "Xno"; then
16482 use_additional=no
16483 else
16484 if test "X$withval" = "X"; then
16485
16486 acl_save_prefix="$prefix"
16487 prefix="$acl_final_prefix"
16488 acl_save_exec_prefix="$exec_prefix"
16489 exec_prefix="$acl_final_exec_prefix"
16490
16491 eval additional_includedir=\"$includedir\"
16492 eval additional_libdir=\"$libdir\"
16493
16494 exec_prefix="$acl_save_exec_prefix"
16495 prefix="$acl_save_prefix"
16496
16497 else
16498 additional_includedir="$withval/include"
16499 additional_libdir="$withval/$acl_libdirstem"
16500 fi
16501 fi
16502
16503fi
16504
16505 LIBICONV=
16506 LTLIBICONV=
16507 INCICONV=
16508 LIBICONV_PREFIX=
16509 rpathdirs=
16510 ltrpathdirs=
16511 names_already_handled=
16512 names_next_round='iconv '
16513 while test -n "$names_next_round"; do
16514 names_this_round="$names_next_round"
16515 names_next_round=
16516 for name in $names_this_round; do
16517 already_handled=
16518 for n in $names_already_handled; do
16519 if test "$n" = "$name"; then
16520 already_handled=yes
16521 break
16522 fi
16523 done
16524 if test -z "$already_handled"; then
16525 names_already_handled="$names_already_handled $name"
16526 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16527 eval value=\"\$HAVE_LIB$uppername\"
16528 if test -n "$value"; then
16529 if test "$value" = yes; then
16530 eval value=\"\$LIB$uppername\"
16531 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16532 eval value=\"\$LTLIB$uppername\"
16533 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16534 else
16535 :
16536 fi
16537 else
16538 found_dir=
16539 found_la=
16540 found_so=
16541 found_a=
16542 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
16543 if test -n "$acl_shlibext"; then
16544 shrext=".$acl_shlibext" # typically: shrext=.so
16545 else
16546 shrext=
16547 fi
16548 if test $use_additional = yes; then
16549 dir="$additional_libdir"
16550 if test -n "$acl_shlibext"; then
16551 if test -f "$dir/$libname$shrext"; then
16552 found_dir="$dir"
16553 found_so="$dir/$libname$shrext"
16554 else
16555 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16556 ver=`(cd "$dir" && \
16557 for f in "$libname$shrext".*; do echo "$f"; done \
16558 | sed -e "s,^$libname$shrext\\\\.,," \
16559 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16560 | sed 1q ) 2>/dev/null`
16561 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16562 found_dir="$dir"
16563 found_so="$dir/$libname$shrext.$ver"
16564 fi
16565 else
16566 eval library_names=\"$acl_library_names_spec\"
16567 for f in $library_names; do
16568 if test -f "$dir/$f"; then
16569 found_dir="$dir"
16570 found_so="$dir/$f"
16571 break
16572 fi
16573 done
16574 fi
16575 fi
16576 fi
16577 if test "X$found_dir" = "X"; then
16578 if test -f "$dir/$libname.$acl_libext"; then
16579 found_dir="$dir"
16580 found_a="$dir/$libname.$acl_libext"
16581 fi
16582 fi
16583 if test "X$found_dir" != "X"; then
16584 if test -f "$dir/$libname.la"; then
16585 found_la="$dir/$libname.la"
16586 fi
16587 fi
16588 fi
16589 if test "X$found_dir" = "X"; then
16590 for x in $LDFLAGS $LTLIBICONV; do
16591
16592 acl_save_prefix="$prefix"
16593 prefix="$acl_final_prefix"
16594 acl_save_exec_prefix="$exec_prefix"
16595 exec_prefix="$acl_final_exec_prefix"
16596 eval x=\"$x\"
16597 exec_prefix="$acl_save_exec_prefix"
16598 prefix="$acl_save_prefix"
16599
16600 case "$x" in
16601 -L*)
16602 dir=`echo "X$x" | sed -e 's/^X-L//'`
16603 if test -n "$acl_shlibext"; then
16604 if test -f "$dir/$libname$shrext"; then
16605 found_dir="$dir"
16606 found_so="$dir/$libname$shrext"
16607 else
16608 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16609 ver=`(cd "$dir" && \
16610 for f in "$libname$shrext".*; do echo "$f"; done \
16611 | sed -e "s,^$libname$shrext\\\\.,," \
16612 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16613 | sed 1q ) 2>/dev/null`
16614 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16615 found_dir="$dir"
16616 found_so="$dir/$libname$shrext.$ver"
16617 fi
16618 else
16619 eval library_names=\"$acl_library_names_spec\"
16620 for f in $library_names; do
16621 if test -f "$dir/$f"; then
16622 found_dir="$dir"
16623 found_so="$dir/$f"
16624 break
16625 fi
16626 done
16627 fi
16628 fi
16629 fi
16630 if test "X$found_dir" = "X"; then
16631 if test -f "$dir/$libname.$acl_libext"; then
16632 found_dir="$dir"
16633 found_a="$dir/$libname.$acl_libext"
16634 fi
16635 fi
16636 if test "X$found_dir" != "X"; then
16637 if test -f "$dir/$libname.la"; then
16638 found_la="$dir/$libname.la"
16639 fi
16640 fi
16641 ;;
16642 esac
16643 if test "X$found_dir" != "X"; then
16644 break
16645 fi
16646 done
16647 fi
16648 if test "X$found_dir" != "X"; then
16649 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16650 if test "X$found_so" != "X"; then
16651 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16652 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16653 else
16654 haveit=
16655 for x in $ltrpathdirs; do
16656 if test "X$x" = "X$found_dir"; then
16657 haveit=yes
16658 break
16659 fi
16660 done
16661 if test -z "$haveit"; then
16662 ltrpathdirs="$ltrpathdirs $found_dir"
16663 fi
16664 if test "$acl_hardcode_direct" = yes; then
16665 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16666 else
16667 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16668 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16669 haveit=
16670 for x in $rpathdirs; do
16671 if test "X$x" = "X$found_dir"; then
16672 haveit=yes
16673 break
16674 fi
16675 done
16676 if test -z "$haveit"; then
16677 rpathdirs="$rpathdirs $found_dir"
16678 fi
16679 else
16680 haveit=
16681 for x in $LDFLAGS $LIBICONV; do
16682
16683 acl_save_prefix="$prefix"
16684 prefix="$acl_final_prefix"
16685 acl_save_exec_prefix="$exec_prefix"
16686 exec_prefix="$acl_final_exec_prefix"
16687 eval x=\"$x\"
16688 exec_prefix="$acl_save_exec_prefix"
16689 prefix="$acl_save_prefix"
16690
16691 if test "X$x" = "X-L$found_dir"; then
16692 haveit=yes
16693 break
16694 fi
16695 done
16696 if test -z "$haveit"; then
16697 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16698 fi
16699 if test "$acl_hardcode_minus_L" != no; then
16700 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16701 else
16702 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16703 fi
16704 fi
16705 fi
16706 fi
16707 else
16708 if test "X$found_a" != "X"; then
16709 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16710 else
16711 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16712 fi
16713 fi
16714 additional_includedir=
16715 case "$found_dir" in
16716 */$acl_libdirstem | */$acl_libdirstem/)
16717 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16718 LIBICONV_PREFIX="$basedir"
16719 additional_includedir="$basedir/include"
16720 ;;
16721 esac
16722 if test "X$additional_includedir" != "X"; then
16723 if test "X$additional_includedir" != "X/usr/include"; then
16724 haveit=
16725 if test "X$additional_includedir" = "X/usr/local/include"; then
16726 if test -n "$GCC"; then
16727 case $host_os in
16728 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16729 esac
16730 fi
16731 fi
16732 if test -z "$haveit"; then
16733 for x in $CPPFLAGS $INCICONV; do
16734
16735 acl_save_prefix="$prefix"
16736 prefix="$acl_final_prefix"
16737 acl_save_exec_prefix="$exec_prefix"
16738 exec_prefix="$acl_final_exec_prefix"
16739 eval x=\"$x\"
16740 exec_prefix="$acl_save_exec_prefix"
16741 prefix="$acl_save_prefix"
16742
16743 if test "X$x" = "X-I$additional_includedir"; then
16744 haveit=yes
16745 break
16746 fi
16747 done
16748 if test -z "$haveit"; then
16749 if test -d "$additional_includedir"; then
16750 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16751 fi
16752 fi
16753 fi
16754 fi
16755 fi
16756 if test -n "$found_la"; then
16757 save_libdir="$libdir"
16758 case "$found_la" in
16759 */* | *\\*) . "$found_la" ;;
16760 *) . "./$found_la" ;;
16761 esac
16762 libdir="$save_libdir"
16763 for dep in $dependency_libs; do
16764 case "$dep" in
16765 -L*)
16766 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16767 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16768 haveit=
16769 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16770 if test -n "$GCC"; then
16771 case $host_os in
16772 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16773 esac
16774 fi
16775 fi
16776 if test -z "$haveit"; then
16777 haveit=
16778 for x in $LDFLAGS $LIBICONV; do
16779
16780 acl_save_prefix="$prefix"
16781 prefix="$acl_final_prefix"
16782 acl_save_exec_prefix="$exec_prefix"
16783 exec_prefix="$acl_final_exec_prefix"
16784 eval x=\"$x\"
16785 exec_prefix="$acl_save_exec_prefix"
16786 prefix="$acl_save_prefix"
16787
16788 if test "X$x" = "X-L$additional_libdir"; then
16789 haveit=yes
16790 break
16791 fi
16792 done
16793 if test -z "$haveit"; then
16794 if test -d "$additional_libdir"; then
16795 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16796 fi
16797 fi
16798 haveit=
16799 for x in $LDFLAGS $LTLIBICONV; do
16800
16801 acl_save_prefix="$prefix"
16802 prefix="$acl_final_prefix"
16803 acl_save_exec_prefix="$exec_prefix"
16804 exec_prefix="$acl_final_exec_prefix"
16805 eval x=\"$x\"
16806 exec_prefix="$acl_save_exec_prefix"
16807 prefix="$acl_save_prefix"
16808
16809 if test "X$x" = "X-L$additional_libdir"; then
16810 haveit=yes
16811 break
16812 fi
16813 done
16814 if test -z "$haveit"; then
16815 if test -d "$additional_libdir"; then
16816 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16817 fi
16818 fi
16819 fi
16820 fi
16821 ;;
16822 -R*)
16823 dir=`echo "X$dep" | sed -e 's/^X-R//'`
16824 if test "$enable_rpath" != no; then
16825 haveit=
16826 for x in $rpathdirs; do
16827 if test "X$x" = "X$dir"; then
16828 haveit=yes
16829 break
16830 fi
16831 done
16832 if test -z "$haveit"; then
16833 rpathdirs="$rpathdirs $dir"
16834 fi
16835 haveit=
16836 for x in $ltrpathdirs; do
16837 if test "X$x" = "X$dir"; then
16838 haveit=yes
16839 break
16840 fi
16841 done
16842 if test -z "$haveit"; then
16843 ltrpathdirs="$ltrpathdirs $dir"
16844 fi
16845 fi
16846 ;;
16847 -l*)
16848 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16849 ;;
16850 *.la)
16851 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16852 ;;
16853 *)
16854 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16855 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16856 ;;
16857 esac
16858 done
16859 fi
16860 else
16861 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16862 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16863 fi
16864 fi
16865 fi
16866 done
16867 done
16868 if test "X$rpathdirs" != "X"; then
16869 if test -n "$acl_hardcode_libdir_separator"; then
16870 alldirs=
16871 for found_dir in $rpathdirs; do
16872 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16873 done
16874 acl_save_libdir="$libdir"
16875 libdir="$alldirs"
16876 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16877 libdir="$acl_save_libdir"
16878 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16879 else
16880 for found_dir in $rpathdirs; do
16881 acl_save_libdir="$libdir"
16882 libdir="$found_dir"
16883 eval flag=\"$acl_hardcode_libdir_flag_spec\"
16884 libdir="$acl_save_libdir"
16885 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16886 done
16887 fi
16888 fi
16889 if test "X$ltrpathdirs" != "X"; then
16890 for found_dir in $ltrpathdirs; do
16891 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16892 done
16893 fi
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16920$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16921if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
16922 $as_echo_n "(cached) " >&6
16923else
16924 gt_save_LIBS="$LIBS"
16925 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927/* end confdefs.h. */
16928#include <CoreFoundation/CFPreferences.h>
16929int
16930main ()
16931{
16932CFPreferencesCopyAppValue(NULL, NULL)
16933 ;
16934 return 0;
16935}
16936_ACEOF
16937if ac_fn_c_try_link "$LINENO"; then :
16938 gt_cv_func_CFPreferencesCopyAppValue=yes
16939else
16940 gt_cv_func_CFPreferencesCopyAppValue=no
16941fi
16942rm -f core conftest.err conftest.$ac_objext \
16943 conftest$ac_exeext conftest.$ac_ext
16944 LIBS="$gt_save_LIBS"
16945fi
16946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16947$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16948 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16949
16950$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16951
16952 fi
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16954$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
16955if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
16956 $as_echo_n "(cached) " >&6
16957else
16958 gt_save_LIBS="$LIBS"
16959 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961/* end confdefs.h. */
16962#include <CoreFoundation/CFLocale.h>
16963int
16964main ()
16965{
16966CFLocaleCopyCurrent();
16967 ;
16968 return 0;
16969}
16970_ACEOF
16971if ac_fn_c_try_link "$LINENO"; then :
16972 gt_cv_func_CFLocaleCopyCurrent=yes
16973else
16974 gt_cv_func_CFLocaleCopyCurrent=no
16975fi
16976rm -f core conftest.err conftest.$ac_objext \
16977 conftest$ac_exeext conftest.$ac_ext
16978 LIBS="$gt_save_LIBS"
16979fi
16980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
16981$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
16982 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16983
16984$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
16985
16986 fi
16987 INTL_MACOSX_LIBS=
16988 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
16989 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
16990 fi
16991
16992
16993
16994
16995
16996
16997 LIBINTL=
16998 LTLIBINTL=
16999 POSUB=
17000
17001 case " $gt_needs " in
17002 *" need-formatstring-macros "*) gt_api_version=3 ;;
17003 *" need-ngettext "*) gt_api_version=2 ;;
17004 *) gt_api_version=1 ;;
17005 esac
17006 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
17007 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
17008
17009 if test "$USE_NLS" = "yes"; then
17010 gt_use_preinstalled_gnugettext=no
17011
17012
17013 if test $gt_api_version -ge 3; then
17014 gt_revision_test_code='
17015#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17016#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
17017#endif
17018typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
17019'
17020 else
17021 gt_revision_test_code=
17022 fi
17023 if test $gt_api_version -ge 2; then
17024 gt_expression_test_code=' + * ngettext ("", "", 0)'
17025 else
17026 gt_expression_test_code=
17027 fi
17028
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
17030$as_echo_n "checking for GNU gettext in libc... " >&6; }
17031if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
17032 $as_echo_n "(cached) " >&6
17033else
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035/* end confdefs.h. */
17036#include <libintl.h>
17037$gt_revision_test_code
17038extern int _nl_msg_cat_cntr;
17039extern int *_nl_domain_bindings;
17040int
17041main ()
17042{
17043bindtextdomain ("", "");
17044return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
17045 ;
17046 return 0;
17047}
17048_ACEOF
17049if ac_fn_c_try_link "$LINENO"; then :
17050 eval "$gt_func_gnugettext_libc=yes"
17051else
17052 eval "$gt_func_gnugettext_libc=no"
17053fi
17054rm -f core conftest.err conftest.$ac_objext \
17055 conftest$ac_exeext conftest.$ac_ext
17056fi
17057eval ac_res=\$$gt_func_gnugettext_libc
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17059$as_echo "$ac_res" >&6; }
17060
17061 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
17062
17063
17064
17065
17066
17067 am_save_CPPFLAGS="$CPPFLAGS"
17068
17069 for element in $INCICONV; do
17070 haveit=
17071 for x in $CPPFLAGS; do
17072
17073 acl_save_prefix="$prefix"
17074 prefix="$acl_final_prefix"
17075 acl_save_exec_prefix="$exec_prefix"
17076 exec_prefix="$acl_final_exec_prefix"
17077 eval x=\"$x\"
17078 exec_prefix="$acl_save_exec_prefix"
17079 prefix="$acl_save_prefix"
17080
17081 if test "X$x" = "X$element"; then
17082 haveit=yes
17083 break
17084 fi
17085 done
17086 if test -z "$haveit"; then
17087 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17088 fi
17089 done
17090
17091
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17093$as_echo_n "checking for iconv... " >&6; }
17094if test "${am_cv_func_iconv+set}" = set; then :
17095 $as_echo_n "(cached) " >&6
17096else
17097
17098 am_cv_func_iconv="no, consider installing GNU libiconv"
17099 am_cv_lib_iconv=no
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101/* end confdefs.h. */
17102#include <stdlib.h>
17103#include <iconv.h>
17104int
17105main ()
17106{
17107iconv_t cd = iconv_open("","");
17108 iconv(cd,NULL,NULL,NULL,NULL);
17109 iconv_close(cd);
17110 ;
17111 return 0;
17112}
17113_ACEOF
17114if ac_fn_c_try_link "$LINENO"; then :
17115 am_cv_func_iconv=yes
17116fi
17117rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17119 if test "$am_cv_func_iconv" != yes; then
17120 am_save_LIBS="$LIBS"
17121 LIBS="$LIBS $LIBICONV"
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123/* end confdefs.h. */
17124#include <stdlib.h>
17125#include <iconv.h>
17126int
17127main ()
17128{
17129iconv_t cd = iconv_open("","");
17130 iconv(cd,NULL,NULL,NULL,NULL);
17131 iconv_close(cd);
17132 ;
17133 return 0;
17134}
17135_ACEOF
17136if ac_fn_c_try_link "$LINENO"; then :
17137 am_cv_lib_iconv=yes
17138 am_cv_func_iconv=yes
17139fi
17140rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext conftest.$ac_ext
17142 LIBS="$am_save_LIBS"
17143 fi
17144
17145fi
17146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17147$as_echo "$am_cv_func_iconv" >&6; }
17148 if test "$am_cv_func_iconv" = yes; then
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17150$as_echo_n "checking for working iconv... " >&6; }
17151if test "${am_cv_func_iconv_works+set}" = set; then :
17152 $as_echo_n "(cached) " >&6
17153else
17154
17155 am_save_LIBS="$LIBS"
17156 if test $am_cv_lib_iconv = yes; then
17157 LIBS="$LIBS $LIBICONV"
17158 fi
17159 if test "$cross_compiling" = yes; then :
17160 case "$host_os" in
17161 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17162 *) am_cv_func_iconv_works="guessing yes" ;;
17163 esac
17164else
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166/* end confdefs.h. */
17167
17168#include <iconv.h>
17169#include <string.h>
17170int main ()
17171{
17172 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17173 returns. */
17174 {
17175 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17176 if (cd_utf8_to_88591 != (iconv_t)(-1))
17177 {
17178 static const char input[] = "\342\202\254"; /* EURO SIGN */
17179 char buf[10];
17180 const char *inptr = input;
17181 size_t inbytesleft = strlen (input);
17182 char *outptr = buf;
17183 size_t outbytesleft = sizeof (buf);
17184 size_t res = iconv (cd_utf8_to_88591,
17185 (char **) &inptr, &inbytesleft,
17186 &outptr, &outbytesleft);
17187 if (res == 0)
17188 return 1;
17189 }
17190 }
17191#if 0 /* This bug could be worked around by the caller. */
17192 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
17193 {
17194 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17195 if (cd_88591_to_utf8 != (iconv_t)(-1))
17196 {
17197 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17198 char buf[50];
17199 const char *inptr = input;
17200 size_t inbytesleft = strlen (input);
17201 char *outptr = buf;
17202 size_t outbytesleft = sizeof (buf);
17203 size_t res = iconv (cd_88591_to_utf8,
17204 (char **) &inptr, &inbytesleft,
17205 &outptr, &outbytesleft);
17206 if ((int)res > 0)
17207 return 1;
17208 }
17209 }
17210#endif
17211 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17212 provided. */
17213 if (/* Try standardized names. */
17214 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17215 /* Try IRIX, OSF/1 names. */
17216 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17217 /* Try AIX names. */
17218 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17219 /* Try HP-UX names. */
17220 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17221 return 1;
17222 return 0;
17223}
17224_ACEOF
17225if ac_fn_c_try_run "$LINENO"; then :
17226 am_cv_func_iconv_works=yes
17227else
17228 am_cv_func_iconv_works=no
17229fi
17230rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17231 conftest.$ac_objext conftest.beam conftest.$ac_ext
17232fi
17233
17234 LIBS="$am_save_LIBS"
17235
17236fi
17237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17238$as_echo "$am_cv_func_iconv_works" >&6; }
17239 case "$am_cv_func_iconv_works" in
17240 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17241 *) am_func_iconv=yes ;;
17242 esac
17243 else
17244 am_func_iconv=no am_cv_lib_iconv=no
17245 fi
17246 if test "$am_func_iconv" = yes; then
17247
17248$as_echo "#define HAVE_ICONV 1" >>confdefs.h
17249
17250 fi
17251 if test "$am_cv_lib_iconv" = yes; then
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17253$as_echo_n "checking how to link with libiconv... " >&6; }
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17255$as_echo "$LIBICONV" >&6; }
17256 else
17257 CPPFLAGS="$am_save_CPPFLAGS"
17258 LIBICONV=
17259 LTLIBICONV=
17260 fi
17261
17262
17263
17264
17265
17266
17267
17268
17269 use_additional=yes
17270
17271 acl_save_prefix="$prefix"
17272 prefix="$acl_final_prefix"
17273 acl_save_exec_prefix="$exec_prefix"
17274 exec_prefix="$acl_final_exec_prefix"
17275
17276 eval additional_includedir=\"$includedir\"
17277 eval additional_libdir=\"$libdir\"
17278
17279 exec_prefix="$acl_save_exec_prefix"
17280 prefix="$acl_save_prefix"
17281
17282
17283# Check whether --with-libintl-prefix was given.
17284if test "${with_libintl_prefix+set}" = set; then :
17285 withval=$with_libintl_prefix;
17286 if test "X$withval" = "Xno"; then
17287 use_additional=no
17288 else
17289 if test "X$withval" = "X"; then
17290
17291 acl_save_prefix="$prefix"
17292 prefix="$acl_final_prefix"
17293 acl_save_exec_prefix="$exec_prefix"
17294 exec_prefix="$acl_final_exec_prefix"
17295
17296 eval additional_includedir=\"$includedir\"
17297 eval additional_libdir=\"$libdir\"
17298
17299 exec_prefix="$acl_save_exec_prefix"
17300 prefix="$acl_save_prefix"
17301
17302 else
17303 additional_includedir="$withval/include"
17304 additional_libdir="$withval/$acl_libdirstem"
17305 fi
17306 fi
17307
17308fi
17309
17310 LIBINTL=
17311 LTLIBINTL=
17312 INCINTL=
17313 LIBINTL_PREFIX=
17314 rpathdirs=
17315 ltrpathdirs=
17316 names_already_handled=
17317 names_next_round='intl '
17318 while test -n "$names_next_round"; do
17319 names_this_round="$names_next_round"
17320 names_next_round=
17321 for name in $names_this_round; do
17322 already_handled=
17323 for n in $names_already_handled; do
17324 if test "$n" = "$name"; then
17325 already_handled=yes
17326 break
17327 fi
17328 done
17329 if test -z "$already_handled"; then
17330 names_already_handled="$names_already_handled $name"
17331 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17332 eval value=\"\$HAVE_LIB$uppername\"
17333 if test -n "$value"; then
17334 if test "$value" = yes; then
17335 eval value=\"\$LIB$uppername\"
17336 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
17337 eval value=\"\$LTLIB$uppername\"
17338 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
17339 else
17340 :
17341 fi
17342 else
17343 found_dir=
17344 found_la=
17345 found_so=
17346 found_a=
17347 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17348 if test -n "$acl_shlibext"; then
17349 shrext=".$acl_shlibext" # typically: shrext=.so
17350 else
17351 shrext=
17352 fi
17353 if test $use_additional = yes; then
17354 dir="$additional_libdir"
17355 if test -n "$acl_shlibext"; then
17356 if test -f "$dir/$libname$shrext"; then
17357 found_dir="$dir"
17358 found_so="$dir/$libname$shrext"
17359 else
17360 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17361 ver=`(cd "$dir" && \
17362 for f in "$libname$shrext".*; do echo "$f"; done \
17363 | sed -e "s,^$libname$shrext\\\\.,," \
17364 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17365 | sed 1q ) 2>/dev/null`
17366 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17367 found_dir="$dir"
17368 found_so="$dir/$libname$shrext.$ver"
17369 fi
17370 else
17371 eval library_names=\"$acl_library_names_spec\"
17372 for f in $library_names; do
17373 if test -f "$dir/$f"; then
17374 found_dir="$dir"
17375 found_so="$dir/$f"
17376 break
17377 fi
17378 done
17379 fi
17380 fi
17381 fi
17382 if test "X$found_dir" = "X"; then
17383 if test -f "$dir/$libname.$acl_libext"; then
17384 found_dir="$dir"
17385 found_a="$dir/$libname.$acl_libext"
17386 fi
17387 fi
17388 if test "X$found_dir" != "X"; then
17389 if test -f "$dir/$libname.la"; then
17390 found_la="$dir/$libname.la"
17391 fi
17392 fi
17393 fi
17394 if test "X$found_dir" = "X"; then
17395 for x in $LDFLAGS $LTLIBINTL; do
17396
17397 acl_save_prefix="$prefix"
17398 prefix="$acl_final_prefix"
17399 acl_save_exec_prefix="$exec_prefix"
17400 exec_prefix="$acl_final_exec_prefix"
17401 eval x=\"$x\"
17402 exec_prefix="$acl_save_exec_prefix"
17403 prefix="$acl_save_prefix"
17404
17405 case "$x" in
17406 -L*)
17407 dir=`echo "X$x" | sed -e 's/^X-L//'`
17408 if test -n "$acl_shlibext"; then
17409 if test -f "$dir/$libname$shrext"; then
17410 found_dir="$dir"
17411 found_so="$dir/$libname$shrext"
17412 else
17413 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17414 ver=`(cd "$dir" && \
17415 for f in "$libname$shrext".*; do echo "$f"; done \
17416 | sed -e "s,^$libname$shrext\\\\.,," \
17417 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17418 | sed 1q ) 2>/dev/null`
17419 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17420 found_dir="$dir"
17421 found_so="$dir/$libname$shrext.$ver"
17422 fi
17423 else
17424 eval library_names=\"$acl_library_names_spec\"
17425 for f in $library_names; do
17426 if test -f "$dir/$f"; then
17427 found_dir="$dir"
17428 found_so="$dir/$f"
17429 break
17430 fi
17431 done
17432 fi
17433 fi
17434 fi
17435 if test "X$found_dir" = "X"; then
17436 if test -f "$dir/$libname.$acl_libext"; then
17437 found_dir="$dir"
17438 found_a="$dir/$libname.$acl_libext"
17439 fi
17440 fi
17441 if test "X$found_dir" != "X"; then
17442 if test -f "$dir/$libname.la"; then
17443 found_la="$dir/$libname.la"
17444 fi
17445 fi
17446 ;;
17447 esac
17448 if test "X$found_dir" != "X"; then
17449 break
17450 fi
17451 done
17452 fi
17453 if test "X$found_dir" != "X"; then
17454 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17455 if test "X$found_so" != "X"; then
17456 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17457 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17458 else
17459 haveit=
17460 for x in $ltrpathdirs; do
17461 if test "X$x" = "X$found_dir"; then
17462 haveit=yes
17463 break
17464 fi
17465 done
17466 if test -z "$haveit"; then
17467 ltrpathdirs="$ltrpathdirs $found_dir"
17468 fi
17469 if test "$acl_hardcode_direct" = yes; then
17470 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17471 else
17472 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17473 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17474 haveit=
17475 for x in $rpathdirs; do
17476 if test "X$x" = "X$found_dir"; then
17477 haveit=yes
17478 break
17479 fi
17480 done
17481 if test -z "$haveit"; then
17482 rpathdirs="$rpathdirs $found_dir"
17483 fi
17484 else
17485 haveit=
17486 for x in $LDFLAGS $LIBINTL; do
17487
17488 acl_save_prefix="$prefix"
17489 prefix="$acl_final_prefix"
17490 acl_save_exec_prefix="$exec_prefix"
17491 exec_prefix="$acl_final_exec_prefix"
17492 eval x=\"$x\"
17493 exec_prefix="$acl_save_exec_prefix"
17494 prefix="$acl_save_prefix"
17495
17496 if test "X$x" = "X-L$found_dir"; then
17497 haveit=yes
17498 break
17499 fi
17500 done
17501 if test -z "$haveit"; then
17502 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17503 fi
17504 if test "$acl_hardcode_minus_L" != no; then
17505 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17506 else
17507 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17508 fi
17509 fi
17510 fi
17511 fi
17512 else
17513 if test "X$found_a" != "X"; then
17514 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17515 else
17516 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17517 fi
17518 fi
17519 additional_includedir=
17520 case "$found_dir" in
17521 */$acl_libdirstem | */$acl_libdirstem/)
17522 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17523 LIBINTL_PREFIX="$basedir"
17524 additional_includedir="$basedir/include"
17525 ;;
17526 esac
17527 if test "X$additional_includedir" != "X"; then
17528 if test "X$additional_includedir" != "X/usr/include"; then
17529 haveit=
17530 if test "X$additional_includedir" = "X/usr/local/include"; then
17531 if test -n "$GCC"; then
17532 case $host_os in
17533 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17534 esac
17535 fi
17536 fi
17537 if test -z "$haveit"; then
17538 for x in $CPPFLAGS $INCINTL; do
17539
17540 acl_save_prefix="$prefix"
17541 prefix="$acl_final_prefix"
17542 acl_save_exec_prefix="$exec_prefix"
17543 exec_prefix="$acl_final_exec_prefix"
17544 eval x=\"$x\"
17545 exec_prefix="$acl_save_exec_prefix"
17546 prefix="$acl_save_prefix"
17547
17548 if test "X$x" = "X-I$additional_includedir"; then
17549 haveit=yes
17550 break
17551 fi
17552 done
17553 if test -z "$haveit"; then
17554 if test -d "$additional_includedir"; then
17555 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17556 fi
17557 fi
17558 fi
17559 fi
17560 fi
17561 if test -n "$found_la"; then
17562 save_libdir="$libdir"
17563 case "$found_la" in
17564 */* | *\\*) . "$found_la" ;;
17565 *) . "./$found_la" ;;
17566 esac
17567 libdir="$save_libdir"
17568 for dep in $dependency_libs; do
17569 case "$dep" in
17570 -L*)
17571 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17572 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17573 haveit=
17574 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17575 if test -n "$GCC"; then
17576 case $host_os in
17577 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17578 esac
17579 fi
17580 fi
17581 if test -z "$haveit"; then
17582 haveit=
17583 for x in $LDFLAGS $LIBINTL; do
17584
17585 acl_save_prefix="$prefix"
17586 prefix="$acl_final_prefix"
17587 acl_save_exec_prefix="$exec_prefix"
17588 exec_prefix="$acl_final_exec_prefix"
17589 eval x=\"$x\"
17590 exec_prefix="$acl_save_exec_prefix"
17591 prefix="$acl_save_prefix"
17592
17593 if test "X$x" = "X-L$additional_libdir"; then
17594 haveit=yes
17595 break
17596 fi
17597 done
17598 if test -z "$haveit"; then
17599 if test -d "$additional_libdir"; then
17600 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17601 fi
17602 fi
17603 haveit=
17604 for x in $LDFLAGS $LTLIBINTL; do
17605
17606 acl_save_prefix="$prefix"
17607 prefix="$acl_final_prefix"
17608 acl_save_exec_prefix="$exec_prefix"
17609 exec_prefix="$acl_final_exec_prefix"
17610 eval x=\"$x\"
17611 exec_prefix="$acl_save_exec_prefix"
17612 prefix="$acl_save_prefix"
17613
17614 if test "X$x" = "X-L$additional_libdir"; then
17615 haveit=yes
17616 break
17617 fi
17618 done
17619 if test -z "$haveit"; then
17620 if test -d "$additional_libdir"; then
17621 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17622 fi
17623 fi
17624 fi
17625 fi
17626 ;;
17627 -R*)
17628 dir=`echo "X$dep" | sed -e 's/^X-R//'`
17629 if test "$enable_rpath" != no; then
17630 haveit=
17631 for x in $rpathdirs; do
17632 if test "X$x" = "X$dir"; then
17633 haveit=yes
17634 break
17635 fi
17636 done
17637 if test -z "$haveit"; then
17638 rpathdirs="$rpathdirs $dir"
17639 fi
17640 haveit=
17641 for x in $ltrpathdirs; do
17642 if test "X$x" = "X$dir"; then
17643 haveit=yes
17644 break
17645 fi
17646 done
17647 if test -z "$haveit"; then
17648 ltrpathdirs="$ltrpathdirs $dir"
17649 fi
17650 fi
17651 ;;
17652 -l*)
17653 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17654 ;;
17655 *.la)
17656 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17657 ;;
17658 *)
17659 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17660 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17661 ;;
17662 esac
17663 done
17664 fi
17665 else
17666 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17667 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17668 fi
17669 fi
17670 fi
17671 done
17672 done
17673 if test "X$rpathdirs" != "X"; then
17674 if test -n "$acl_hardcode_libdir_separator"; then
17675 alldirs=
17676 for found_dir in $rpathdirs; do
17677 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17678 done
17679 acl_save_libdir="$libdir"
17680 libdir="$alldirs"
17681 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17682 libdir="$acl_save_libdir"
17683 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17684 else
17685 for found_dir in $rpathdirs; do
17686 acl_save_libdir="$libdir"
17687 libdir="$found_dir"
17688 eval flag=\"$acl_hardcode_libdir_flag_spec\"
17689 libdir="$acl_save_libdir"
17690 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17691 done
17692 fi
17693 fi
17694 if test "X$ltrpathdirs" != "X"; then
17695 for found_dir in $ltrpathdirs; do
17696 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17697 done
17698 fi
17699
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17701$as_echo_n "checking for GNU gettext in libintl... " >&6; }
17702if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
17703 $as_echo_n "(cached) " >&6
17704else
17705 gt_save_CPPFLAGS="$CPPFLAGS"
17706 CPPFLAGS="$CPPFLAGS $INCINTL"
17707 gt_save_LIBS="$LIBS"
17708 LIBS="$LIBS $LIBINTL"
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710/* end confdefs.h. */
17711#include <libintl.h>
17712$gt_revision_test_code
17713extern int _nl_msg_cat_cntr;
17714extern
17715#ifdef __cplusplus
17716"C"
17717#endif
17718const char *_nl_expand_alias (const char *);
17719int
17720main ()
17721{
17722bindtextdomain ("", "");
17723return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17724 ;
17725 return 0;
17726}
17727_ACEOF
17728if ac_fn_c_try_link "$LINENO"; then :
17729 eval "$gt_func_gnugettext_libintl=yes"
17730else
17731 eval "$gt_func_gnugettext_libintl=no"
17732fi
17733rm -f core conftest.err conftest.$ac_objext \
17734 conftest$ac_exeext conftest.$ac_ext
17735 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17736 LIBS="$LIBS $LIBICONV"
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738/* end confdefs.h. */
17739#include <libintl.h>
17740$gt_revision_test_code
17741extern int _nl_msg_cat_cntr;
17742extern
17743#ifdef __cplusplus
17744"C"
17745#endif
17746const char *_nl_expand_alias (const char *);
17747int
17748main ()
17749{
17750bindtextdomain ("", "");
17751return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17752 ;
17753 return 0;
17754}
17755_ACEOF
17756if ac_fn_c_try_link "$LINENO"; then :
17757 LIBINTL="$LIBINTL $LIBICONV"
17758 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17759 eval "$gt_func_gnugettext_libintl=yes"
17760
17761fi
17762rm -f core conftest.err conftest.$ac_objext \
17763 conftest$ac_exeext conftest.$ac_ext
17764 fi
17765 CPPFLAGS="$gt_save_CPPFLAGS"
17766 LIBS="$gt_save_LIBS"
17767fi
17768eval ac_res=\$$gt_func_gnugettext_libintl
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17770$as_echo "$ac_res" >&6; }
17771 fi
17772
17773 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17774 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17775 && test "$PACKAGE" != gettext-runtime \
17776 && test "$PACKAGE" != gettext-tools; }; then
17777 gt_use_preinstalled_gnugettext=yes
17778 else
17779 LIBINTL=
17780 LTLIBINTL=
17781 INCINTL=
17782 fi
17783
17784
17785
17786 if test -n "$INTL_MACOSX_LIBS"; then
17787 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17788 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17789 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17790 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17791 fi
17792 fi
17793
17794 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17795 || test "$nls_cv_use_gnu_gettext" = "yes"; then
17796
17797$as_echo "#define ENABLE_NLS 1" >>confdefs.h
17798
17799 else
17800 USE_NLS=no
17801 fi
17802 fi
17803
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17805$as_echo_n "checking whether to use NLS... " >&6; }
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17807$as_echo "$USE_NLS" >&6; }
17808 if test "$USE_NLS" = "yes"; then
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17810$as_echo_n "checking where the gettext function comes from... " >&6; }
17811 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17812 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17813 gt_source="external libintl"
17814 else
17815 gt_source="libc"
17816 fi
17817 else
17818 gt_source="included intl directory"
17819 fi
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17821$as_echo "$gt_source" >&6; }
17822 fi
17823
17824 if test "$USE_NLS" = "yes"; then
17825
17826 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17827 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17829$as_echo_n "checking how to link with libintl... " >&6; }
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17831$as_echo "$LIBINTL" >&6; }
17832
17833 for element in $INCINTL; do
17834 haveit=
17835 for x in $CPPFLAGS; do
17836
17837 acl_save_prefix="$prefix"
17838 prefix="$acl_final_prefix"
17839 acl_save_exec_prefix="$exec_prefix"
17840 exec_prefix="$acl_final_exec_prefix"
17841 eval x=\"$x\"
17842 exec_prefix="$acl_save_exec_prefix"
17843 prefix="$acl_save_prefix"
17844
17845 if test "X$x" = "X$element"; then
17846 haveit=yes
17847 break
17848 fi
17849 done
17850 if test -z "$haveit"; then
17851 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17852 fi
17853 done
17854
17855 fi
17856
17857
17858$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17859
17860
17861$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17862
17863 fi
17864
17865 POSUB=po
17866 fi
17867
17868
17869
17870 INTLLIBS="$LIBINTL"
17871
17872
17873
17874
17875
17876
17877po_makefile_in=po/Makefile.in
17878have_po="yes"
17879
17880
17881
17882if test "x${POSUB}" = "x" ; then
17883 have_po="no"
17884fi
17885
17886 if test "x${have_po}" = "xyes"; then
17887 HAVE_PO_TRUE=
17888 HAVE_PO_FALSE='#'
17889else
17890 HAVE_PO_TRUE='#'
17891 HAVE_PO_FALSE=
17892fi
17893
17894
17895
17896
17897default_max="4096"
17898ac_ext=c
17899ac_cpp='$CPP $CPPFLAGS'
17900ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17901ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17902ac_compiler_gnu=$ac_cv_c_compiler_gnu
17903
17904
17905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
17906$as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
17907cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908/* end confdefs.h. */
17909
17910#include <limits.h>
17911
17912int
17913main ()
17914{
17915
17916int i = PATH_MAX;
17917
17918 ;
17919 return 0;
17920}
17921_ACEOF
17922if ac_fn_c_try_compile "$LINENO"; then :
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17924$as_echo "yes" >&6; }
17925else
17926
17927
17928cat >>confdefs.h <<_ACEOF
17929#define PATH_MAX ${default_max}
17930_ACEOF
17931
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
17933$as_echo "no: using ${default_max}" >&6; }
17934
17935fi
17936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937
17938ac_ext=c
17939ac_cpp='$CPP $CPPFLAGS'
17940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942ac_compiler_gnu=$ac_cv_c_compiler_gnu
17943
17944
17945
17946
17947elementary_base_dir=".elementary"
17948
17949# Check whether --with-elementary-base-dir was given.
17950if test "${with_elementary_base_dir+set}" = set; then :
17951 withval=$with_elementary_base_dir; elementary_base_dir=${withval}
17952else
17953 elementary_base_dir=".elementary"
17954fi
17955
17956
17957{ $as_echo "$as_me:${as_lineno-$LINENO}: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&5
17958$as_echo "$as_me: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&6;}
17959
17960cat >>confdefs.h <<_ACEOF
17961#define ELEMENTARY_BASE_DIR "${elementary_base_dir}"
17962_ACEOF
17963
17964
17965### Build and install examples
17966
17967
17968
17969# Check whether --enable-build-examples was given.
17970if test "${enable_build_examples+set}" = set; then :
17971 enableval=$enable_build_examples;
17972 if test "x${enableval}" = "xyes" ; then
17973 _efl_enable_build_examples="yes"
17974 else
17975 _efl_enable_build_examples="no"
17976 fi
17977
17978else
17979 _efl_enable_build_examples="no"
17980fi
17981
17982
17983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
17984$as_echo_n "checking whether examples are built... " >&6; }
17985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
17986$as_echo "${_efl_enable_build_examples}" >&6; }
17987
17988 if test "x${_efl_enable_build_examples}" = "xyes"; then
17989 EFL_BUILD_EXAMPLES_TRUE=
17990 EFL_BUILD_EXAMPLES_FALSE='#'
17991else
17992 EFL_BUILD_EXAMPLES_TRUE='#'
17993 EFL_BUILD_EXAMPLES_FALSE=
17994fi
17995
17996
17997if test "x$_efl_enable_build_examples" = "xyes"; then :
17998 enable_build_examples="yes"
17999else
18000 enable_build_examples="no"
18001fi
18002
18003
18004
18005
18006# Check whether --enable-install-examples was given.
18007if test "${enable_install_examples+set}" = set; then :
18008 enableval=$enable_install_examples;
18009 if test "x${enableval}" = "xyes" ; then
18010 _efl_enable_install_examples="yes"
18011 else
18012 _efl_enable_install_examples="no"
18013 fi
18014
18015else
18016 _efl_enable_install_examples="no"
18017fi
18018
18019
18020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
18021$as_echo_n "checking whether examples are installed... " >&6; }
18022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
18023$as_echo "${_efl_enable_install_examples}" >&6; }
18024
18025 if test "x${_efl_enable_install_examples}" = "xyes"; then
18026 EFL_INSTALL_EXAMPLES_TRUE=
18027 EFL_INSTALL_EXAMPLES_FALSE='#'
18028else
18029 EFL_INSTALL_EXAMPLES_TRUE='#'
18030 EFL_INSTALL_EXAMPLES_FALSE=
18031fi
18032
18033
18034if test "x$_efl_enable_install_examples" = "xyes"; then :
18035 enable_install_examples="yes"
18036else
18037 enable_install_examples="no"
18038fi
18039
18040
18041
18042ac_config_files="$ac_config_files Makefile elementary.spec elementary.pc doc/Makefile doc/Doxyfile doc/widgets/Makefile src/Makefile src/lib/Makefile src/lib/Elementary.h src/bin/Makefile src/modules/Makefile src/modules/access_output/Makefile src/modules/datetime_input_ctxpopup/Makefile src/modules/test_entry/Makefile src/modules/test_map/Makefile src/edje_externals/Makefile src/examples/Makefile data/Makefile data/themes/Makefile data/images/Makefile data/objects/Makefile data/desktop/Makefile data/edje_externals/Makefile config/Makefile config/default/Makefile config/standard/Makefile config/illume/Makefile $po_makefile_in"
18043
18044cat >confcache <<\_ACEOF
18045# This file is a shell script that caches the results of configure
18046# tests run on this system so they can be shared between configure
18047# scripts and configure runs, see configure's option --config-cache.
18048# It is not useful on other systems. If it contains results you don't
18049# want to keep, you may remove or edit it.
18050#
18051# config.status only pays attention to the cache file if you give it
18052# the --recheck option to rerun configure.
18053#
18054# `ac_cv_env_foo' variables (set or unset) will be overridden when
18055# loading this file, other *unset* `ac_cv_foo' will be assigned the
18056# following values.
18057
18058_ACEOF
18059
18060# The following way of writing the cache mishandles newlines in values,
18061# but we know of no workaround that is simple, portable, and efficient.
18062# So, we kill variables containing newlines.
18063# Ultrix sh set writes to stderr and can't be redirected directly,
18064# and sets the high bit in the cache file unless we assign to the vars.
18065(
18066 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18067 eval ac_val=\$$ac_var
18068 case $ac_val in #(
18069 *${as_nl}*)
18070 case $ac_var in #(
18071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18072$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18073 esac
18074 case $ac_var in #(
18075 _ | IFS | as_nl) ;; #(
18076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18077 *) { eval $ac_var=; unset $ac_var;} ;;
18078 esac ;;
18079 esac
18080 done
18081
18082 (set) 2>&1 |
18083 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18084 *${as_nl}ac_space=\ *)
18085 # `set' does not quote correctly, so add quotes: double-quote
18086 # substitution turns \\\\ into \\, and sed turns \\ into \.
18087 sed -n \
18088 "s/'/'\\\\''/g;
18089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18090 ;; #(
18091 *)
18092 # `set' quotes correctly as required by POSIX, so do not add quotes.
18093 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18094 ;;
18095 esac |
18096 sort
18097) |
18098 sed '
18099 /^ac_cv_env_/b end
18100 t clear
18101 :clear
18102 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18103 t end
18104 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18105 :end' >>confcache
18106if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18107 if test -w "$cache_file"; then
18108 test "x$cache_file" != "x/dev/null" &&
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18110$as_echo "$as_me: updating cache $cache_file" >&6;}
18111 cat confcache >$cache_file
18112 else
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18114$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18115 fi
18116fi
18117rm -f confcache
18118
18119test "x$prefix" = xNONE && prefix=$ac_default_prefix
18120# Let make expand exec_prefix.
18121test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18122
18123DEFS=-DHAVE_CONFIG_H
18124
18125ac_libobjs=
18126ac_ltlibobjs=
18127U=
18128for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18129 # 1. Remove the extension, and $U if already installed.
18130 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18131 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18132 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18133 # will be set to the directory where LIBOBJS objects are built.
18134 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18135 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18136done
18137LIBOBJS=$ac_libobjs
18138
18139LTLIBOBJS=$ac_ltlibobjs
18140
18141
18142 if test -n "$EXEEXT"; then
18143 am__EXEEXT_TRUE=
18144 am__EXEEXT_FALSE='#'
18145else
18146 am__EXEEXT_TRUE='#'
18147 am__EXEEXT_FALSE=
18148fi
18149
18150if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18151 as_fn_error $? "conditional \"AMDEP\" was never defined.
18152Usually this means the macro was only invoked conditionally." "$LINENO" 5
18153fi
18154if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18155 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18156Usually this means the macro was only invoked conditionally." "$LINENO" 5
18157fi
18158
18159if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18160 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18161Usually this means the macro was only invoked conditionally." "$LINENO" 5
18162fi
18163if test -z "${BUILD_RUN_TRUE}" && test -z "${BUILD_RUN_FALSE}"; then
18164 as_fn_error $? "conditional \"BUILD_RUN\" was never defined.
18165Usually this means the macro was only invoked conditionally." "$LINENO" 5
18166fi
18167if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
18168 as_fn_error $? "conditional \"BUILD_MODULES\" was never defined.
18169Usually this means the macro was only invoked conditionally." "$LINENO" 5
18170fi
18171if test -z "${BUILD_QUICKLAUNCH_TRUE}" && test -z "${BUILD_QUICKLAUNCH_FALSE}"; then
18172 as_fn_error $? "conditional \"BUILD_QUICKLAUNCH\" was never defined.
18173Usually this means the macro was only invoked conditionally." "$LINENO" 5
18174fi
18175if test -z "${ELEMENTARY_WINDOWS_BUILD_TRUE}" && test -z "${ELEMENTARY_WINDOWS_BUILD_FALSE}"; then
18176 as_fn_error $? "conditional \"ELEMENTARY_WINDOWS_BUILD\" was never defined.
18177Usually this means the macro was only invoked conditionally." "$LINENO" 5
18178fi
18179if test -z "${HAVE_ECORE_IMF_TRUE}" && test -z "${HAVE_ECORE_IMF_FALSE}"; then
18180 as_fn_error $? "conditional \"HAVE_ECORE_IMF\" was never defined.
18181Usually this means the macro was only invoked conditionally." "$LINENO" 5
18182fi
18183if test -z "${HAVE_ECORE_CON_TRUE}" && test -z "${HAVE_ECORE_CON_FALSE}"; then
18184 as_fn_error $? "conditional \"HAVE_ECORE_CON\" was never defined.
18185Usually this means the macro was only invoked conditionally." "$LINENO" 5
18186fi
18187if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
18188 as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
18189Usually this means the macro was only invoked conditionally." "$LINENO" 5
18190fi
18191if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
18192 as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
18193Usually this means the macro was only invoked conditionally." "$LINENO" 5
18194fi
18195if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
18196 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
18197Usually this means the macro was only invoked conditionally." "$LINENO" 5
18198fi
18199if test -z "${BUILD_ELEMENTARY_TEST_TRUE}" && test -z "${BUILD_ELEMENTARY_TEST_FALSE}"; then
18200 as_fn_error $? "conditional \"BUILD_ELEMENTARY_TEST\" was never defined.
18201Usually this means the macro was only invoked conditionally." "$LINENO" 5
18202fi
18203if test -z "${BUILD_ELEMENTARY_CONFIG_TRUE}" && test -z "${BUILD_ELEMENTARY_CONFIG_FALSE}"; then
18204 as_fn_error $? "conditional \"BUILD_ELEMENTARY_CONFIG\" was never defined.
18205Usually this means the macro was only invoked conditionally." "$LINENO" 5
18206fi
18207if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
18208 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
18209Usually this means the macro was only invoked conditionally." "$LINENO" 5
18210fi
18211if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
18212 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
18213Usually this means the macro was only invoked conditionally." "$LINENO" 5
18214fi
18215if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
18216 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
18217Usually this means the macro was only invoked conditionally." "$LINENO" 5
18218fi
18219
18220: ${CONFIG_STATUS=./config.status}
18221ac_write_fail=0
18222ac_clean_files_save=$ac_clean_files
18223ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18224{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18225$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18226as_write_fail=0
18227cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18228#! $SHELL
18229# Generated by $as_me.
18230# Run this file to recreate the current configuration.
18231# Compiler output produced by configure, useful for debugging
18232# configure, is in config.log if it exists.
18233
18234debug=false
18235ac_cs_recheck=false
18236ac_cs_silent=false
18237
18238SHELL=\${CONFIG_SHELL-$SHELL}
18239export SHELL
18240_ASEOF
18241cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18242## -------------------- ##
18243## M4sh Initialization. ##
18244## -------------------- ##
18245
18246# Be more Bourne compatible
18247DUALCASE=1; export DUALCASE # for MKS sh
18248if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18249 emulate sh
18250 NULLCMD=:
18251 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18252 # is contrary to our usage. Disable this feature.
18253 alias -g '${1+"$@"}'='"$@"'
18254 setopt NO_GLOB_SUBST
18255else
18256 case `(set -o) 2>/dev/null` in #(
18257 *posix*) :
18258 set -o posix ;; #(
18259 *) :
18260 ;;
18261esac
18262fi
18263
18264
18265as_nl='
18266'
18267export as_nl
18268# Printing a long string crashes Solaris 7 /usr/bin/printf.
18269as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18270as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18271as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18272# Prefer a ksh shell builtin over an external printf program on Solaris,
18273# but without wasting forks for bash or zsh.
18274if test -z "$BASH_VERSION$ZSH_VERSION" \
18275 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18276 as_echo='print -r --'
18277 as_echo_n='print -rn --'
18278elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18279 as_echo='printf %s\n'
18280 as_echo_n='printf %s'
18281else
18282 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18283 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18284 as_echo_n='/usr/ucb/echo -n'
18285 else
18286 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18287 as_echo_n_body='eval
18288 arg=$1;
18289 case $arg in #(
18290 *"$as_nl"*)
18291 expr "X$arg" : "X\\(.*\\)$as_nl";
18292 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18293 esac;
18294 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18295 '
18296 export as_echo_n_body
18297 as_echo_n='sh -c $as_echo_n_body as_echo'
18298 fi
18299 export as_echo_body
18300 as_echo='sh -c $as_echo_body as_echo'
18301fi
18302
18303# The user is always right.
18304if test "${PATH_SEPARATOR+set}" != set; then
18305 PATH_SEPARATOR=:
18306 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18307 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18308 PATH_SEPARATOR=';'
18309 }
18310fi
18311
18312
18313# IFS
18314# We need space, tab and new line, in precisely that order. Quoting is
18315# there to prevent editors from complaining about space-tab.
18316# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18317# splitting by setting IFS to empty value.)
18318IFS=" "" $as_nl"
18319
18320# Find who we are. Look in the path if we contain no directory separator.
18321case $0 in #((
18322 *[\\/]* ) as_myself=$0 ;;
18323 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18324for as_dir in $PATH
18325do
18326 IFS=$as_save_IFS
18327 test -z "$as_dir" && as_dir=.
18328 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18329 done
18330IFS=$as_save_IFS
18331
18332 ;;
18333esac
18334# We did not find ourselves, most probably we were run as `sh COMMAND'
18335# in which case we are not to be found in the path.
18336if test "x$as_myself" = x; then
18337 as_myself=$0
18338fi
18339if test ! -f "$as_myself"; then
18340 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18341 exit 1
18342fi
18343
18344# Unset variables that we do not need and which cause bugs (e.g. in
18345# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18346# suppresses any "Segmentation fault" message there. '((' could
18347# trigger a bug in pdksh 5.2.14.
18348for as_var in BASH_ENV ENV MAIL MAILPATH
18349do eval test x\${$as_var+set} = xset \
18350 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18351done
18352PS1='$ '
18353PS2='> '
18354PS4='+ '
18355
18356# NLS nuisances.
18357LC_ALL=C
18358export LC_ALL
18359LANGUAGE=C
18360export LANGUAGE
18361
18362# CDPATH.
18363(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18364
18365
18366# as_fn_error STATUS ERROR [LINENO LOG_FD]
18367# ----------------------------------------
18368# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18369# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18370# script with STATUS, using 1 if that was 0.
18371as_fn_error ()
18372{
18373 as_status=$1; test $as_status -eq 0 && as_status=1
18374 if test "$4"; then
18375 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18377 fi
18378 $as_echo "$as_me: error: $2" >&2
18379 as_fn_exit $as_status
18380} # as_fn_error
18381
18382
18383# as_fn_set_status STATUS
18384# -----------------------
18385# Set $? to STATUS, without forking.
18386as_fn_set_status ()
18387{
18388 return $1
18389} # as_fn_set_status
18390
18391# as_fn_exit STATUS
18392# -----------------
18393# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18394as_fn_exit ()
18395{
18396 set +e
18397 as_fn_set_status $1
18398 exit $1
18399} # as_fn_exit
18400
18401# as_fn_unset VAR
18402# ---------------
18403# Portably unset VAR.
18404as_fn_unset ()
18405{
18406 { eval $1=; unset $1;}
18407}
18408as_unset=as_fn_unset
18409# as_fn_append VAR VALUE
18410# ----------------------
18411# Append the text in VALUE to the end of the definition contained in VAR. Take
18412# advantage of any shell optimizations that allow amortized linear growth over
18413# repeated appends, instead of the typical quadratic growth present in naive
18414# implementations.
18415if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18416 eval 'as_fn_append ()
18417 {
18418 eval $1+=\$2
18419 }'
18420else
18421 as_fn_append ()
18422 {
18423 eval $1=\$$1\$2
18424 }
18425fi # as_fn_append
18426
18427# as_fn_arith ARG...
18428# ------------------
18429# Perform arithmetic evaluation on the ARGs, and store the result in the
18430# global $as_val. Take advantage of shells that can avoid forks. The arguments
18431# must be portable across $(()) and expr.
18432if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18433 eval 'as_fn_arith ()
18434 {
18435 as_val=$(( $* ))
18436 }'
18437else
18438 as_fn_arith ()
18439 {
18440 as_val=`expr "$@" || test $? -eq 1`
18441 }
18442fi # as_fn_arith
18443
18444
18445if expr a : '\(a\)' >/dev/null 2>&1 &&
18446 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18447 as_expr=expr
18448else
18449 as_expr=false
18450fi
18451
18452if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18453 as_basename=basename
18454else
18455 as_basename=false
18456fi
18457
18458if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18459 as_dirname=dirname
18460else
18461 as_dirname=false
18462fi
18463
18464as_me=`$as_basename -- "$0" ||
18465$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18466 X"$0" : 'X\(//\)$' \| \
18467 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18468$as_echo X/"$0" |
18469 sed '/^.*\/\([^/][^/]*\)\/*$/{
18470 s//\1/
18471 q
18472 }
18473 /^X\/\(\/\/\)$/{
18474 s//\1/
18475 q
18476 }
18477 /^X\/\(\/\).*/{
18478 s//\1/
18479 q
18480 }
18481 s/.*/./; q'`
18482
18483# Avoid depending upon Character Ranges.
18484as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18485as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18486as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18487as_cr_digits='0123456789'
18488as_cr_alnum=$as_cr_Letters$as_cr_digits
18489
18490ECHO_C= ECHO_N= ECHO_T=
18491case `echo -n x` in #(((((
18492-n*)
18493 case `echo 'xy\c'` in
18494 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18495 xy) ECHO_C='\c';;
18496 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18497 ECHO_T=' ';;
18498 esac;;
18499*)
18500 ECHO_N='-n';;
18501esac
18502
18503rm -f conf$$ conf$$.exe conf$$.file
18504if test -d conf$$.dir; then
18505 rm -f conf$$.dir/conf$$.file
18506else
18507 rm -f conf$$.dir
18508 mkdir conf$$.dir 2>/dev/null
18509fi
18510if (echo >conf$$.file) 2>/dev/null; then
18511 if ln -s conf$$.file conf$$ 2>/dev/null; then
18512 as_ln_s='ln -s'
18513 # ... but there are two gotchas:
18514 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18515 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18516 # In both cases, we have to default to `cp -p'.
18517 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18518 as_ln_s='cp -p'
18519 elif ln conf$$.file conf$$ 2>/dev/null; then
18520 as_ln_s=ln
18521 else
18522 as_ln_s='cp -p'
18523 fi
18524else
18525 as_ln_s='cp -p'
18526fi
18527rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18528rmdir conf$$.dir 2>/dev/null
18529
18530
18531# as_fn_mkdir_p
18532# -------------
18533# Create "$as_dir" as a directory, including parents if necessary.
18534as_fn_mkdir_p ()
18535{
18536
18537 case $as_dir in #(
18538 -*) as_dir=./$as_dir;;
18539 esac
18540 test -d "$as_dir" || eval $as_mkdir_p || {
18541 as_dirs=
18542 while :; do
18543 case $as_dir in #(
18544 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18545 *) as_qdir=$as_dir;;
18546 esac
18547 as_dirs="'$as_qdir' $as_dirs"
18548 as_dir=`$as_dirname -- "$as_dir" ||
18549$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18550 X"$as_dir" : 'X\(//\)[^/]' \| \
18551 X"$as_dir" : 'X\(//\)$' \| \
18552 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18553$as_echo X"$as_dir" |
18554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18555 s//\1/
18556 q
18557 }
18558 /^X\(\/\/\)[^/].*/{
18559 s//\1/
18560 q
18561 }
18562 /^X\(\/\/\)$/{
18563 s//\1/
18564 q
18565 }
18566 /^X\(\/\).*/{
18567 s//\1/
18568 q
18569 }
18570 s/.*/./; q'`
18571 test -d "$as_dir" && break
18572 done
18573 test -z "$as_dirs" || eval "mkdir $as_dirs"
18574 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18575
18576
18577} # as_fn_mkdir_p
18578if mkdir -p . 2>/dev/null; then
18579 as_mkdir_p='mkdir -p "$as_dir"'
18580else
18581 test -d ./-p && rmdir ./-p
18582 as_mkdir_p=false
18583fi
18584
18585if test -x / >/dev/null 2>&1; then
18586 as_test_x='test -x'
18587else
18588 if ls -dL / >/dev/null 2>&1; then
18589 as_ls_L_option=L
18590 else
18591 as_ls_L_option=
18592 fi
18593 as_test_x='
18594 eval sh -c '\''
18595 if test -d "$1"; then
18596 test -d "$1/.";
18597 else
18598 case $1 in #(
18599 -*)set "./$1";;
18600 esac;
18601 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18602 ???[sx]*):;;*)false;;esac;fi
18603 '\'' sh
18604 '
18605fi
18606as_executable_p=$as_test_x
18607
18608# Sed expression to map a string onto a valid CPP name.
18609as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18610
18611# Sed expression to map a string onto a valid variable name.
18612as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18613
18614
18615exec 6>&1
18616## ----------------------------------- ##
18617## Main body of $CONFIG_STATUS script. ##
18618## ----------------------------------- ##
18619_ASEOF
18620test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18621
18622cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18623# Save the log message, to keep $0 and so on meaningful, and to
18624# report actual input values of CONFIG_FILES etc. instead of their
18625# values after options handling.
18626ac_log="
18627This file was extended by elementary $as_me 1.0.0-beta, which was
18628generated by GNU Autoconf 2.67. Invocation command line was
18629
18630 CONFIG_FILES = $CONFIG_FILES
18631 CONFIG_HEADERS = $CONFIG_HEADERS
18632 CONFIG_LINKS = $CONFIG_LINKS
18633 CONFIG_COMMANDS = $CONFIG_COMMANDS
18634 $ $0 $@
18635
18636on `(hostname || uname -n) 2>/dev/null | sed 1q`
18637"
18638
18639_ACEOF
18640
18641case $ac_config_files in *"
18642"*) set x $ac_config_files; shift; ac_config_files=$*;;
18643esac
18644
18645case $ac_config_headers in *"
18646"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18647esac
18648
18649
18650cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18651# Files that config.status was made for.
18652config_files="$ac_config_files"
18653config_headers="$ac_config_headers"
18654config_commands="$ac_config_commands"
18655
18656_ACEOF
18657
18658cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18659ac_cs_usage="\
18660\`$as_me' instantiates files and other configuration actions
18661from templates according to the current configuration. Unless the files
18662and actions are specified as TAGs, all are instantiated by default.
18663
18664Usage: $0 [OPTION]... [TAG]...
18665
18666 -h, --help print this help, then exit
18667 -V, --version print version number and configuration settings, then exit
18668 --config print configuration, then exit
18669 -q, --quiet, --silent
18670 do not print progress messages
18671 -d, --debug don't remove temporary files
18672 --recheck update $as_me by reconfiguring in the same conditions
18673 --file=FILE[:TEMPLATE]
18674 instantiate the configuration file FILE
18675 --header=FILE[:TEMPLATE]
18676 instantiate the configuration header FILE
18677
18678Configuration files:
18679$config_files
18680
18681Configuration headers:
18682$config_headers
18683
18684Configuration commands:
18685$config_commands
18686
18687Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18688
18689_ACEOF
18690cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18691ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18692ac_cs_version="\\
18693elementary config.status 1.0.0-beta
18694configured by $0, generated by GNU Autoconf 2.67,
18695 with options \\"\$ac_cs_config\\"
18696
18697Copyright (C) 2010 Free Software Foundation, Inc.
18698This config.status script is free software; the Free Software Foundation
18699gives unlimited permission to copy, distribute and modify it."
18700
18701ac_pwd='$ac_pwd'
18702srcdir='$srcdir'
18703INSTALL='$INSTALL'
18704MKDIR_P='$MKDIR_P'
18705AWK='$AWK'
18706test -n "\$AWK" || AWK=awk
18707_ACEOF
18708
18709cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18710# The default lists apply if the user does not specify any file.
18711ac_need_defaults=:
18712while test $# != 0
18713do
18714 case $1 in
18715 --*=?*)
18716 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18717 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18718 ac_shift=:
18719 ;;
18720 --*=)
18721 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18722 ac_optarg=
18723 ac_shift=:
18724 ;;
18725 *)
18726 ac_option=$1
18727 ac_optarg=$2
18728 ac_shift=shift
18729 ;;
18730 esac
18731
18732 case $ac_option in
18733 # Handling of the options.
18734 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18735 ac_cs_recheck=: ;;
18736 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18737 $as_echo "$ac_cs_version"; exit ;;
18738 --config | --confi | --conf | --con | --co | --c )
18739 $as_echo "$ac_cs_config"; exit ;;
18740 --debug | --debu | --deb | --de | --d | -d )
18741 debug=: ;;
18742 --file | --fil | --fi | --f )
18743 $ac_shift
18744 case $ac_optarg in
18745 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18746 '') as_fn_error $? "missing file argument" ;;
18747 esac
18748 as_fn_append CONFIG_FILES " '$ac_optarg'"
18749 ac_need_defaults=false;;
18750 --header | --heade | --head | --hea )
18751 $ac_shift
18752 case $ac_optarg in
18753 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18754 esac
18755 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18756 ac_need_defaults=false;;
18757 --he | --h)
18758 # Conflict between --help and --header
18759 as_fn_error $? "ambiguous option: \`$1'
18760Try \`$0 --help' for more information.";;
18761 --help | --hel | -h )
18762 $as_echo "$ac_cs_usage"; exit ;;
18763 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18764 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18765 ac_cs_silent=: ;;
18766
18767 # This is an error.
18768 -*) as_fn_error $? "unrecognized option: \`$1'
18769Try \`$0 --help' for more information." ;;
18770
18771 *) as_fn_append ac_config_targets " $1"
18772 ac_need_defaults=false ;;
18773
18774 esac
18775 shift
18776done
18777
18778ac_configure_extra_args=
18779
18780if $ac_cs_silent; then
18781 exec 6>/dev/null
18782 ac_configure_extra_args="$ac_configure_extra_args --silent"
18783fi
18784
18785_ACEOF
18786cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18787if \$ac_cs_recheck; then
18788 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18789 shift
18790 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18791 CONFIG_SHELL='$SHELL'
18792 export CONFIG_SHELL
18793 exec "\$@"
18794fi
18795
18796_ACEOF
18797cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18798exec 5>>config.log
18799{
18800 echo
18801 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18802## Running $as_me. ##
18803_ASBOX
18804 $as_echo "$ac_log"
18805} >&5
18806
18807_ACEOF
18808cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18809#
18810# INIT-COMMANDS
18811#
18812AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18813
18814
18815# The HP-UX ksh and POSIX shell print the target directory to stdout
18816# if CDPATH is set.
18817(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18818
18819sed_quote_subst='$sed_quote_subst'
18820double_quote_subst='$double_quote_subst'
18821delay_variable_subst='$delay_variable_subst'
18822AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
18823DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18824OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18825macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18826macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18827enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18828enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18829pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18830enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18831host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18832host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18833host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18834build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18835build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18836build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18837SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18838Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18839GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18840EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18841FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18842LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18843NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18844LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18845max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18846ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18847exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18848lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18849lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18850lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18851reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18852reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18853deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18854file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18855AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18856AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18857STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18858RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18859old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18860old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18861old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18862CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18863CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18864compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18865GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18866lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18867lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18868lt_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"`'
18869lt_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"`'
18870objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18871SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18872ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18873MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18874lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18875lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18876lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18877lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18878lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18879need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18880DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18881NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18882LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18883OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18884OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18885libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18886shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18887extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18888archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18889enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18890export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18891whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18892compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18893old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18894old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18895archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18896archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18897module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18898module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18899with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18900allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18901no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18902hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18903hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18904hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18905hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18906hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18907hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18908hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18909hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18910inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18911link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18912fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18913always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18914export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18915exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18916include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18917prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18918file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18919variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18920need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18921need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18922version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18923runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18924shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18925shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18926libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18927library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18928soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18929postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18930postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18931finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18932finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18933hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18934sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18935sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18936hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18937enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18938enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18939enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18940old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18941striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18942
18943LTCC='$LTCC'
18944LTCFLAGS='$LTCFLAGS'
18945compiler='$compiler_DEFAULT'
18946
18947# Quote evaled strings.
18948for var in SED \
18949GREP \
18950EGREP \
18951FGREP \
18952LD \
18953NM \
18954LN_S \
18955lt_SP2NL \
18956lt_NL2SP \
18957reload_flag \
18958deplibs_check_method \
18959file_magic_cmd \
18960AR \
18961AR_FLAGS \
18962STRIP \
18963RANLIB \
18964CC \
18965CFLAGS \
18966compiler \
18967lt_cv_sys_global_symbol_pipe \
18968lt_cv_sys_global_symbol_to_cdecl \
18969lt_cv_sys_global_symbol_to_c_name_address \
18970lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18971SHELL \
18972ECHO \
18973lt_prog_compiler_no_builtin_flag \
18974lt_prog_compiler_wl \
18975lt_prog_compiler_pic \
18976lt_prog_compiler_static \
18977lt_cv_prog_compiler_c_o \
18978need_locks \
18979DSYMUTIL \
18980NMEDIT \
18981LIPO \
18982OTOOL \
18983OTOOL64 \
18984shrext_cmds \
18985export_dynamic_flag_spec \
18986whole_archive_flag_spec \
18987compiler_needs_object \
18988with_gnu_ld \
18989allow_undefined_flag \
18990no_undefined_flag \
18991hardcode_libdir_flag_spec \
18992hardcode_libdir_flag_spec_ld \
18993hardcode_libdir_separator \
18994fix_srcfile_path \
18995exclude_expsyms \
18996include_expsyms \
18997file_list_spec \
18998variables_saved_for_relink \
18999libname_spec \
19000library_names_spec \
19001soname_spec \
19002finish_eval \
19003old_striplib \
19004striplib; do
19005 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19006 *[\\\\\\\`\\"\\\$]*)
19007 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19008 ;;
19009 *)
19010 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19011 ;;
19012 esac
19013done
19014
19015# Double-quote double-evaled strings.
19016for var in reload_cmds \
19017old_postinstall_cmds \
19018old_postuninstall_cmds \
19019old_archive_cmds \
19020extract_expsyms_cmds \
19021old_archive_from_new_cmds \
19022old_archive_from_expsyms_cmds \
19023archive_cmds \
19024archive_expsym_cmds \
19025module_cmds \
19026module_expsym_cmds \
19027export_symbols_cmds \
19028prelink_cmds \
19029postinstall_cmds \
19030postuninstall_cmds \
19031finish_cmds \
19032sys_lib_search_path_spec \
19033sys_lib_dlsearch_path_spec; do
19034 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19035 *[\\\\\\\`\\"\\\$]*)
19036 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19037 ;;
19038 *)
19039 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19040 ;;
19041 esac
19042done
19043
19044# Fix-up fallback echo if it was mangled by the above quoting rules.
19045case \$lt_ECHO in
19046*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19047 ;;
19048esac
19049
19050ac_aux_dir='$ac_aux_dir'
19051xsi_shell='$xsi_shell'
19052lt_shell_append='$lt_shell_append'
19053
19054# See if we are running on zsh, and set the options which allow our
19055# commands through without removal of \ escapes INIT.
19056if test -n "\${ZSH_VERSION+set}" ; then
19057 setopt NO_GLOB_SUBST
19058fi
19059
19060
19061 PACKAGE='$PACKAGE'
19062 VERSION='$VERSION'
19063 TIMESTAMP='$TIMESTAMP'
19064 RM='$RM'
19065 ofile='$ofile'
19066
19067
19068
19069# Capture the value of obsolete ALL_LINGUAS because we need it to compute
19070 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
19071 # from automake < 1.5.
19072 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
19073 # Capture the value of LINGUAS because we need it to compute CATALOGS.
19074 LINGUAS="${LINGUAS-%UNSET%}"
19075
19076
19077_ACEOF
19078
19079cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19080
19081# Handling of arguments.
19082for ac_config_target in $ac_config_targets
19083do
19084 case $ac_config_target in
19085 "elementary_config.h") CONFIG_HEADERS="$CONFIG_HEADERS elementary_config.h" ;;
19086 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19087 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19088 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
19089 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19090 "elementary.spec") CONFIG_FILES="$CONFIG_FILES elementary.spec" ;;
19091 "elementary.pc") CONFIG_FILES="$CONFIG_FILES elementary.pc" ;;
19092 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19093 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
19094 "doc/widgets/Makefile") CONFIG_FILES="$CONFIG_FILES doc/widgets/Makefile" ;;
19095 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19096 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
19097 "src/lib/Elementary.h") CONFIG_FILES="$CONFIG_FILES src/lib/Elementary.h" ;;
19098 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
19099 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
19100 "src/modules/access_output/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/access_output/Makefile" ;;
19101 "src/modules/datetime_input_ctxpopup/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/datetime_input_ctxpopup/Makefile" ;;
19102 "src/modules/test_entry/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_entry/Makefile" ;;
19103 "src/modules/test_map/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_map/Makefile" ;;
19104 "src/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_externals/Makefile" ;;
19105 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
19106 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
19107 "data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES data/themes/Makefile" ;;
19108 "data/images/Makefile") CONFIG_FILES="$CONFIG_FILES data/images/Makefile" ;;
19109 "data/objects/Makefile") CONFIG_FILES="$CONFIG_FILES data/objects/Makefile" ;;
19110 "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
19111 "data/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES data/edje_externals/Makefile" ;;
19112 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
19113 "config/default/Makefile") CONFIG_FILES="$CONFIG_FILES config/default/Makefile" ;;
19114 "config/standard/Makefile") CONFIG_FILES="$CONFIG_FILES config/standard/Makefile" ;;
19115 "config/illume/Makefile") CONFIG_FILES="$CONFIG_FILES config/illume/Makefile" ;;
19116 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
19117
19118 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
19119 esac
19120done
19121
19122
19123# If the user did not use the arguments to specify the items to instantiate,
19124# then the envvar interface is used. Set only those that are not.
19125# We use the long form for the default assignment because of an extremely
19126# bizarre bug on SunOS 4.1.3.
19127if $ac_need_defaults; then
19128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19129 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19130 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19131fi
19132
19133# Have a temporary directory for convenience. Make it in the build tree
19134# simply because there is no reason against having it here, and in addition,
19135# creating and moving files from /tmp can sometimes cause problems.
19136# Hook for its removal unless debugging.
19137# Note that there is a small window in which the directory will not be cleaned:
19138# after its creation but before its name has been assigned to `$tmp'.
19139$debug ||
19140{
19141 tmp=
19142 trap 'exit_status=$?
19143 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19144' 0
19145 trap 'as_fn_exit 1' 1 2 13 15
19146}
19147# Create a (secure) tmp directory for tmp files.
19148
19149{
19150 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19151 test -n "$tmp" && test -d "$tmp"
19152} ||
19153{
19154 tmp=./conf$$-$RANDOM
19155 (umask 077 && mkdir "$tmp")
19156} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19157
19158# Set up the scripts for CONFIG_FILES section.
19159# No need to generate them if there are no CONFIG_FILES.
19160# This happens for instance with `./config.status config.h'.
19161if test -n "$CONFIG_FILES"; then
19162
19163
19164ac_cr=`echo X | tr X '\015'`
19165# On cygwin, bash can eat \r inside `` if the user requested igncr.
19166# But we know of no other shell where ac_cr would be empty at this
19167# point, so we can use a bashism as a fallback.
19168if test "x$ac_cr" = x; then
19169 eval ac_cr=\$\'\\r\'
19170fi
19171ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19172if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19173 ac_cs_awk_cr='\\r'
19174else
19175 ac_cs_awk_cr=$ac_cr
19176fi
19177
19178echo 'BEGIN {' >"$tmp/subs1.awk" &&
19179_ACEOF
19180
19181
19182{
19183 echo "cat >conf$$subs.awk <<_ACEOF" &&
19184 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19185 echo "_ACEOF"
19186} >conf$$subs.sh ||
19187 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19188ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19189ac_delim='%!_!# '
19190for ac_last_try in false false false false false :; do
19191 . ./conf$$subs.sh ||
19192 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19193
19194 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19195 if test $ac_delim_n = $ac_delim_num; then
19196 break
19197 elif $ac_last_try; then
19198 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19199 else
19200 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19201 fi
19202done
19203rm -f conf$$subs.sh
19204
19205cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19206cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
19207_ACEOF
19208sed -n '
19209h
19210s/^/S["/; s/!.*/"]=/
19211p
19212g
19213s/^[^!]*!//
19214:repl
19215t repl
19216s/'"$ac_delim"'$//
19217t delim
19218:nl
19219h
19220s/\(.\{148\}\)..*/\1/
19221t more1
19222s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19223p
19224n
19225b repl
19226:more1
19227s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19228p
19229g
19230s/.\{148\}//
19231t nl
19232:delim
19233h
19234s/\(.\{148\}\)..*/\1/
19235t more2
19236s/["\\]/\\&/g; s/^/"/; s/$/"/
19237p
19238b
19239:more2
19240s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19241p
19242g
19243s/.\{148\}//
19244t delim
19245' <conf$$subs.awk | sed '
19246/^[^""]/{
19247 N
19248 s/\n//
19249}
19250' >>$CONFIG_STATUS || ac_write_fail=1
19251rm -f conf$$subs.awk
19252cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19253_ACAWK
19254cat >>"\$tmp/subs1.awk" <<_ACAWK &&
19255 for (key in S) S_is_set[key] = 1
19256 FS = ""
19257
19258}
19259{
19260 line = $ 0
19261 nfields = split(line, field, "@")
19262 substed = 0
19263 len = length(field[1])
19264 for (i = 2; i < nfields; i++) {
19265 key = field[i]
19266 keylen = length(key)
19267 if (S_is_set[key]) {
19268 value = S[key]
19269 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19270 len += length(value) + length(field[++i])
19271 substed = 1
19272 } else
19273 len += 1 + keylen
19274 }
19275
19276 print line
19277}
19278
19279_ACAWK
19280_ACEOF
19281cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19282if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19283 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19284else
19285 cat
19286fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
19287 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19288_ACEOF
19289
19290# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19291# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19292# trailing colons and then remove the whole line if VPATH becomes empty
19293# (actually we leave an empty line to preserve line numbers).
19294if test "x$srcdir" = x.; then
19295 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19296h
19297s///
19298s/^/:/
19299s/[ ]*$/:/
19300s/:\$(srcdir):/:/g
19301s/:\${srcdir}:/:/g
19302s/:@srcdir@:/:/g
19303s/^:*//
19304s/:*$//
19305x
19306s/\(=[ ]*\).*/\1/
19307G
19308s/\n//
19309s/^[^=]*=[ ]*$//
19310}'
19311fi
19312
19313cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19314fi # test -n "$CONFIG_FILES"
19315
19316# Set up the scripts for CONFIG_HEADERS section.
19317# No need to generate them if there are no CONFIG_HEADERS.
19318# This happens for instance with `./config.status Makefile'.
19319if test -n "$CONFIG_HEADERS"; then
19320cat >"$tmp/defines.awk" <<\_ACAWK ||
19321BEGIN {
19322_ACEOF
19323
19324# Transform confdefs.h into an awk script `defines.awk', embedded as
19325# here-document in config.status, that substitutes the proper values into
19326# config.h.in to produce config.h.
19327
19328# Create a delimiter string that does not exist in confdefs.h, to ease
19329# handling of long lines.
19330ac_delim='%!_!# '
19331for ac_last_try in false false :; do
19332 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19333 if test -z "$ac_t"; then
19334 break
19335 elif $ac_last_try; then
19336 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19337 else
19338 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19339 fi
19340done
19341
19342# For the awk script, D is an array of macro values keyed by name,
19343# likewise P contains macro parameters if any. Preserve backslash
19344# newline sequences.
19345
19346ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19347sed -n '
19348s/.\{148\}/&'"$ac_delim"'/g
19349t rset
19350:rset
19351s/^[ ]*#[ ]*define[ ][ ]*/ /
19352t def
19353d
19354:def
19355s/\\$//
19356t bsnl
19357s/["\\]/\\&/g
19358s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19359D["\1"]=" \3"/p
19360s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19361d
19362:bsnl
19363s/["\\]/\\&/g
19364s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19365D["\1"]=" \3\\\\\\n"\\/p
19366t cont
19367s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19368t cont
19369d
19370:cont
19371n
19372s/.\{148\}/&'"$ac_delim"'/g
19373t clear
19374:clear
19375s/\\$//
19376t bsnlc
19377s/["\\]/\\&/g; s/^/"/; s/$/"/p
19378d
19379:bsnlc
19380s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19381b cont
19382' <confdefs.h | sed '
19383s/'"$ac_delim"'/"\\\
19384"/g' >>$CONFIG_STATUS || ac_write_fail=1
19385
19386cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19387 for (key in D) D_is_set[key] = 1
19388 FS = ""
19389}
19390/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19391 line = \$ 0
19392 split(line, arg, " ")
19393 if (arg[1] == "#") {
19394 defundef = arg[2]
19395 mac1 = arg[3]
19396 } else {
19397 defundef = substr(arg[1], 2)
19398 mac1 = arg[2]
19399 }
19400 split(mac1, mac2, "(") #)
19401 macro = mac2[1]
19402 prefix = substr(line, 1, index(line, defundef) - 1)
19403 if (D_is_set[macro]) {
19404 # Preserve the white space surrounding the "#".
19405 print prefix "define", macro P[macro] D[macro]
19406 next
19407 } else {
19408 # Replace #undef with comments. This is necessary, for example,
19409 # in the case of _POSIX_SOURCE, which is predefined and required
19410 # on some systems where configure will not decide to define it.
19411 if (defundef == "undef") {
19412 print "/*", prefix defundef, macro, "*/"
19413 next
19414 }
19415 }
19416}
19417{ print }
19418_ACAWK
19419_ACEOF
19420cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19421 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19422fi # test -n "$CONFIG_HEADERS"
19423
19424
19425eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19426shift
19427for ac_tag
19428do
19429 case $ac_tag in
19430 :[FHLC]) ac_mode=$ac_tag; continue;;
19431 esac
19432 case $ac_mode$ac_tag in
19433 :[FHL]*:*);;
19434 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
19435 :[FH]-) ac_tag=-:-;;
19436 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19437 esac
19438 ac_save_IFS=$IFS
19439 IFS=:
19440 set x $ac_tag
19441 IFS=$ac_save_IFS
19442 shift
19443 ac_file=$1
19444 shift
19445
19446 case $ac_mode in
19447 :L) ac_source=$1;;
19448 :[FH])
19449 ac_file_inputs=
19450 for ac_f
19451 do
19452 case $ac_f in
19453 -) ac_f="$tmp/stdin";;
19454 *) # Look for the file first in the build tree, then in the source tree
19455 # (if the path is not absolute). The absolute path cannot be DOS-style,
19456 # because $ac_f cannot contain `:'.
19457 test -f "$ac_f" ||
19458 case $ac_f in
19459 [\\/$]*) false;;
19460 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19461 esac ||
19462 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
19463 esac
19464 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19465 as_fn_append ac_file_inputs " '$ac_f'"
19466 done
19467
19468 # Let's still pretend it is `configure' which instantiates (i.e., don't
19469 # use $as_me), people would be surprised to read:
19470 # /* config.h. Generated by config.status. */
19471 configure_input='Generated from '`
19472 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19473 `' by configure.'
19474 if test x"$ac_file" != x-; then
19475 configure_input="$ac_file. $configure_input"
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19477$as_echo "$as_me: creating $ac_file" >&6;}
19478 fi
19479 # Neutralize special characters interpreted by sed in replacement strings.
19480 case $configure_input in #(
19481 *\&* | *\|* | *\\* )
19482 ac_sed_conf_input=`$as_echo "$configure_input" |
19483 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19484 *) ac_sed_conf_input=$configure_input;;
19485 esac
19486
19487 case $ac_tag in
19488 *:-:* | *:-) cat >"$tmp/stdin" \
19489 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19490 esac
19491 ;;
19492 esac
19493
19494 ac_dir=`$as_dirname -- "$ac_file" ||
19495$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19496 X"$ac_file" : 'X\(//\)[^/]' \| \
19497 X"$ac_file" : 'X\(//\)$' \| \
19498 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19499$as_echo X"$ac_file" |
19500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19501 s//\1/
19502 q
19503 }
19504 /^X\(\/\/\)[^/].*/{
19505 s//\1/
19506 q
19507 }
19508 /^X\(\/\/\)$/{
19509 s//\1/
19510 q
19511 }
19512 /^X\(\/\).*/{
19513 s//\1/
19514 q
19515 }
19516 s/.*/./; q'`
19517 as_dir="$ac_dir"; as_fn_mkdir_p
19518 ac_builddir=.
19519
19520case "$ac_dir" in
19521.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19522*)
19523 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19524 # A ".." for each directory in $ac_dir_suffix.
19525 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19526 case $ac_top_builddir_sub in
19527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19529 esac ;;
19530esac
19531ac_abs_top_builddir=$ac_pwd
19532ac_abs_builddir=$ac_pwd$ac_dir_suffix
19533# for backward compatibility:
19534ac_top_builddir=$ac_top_build_prefix
19535
19536case $srcdir in
19537 .) # We are building in place.
19538 ac_srcdir=.
19539 ac_top_srcdir=$ac_top_builddir_sub
19540 ac_abs_top_srcdir=$ac_pwd ;;
19541 [\\/]* | ?:[\\/]* ) # Absolute name.
19542 ac_srcdir=$srcdir$ac_dir_suffix;
19543 ac_top_srcdir=$srcdir
19544 ac_abs_top_srcdir=$srcdir ;;
19545 *) # Relative name.
19546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19547 ac_top_srcdir=$ac_top_build_prefix$srcdir
19548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19549esac
19550ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19551
19552
19553 case $ac_mode in
19554 :F)
19555 #
19556 # CONFIG_FILE
19557 #
19558
19559 case $INSTALL in
19560 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19561 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19562 esac
19563 ac_MKDIR_P=$MKDIR_P
19564 case $MKDIR_P in
19565 [\\/$]* | ?:[\\/]* ) ;;
19566 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19567 esac
19568_ACEOF
19569
19570cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19571# If the template does not know about datarootdir, expand it.
19572# FIXME: This hack should be removed a few years after 2.60.
19573ac_datarootdir_hack=; ac_datarootdir_seen=
19574ac_sed_dataroot='
19575/datarootdir/ {
19576 p
19577 q
19578}
19579/@datadir@/p
19580/@docdir@/p
19581/@infodir@/p
19582/@localedir@/p
19583/@mandir@/p'
19584case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19585*datarootdir*) ac_datarootdir_seen=yes;;
19586*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19588$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19589_ACEOF
19590cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19591 ac_datarootdir_hack='
19592 s&@datadir@&$datadir&g
19593 s&@docdir@&$docdir&g
19594 s&@infodir@&$infodir&g
19595 s&@localedir@&$localedir&g
19596 s&@mandir@&$mandir&g
19597 s&\\\${datarootdir}&$datarootdir&g' ;;
19598esac
19599_ACEOF
19600
19601# Neutralize VPATH when `$srcdir' = `.'.
19602# Shell code in configure.ac might set extrasub.
19603# FIXME: do we really want to maintain this feature?
19604cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19605ac_sed_extra="$ac_vpsub
19606$extrasub
19607_ACEOF
19608cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19609:t
19610/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19611s|@configure_input@|$ac_sed_conf_input|;t t
19612s&@top_builddir@&$ac_top_builddir_sub&;t t
19613s&@top_build_prefix@&$ac_top_build_prefix&;t t
19614s&@srcdir@&$ac_srcdir&;t t
19615s&@abs_srcdir@&$ac_abs_srcdir&;t t
19616s&@top_srcdir@&$ac_top_srcdir&;t t
19617s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19618s&@builddir@&$ac_builddir&;t t
19619s&@abs_builddir@&$ac_abs_builddir&;t t
19620s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19621s&@INSTALL@&$ac_INSTALL&;t t
19622s&@MKDIR_P@&$ac_MKDIR_P&;t t
19623$ac_datarootdir_hack
19624"
19625eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19626 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19627
19628test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19629 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19630 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19632which seems to be undefined. Please make sure it is defined" >&5
19633$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19634which seems to be undefined. Please make sure it is defined" >&2;}
19635
19636 rm -f "$tmp/stdin"
19637 case $ac_file in
19638 -) cat "$tmp/out" && rm -f "$tmp/out";;
19639 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19640 esac \
19641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19642 ;;
19643 :H)
19644 #
19645 # CONFIG_HEADER
19646 #
19647 if test x"$ac_file" != x-; then
19648 {
19649 $as_echo "/* $configure_input */" \
19650 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19651 } >"$tmp/config.h" \
19652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19653 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19655$as_echo "$as_me: $ac_file is unchanged" >&6;}
19656 else
19657 rm -f "$ac_file"
19658 mv "$tmp/config.h" "$ac_file" \
19659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19660 fi
19661 else
19662 $as_echo "/* $configure_input */" \
19663 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19664 || as_fn_error $? "could not create -" "$LINENO" 5
19665 fi
19666# Compute "$ac_file"'s index in $config_headers.
19667_am_arg="$ac_file"
19668_am_stamp_count=1
19669for _am_header in $config_headers :; do
19670 case $_am_header in
19671 $_am_arg | $_am_arg:* )
19672 break ;;
19673 * )
19674 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19675 esac
19676done
19677echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19678$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19679 X"$_am_arg" : 'X\(//\)[^/]' \| \
19680 X"$_am_arg" : 'X\(//\)$' \| \
19681 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19682$as_echo X"$_am_arg" |
19683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19684 s//\1/
19685 q
19686 }
19687 /^X\(\/\/\)[^/].*/{
19688 s//\1/
19689 q
19690 }
19691 /^X\(\/\/\)$/{
19692 s//\1/
19693 q
19694 }
19695 /^X\(\/\).*/{
19696 s//\1/
19697 q
19698 }
19699 s/.*/./; q'`/stamp-h$_am_stamp_count
19700 ;;
19701
19702 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19703$as_echo "$as_me: executing $ac_file commands" >&6;}
19704 ;;
19705 esac
19706
19707
19708 case $ac_file$ac_mode in
19709 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19710 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19711 # are listed without --file. Let's play safe and only enable the eval
19712 # if we detect the quoting.
19713 case $CONFIG_FILES in
19714 *\'*) eval set x "$CONFIG_FILES" ;;
19715 *) set x $CONFIG_FILES ;;
19716 esac
19717 shift
19718 for mf
19719 do
19720 # Strip MF so we end up with the name of the file.
19721 mf=`echo "$mf" | sed -e 's/:.*$//'`
19722 # Check whether this is an Automake generated Makefile or not.
19723 # We used to match only the files named `Makefile.in', but
19724 # some people rename them; so instead we look at the file content.
19725 # Grep'ing the first line is not enough: some people post-process
19726 # each Makefile.in and add a new line on top of each file to say so.
19727 # Grep'ing the whole file is not good either: AIX grep has a line
19728 # limit of 2048, but all sed's we know have understand at least 4000.
19729 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19730 dirpart=`$as_dirname -- "$mf" ||
19731$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19732 X"$mf" : 'X\(//\)[^/]' \| \
19733 X"$mf" : 'X\(//\)$' \| \
19734 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19735$as_echo X"$mf" |
19736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19737 s//\1/
19738 q
19739 }
19740 /^X\(\/\/\)[^/].*/{
19741 s//\1/
19742 q
19743 }
19744 /^X\(\/\/\)$/{
19745 s//\1/
19746 q
19747 }
19748 /^X\(\/\).*/{
19749 s//\1/
19750 q
19751 }
19752 s/.*/./; q'`
19753 else
19754 continue
19755 fi
19756 # Extract the definition of DEPDIR, am__include, and am__quote
19757 # from the Makefile without running `make'.
19758 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19759 test -z "$DEPDIR" && continue
19760 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19761 test -z "am__include" && continue
19762 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19763 # When using ansi2knr, U may be empty or an underscore; expand it
19764 U=`sed -n 's/^U = //p' < "$mf"`
19765 # Find all dependency output files, they are included files with
19766 # $(DEPDIR) in their names. We invoke sed twice because it is the
19767 # simplest approach to changing $(DEPDIR) to its actual value in the
19768 # expansion.
19769 for file in `sed -n "
19770 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19771 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19772 # Make sure the directory exists.
19773 test -f "$dirpart/$file" && continue
19774 fdir=`$as_dirname -- "$file" ||
19775$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19776 X"$file" : 'X\(//\)[^/]' \| \
19777 X"$file" : 'X\(//\)$' \| \
19778 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19779$as_echo X"$file" |
19780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19781 s//\1/
19782 q
19783 }
19784 /^X\(\/\/\)[^/].*/{
19785 s//\1/
19786 q
19787 }
19788 /^X\(\/\/\)$/{
19789 s//\1/
19790 q
19791 }
19792 /^X\(\/\).*/{
19793 s//\1/
19794 q
19795 }
19796 s/.*/./; q'`
19797 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19798 # echo "creating $dirpart/$file"
19799 echo '# dummy' > "$dirpart/$file"
19800 done
19801 done
19802}
19803 ;;
19804 "libtool":C)
19805
19806 # See if we are running on zsh, and set the options which allow our
19807 # commands through without removal of \ escapes.
19808 if test -n "${ZSH_VERSION+set}" ; then
19809 setopt NO_GLOB_SUBST
19810 fi
19811
19812 cfgfile="${ofile}T"
19813 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19814 $RM "$cfgfile"
19815
19816 cat <<_LT_EOF >> "$cfgfile"
19817#! $SHELL
19818
19819# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19820# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19821# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19822# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19823#
19824# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19825# 2006, 2007, 2008 Free Software Foundation, Inc.
19826# Written by Gordon Matzigkeit, 1996
19827#
19828# This file is part of GNU Libtool.
19829#
19830# GNU Libtool is free software; you can redistribute it and/or
19831# modify it under the terms of the GNU General Public License as
19832# published by the Free Software Foundation; either version 2 of
19833# the License, or (at your option) any later version.
19834#
19835# As a special exception to the GNU General Public License,
19836# if you distribute this file as part of a program or library that
19837# is built using GNU Libtool, you may include this file under the
19838# same distribution terms that you use for the rest of that program.
19839#
19840# GNU Libtool is distributed in the hope that it will be useful,
19841# but WITHOUT ANY WARRANTY; without even the implied warranty of
19842# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19843# GNU General Public License for more details.
19844#
19845# You should have received a copy of the GNU General Public License
19846# along with GNU Libtool; see the file COPYING. If not, a copy
19847# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19848# obtained by writing to the Free Software Foundation, Inc.,
19849# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19850
19851
19852# The names of the tagged configurations supported by this script.
19853available_tags=""
19854
19855# ### BEGIN LIBTOOL CONFIG
19856
19857# Assembler program.
19858AS=$AS
19859
19860# DLL creation program.
19861DLLTOOL=$DLLTOOL
19862
19863# Object dumper program.
19864OBJDUMP=$OBJDUMP
19865
19866# Which release of libtool.m4 was used?
19867macro_version=$macro_version
19868macro_revision=$macro_revision
19869
19870# Whether or not to build shared libraries.
19871build_libtool_libs=$enable_shared
19872
19873# Whether or not to build static libraries.
19874build_old_libs=$enable_static
19875
19876# What type of objects to build.
19877pic_mode=$pic_mode
19878
19879# Whether or not to optimize for fast installation.
19880fast_install=$enable_fast_install
19881
19882# The host system.
19883host_alias=$host_alias
19884host=$host
19885host_os=$host_os
19886
19887# The build system.
19888build_alias=$build_alias
19889build=$build
19890build_os=$build_os
19891
19892# A sed program that does not truncate output.
19893SED=$lt_SED
19894
19895# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19896Xsed="\$SED -e 1s/^X//"
19897
19898# A grep program that handles long lines.
19899GREP=$lt_GREP
19900
19901# An ERE matcher.
19902EGREP=$lt_EGREP
19903
19904# A literal string matcher.
19905FGREP=$lt_FGREP
19906
19907# A BSD- or MS-compatible name lister.
19908NM=$lt_NM
19909
19910# Whether we need soft or hard links.
19911LN_S=$lt_LN_S
19912
19913# What is the maximum length of a command?
19914max_cmd_len=$max_cmd_len
19915
19916# Object file suffix (normally "o").
19917objext=$ac_objext
19918
19919# Executable file suffix (normally "").
19920exeext=$exeext
19921
19922# whether the shell understands "unset".
19923lt_unset=$lt_unset
19924
19925# turn spaces into newlines.
19926SP2NL=$lt_lt_SP2NL
19927
19928# turn newlines into spaces.
19929NL2SP=$lt_lt_NL2SP
19930
19931# How to create reloadable object files.
19932reload_flag=$lt_reload_flag
19933reload_cmds=$lt_reload_cmds
19934
19935# Method to check whether dependent libraries are shared objects.
19936deplibs_check_method=$lt_deplibs_check_method
19937
19938# Command to use when deplibs_check_method == "file_magic".
19939file_magic_cmd=$lt_file_magic_cmd
19940
19941# The archiver.
19942AR=$lt_AR
19943AR_FLAGS=$lt_AR_FLAGS
19944
19945# A symbol stripping program.
19946STRIP=$lt_STRIP
19947
19948# Commands used to install an old-style archive.
19949RANLIB=$lt_RANLIB
19950old_postinstall_cmds=$lt_old_postinstall_cmds
19951old_postuninstall_cmds=$lt_old_postuninstall_cmds
19952
19953# A C compiler.
19954LTCC=$lt_CC
19955
19956# LTCC compiler flags.
19957LTCFLAGS=$lt_CFLAGS
19958
19959# Take the output of nm and produce a listing of raw symbols and C names.
19960global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19961
19962# Transform the output of nm in a proper C declaration.
19963global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19964
19965# Transform the output of nm in a C name address pair.
19966global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19967
19968# Transform the output of nm in a C name address pair when lib prefix is needed.
19969global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19970
19971# The name of the directory that contains temporary libtool files.
19972objdir=$objdir
19973
19974# Shell to use when invoking shell scripts.
19975SHELL=$lt_SHELL
19976
19977# An echo program that does not interpret backslashes.
19978ECHO=$lt_ECHO
19979
19980# Used to examine libraries when file_magic_cmd begins with "file".
19981MAGIC_CMD=$MAGIC_CMD
19982
19983# Must we lock files when doing compilation?
19984need_locks=$lt_need_locks
19985
19986# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19987DSYMUTIL=$lt_DSYMUTIL
19988
19989# Tool to change global to local symbols on Mac OS X.
19990NMEDIT=$lt_NMEDIT
19991
19992# Tool to manipulate fat objects and archives on Mac OS X.
19993LIPO=$lt_LIPO
19994
19995# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19996OTOOL=$lt_OTOOL
19997
19998# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19999OTOOL64=$lt_OTOOL64
20000
20001# Old archive suffix (normally "a").
20002libext=$libext
20003
20004# Shared library suffix (normally ".so").
20005shrext_cmds=$lt_shrext_cmds
20006
20007# The commands to extract the exported symbol list from a shared archive.
20008extract_expsyms_cmds=$lt_extract_expsyms_cmds
20009
20010# Variables whose values should be saved in libtool wrapper scripts and
20011# restored at link time.
20012variables_saved_for_relink=$lt_variables_saved_for_relink
20013
20014# Do we need the "lib" prefix for modules?
20015need_lib_prefix=$need_lib_prefix
20016
20017# Do we need a version for libraries?
20018need_version=$need_version
20019
20020# Library versioning type.
20021version_type=$version_type
20022
20023# Shared library runtime path variable.
20024runpath_var=$runpath_var
20025
20026# Shared library path variable.
20027shlibpath_var=$shlibpath_var
20028
20029# Is shlibpath searched before the hard-coded library search path?
20030shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20031
20032# Format of library name prefix.
20033libname_spec=$lt_libname_spec
20034
20035# List of archive names. First name is the real one, the rest are links.
20036# The last name is the one that the linker finds with -lNAME
20037library_names_spec=$lt_library_names_spec
20038
20039# The coded name of the library, if different from the real name.
20040soname_spec=$lt_soname_spec
20041
20042# Command to use after installation of a shared archive.
20043postinstall_cmds=$lt_postinstall_cmds
20044
20045# Command to use after uninstallation of a shared archive.
20046postuninstall_cmds=$lt_postuninstall_cmds
20047
20048# Commands used to finish a libtool library installation in a directory.
20049finish_cmds=$lt_finish_cmds
20050
20051# As "finish_cmds", except a single script fragment to be evaled but
20052# not shown.
20053finish_eval=$lt_finish_eval
20054
20055# Whether we should hardcode library paths into libraries.
20056hardcode_into_libs=$hardcode_into_libs
20057
20058# Compile-time system search path for libraries.
20059sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20060
20061# Run-time system search path for libraries.
20062sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20063
20064# Whether dlopen is supported.
20065dlopen_support=$enable_dlopen
20066
20067# Whether dlopen of programs is supported.
20068dlopen_self=$enable_dlopen_self
20069
20070# Whether dlopen of statically linked programs is supported.
20071dlopen_self_static=$enable_dlopen_self_static
20072
20073# Commands to strip libraries.
20074old_striplib=$lt_old_striplib
20075striplib=$lt_striplib
20076
20077
20078# The linker used to build libraries.
20079LD=$lt_LD
20080
20081# Commands used to build an old-style archive.
20082old_archive_cmds=$lt_old_archive_cmds
20083
20084# A language specific compiler.
20085CC=$lt_compiler
20086
20087# Is the compiler the GNU compiler?
20088with_gcc=$GCC
20089
20090# Compiler flag to turn off builtin functions.
20091no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20092
20093# How to pass a linker flag through the compiler.
20094wl=$lt_lt_prog_compiler_wl
20095
20096# Additional compiler flags for building library objects.
20097pic_flag=$lt_lt_prog_compiler_pic
20098
20099# Compiler flag to prevent dynamic linking.
20100link_static_flag=$lt_lt_prog_compiler_static
20101
20102# Does compiler simultaneously support -c and -o options?
20103compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20104
20105# Whether or not to add -lc for building shared libraries.
20106build_libtool_need_lc=$archive_cmds_need_lc
20107
20108# Whether or not to disallow shared libs when runtime libs are static.
20109allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20110
20111# Compiler flag to allow reflexive dlopens.
20112export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20113
20114# Compiler flag to generate shared objects directly from archives.
20115whole_archive_flag_spec=$lt_whole_archive_flag_spec
20116
20117# Whether the compiler copes with passing no objects directly.
20118compiler_needs_object=$lt_compiler_needs_object
20119
20120# Create an old-style archive from a shared archive.
20121old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20122
20123# Create a temporary old-style archive to link instead of a shared archive.
20124old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20125
20126# Commands used to build a shared archive.
20127archive_cmds=$lt_archive_cmds
20128archive_expsym_cmds=$lt_archive_expsym_cmds
20129
20130# Commands used to build a loadable module if different from building
20131# a shared archive.
20132module_cmds=$lt_module_cmds
20133module_expsym_cmds=$lt_module_expsym_cmds
20134
20135# Whether we are building with GNU ld or not.
20136with_gnu_ld=$lt_with_gnu_ld
20137
20138# Flag that allows shared libraries with undefined symbols to be built.
20139allow_undefined_flag=$lt_allow_undefined_flag
20140
20141# Flag that enforces no undefined symbols.
20142no_undefined_flag=$lt_no_undefined_flag
20143
20144# Flag to hardcode \$libdir into a binary during linking.
20145# This must work even if \$libdir does not exist
20146hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20147
20148# If ld is used when linking, flag to hardcode \$libdir into a binary
20149# during linking. This must work even if \$libdir does not exist.
20150hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20151
20152# Whether we need a single "-rpath" flag with a separated argument.
20153hardcode_libdir_separator=$lt_hardcode_libdir_separator
20154
20155# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20156# DIR into the resulting binary.
20157hardcode_direct=$hardcode_direct
20158
20159# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20160# DIR into the resulting binary and the resulting library dependency is
20161# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20162# library is relocated.
20163hardcode_direct_absolute=$hardcode_direct_absolute
20164
20165# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20166# into the resulting binary.
20167hardcode_minus_L=$hardcode_minus_L
20168
20169# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20170# into the resulting binary.
20171hardcode_shlibpath_var=$hardcode_shlibpath_var
20172
20173# Set to "yes" if building a shared library automatically hardcodes DIR
20174# into the library and all subsequent libraries and executables linked
20175# against it.
20176hardcode_automatic=$hardcode_automatic
20177
20178# Set to yes if linker adds runtime paths of dependent libraries
20179# to runtime path list.
20180inherit_rpath=$inherit_rpath
20181
20182# Whether libtool must link a program against all its dependency libraries.
20183link_all_deplibs=$link_all_deplibs
20184
20185# Fix the shell variable \$srcfile for the compiler.
20186fix_srcfile_path=$lt_fix_srcfile_path
20187
20188# Set to "yes" if exported symbols are required.
20189always_export_symbols=$always_export_symbols
20190
20191# The commands to list exported symbols.
20192export_symbols_cmds=$lt_export_symbols_cmds
20193
20194# Symbols that should not be listed in the preloaded symbols.
20195exclude_expsyms=$lt_exclude_expsyms
20196
20197# Symbols that must always be exported.
20198include_expsyms=$lt_include_expsyms
20199
20200# Commands necessary for linking programs (against libraries) with templates.
20201prelink_cmds=$lt_prelink_cmds
20202
20203# Specify filename containing input files.
20204file_list_spec=$lt_file_list_spec
20205
20206# How to hardcode a shared library path into an executable.
20207hardcode_action=$hardcode_action
20208
20209# ### END LIBTOOL CONFIG
20210
20211_LT_EOF
20212
20213 case $host_os in
20214 aix3*)
20215 cat <<\_LT_EOF >> "$cfgfile"
20216# AIX sometimes has problems with the GCC collect2 program. For some
20217# reason, if we set the COLLECT_NAMES environment variable, the problems
20218# vanish in a puff of smoke.
20219if test "X${COLLECT_NAMES+set}" != Xset; then
20220 COLLECT_NAMES=
20221 export COLLECT_NAMES
20222fi
20223_LT_EOF
20224 ;;
20225 esac
20226
20227
20228ltmain="$ac_aux_dir/ltmain.sh"
20229
20230
20231 # We use sed instead of cat because bash on DJGPP gets confused if
20232 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20233 # text mode, it properly converts lines to CR/LF. This bash problem
20234 # is reportedly fixed, but why not run on old versions too?
20235 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20236 || (rm -f "$cfgfile"; exit 1)
20237
20238 case $xsi_shell in
20239 yes)
20240 cat << \_LT_EOF >> "$cfgfile"
20241
20242# func_dirname file append nondir_replacement
20243# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20244# otherwise set result to NONDIR_REPLACEMENT.
20245func_dirname ()
20246{
20247 case ${1} in
20248 */*) func_dirname_result="${1%/*}${2}" ;;
20249 * ) func_dirname_result="${3}" ;;
20250 esac
20251}
20252
20253# func_basename file
20254func_basename ()
20255{
20256 func_basename_result="${1##*/}"
20257}
20258
20259# func_dirname_and_basename file append nondir_replacement
20260# perform func_basename and func_dirname in a single function
20261# call:
20262# dirname: Compute the dirname of FILE. If nonempty,
20263# add APPEND to the result, otherwise set result
20264# to NONDIR_REPLACEMENT.
20265# value returned in "$func_dirname_result"
20266# basename: Compute filename of FILE.
20267# value retuned in "$func_basename_result"
20268# Implementation must be kept synchronized with func_dirname
20269# and func_basename. For efficiency, we do not delegate to
20270# those functions but instead duplicate the functionality here.
20271func_dirname_and_basename ()
20272{
20273 case ${1} in
20274 */*) func_dirname_result="${1%/*}${2}" ;;
20275 * ) func_dirname_result="${3}" ;;
20276 esac
20277 func_basename_result="${1##*/}"
20278}
20279
20280# func_stripname prefix suffix name
20281# strip PREFIX and SUFFIX off of NAME.
20282# PREFIX and SUFFIX must not contain globbing or regex special
20283# characters, hashes, percent signs, but SUFFIX may contain a leading
20284# dot (in which case that matches only a dot).
20285func_stripname ()
20286{
20287 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20288 # positional parameters, so assign one to ordinary parameter first.
20289 func_stripname_result=${3}
20290 func_stripname_result=${func_stripname_result#"${1}"}
20291 func_stripname_result=${func_stripname_result%"${2}"}
20292}
20293
20294# func_opt_split
20295func_opt_split ()
20296{
20297 func_opt_split_opt=${1%%=*}
20298 func_opt_split_arg=${1#*=}
20299}
20300
20301# func_lo2o object
20302func_lo2o ()
20303{
20304 case ${1} in
20305 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20306 *) func_lo2o_result=${1} ;;
20307 esac
20308}
20309
20310# func_xform libobj-or-source
20311func_xform ()
20312{
20313 func_xform_result=${1%.*}.lo
20314}
20315
20316# func_arith arithmetic-term...
20317func_arith ()
20318{
20319 func_arith_result=$(( $* ))
20320}
20321
20322# func_len string
20323# STRING may not start with a hyphen.
20324func_len ()
20325{
20326 func_len_result=${#1}
20327}
20328
20329_LT_EOF
20330 ;;
20331 *) # Bourne compatible functions.
20332 cat << \_LT_EOF >> "$cfgfile"
20333
20334# func_dirname file append nondir_replacement
20335# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20336# otherwise set result to NONDIR_REPLACEMENT.
20337func_dirname ()
20338{
20339 # Extract subdirectory from the argument.
20340 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20341 if test "X$func_dirname_result" = "X${1}"; then
20342 func_dirname_result="${3}"
20343 else
20344 func_dirname_result="$func_dirname_result${2}"
20345 fi
20346}
20347
20348# func_basename file
20349func_basename ()
20350{
20351 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20352}
20353
20354
20355# func_stripname prefix suffix name
20356# strip PREFIX and SUFFIX off of NAME.
20357# PREFIX and SUFFIX must not contain globbing or regex special
20358# characters, hashes, percent signs, but SUFFIX may contain a leading
20359# dot (in which case that matches only a dot).
20360# func_strip_suffix prefix name
20361func_stripname ()
20362{
20363 case ${2} in
20364 .*) func_stripname_result=`$ECHO "X${3}" \
20365 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20366 *) func_stripname_result=`$ECHO "X${3}" \
20367 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20368 esac
20369}
20370
20371# sed scripts:
20372my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20373my_sed_long_arg='1s/^-[^=]*=//'
20374
20375# func_opt_split
20376func_opt_split ()
20377{
20378 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20379 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20380}
20381
20382# func_lo2o object
20383func_lo2o ()
20384{
20385 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20386}
20387
20388# func_xform libobj-or-source
20389func_xform ()
20390{
20391 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20392}
20393
20394# func_arith arithmetic-term...
20395func_arith ()
20396{
20397 func_arith_result=`expr "$@"`
20398}
20399
20400# func_len string
20401# STRING may not start with a hyphen.
20402func_len ()
20403{
20404 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20405}
20406
20407_LT_EOF
20408esac
20409
20410case $lt_shell_append in
20411 yes)
20412 cat << \_LT_EOF >> "$cfgfile"
20413
20414# func_append var value
20415# Append VALUE to the end of shell variable VAR.
20416func_append ()
20417{
20418 eval "$1+=\$2"
20419}
20420_LT_EOF
20421 ;;
20422 *)
20423 cat << \_LT_EOF >> "$cfgfile"
20424
20425# func_append var value
20426# Append VALUE to the end of shell variable VAR.
20427func_append ()
20428{
20429 eval "$1=\$$1\$2"
20430}
20431
20432_LT_EOF
20433 ;;
20434 esac
20435
20436
20437 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20438 || (rm -f "$cfgfile"; exit 1)
20439
20440 mv -f "$cfgfile" "$ofile" ||
20441 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20442 chmod +x "$ofile"
20443
20444 ;;
20445 "po-directories":C)
20446 for ac_file in $CONFIG_FILES; do
20447 # Support "outfile[:infile[:infile...]]"
20448 case "$ac_file" in
20449 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20450 esac
20451 # PO directories have a Makefile.in generated from Makefile.in.in.
20452 case "$ac_file" in */Makefile.in)
20453 # Adjust a relative srcdir.
20454 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20455 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
20456 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20457 # In autoconf-2.13 it is called $ac_given_srcdir.
20458 # In autoconf-2.50 it is called $srcdir.
20459 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
20460 case "$ac_given_srcdir" in
20461 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
20462 /*) top_srcdir="$ac_given_srcdir" ;;
20463 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
20464 esac
20465 # Treat a directory as a PO directory if and only if it has a
20466 # POTFILES.in file. This allows packages to have multiple PO
20467 # directories under different names or in different locations.
20468 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20469 rm -f "$ac_dir/POTFILES"
20470 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
20471 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20472 POMAKEFILEDEPS="POTFILES.in"
20473 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
20474 # on $ac_dir but don't depend on user-specified configuration
20475 # parameters.
20476 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20477 # The LINGUAS file contains the set of available languages.
20478 if test -n "$OBSOLETE_ALL_LINGUAS"; then
20479 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
20480 fi
20481 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20482 # Hide the ALL_LINGUAS assigment from automake < 1.5.
20483 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20484 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
20485 else
20486 # The set of available languages was given in configure.in.
20487 # Hide the ALL_LINGUAS assigment from automake < 1.5.
20488 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20489 fi
20490 # Compute POFILES
20491 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
20492 # Compute UPDATEPOFILES
20493 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
20494 # Compute DUMMYPOFILES
20495 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
20496 # Compute GMOFILES
20497 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
20498 case "$ac_given_srcdir" in
20499 .) srcdirpre= ;;
20500 *) srcdirpre='$(srcdir)/' ;;
20501 esac
20502 POFILES=
20503 UPDATEPOFILES=
20504 DUMMYPOFILES=
20505 GMOFILES=
20506 for lang in $ALL_LINGUAS; do
20507 POFILES="$POFILES $srcdirpre$lang.po"
20508 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
20509 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
20510 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
20511 done
20512 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20513 # environment variable.
20514 INST_LINGUAS=
20515 if test -n "$ALL_LINGUAS"; then
20516 for presentlang in $ALL_LINGUAS; do
20517 useit=no
20518 if test "%UNSET%" != "$LINGUAS"; then
20519 desiredlanguages="$LINGUAS"
20520 else
20521 desiredlanguages="$ALL_LINGUAS"
20522 fi
20523 for desiredlang in $desiredlanguages; do
20524 # Use the presentlang catalog if desiredlang is
20525 # a. equal to presentlang, or
20526 # b. a variant of presentlang (because in this case,
20527 # presentlang can be used as a fallback for messages
20528 # which are not translated in the desiredlang catalog).
20529 case "$desiredlang" in
20530 "$presentlang"*) useit=yes;;
20531 esac
20532 done
20533 if test $useit = yes; then
20534 INST_LINGUAS="$INST_LINGUAS $presentlang"
20535 fi
20536 done
20537 fi
20538 CATALOGS=
20539 if test -n "$INST_LINGUAS"; then
20540 for lang in $INST_LINGUAS; do
20541 CATALOGS="$CATALOGS $lang.gmo"
20542 done
20543 fi
20544 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
20545 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
20546 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
20547 if test -f "$f"; then
20548 case "$f" in
20549 *.orig | *.bak | *~) ;;
20550 *) cat "$f" >> "$ac_dir/Makefile" ;;
20551 esac
20552 fi
20553 done
20554 fi
20555 ;;
20556 esac
20557 done ;;
20558
20559 esac
20560done # for ac_tag
20561
20562
20563as_fn_exit 0
20564_ACEOF
20565ac_clean_files=$ac_clean_files_save
20566
20567test $ac_write_fail = 0 ||
20568 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20569
20570
20571# configure is writing to config.log, and then calls config.status.
20572# config.status does its own redirection, appending to config.log.
20573# Unfortunately, on DOS this fails, as config.log is still kept open
20574# by configure, so config.status won't be able to write to it; its
20575# output is simply discarded. So we exec the FD to /dev/null,
20576# effectively closing config.log, so it can be properly (re)opened and
20577# appended to by config.status. When coming back to configure, we
20578# need to make the FD available again.
20579if test "$no_create" != yes; then
20580 ac_cs_success=:
20581 ac_config_status_args=
20582 test "$silent" = yes &&
20583 ac_config_status_args="$ac_config_status_args --quiet"
20584 exec 5>/dev/null
20585 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20586 exec 5>>config.log
20587 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20588 # would make configure fail if this is the last instruction.
20589 $ac_cs_success || as_fn_exit 1
20590fi
20591if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20593$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20594fi
20595
20596
20597#####################################################################
20598## Info
20599
20600echo
20601echo
20602echo
20603echo "------------------------------------------------------------------------"
20604echo "$PACKAGE $VERSION"
20605echo "------------------------------------------------------------------------"
20606echo
20607echo "Configuration Options Summary:"
20608echo
20609echo " Engines:"
20610echo " X11....................: ${have_elementary_x}"
20611echo " Framebuffer............: ${have_elementary_fb}"
20612echo " PSL1GHT................: ${have_elementary_psl1ght}"
20613echo " SDL....................: ${have_elementary_sdl}"
20614echo " Cocoa..................: ${have_elementary_cocoa}"
20615echo " Windows XP.............: ${have_elementary_win32}"
20616echo " Windows CE.............: ${have_elementary_wince}"
20617echo
20618echo " Features:"
20619echo " Ecore_IMF..............: ${have_ecore_imf}"
20620echo " Ecore_Con..............: ${have_ecore_con}"
20621echo " EDBus..................: ${have_elementary_edbus}"
20622echo " EFreet.................: ${have_elementary_efreet}"
20623echo " EWeather...............: ${have_elementary_eweather}"
20624echo " EMap...................: ${have_elementary_emap}"
20625echo " Ethumb.................: ${have_elementary_ethumb}"
20626echo " Web (WebKit)...........: ${have_elementary_web}"
20627echo " Quick Launch...........: ${have_fork}"
20628echo " EIO....................: ${have_eio}"
20629echo " Emotion................: ${have_emotion}"
20630echo
20631echo " eet......................: ${eet_eet}"
20632echo " edje_cc..................: ${edje_cc}"
20633echo
20634echo " Build elementary_test....: ${have_elementary_test}"
20635echo " Examples.................: ${enable_build_examples}"
20636echo " Examples installed.......: ${enable_install_examples}"
20637echo " Build elementary_config..: ${have_elementary_config}"
20638echo
20639echo "Compilation................: make (or gmake)"
20640echo " CPPFLAGS.................: $CPPFLAGS"
20641echo " CFLAGS...................: $CFLAGS"
20642echo " LDFLAGS..................: $LDFLAGS"
20643echo
20644echo "Installation...............: make install (as root if needed, with 'su' or 'sudo')"
20645echo " prefix...................: $prefix"
20646echo