Codebase list libdvdread / e72302a
Imported Debian patch 4.2.0+20130219-1 Daniel Baumann authored 11 years ago Reinhard Tartler committed 10 years ago
44 changed file(s) with 1102 addition(s) and 34391 deletion(s). Raw diff Collapse all Expand all
5656 config.sub depcomp install-sh ltmain.sh missing
5757 subdir = .
5858 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
59 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
60 $(top_srcdir)/configure.ac
6061 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6162 $(ACLOCAL_M4)
6263 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
127128 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
128129 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
129130 distcleancheck_listfiles = find . -type f -print
130 ACLOCAL = ${SHELL} /home/user/libdvdread/missing --run aclocal-1.11
131 ACLOCAL = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11
131132 AMTAR = $${TAR-tar}
132133 AR = ar
133 AUTOCONF = ${SHELL} /home/user/libdvdread/missing --run autoconf
134 AUTOHEADER = ${SHELL} /home/user/libdvdread/missing --run autoheader
135 AUTOMAKE = ${SHELL} /home/user/libdvdread/missing --run automake-1.11
134 AUTOCONF = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf
135 AUTOHEADER = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader
136 AUTOMAKE = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11
136137 AWK = mawk
137138 CC = gcc
138139 CCDEPMODE = depmode=gcc3
139 CFLAGS = -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
140 CFLAGS = -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
140141 CPP = gcc -E
141142 CPPFLAGS =
142143 CSS_LIBS =
177178 LIPO =
178179 LN_S = ln -s
179180 LTLIBOBJS =
180 MAKEINFO = ${SHELL} /home/user/libdvdread/missing --run makeinfo
181 MAKEINFO = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo
181182 MANIFEST_TOOL = :
182183 MKDIR_P = /bin/mkdir -p
183184 NM = /usr/bin/nm -B
201202 STATIC =
202203 STRIP = strip
203204 VERSION = 4.2.0
204 abs_builddir = /home/user/libdvdread
205 abs_srcdir = /home/user/libdvdread
206 abs_top_builddir = /home/user/libdvdread
207 abs_top_srcdir = /home/user/libdvdread
205 abs_builddir = /home/user/libdvdread-4.2.0+20130219
206 abs_srcdir = /home/user/libdvdread-4.2.0+20130219
207 abs_top_builddir = /home/user/libdvdread-4.2.0+20130219
208 abs_top_srcdir = /home/user/libdvdread-4.2.0+20130219
208209 ac_ct_AR = ar
209210 ac_ct_CC = gcc
210211 ac_ct_DUMPBIN =
233234 htmldir = ${docdir}
234235 includedir = ${prefix}/include
235236 infodir = ${datarootdir}/info
236 install_sh = ${SHELL} /home/user/libdvdread/install-sh
237 install_sh = ${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh
237238 libdir = ${exec_prefix}/lib
238239 libexecdir = ${exec_prefix}/libexec
239240 localedir = ${datarootdir}/locale
256257 MOSTLYCLEANFILES = *~ \\\ $(PACKAGE)_$(VERSION).tar.gz \
257258 $(distdir).tar.gz $(PACKAGE).tgz package_descriptions
258259 MAINTAINERCLEANFILES = Makefile.in configure $(ACLOCAL_M4) config.h.in \
259 ltmain.sh config.guess config.sub install-sh missing \
260 mkinstalldirs
260 ltmain.sh config.guess config.sub install-sh missing
261261 SUBDIRS = src misc m4
262262 EXTRA_DIST = autogen.sh \
263263 AUTHORS \
271271 libtool \
272272 ltmain.sh \
273273 missing \
274 mkinstalldirs \
275274 README \
276275 TODO
277276
1414 libtool \
1515 ltmain.sh \
1616 missing \
17 mkinstalldirs \
1817 README \
1918 TODO
2019
2221 $(distdir).tar.gz $(PACKAGE).tgz package_descriptions
2322
2423 MAINTAINERCLEANFILES += configure $(ACLOCAL_M4) config.h.in \
25 ltmain.sh config.guess config.sub install-sh missing \
26 mkinstalldirs
24 ltmain.sh config.guess config.sub install-sh missing
2725
2826 world:
2927 @$(MAKE) clean all install 2> warnings.log
5656 config.sub depcomp install-sh ltmain.sh missing
5757 subdir = .
5858 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
59 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
60 $(top_srcdir)/configure.ac
6061 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6162 $(ACLOCAL_M4)
6263 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
256257 MOSTLYCLEANFILES = *~ \\\ $(PACKAGE)_$(VERSION).tar.gz \
257258 $(distdir).tar.gz $(PACKAGE).tgz package_descriptions
258259 MAINTAINERCLEANFILES = Makefile.in configure $(ACLOCAL_M4) config.h.in \
259 ltmain.sh config.guess config.sub install-sh missing \
260 mkinstalldirs
260 ltmain.sh config.guess config.sub install-sh missing
261261 SUBDIRS = src misc m4
262262 EXTRA_DIST = autogen.sh \
263263 AUTHORS \
271271 libtool \
272272 ltmain.sh \
273273 missing \
274 mkinstalldirs \
275274 README \
276275 TODO
277276
+0
-15346
autom4te.cache/output.0 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for libdvdread 4.2.0.
3 @%:@
4 @%:@
5 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 @%:@
7 @%:@
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in @%:@(
25 *posix*) :
26 set -o posix ;; @%:@(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in @%:@(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in @%:@((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in @%:@ ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in @%:@(
169 *posix*) :
170 set -o posix ;; @%:@(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198
199 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
200 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
201 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 PATH=/empty FPATH=/empty; export PATH FPATH
204 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
205 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
206 test \$(( 1 + 1 )) = 2 || exit 1"
207 if (eval "$as_required") 2>/dev/null; then :
208 as_have_required=yes
209 else
210 as_have_required=no
211 fi
212 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
213
214 else
215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216 as_found=false
217 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218 do
219 IFS=$as_save_IFS
220 test -z "$as_dir" && as_dir=.
221 as_found=:
222 case $as_dir in @%:@(
223 /*)
224 for as_base in sh bash ksh sh5; do
225 # Try only shells that exist, to save several forks.
226 as_shell=$as_dir/$as_base
227 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
228 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
229 CONFIG_SHELL=$as_shell as_have_required=yes
230 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 break 2
232 fi
233 fi
234 done;;
235 esac
236 as_found=false
237 done
238 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
240 CONFIG_SHELL=$SHELL as_have_required=yes
241 fi; }
242 IFS=$as_save_IFS
243
244
245 if test "x$CONFIG_SHELL" != x; then :
246 export CONFIG_SHELL
247 # We cannot yet assume a decent shell, so we have to provide a
248 # neutralization value for shells without unset; and this also
249 # works around shells that cannot unset nonexistent variables.
250 # Preserve -v and -x to the replacement shell.
251 BASH_ENV=/dev/null
252 ENV=/dev/null
253 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
254 case $- in @%:@ ((((
255 *v*x* | *x*v* ) as_opts=-vx ;;
256 *v* ) as_opts=-v ;;
257 *x* ) as_opts=-x ;;
258 * ) as_opts= ;;
259 esac
260 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
261 # Admittedly, this is quite paranoid, since all the known shells bail
262 # out after a failed `exec'.
263 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
264 exit 255
265 fi
266
267 if test x$as_have_required = xno; then :
268 $as_echo "$0: This script requires a shell more modern than all"
269 $as_echo "$0: the shells that I found on your system."
270 if test x${ZSH_VERSION+set} = xset ; then
271 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
272 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
273 else
274 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
275 $0: including any error possibly output before this
276 $0: message. Then install a modern shell, or manually run
277 $0: the script under such a shell if you do have one."
278 fi
279 exit 1
280 fi
281 fi
282 fi
283 SHELL=${CONFIG_SHELL-/bin/sh}
284 export SHELL
285 # Unset more variables known to interfere with behavior of common tools.
286 CLICOLOR_FORCE= GREP_OPTIONS=
287 unset CLICOLOR_FORCE GREP_OPTIONS
288
289 ## --------------------- ##
290 ## M4sh Shell Functions. ##
291 ## --------------------- ##
292 @%:@ as_fn_unset VAR
293 @%:@ ---------------
294 @%:@ Portably unset VAR.
295 as_fn_unset ()
296 {
297 { eval $1=; unset $1;}
298 }
299 as_unset=as_fn_unset
300
301 @%:@ as_fn_set_status STATUS
302 @%:@ -----------------------
303 @%:@ Set @S|@? to STATUS, without forking.
304 as_fn_set_status ()
305 {
306 return $1
307 } @%:@ as_fn_set_status
308
309 @%:@ as_fn_exit STATUS
310 @%:@ -----------------
311 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
312 as_fn_exit ()
313 {
314 set +e
315 as_fn_set_status $1
316 exit $1
317 } @%:@ as_fn_exit
318
319 @%:@ as_fn_mkdir_p
320 @%:@ -------------
321 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
322 as_fn_mkdir_p ()
323 {
324
325 case $as_dir in #(
326 -*) as_dir=./$as_dir;;
327 esac
328 test -d "$as_dir" || eval $as_mkdir_p || {
329 as_dirs=
330 while :; do
331 case $as_dir in #(
332 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
333 *) as_qdir=$as_dir;;
334 esac
335 as_dirs="'$as_qdir' $as_dirs"
336 as_dir=`$as_dirname -- "$as_dir" ||
337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
338 X"$as_dir" : 'X\(//\)[^/]' \| \
339 X"$as_dir" : 'X\(//\)$' \| \
340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
341 $as_echo X"$as_dir" |
342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)[^/].*/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)$/{
351 s//\1/
352 q
353 }
354 /^X\(\/\).*/{
355 s//\1/
356 q
357 }
358 s/.*/./; q'`
359 test -d "$as_dir" && break
360 done
361 test -z "$as_dirs" || eval "mkdir $as_dirs"
362 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363
364
365 } @%:@ as_fn_mkdir_p
366
367 @%:@ as_fn_executable_p FILE
368 @%:@ -----------------------
369 @%:@ Test if FILE is an executable regular file.
370 as_fn_executable_p ()
371 {
372 test -f "$1" && test -x "$1"
373 } @%:@ as_fn_executable_p
374 @%:@ as_fn_append VAR VALUE
375 @%:@ ----------------------
376 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
377 @%:@ advantage of any shell optimizations that allow amortized linear growth over
378 @%:@ repeated appends, instead of the typical quadratic growth present in naive
379 @%:@ implementations.
380 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
381 eval 'as_fn_append ()
382 {
383 eval $1+=\$2
384 }'
385 else
386 as_fn_append ()
387 {
388 eval $1=\$$1\$2
389 }
390 fi # as_fn_append
391
392 @%:@ as_fn_arith ARG...
393 @%:@ ------------------
394 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
395 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
396 @%:@ must be portable across @S|@(()) and expr.
397 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 eval 'as_fn_arith ()
399 {
400 as_val=$(( $* ))
401 }'
402 else
403 as_fn_arith ()
404 {
405 as_val=`expr "$@" || test $? -eq 1`
406 }
407 fi # as_fn_arith
408
409
410 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
411 @%:@ ----------------------------------------
412 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
413 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
414 @%:@ script with STATUS, using 1 if that was 0.
415 as_fn_error ()
416 {
417 as_status=$1; test $as_status -eq 0 && as_status=1
418 if test "$4"; then
419 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
420 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
421 fi
422 $as_echo "$as_me: error: $2" >&2
423 as_fn_exit $as_status
424 } @%:@ as_fn_error
425
426 if expr a : '\(a\)' >/dev/null 2>&1 &&
427 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 as_expr=expr
429 else
430 as_expr=false
431 fi
432
433 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 as_basename=basename
435 else
436 as_basename=false
437 fi
438
439 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_dirname=dirname
441 else
442 as_dirname=false
443 fi
444
445 as_me=`$as_basename -- "$0" ||
446 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
447 X"$0" : 'X\(//\)$' \| \
448 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
449 $as_echo X/"$0" |
450 sed '/^.*\/\([^/][^/]*\)\/*$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\/\)$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\).*/{
459 s//\1/
460 q
461 }
462 s/.*/./; q'`
463
464 # Avoid depending upon Character Ranges.
465 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
466 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
467 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
468 as_cr_digits='0123456789'
469 as_cr_alnum=$as_cr_Letters$as_cr_digits
470
471
472 as_lineno_1=$LINENO as_lineno_1a=$LINENO
473 as_lineno_2=$LINENO as_lineno_2a=$LINENO
474 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
475 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
476 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
477 sed -n '
478 p
479 /[$]LINENO/=
480 ' <$as_myself |
481 sed '
482 s/[$]LINENO.*/&-/
483 t lineno
484 b
485 :lineno
486 N
487 :loop
488 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 t loop
490 s/-\n.*//
491 ' >$as_me.lineno &&
492 chmod +x "$as_me.lineno" ||
493 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
494
495 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
496 # already done that, so ensure we don't try to do so again and fall
497 # in an infinite loop. This has already happened in practice.
498 _as_can_reexec=no; export _as_can_reexec
499 # Don't try to exec as it changes $[0], causing all sort of problems
500 # (the dirname of $[0] is not the place where we might find the
501 # original and so on. Autoconf is especially sensitive to this).
502 . "./$as_me.lineno"
503 # Exit status is that of the last command.
504 exit
505 }
506
507 ECHO_C= ECHO_N= ECHO_T=
508 case `echo -n x` in @%:@(((((
509 -n*)
510 case `echo 'xy\c'` in
511 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
512 xy) ECHO_C='\c';;
513 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
514 ECHO_T=' ';;
515 esac;;
516 *)
517 ECHO_N='-n';;
518 esac
519
520 rm -f conf$$ conf$$.exe conf$$.file
521 if test -d conf$$.dir; then
522 rm -f conf$$.dir/conf$$.file
523 else
524 rm -f conf$$.dir
525 mkdir conf$$.dir 2>/dev/null
526 fi
527 if (echo >conf$$.file) 2>/dev/null; then
528 if ln -s conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s='ln -s'
530 # ... but there are two gotchas:
531 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
532 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
533 # In both cases, we have to default to `cp -pR'.
534 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
535 as_ln_s='cp -pR'
536 elif ln conf$$.file conf$$ 2>/dev/null; then
537 as_ln_s=ln
538 else
539 as_ln_s='cp -pR'
540 fi
541 else
542 as_ln_s='cp -pR'
543 fi
544 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
545 rmdir conf$$.dir 2>/dev/null
546
547 if mkdir -p . 2>/dev/null; then
548 as_mkdir_p='mkdir -p "$as_dir"'
549 else
550 test -d ./-p && rmdir ./-p
551 as_mkdir_p=false
552 fi
553
554 as_test_x='test -x'
555 as_executable_p=as_fn_executable_p
556
557 # Sed expression to map a string onto a valid CPP name.
558 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
559
560 # Sed expression to map a string onto a valid variable name.
561 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
562
563 SHELL=${CONFIG_SHELL-/bin/sh}
564
565
566 test -n "$DJDIR" || exec 7<&0 </dev/null
567 exec 6>&1
568
569 # Name of the host.
570 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
571 # so uname gets run too.
572 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
573
574 #
575 # Initializations.
576 #
577 ac_default_prefix=/usr/local
578 ac_clean_files=
579 ac_config_libobj_dir=.
580 LIB@&t@OBJS=
581 cross_compiling=no
582 subdirs=
583 MFLAGS=
584 MAKEFLAGS=
585
586 # Identity of this package.
587 PACKAGE_NAME='libdvdread'
588 PACKAGE_TARNAME='libdvdread'
589 PACKAGE_VERSION='4.2.0'
590 PACKAGE_STRING='libdvdread 4.2.0'
591 PACKAGE_BUGREPORT=''
592 PACKAGE_URL=''
593
594 ac_unique_file="src/dvdread/dvd_reader.h"
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_subst_vars='am__EXEEXT_FALSE
632 am__EXEEXT_TRUE
633 LTLIBOBJS
634 LIB@&t@OBJS
635 INCLUDES
636 DOXYGEN
637 DEBUG_CFLAGS
638 CSS_LIBS
639 DYNAMIC_LD_LIBS
640 STATIC
641 LIBTOOL_DEPS
642 CPP
643 OTOOL64
644 OTOOL
645 LIPO
646 NMEDIT
647 DSYMUTIL
648 MANIFEST_TOOL
649 RANLIB
650 ac_ct_AR
651 AR
652 DLLTOOL
653 OBJDUMP
654 NM
655 ac_ct_DUMPBIN
656 DUMPBIN
657 LD
658 FGREP
659 EGREP
660 GREP
661 SED
662 LIBTOOL
663 LN_S
664 am__fastdepCC_FALSE
665 am__fastdepCC_TRUE
666 CCDEPMODE
667 am__nodep
668 AMDEPBACKSLASH
669 AMDEP_FALSE
670 AMDEP_TRUE
671 am__quote
672 am__include
673 DEPDIR
674 OBJEXT
675 EXEEXT
676 ac_ct_CC
677 CPPFLAGS
678 LDFLAGS
679 CFLAGS
680 CC
681 DVDREAD_LT_REVISION
682 DVDREAD_LT_AGE
683 DVDREAD_LT_CURRENT
684 DVDREAD_SUB
685 DVDREAD_MINOR
686 DVDREAD_MAJOR
687 host_os
688 host_vendor
689 host_cpu
690 host
691 build_os
692 build_vendor
693 build_cpu
694 build
695 am__untar
696 am__tar
697 AMTAR
698 am__leading_dot
699 SET_MAKE
700 AWK
701 mkdir_p
702 MKDIR_P
703 INSTALL_STRIP_PROGRAM
704 STRIP
705 install_sh
706 MAKEINFO
707 AUTOHEADER
708 AUTOMAKE
709 AUTOCONF
710 ACLOCAL
711 VERSION
712 PACKAGE
713 CYGPATH_W
714 am__isrc
715 INSTALL_DATA
716 INSTALL_SCRIPT
717 INSTALL_PROGRAM
718 target_alias
719 host_alias
720 build_alias
721 LIBS
722 ECHO_T
723 ECHO_N
724 ECHO_C
725 DEFS
726 mandir
727 localedir
728 libdir
729 psdir
730 pdfdir
731 dvidir
732 htmldir
733 infodir
734 docdir
735 oldincludedir
736 includedir
737 localstatedir
738 sharedstatedir
739 sysconfdir
740 datadir
741 datarootdir
742 libexecdir
743 sbindir
744 bindir
745 program_transform_name
746 prefix
747 exec_prefix
748 PACKAGE_URL
749 PACKAGE_BUGREPORT
750 PACKAGE_STRING
751 PACKAGE_VERSION
752 PACKAGE_TARNAME
753 PACKAGE_NAME
754 PATH_SEPARATOR
755 SHELL'
756 ac_subst_files=''
757 ac_user_opts='
758 enable_option_checking
759 enable_dependency_tracking
760 enable_static
761 enable_shared
762 with_pic
763 enable_fast_install
764 with_gnu_ld
765 with_sysroot
766 enable_libtool_lock
767 enable_libdvdcss
768 enable_dlfcn
769 '
770 ac_precious_vars='build_alias
771 host_alias
772 target_alias
773 CC
774 CFLAGS
775 LDFLAGS
776 LIBS
777 CPPFLAGS
778 CPP'
779
780
781 # Initialize some variables set by options.
782 ac_init_help=
783 ac_init_version=false
784 ac_unrecognized_opts=
785 ac_unrecognized_sep=
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
788 cache_file=/dev/null
789 exec_prefix=NONE
790 no_create=
791 no_recursion=
792 prefix=NONE
793 program_prefix=NONE
794 program_suffix=NONE
795 program_transform_name=s,x,x,
796 silent=
797 site=
798 srcdir=
799 verbose=
800 x_includes=NONE
801 x_libraries=NONE
802
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
821 htmldir='${docdir}'
822 dvidir='${docdir}'
823 pdfdir='${docdir}'
824 psdir='${docdir}'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
828
829 ac_prev=
830 ac_dashdash=
831 for ac_option
832 do
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
836 ac_prev=
837 continue
838 fi
839
840 case $ac_option in
841 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 *=) ac_optarg= ;;
843 *) ac_optarg=yes ;;
844 esac
845
846 # Accept the important Cygnus configure options, so we can diagnose typos.
847
848 case $ac_dashdash$ac_option in
849 --)
850 ac_dashdash=yes ;;
851
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
853 ac_prev=bindir ;;
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
855 bindir=$ac_optarg ;;
856
857 -build | --build | --buil | --bui | --bu)
858 ac_prev=build_alias ;;
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860 build_alias=$ac_optarg ;;
861
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864 ac_prev=cache_file ;;
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867 cache_file=$ac_optarg ;;
868
869 --config-cache | -C)
870 cache_file=config.cache ;;
871
872 -datadir | --datadir | --datadi | --datad)
873 ac_prev=datadir ;;
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
875 datadir=$ac_optarg ;;
876
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
879 ac_prev=datarootdir ;;
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882 datarootdir=$ac_optarg ;;
883
884 -disable-* | --disable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error $? "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
892 *"
893 "enable_$ac_useropt"
894 "*) ;;
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
897 esac
898 eval enable_$ac_useropt=no ;;
899
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
904
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
909
910 -enable-* | --enable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914 as_fn_error $? "invalid feature name: $ac_useropt"
915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
918 *"
919 "enable_$ac_useropt"
920 "*) ;;
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
923 esac
924 eval enable_$ac_useropt=\$ac_optarg ;;
925
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
934
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
938
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
945
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
950
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
956
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
963
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
968
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
973
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
980
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
985
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
992
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
997
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1001
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1005
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1009
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1018
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1023
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1030
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1037
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1054
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1059
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1064
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1068
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1074
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1085
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1090
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1095
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1102
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1107
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1110
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1113
1114 -with-* | --with-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1122 *"
1123 "with_$ac_useropt"
1124 "*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1127 esac
1128 eval with_$ac_useropt=\$ac_optarg ;;
1129
1130 -without-* | --without-*)
1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 as_fn_error $? "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1138 *"
1139 "with_$ac_useropt"
1140 "*) ;;
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1143 esac
1144 eval with_$ac_useropt=no ;;
1145
1146 --x)
1147 # Obsolete; use --with-x.
1148 with_x=yes ;;
1149
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev=x_includes ;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes=$ac_optarg ;;
1156
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev=x_libraries ;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries=$ac_optarg ;;
1163
1164 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information"
1166 ;;
1167
1168 *=*)
1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1173 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1174 esac
1175 eval $ac_envvar=\$ac_optarg
1176 export $ac_envvar ;;
1177
1178 *)
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1184 ;;
1185
1186 esac
1187 done
1188
1189 if test -n "$ac_prev"; then
1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1191 as_fn_error $? "missing argument to $ac_option"
1192 fi
1193
1194 if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1196 no) ;;
1197 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 esac
1200 fi
1201
1202 # Check all directory arguments for consistency.
1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
1207 do
1208 eval ac_val=\$$ac_var
1209 # Remove trailing slashes.
1210 case $ac_val in
1211 */ )
1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\$ac_val;;
1214 esac
1215 # Be sure to have absolute directory names.
1216 case $ac_val in
1217 [\\/$]* | ?:[\\/]* ) continue;;
1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219 esac
1220 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1221 done
1222
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1226 build=$build_alias
1227 host=$host_alias
1228 target=$target_alias
1229
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x; then
1232 if test "x$build_alias" = x; then
1233 cross_compiling=maybe
1234 elif test "x$build_alias" != "x$host_alias"; then
1235 cross_compiling=yes
1236 fi
1237 fi
1238
1239 ac_tool_prefix=
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241
1242 test "$silent" = yes && exec 6>/dev/null
1243
1244
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error $? "working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error $? "pwd does not report name of working directory"
1251
1252
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 s//\1/
1265 q
1266 }
1267 /^X\(\/\/\)[^/].*/{
1268 s//\1/
1269 q
1270 }
1271 /^X\(\/\/\)$/{
1272 s//\1/
1273 q
1274 }
1275 /^X\(\/\).*/{
1276 s//\1/
1277 q
1278 }
1279 s/.*/./; q'`
1280 srcdir=$ac_confdir
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282 srcdir=..
1283 fi
1284 else
1285 ac_srcdir_defaulted=no
1286 fi
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1290 fi
1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 ac_abs_confdir=`(
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1294 pwd)`
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 srcdir=.
1298 fi
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1302 case $srcdir in
1303 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 esac
1305 for ac_var in $ac_precious_vars; do
1306 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_${ac_var}_value=\$${ac_var}
1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310 done
1311
1312 #
1313 # Report the --help message.
1314 #
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1318 cat <<_ACEOF
1319 \`configure' configures libdvdread 4.2.0 to adapt to many kinds of systems.
1320
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1322
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1325
1326 Defaults for the options are specified in brackets.
1327
1328 Configuration:
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking ...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 @<:@@S|@ac_default_prefix@:>@
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 @<:@PREFIX@:>@
1344
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1349
1350 For better control, use the options below.
1351
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libdvdread@:>@
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1372 _ACEOF
1373
1374 cat <<\_ACEOF
1375
1376 Program names:
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1380
1381 System types:
1382 --build=BUILD configure for building on BUILD [guessed]
1383 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1384 _ACEOF
1385 fi
1386
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of libdvdread 4.2.0:";;
1390 esac
1391 cat <<\_ACEOF
1392
1393 Optional Features:
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --disable-dependency-tracking speeds up one-time build
1398 --enable-dependency-tracking do not reject slow dependency extractors
1399 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1400 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1401 --enable-fast-install@<:@=PKGS@:>@
1402 optimize for fast installation @<:@default=yes@:>@
1403 --disable-libtool-lock avoid locking (might break parallel builds)
1404 --enable-libdvdcss force linking against libdvdcss
1405 --enable-dlfcn use builtin dlfcn for mingw (default is auto)
1406
1407 Optional Packages:
1408 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1409 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1410 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1411 both@:>@
1412 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1413 --with-sysroot=DIR Search for dependent libraries within DIR
1414 (or the compiler's sysroot if not specified).
1415
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1424 CPP C preprocessor
1425
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1428
1429 Report bugs to the package provider.
1430 _ACEOF
1431 ac_status=$?
1432 fi
1433
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" ||
1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1439 continue
1440 ac_builddir=.
1441
1442 case "$ac_dir" in
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *)
1445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 esac ;;
1452 esac
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1457
1458 case $srcdir in
1459 .) # We are building in place.
1460 ac_srcdir=.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1467 *) # Relative name.
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1471 esac
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1473
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1477 echo &&
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1480 echo &&
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1482 else
1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1484 fi || ac_status=$?
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1486 done
1487 fi
1488
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1491 cat <<\_ACEOF
1492 libdvdread configure 4.2.0
1493 generated by GNU Autoconf 2.69
1494
1495 Copyright (C) 2012 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1498 _ACEOF
1499 exit
1500 fi
1501
1502 ## ------------------------ ##
1503 ## Autoconf initialization. ##
1504 ## ------------------------ ##
1505
1506 @%:@ ac_fn_c_try_compile LINENO
1507 @%:@ --------------------------
1508 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1509 ac_fn_c_try_compile ()
1510 {
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext
1513 if { { ac_try="$ac_compile"
1514 case "(($ac_try" in
1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516 *) ac_try_echo=$ac_try;;
1517 esac
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_compile") 2>conftest.err
1521 ac_status=$?
1522 if test -s conftest.err; then
1523 grep -v '^ *+' conftest.err >conftest.er1
1524 cat conftest.er1 >&5
1525 mv -f conftest.er1 conftest.err
1526 fi
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } && {
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.$ac_objext; then :
1532 ac_retval=0
1533 else
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1536
1537 ac_retval=1
1538 fi
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status $ac_retval
1541
1542 } @%:@ ac_fn_c_try_compile
1543
1544 @%:@ ac_fn_c_try_link LINENO
1545 @%:@ -----------------------
1546 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_link ()
1548 {
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext conftest$ac_exeext
1551 if { { ac_try="$ac_link"
1552 case "(($ac_try" in
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1555 esac
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_link") 2>conftest.err
1559 ac_status=$?
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1564 fi
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest$ac_exeext && {
1570 test "$cross_compiling" = yes ||
1571 test -x conftest$ac_exeext
1572 }; then :
1573 ac_retval=0
1574 else
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1577
1578 ac_retval=1
1579 fi
1580 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1581 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1582 # interfere with the next link command; also delete a directory that is
1583 # left behind by Apple's compiler. We do this before executing the actions.
1584 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1587
1588 } @%:@ ac_fn_c_try_link
1589
1590 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1591 @%:@ -------------------------------------------------------
1592 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1593 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1594 ac_fn_c_check_header_compile ()
1595 {
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1601 else
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1604 $4
1605 @%:@include <$2>
1606 _ACEOF
1607 if ac_fn_c_try_compile "$LINENO"; then :
1608 eval "$3=yes"
1609 else
1610 eval "$3=no"
1611 fi
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1613 fi
1614 eval ac_res=\$$3
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616 $as_echo "$ac_res" >&6; }
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618
1619 } @%:@ ac_fn_c_check_header_compile
1620
1621 @%:@ ac_fn_c_try_cpp LINENO
1622 @%:@ ----------------------
1623 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1624 ac_fn_c_try_cpp ()
1625 {
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_cpp conftest.$ac_ext"
1628 case "(($ac_try" in
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1631 esac
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1635 ac_status=$?
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1640 fi
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1645 }; then :
1646 ac_retval=0
1647 else
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1650
1651 ac_retval=1
1652 fi
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1655
1656 } @%:@ ac_fn_c_try_cpp
1657
1658 @%:@ ac_fn_c_try_run LINENO
1659 @%:@ ----------------------
1660 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1661 @%:@ that executables *can* be run.
1662 ac_fn_c_try_run ()
1663 {
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if { { ac_try="$ac_link"
1666 case "(($ac_try" in
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1669 esac
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>&5
1673 ac_status=$?
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676 { { case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_try") 2>&5
1683 ac_status=$?
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; }; }; then :
1686 ac_retval=0
1687 else
1688 $as_echo "$as_me: program exited with status $ac_status" >&5
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1691
1692 ac_retval=$ac_status
1693 fi
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1697
1698 } @%:@ ac_fn_c_try_run
1699
1700 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1701 @%:@ ----------------------------------
1702 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1703 ac_fn_c_check_func ()
1704 {
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1710 else
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1715 #define $2 innocuous_$2
1716
1717 /* System header to define __stub macros and hopefully few prototypes,
1718 which can conflict with char $2 (); below.
1719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1720 <limits.h> exists even on freestanding compilers. */
1721
1722 #ifdef __STDC__
1723 # include <limits.h>
1724 #else
1725 # include <assert.h>
1726 #endif
1727
1728 #undef $2
1729
1730 /* Override any GCC internal prototype to avoid an error.
1731 Use char because int might match the return type of a GCC
1732 builtin and then its argument prototype would still apply. */
1733 #ifdef __cplusplus
1734 extern "C"
1735 #endif
1736 char $2 ();
1737 /* The GNU C library defines this for functions which it implements
1738 to always fail with ENOSYS. Some functions are actually named
1739 something starting with __ and the normal name is an alias. */
1740 #if defined __stub_$2 || defined __stub___$2
1741 choke me
1742 #endif
1743
1744 int
1745 main ()
1746 {
1747 return $2 ();
1748 ;
1749 return 0;
1750 }
1751 _ACEOF
1752 if ac_fn_c_try_link "$LINENO"; then :
1753 eval "$3=yes"
1754 else
1755 eval "$3=no"
1756 fi
1757 rm -f core conftest.err conftest.$ac_objext \
1758 conftest$ac_exeext conftest.$ac_ext
1759 fi
1760 eval ac_res=\$$3
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764
1765 } @%:@ ac_fn_c_check_func
1766
1767 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1768 @%:@ -------------------------------------------------------
1769 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1770 @%:@ the include files in INCLUDES and setting the cache variable VAR
1771 @%:@ accordingly.
1772 ac_fn_c_check_header_mongrel ()
1773 {
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 if eval \${$3+:} false; then :
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if eval \${$3+:} false; then :
1779 $as_echo_n "(cached) " >&6
1780 fi
1781 eval ac_res=\$$3
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783 $as_echo "$ac_res" >&6; }
1784 else
1785 # Is the header compilable?
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1787 $as_echo_n "checking $2 usability... " >&6; }
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1790 $4
1791 @%:@include <$2>
1792 _ACEOF
1793 if ac_fn_c_try_compile "$LINENO"; then :
1794 ac_header_compiler=yes
1795 else
1796 ac_header_compiler=no
1797 fi
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1800 $as_echo "$ac_header_compiler" >&6; }
1801
1802 # Is the header present?
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1804 $as_echo_n "checking $2 presence... " >&6; }
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1807 @%:@include <$2>
1808 _ACEOF
1809 if ac_fn_c_try_cpp "$LINENO"; then :
1810 ac_header_preproc=yes
1811 else
1812 ac_header_preproc=no
1813 fi
1814 rm -f conftest.err conftest.i conftest.$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1816 $as_echo "$ac_header_preproc" >&6; }
1817
1818 # So? What about this header?
1819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1820 yes:no: )
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1822 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1824 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1825 ;;
1826 no:yes:* )
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1828 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1830 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1832 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1834 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1836 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1837 ;;
1838 esac
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if eval \${$3+:} false; then :
1842 $as_echo_n "(cached) " >&6
1843 else
1844 eval "$3=\$ac_header_compiler"
1845 fi
1846 eval ac_res=\$$3
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1849 fi
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851
1852 } @%:@ ac_fn_c_check_header_mongrel
1853
1854 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1855 @%:@ -------------------------------------------
1856 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1857 @%:@ variable VAR accordingly.
1858 ac_fn_c_check_type ()
1859 {
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864 $as_echo_n "(cached) " >&6
1865 else
1866 eval "$3=no"
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1869 $4
1870 int
1871 main ()
1872 {
1873 if (sizeof ($2))
1874 return 0;
1875 ;
1876 return 0;
1877 }
1878 _ACEOF
1879 if ac_fn_c_try_compile "$LINENO"; then :
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1882 $4
1883 int
1884 main ()
1885 {
1886 if (sizeof (($2)))
1887 return 0;
1888 ;
1889 return 0;
1890 }
1891 _ACEOF
1892 if ac_fn_c_try_compile "$LINENO"; then :
1893
1894 else
1895 eval "$3=yes"
1896 fi
1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 fi
1899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1900 fi
1901 eval ac_res=\$$3
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903 $as_echo "$ac_res" >&6; }
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905
1906 } @%:@ ac_fn_c_check_type
1907 cat >config.log <<_ACEOF
1908 This file contains any messages produced by compilers while
1909 running configure, to aid debugging if configure makes a mistake.
1910
1911 It was created by libdvdread $as_me 4.2.0, which was
1912 generated by GNU Autoconf 2.69. Invocation command line was
1913
1914 $ $0 $@
1915
1916 _ACEOF
1917 exec 5>>config.log
1918 {
1919 cat <<_ASUNAME
1920 ## --------- ##
1921 ## Platform. ##
1922 ## --------- ##
1923
1924 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1925 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1926 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1927 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1928 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1929
1930 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1931 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1932
1933 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1934 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1935 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1936 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1937 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1938 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1939 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1940
1941 _ASUNAME
1942
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 for as_dir in $PATH
1945 do
1946 IFS=$as_save_IFS
1947 test -z "$as_dir" && as_dir=.
1948 $as_echo "PATH: $as_dir"
1949 done
1950 IFS=$as_save_IFS
1951
1952 } >&5
1953
1954 cat >&5 <<_ACEOF
1955
1956
1957 ## ----------- ##
1958 ## Core tests. ##
1959 ## ----------- ##
1960
1961 _ACEOF
1962
1963
1964 # Keep a trace of the command line.
1965 # Strip out --no-create and --no-recursion so they do not pile up.
1966 # Strip out --silent because we don't want to record it for future runs.
1967 # Also quote any args containing shell meta-characters.
1968 # Make two passes to allow for proper duplicate-argument suppression.
1969 ac_configure_args=
1970 ac_configure_args0=
1971 ac_configure_args1=
1972 ac_must_keep_next=false
1973 for ac_pass in 1 2
1974 do
1975 for ac_arg
1976 do
1977 case $ac_arg in
1978 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1980 | -silent | --silent | --silen | --sile | --sil)
1981 continue ;;
1982 *\'*)
1983 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1984 esac
1985 case $ac_pass in
1986 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1987 2)
1988 as_fn_append ac_configure_args1 " '$ac_arg'"
1989 if test $ac_must_keep_next = true; then
1990 ac_must_keep_next=false # Got value, back to normal.
1991 else
1992 case $ac_arg in
1993 *=* | --config-cache | -C | -disable-* | --disable-* \
1994 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1995 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1996 | -with-* | --with-* | -without-* | --without-* | --x)
1997 case "$ac_configure_args0 " in
1998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1999 esac
2000 ;;
2001 -* ) ac_must_keep_next=true ;;
2002 esac
2003 fi
2004 as_fn_append ac_configure_args " '$ac_arg'"
2005 ;;
2006 esac
2007 done
2008 done
2009 { ac_configure_args0=; unset ac_configure_args0;}
2010 { ac_configure_args1=; unset ac_configure_args1;}
2011
2012 # When interrupted or exit'd, cleanup temporary files, and complete
2013 # config.log. We remove comments because anyway the quotes in there
2014 # would cause problems or look ugly.
2015 # WARNING: Use '\'' to represent an apostrophe within the trap.
2016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2017 trap 'exit_status=$?
2018 # Save into config.log some information that might help in debugging.
2019 {
2020 echo
2021
2022 $as_echo "## ---------------- ##
2023 ## Cache variables. ##
2024 ## ---------------- ##"
2025 echo
2026 # The following way of writing the cache mishandles newlines in values,
2027 (
2028 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2029 eval ac_val=\$$ac_var
2030 case $ac_val in #(
2031 *${as_nl}*)
2032 case $ac_var in #(
2033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2035 esac
2036 case $ac_var in #(
2037 _ | IFS | as_nl) ;; #(
2038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2039 *) { eval $ac_var=; unset $ac_var;} ;;
2040 esac ;;
2041 esac
2042 done
2043 (set) 2>&1 |
2044 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2045 *${as_nl}ac_space=\ *)
2046 sed -n \
2047 "s/'\''/'\''\\\\'\'''\''/g;
2048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2049 ;; #(
2050 *)
2051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2052 ;;
2053 esac |
2054 sort
2055 )
2056 echo
2057
2058 $as_echo "## ----------------- ##
2059 ## Output variables. ##
2060 ## ----------------- ##"
2061 echo
2062 for ac_var in $ac_subst_vars
2063 do
2064 eval ac_val=\$$ac_var
2065 case $ac_val in
2066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2067 esac
2068 $as_echo "$ac_var='\''$ac_val'\''"
2069 done | sort
2070 echo
2071
2072 if test -n "$ac_subst_files"; then
2073 $as_echo "## ------------------- ##
2074 ## File substitutions. ##
2075 ## ------------------- ##"
2076 echo
2077 for ac_var in $ac_subst_files
2078 do
2079 eval ac_val=\$$ac_var
2080 case $ac_val in
2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2082 esac
2083 $as_echo "$ac_var='\''$ac_val'\''"
2084 done | sort
2085 echo
2086 fi
2087
2088 if test -s confdefs.h; then
2089 $as_echo "## ----------- ##
2090 ## confdefs.h. ##
2091 ## ----------- ##"
2092 echo
2093 cat confdefs.h
2094 echo
2095 fi
2096 test "$ac_signal" != 0 &&
2097 $as_echo "$as_me: caught signal $ac_signal"
2098 $as_echo "$as_me: exit $exit_status"
2099 } >&5
2100 rm -f core *.core core.conftest.* &&
2101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2102 exit $exit_status
2103 ' 0
2104 for ac_signal in 1 2 13 15; do
2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2106 done
2107 ac_signal=0
2108
2109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2110 rm -f -r conftest* confdefs.h
2111
2112 $as_echo "/* confdefs.h */" > confdefs.h
2113
2114 # Predefined preprocessor variables.
2115
2116 cat >>confdefs.h <<_ACEOF
2117 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2118 _ACEOF
2119
2120 cat >>confdefs.h <<_ACEOF
2121 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2122 _ACEOF
2123
2124 cat >>confdefs.h <<_ACEOF
2125 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2126 _ACEOF
2127
2128 cat >>confdefs.h <<_ACEOF
2129 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2130 _ACEOF
2131
2132 cat >>confdefs.h <<_ACEOF
2133 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2134 _ACEOF
2135
2136 cat >>confdefs.h <<_ACEOF
2137 @%:@define PACKAGE_URL "$PACKAGE_URL"
2138 _ACEOF
2139
2140
2141 # Let the site file select an alternate cache file if it wants to.
2142 # Prefer an explicitly selected file to automatically selected ones.
2143 ac_site_file1=NONE
2144 ac_site_file2=NONE
2145 if test -n "$CONFIG_SITE"; then
2146 # We do not want a PATH search for config.site.
2147 case $CONFIG_SITE in @%:@((
2148 -*) ac_site_file1=./$CONFIG_SITE;;
2149 */*) ac_site_file1=$CONFIG_SITE;;
2150 *) ac_site_file1=./$CONFIG_SITE;;
2151 esac
2152 elif test "x$prefix" != xNONE; then
2153 ac_site_file1=$prefix/share/config.site
2154 ac_site_file2=$prefix/etc/config.site
2155 else
2156 ac_site_file1=$ac_default_prefix/share/config.site
2157 ac_site_file2=$ac_default_prefix/etc/config.site
2158 fi
2159 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2160 do
2161 test "x$ac_site_file" = xNONE && continue
2162 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2164 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2165 sed 's/^/| /' "$ac_site_file" >&5
2166 . "$ac_site_file" \
2167 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2169 as_fn_error $? "failed to load site script $ac_site_file
2170 See \`config.log' for more details" "$LINENO" 5; }
2171 fi
2172 done
2173
2174 if test -r "$cache_file"; then
2175 # Some versions of bash will fail to source /dev/null (special files
2176 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2177 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2179 $as_echo "$as_me: loading cache $cache_file" >&6;}
2180 case $cache_file in
2181 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2182 *) . "./$cache_file";;
2183 esac
2184 fi
2185 else
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2187 $as_echo "$as_me: creating cache $cache_file" >&6;}
2188 >$cache_file
2189 fi
2190
2191 # Check that the precious variables saved in the cache have kept the same
2192 # value.
2193 ac_cache_corrupted=false
2194 for ac_var in $ac_precious_vars; do
2195 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2196 eval ac_new_set=\$ac_env_${ac_var}_set
2197 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2198 eval ac_new_val=\$ac_env_${ac_var}_value
2199 case $ac_old_set,$ac_new_set in
2200 set,)
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2203 ac_cache_corrupted=: ;;
2204 ,set)
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2207 ac_cache_corrupted=: ;;
2208 ,);;
2209 *)
2210 if test "x$ac_old_val" != "x$ac_new_val"; then
2211 # differences in whitespace do not lead to failure.
2212 ac_old_val_w=`echo x $ac_old_val`
2213 ac_new_val_w=`echo x $ac_new_val`
2214 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2217 ac_cache_corrupted=:
2218 else
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2221 eval $ac_var=\$ac_old_val
2222 fi
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2224 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2226 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2227 fi;;
2228 esac
2229 # Pass precious variables to config.status.
2230 if test "$ac_new_set" = set; then
2231 case $ac_new_val in
2232 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2233 *) ac_arg=$ac_var=$ac_new_val ;;
2234 esac
2235 case " $ac_configure_args " in
2236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2237 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2238 esac
2239 fi
2240 done
2241 if $ac_cache_corrupted; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2246 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2247 fi
2248 ## -------------------- ##
2249 ## Main body of script. ##
2250 ## -------------------- ##
2251
2252 ac_ext=c
2253 ac_cpp='$CPP $CPPFLAGS'
2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2257
2258
2259
2260 am__api_version='1.11'
2261
2262 ac_aux_dir=
2263 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2264 if test -f "$ac_dir/install-sh"; then
2265 ac_aux_dir=$ac_dir
2266 ac_install_sh="$ac_aux_dir/install-sh -c"
2267 break
2268 elif test -f "$ac_dir/install.sh"; then
2269 ac_aux_dir=$ac_dir
2270 ac_install_sh="$ac_aux_dir/install.sh -c"
2271 break
2272 elif test -f "$ac_dir/shtool"; then
2273 ac_aux_dir=$ac_dir
2274 ac_install_sh="$ac_aux_dir/shtool install -c"
2275 break
2276 fi
2277 done
2278 if test -z "$ac_aux_dir"; then
2279 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2280 fi
2281
2282 # These three variables are undocumented and unsupported,
2283 # and are intended to be withdrawn in a future Autoconf release.
2284 # They can cause serious problems if a builder's source tree is in a directory
2285 # whose full name contains unusual characters.
2286 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2287 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2288 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2289
2290
2291 # Find a good install program. We prefer a C program (faster),
2292 # so one script is as good as another. But avoid the broken or
2293 # incompatible versions:
2294 # SysV /etc/install, /usr/sbin/install
2295 # SunOS /usr/etc/install
2296 # IRIX /sbin/install
2297 # AIX /bin/install
2298 # AmigaOS /C/install, which installs bootblocks on floppy discs
2299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2302 # OS/2's system install, which has a completely different semantic
2303 # ./install, which can be erroneously created by make from ./install.sh.
2304 # Reject install programs that cannot install multiple files.
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2306 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2307 if test -z "$INSTALL"; then
2308 if ${ac_cv_path_install+:} false; then :
2309 $as_echo_n "(cached) " >&6
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2313 do
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 # Account for people who put trailing slashes in PATH elements.
2317 case $as_dir/ in @%:@((
2318 ./ | .// | /[cC]/* | \
2319 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2320 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2321 /usr/ucb/* ) ;;
2322 *)
2323 # OSF1 and SCO ODT 3.0 have their own names for install.
2324 # Don't use installbsd from OSF since it installs stuff as root
2325 # by default.
2326 for ac_prog in ginstall scoinst install; do
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2329 if test $ac_prog = install &&
2330 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331 # AIX install. It has an incompatible calling convention.
2332 :
2333 elif test $ac_prog = install &&
2334 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2335 # program-specific install script used by HP pwplus--don't use.
2336 :
2337 else
2338 rm -rf conftest.one conftest.two conftest.dir
2339 echo one > conftest.one
2340 echo two > conftest.two
2341 mkdir conftest.dir
2342 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2343 test -s conftest.one && test -s conftest.two &&
2344 test -s conftest.dir/conftest.one &&
2345 test -s conftest.dir/conftest.two
2346 then
2347 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2348 break 3
2349 fi
2350 fi
2351 fi
2352 done
2353 done
2354 ;;
2355 esac
2356
2357 done
2358 IFS=$as_save_IFS
2359
2360 rm -rf conftest.one conftest.two conftest.dir
2361
2362 fi
2363 if test "${ac_cv_path_install+set}" = set; then
2364 INSTALL=$ac_cv_path_install
2365 else
2366 # As a last resort, use the slow shell script. Don't cache a
2367 # value for INSTALL within a source directory, because that will
2368 # break other packages using the cache if that directory is
2369 # removed, or if the value is a relative name.
2370 INSTALL=$ac_install_sh
2371 fi
2372 fi
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2374 $as_echo "$INSTALL" >&6; }
2375
2376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2377 # It thinks the first close brace ends the variable substitution.
2378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2379
2380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2381
2382 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2383
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2385 $as_echo_n "checking whether build environment is sane... " >&6; }
2386 # Just in case
2387 sleep 1
2388 echo timestamp > conftest.file
2389 # Reject unsafe characters in $srcdir or the absolute working directory
2390 # name. Accept space and tab only in the latter.
2391 am_lf='
2392 '
2393 case `pwd` in
2394 *[\\\"\#\$\&\'\`$am_lf]*)
2395 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2396 esac
2397 case $srcdir in
2398 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2399 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2400 esac
2401
2402 # Do `set' in a subshell so we don't clobber the current shell's
2403 # arguments. Must try -L first in case configure is actually a
2404 # symlink; some systems play weird games with the mod time of symlinks
2405 # (eg FreeBSD returns the mod time of the symlink's containing
2406 # directory).
2407 if (
2408 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2409 if test "$*" = "X"; then
2410 # -L didn't work.
2411 set X `ls -t "$srcdir/configure" conftest.file`
2412 fi
2413 rm -f conftest.file
2414 if test "$*" != "X $srcdir/configure conftest.file" \
2415 && test "$*" != "X conftest.file $srcdir/configure"; then
2416
2417 # If neither matched, then we have a broken ls. This can happen
2418 # if, for instance, CONFIG_SHELL is bash and it inherits a
2419 # broken ls alias from the environment. This has actually
2420 # happened. Such a system could not be considered "sane".
2421 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2422 alias in your environment" "$LINENO" 5
2423 fi
2424
2425 test "$2" = conftest.file
2426 )
2427 then
2428 # Ok.
2429 :
2430 else
2431 as_fn_error $? "newly created file is older than distributed files!
2432 Check your system clock" "$LINENO" 5
2433 fi
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2435 $as_echo "yes" >&6; }
2436 test "$program_prefix" != NONE &&
2437 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2438 # Use a double $ so make ignores it.
2439 test "$program_suffix" != NONE &&
2440 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2441 # Double any \ or $.
2442 # By default was `s,x,x', remove it if useless.
2443 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2444 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2445
2446 # expand $ac_aux_dir to an absolute path
2447 am_aux_dir=`cd $ac_aux_dir && pwd`
2448
2449 if test x"${MISSING+set}" != xset; then
2450 case $am_aux_dir in
2451 *\ * | *\ *)
2452 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2453 *)
2454 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2455 esac
2456 fi
2457 # Use eval to expand $SHELL
2458 if eval "$MISSING --run true"; then
2459 am_missing_run="$MISSING --run "
2460 else
2461 am_missing_run=
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2463 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2464 fi
2465
2466 if test x"${install_sh}" != xset; then
2467 case $am_aux_dir in
2468 *\ * | *\ *)
2469 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2470 *)
2471 install_sh="\${SHELL} $am_aux_dir/install-sh"
2472 esac
2473 fi
2474
2475 # Installed binaries are usually stripped using `strip' when the user
2476 # run `make install-strip'. However `strip' might not be the right
2477 # tool to use in cross-compilation environments, therefore Automake
2478 # will honor the `STRIP' environment variable to overrule this program.
2479 if test "$cross_compiling" != no; then
2480 if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2482 set dummy ${ac_tool_prefix}strip; ac_word=$2
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2484 $as_echo_n "checking for $ac_word... " >&6; }
2485 if ${ac_cv_prog_STRIP+:} false; then :
2486 $as_echo_n "(cached) " >&6
2487 else
2488 if test -n "$STRIP"; then
2489 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2490 else
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2493 do
2494 IFS=$as_save_IFS
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 break 2
2501 fi
2502 done
2503 done
2504 IFS=$as_save_IFS
2505
2506 fi
2507 fi
2508 STRIP=$ac_cv_prog_STRIP
2509 if test -n "$STRIP"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2511 $as_echo "$STRIP" >&6; }
2512 else
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2514 $as_echo "no" >&6; }
2515 fi
2516
2517
2518 fi
2519 if test -z "$ac_cv_prog_STRIP"; then
2520 ac_ct_STRIP=$STRIP
2521 # Extract the first word of "strip", so it can be a program name with args.
2522 set dummy strip; ac_word=$2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524 $as_echo_n "checking for $ac_word... " >&6; }
2525 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 if test -n "$ac_ct_STRIP"; then
2529 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2530 else
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 for as_dir in $PATH
2533 do
2534 IFS=$as_save_IFS
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538 ac_cv_prog_ac_ct_STRIP="strip"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 break 2
2541 fi
2542 done
2543 done
2544 IFS=$as_save_IFS
2545
2546 fi
2547 fi
2548 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2549 if test -n "$ac_ct_STRIP"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2551 $as_echo "$ac_ct_STRIP" >&6; }
2552 else
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554 $as_echo "no" >&6; }
2555 fi
2556
2557 if test "x$ac_ct_STRIP" = x; then
2558 STRIP=":"
2559 else
2560 case $cross_compiling:$ac_tool_warned in
2561 yes:)
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2564 ac_tool_warned=yes ;;
2565 esac
2566 STRIP=$ac_ct_STRIP
2567 fi
2568 else
2569 STRIP="$ac_cv_prog_STRIP"
2570 fi
2571
2572 fi
2573 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2574
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2576 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2577 if test -z "$MKDIR_P"; then
2578 if ${ac_cv_path_mkdir+:} false; then :
2579 $as_echo_n "(cached) " >&6
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2583 do
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_prog in mkdir gmkdir; do
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2589 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2590 'mkdir (GNU coreutils) '* | \
2591 'mkdir (coreutils) '* | \
2592 'mkdir (fileutils) '4.1*)
2593 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2594 break 3;;
2595 esac
2596 done
2597 done
2598 done
2599 IFS=$as_save_IFS
2600
2601 fi
2602
2603 test -d ./--version && rmdir ./--version
2604 if test "${ac_cv_path_mkdir+set}" = set; then
2605 MKDIR_P="$ac_cv_path_mkdir -p"
2606 else
2607 # As a last resort, use the slow shell script. Don't cache a
2608 # value for MKDIR_P within a source directory, because that will
2609 # break other packages using the cache if that directory is
2610 # removed, or if the value is a relative name.
2611 MKDIR_P="$ac_install_sh -d"
2612 fi
2613 fi
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2615 $as_echo "$MKDIR_P" >&6; }
2616
2617 mkdir_p="$MKDIR_P"
2618 case $mkdir_p in
2619 [\\/$]* | ?:[\\/]*) ;;
2620 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2621 esac
2622
2623 for ac_prog in gawk mawk nawk awk
2624 do
2625 # Extract the first word of "$ac_prog", so it can be a program name with args.
2626 set dummy $ac_prog; ac_word=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if ${ac_cv_prog_AWK+:} false; then :
2630 $as_echo_n "(cached) " >&6
2631 else
2632 if test -n "$AWK"; then
2633 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2634 else
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 for as_dir in $PATH
2637 do
2638 IFS=$as_save_IFS
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642 ac_cv_prog_AWK="$ac_prog"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 break 2
2645 fi
2646 done
2647 done
2648 IFS=$as_save_IFS
2649
2650 fi
2651 fi
2652 AWK=$ac_cv_prog_AWK
2653 if test -n "$AWK"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2655 $as_echo "$AWK" >&6; }
2656 else
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2659 fi
2660
2661
2662 test -n "$AWK" && break
2663 done
2664
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2666 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2667 set x ${MAKE-make}
2668 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2669 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2670 $as_echo_n "(cached) " >&6
2671 else
2672 cat >conftest.make <<\_ACEOF
2673 SHELL = /bin/sh
2674 all:
2675 @echo '@@@%%%=$(MAKE)=@@@%%%'
2676 _ACEOF
2677 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2678 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2679 *@@@%%%=?*=@@@%%%*)
2680 eval ac_cv_prog_make_${ac_make}_set=yes;;
2681 *)
2682 eval ac_cv_prog_make_${ac_make}_set=no;;
2683 esac
2684 rm -f conftest.make
2685 fi
2686 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2688 $as_echo "yes" >&6; }
2689 SET_MAKE=
2690 else
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2693 SET_MAKE="MAKE=${MAKE-make}"
2694 fi
2695
2696 rm -rf .tst 2>/dev/null
2697 mkdir .tst 2>/dev/null
2698 if test -d .tst; then
2699 am__leading_dot=.
2700 else
2701 am__leading_dot=_
2702 fi
2703 rmdir .tst 2>/dev/null
2704
2705 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2706 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2707 # is not polluted with repeated "-I."
2708 am__isrc=' -I$(srcdir)'
2709 # test to see if srcdir already configured
2710 if test -f $srcdir/config.status; then
2711 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2712 fi
2713 fi
2714
2715 # test whether we have cygpath
2716 if test -z "$CYGPATH_W"; then
2717 if (cygpath --version) >/dev/null 2>/dev/null; then
2718 CYGPATH_W='cygpath -w'
2719 else
2720 CYGPATH_W=echo
2721 fi
2722 fi
2723
2724
2725 # Define the identity of the package.
2726 PACKAGE='libdvdread'
2727 VERSION='4.2.0'
2728
2729
2730 cat >>confdefs.h <<_ACEOF
2731 @%:@define PACKAGE "$PACKAGE"
2732 _ACEOF
2733
2734
2735 cat >>confdefs.h <<_ACEOF
2736 @%:@define VERSION "$VERSION"
2737 _ACEOF
2738
2739 # Some tools Automake needs.
2740
2741 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2742
2743
2744 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2745
2746
2747 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2748
2749
2750 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2751
2752
2753 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2754
2755 # We need awk for the "check" target. The system "awk" is bad on
2756 # some platforms.
2757 # Always define AMTAR for backward compatibility. Yes, it's still used
2758 # in the wild :-( We should find a proper way to deprecate it ...
2759 AMTAR='$${TAR-tar}'
2760
2761 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2762
2763
2764
2765
2766
2767
2768 ac_config_headers="$ac_config_headers config.h"
2769
2770 # Make sure we can run config.sub.
2771 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2772 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2773
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2775 $as_echo_n "checking build system type... " >&6; }
2776 if ${ac_cv_build+:} false; then :
2777 $as_echo_n "(cached) " >&6
2778 else
2779 ac_build_alias=$build_alias
2780 test "x$ac_build_alias" = x &&
2781 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2782 test "x$ac_build_alias" = x &&
2783 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2784 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2785 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2786
2787 fi
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2789 $as_echo "$ac_cv_build" >&6; }
2790 case $ac_cv_build in
2791 *-*-*) ;;
2792 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2793 esac
2794 build=$ac_cv_build
2795 ac_save_IFS=$IFS; IFS='-'
2796 set x $ac_cv_build
2797 shift
2798 build_cpu=$1
2799 build_vendor=$2
2800 shift; shift
2801 # Remember, the first character of IFS is used to create $*,
2802 # except with old shells:
2803 build_os=$*
2804 IFS=$ac_save_IFS
2805 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2806
2807
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2809 $as_echo_n "checking host system type... " >&6; }
2810 if ${ac_cv_host+:} false; then :
2811 $as_echo_n "(cached) " >&6
2812 else
2813 if test "x$host_alias" = x; then
2814 ac_cv_host=$ac_cv_build
2815 else
2816 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2817 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2818 fi
2819
2820 fi
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2822 $as_echo "$ac_cv_host" >&6; }
2823 case $ac_cv_host in
2824 *-*-*) ;;
2825 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2826 esac
2827 host=$ac_cv_host
2828 ac_save_IFS=$IFS; IFS='-'
2829 set x $ac_cv_host
2830 shift
2831 host_cpu=$1
2832 host_vendor=$2
2833 shift; shift
2834 # Remember, the first character of IFS is used to create $*,
2835 # except with old shells:
2836 host_os=$*
2837 IFS=$ac_save_IFS
2838 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2839
2840
2841
2842 DVDREAD_MAJOR="4"
2843 DVDREAD_MINOR="2"
2844 DVDREAD_SUB="0"
2845 DVDREAD_PRE=""
2846
2847
2848
2849
2850
2851
2852 DVDREAD_LT_CURRENT=5
2853 DVDREAD_LT_AGE=1
2854 DVDREAD_LT_REVISION=2
2855
2856
2857
2858
2859
2860 if test x$DVDREAD_BUILD != "x"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** build forced to $DVDREAD_BUILD ***" >&5
2862 $as_echo "*** build forced to $DVDREAD_BUILD ***" >&6; }
2863 build=$DVDREAD_BUILD
2864 host=$DVDREAD_BUILD
2865 else
2866 check_athlon=yes
2867 fi
2868
2869 saved_CFLAGS="$CFLAGS"
2870 DEPDIR="${am__leading_dot}deps"
2871
2872 ac_config_commands="$ac_config_commands depfiles"
2873
2874
2875 am_make=${MAKE-make}
2876 cat > confinc << 'END'
2877 am__doit:
2878 @echo this is the am__doit target
2879 .PHONY: am__doit
2880 END
2881 # If we don't find an include directive, just comment out the code.
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2883 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2884 am__include="#"
2885 am__quote=
2886 _am_result=none
2887 # First try GNU make style include.
2888 echo "include confinc" > confmf
2889 # Ignore all kinds of additional output from `make'.
2890 case `$am_make -s -f confmf 2> /dev/null` in #(
2891 *the\ am__doit\ target*)
2892 am__include=include
2893 am__quote=
2894 _am_result=GNU
2895 ;;
2896 esac
2897 # Now try BSD make style include.
2898 if test "$am__include" = "#"; then
2899 echo '.include "confinc"' > confmf
2900 case `$am_make -s -f confmf 2> /dev/null` in #(
2901 *the\ am__doit\ target*)
2902 am__include=.include
2903 am__quote="\""
2904 _am_result=BSD
2905 ;;
2906 esac
2907 fi
2908
2909
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2911 $as_echo "$_am_result" >&6; }
2912 rm -f confinc confmf
2913
2914 @%:@ Check whether --enable-dependency-tracking was given.
2915 if test "${enable_dependency_tracking+set}" = set; then :
2916 enableval=$enable_dependency_tracking;
2917 fi
2918
2919 if test "x$enable_dependency_tracking" != xno; then
2920 am_depcomp="$ac_aux_dir/depcomp"
2921 AMDEPBACKSLASH='\'
2922 am__nodep='_no'
2923 fi
2924 if test "x$enable_dependency_tracking" != xno; then
2925 AMDEP_TRUE=
2926 AMDEP_FALSE='#'
2927 else
2928 AMDEP_TRUE='#'
2929 AMDEP_FALSE=
2930 fi
2931
2932
2933 ac_ext=c
2934 ac_cpp='$CPP $CPPFLAGS'
2935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2938 if test -n "$ac_tool_prefix"; then
2939 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2940 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_CC+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 if test -n "$CC"; then
2947 ac_cv_prog_CC="$CC" # Let the user override the test.
2948 else
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 for as_dir in $PATH
2951 do
2952 IFS=$as_save_IFS
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 break 2
2959 fi
2960 done
2961 done
2962 IFS=$as_save_IFS
2963
2964 fi
2965 fi
2966 CC=$ac_cv_prog_CC
2967 if test -n "$CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2970 else
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 fi
2974
2975
2976 fi
2977 if test -z "$ac_cv_prog_CC"; then
2978 ac_ct_CC=$CC
2979 # Extract the first word of "gcc", so it can be a program name with args.
2980 set dummy gcc; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2984 $as_echo_n "(cached) " >&6
2985 else
2986 if test -n "$ac_ct_CC"; then
2987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2988 else
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH
2991 do
2992 IFS=$as_save_IFS
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_ac_ct_CC="gcc"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 break 2
2999 fi
3000 done
3001 done
3002 IFS=$as_save_IFS
3003
3004 fi
3005 fi
3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3007 if test -n "$ac_ct_CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3009 $as_echo "$ac_ct_CC" >&6; }
3010 else
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3013 fi
3014
3015 if test "x$ac_ct_CC" = x; then
3016 CC=""
3017 else
3018 case $cross_compiling:$ac_tool_warned in
3019 yes:)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned=yes ;;
3023 esac
3024 CC=$ac_ct_CC
3025 fi
3026 else
3027 CC="$ac_cv_prog_CC"
3028 fi
3029
3030 if test -z "$CC"; then
3031 if test -n "$ac_tool_prefix"; then
3032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3033 set dummy ${ac_tool_prefix}cc; ac_word=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if ${ac_cv_prog_CC+:} false; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test -n "$CC"; then
3040 ac_cv_prog_CC="$CC" # Let the user override the test.
3041 else
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 for as_dir in $PATH
3044 do
3045 IFS=$as_save_IFS
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_CC="${ac_tool_prefix}cc"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 break 2
3052 fi
3053 done
3054 done
3055 IFS=$as_save_IFS
3056
3057 fi
3058 fi
3059 CC=$ac_cv_prog_CC
3060 if test -n "$CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3062 $as_echo "$CC" >&6; }
3063 else
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3066 fi
3067
3068
3069 fi
3070 fi
3071 if test -z "$CC"; then
3072 # Extract the first word of "cc", so it can be a program name with args.
3073 set dummy cc; ac_word=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_CC+:} false; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 if test -n "$CC"; then
3080 ac_cv_prog_CC="$CC" # Let the user override the test.
3081 else
3082 ac_prog_rejected=no
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3085 do
3086 IFS=$as_save_IFS
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3091 ac_prog_rejected=yes
3092 continue
3093 fi
3094 ac_cv_prog_CC="cc"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 break 2
3097 fi
3098 done
3099 done
3100 IFS=$as_save_IFS
3101
3102 if test $ac_prog_rejected = yes; then
3103 # We found a bogon in the path, so make sure we never use it.
3104 set dummy $ac_cv_prog_CC
3105 shift
3106 if test $@%:@ != 0; then
3107 # We chose a different compiler from the bogus one.
3108 # However, it has the same basename, so the bogon will be chosen
3109 # first if we set CC to just the basename; use the full file name.
3110 shift
3111 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3112 fi
3113 fi
3114 fi
3115 fi
3116 CC=$ac_cv_prog_CC
3117 if test -n "$CC"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3119 $as_echo "$CC" >&6; }
3120 else
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 fi
3124
3125
3126 fi
3127 if test -z "$CC"; then
3128 if test -n "$ac_tool_prefix"; then
3129 for ac_prog in cl.exe
3130 do
3131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_CC+:} false; then :
3136 $as_echo_n "(cached) " >&6
3137 else
3138 if test -n "$CC"; then
3139 ac_cv_prog_CC="$CC" # Let the user override the test.
3140 else
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3143 do
3144 IFS=$as_save_IFS
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 break 2
3151 fi
3152 done
3153 done
3154 IFS=$as_save_IFS
3155
3156 fi
3157 fi
3158 CC=$ac_cv_prog_CC
3159 if test -n "$CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3162 else
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3165 fi
3166
3167
3168 test -n "$CC" && break
3169 done
3170 fi
3171 if test -z "$CC"; then
3172 ac_ct_CC=$CC
3173 for ac_prog in cl.exe
3174 do
3175 # Extract the first word of "$ac_prog", so it can be a program name with args.
3176 set dummy $ac_prog; ac_word=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184 else
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH
3187 do
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_ac_ct_CC="$ac_prog"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 break 2
3195 fi
3196 done
3197 done
3198 IFS=$as_save_IFS
3199
3200 fi
3201 fi
3202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203 if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3205 $as_echo "$ac_ct_CC" >&6; }
3206 else
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3209 fi
3210
3211
3212 test -n "$ac_ct_CC" && break
3213 done
3214
3215 if test "x$ac_ct_CC" = x; then
3216 CC=""
3217 else
3218 case $cross_compiling:$ac_tool_warned in
3219 yes:)
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3222 ac_tool_warned=yes ;;
3223 esac
3224 CC=$ac_ct_CC
3225 fi
3226 fi
3227
3228 fi
3229
3230
3231 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $? "no acceptable C compiler found in \$PATH
3234 See \`config.log' for more details" "$LINENO" 5; }
3235
3236 # Provide some information about the compiler.
3237 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3238 set X $ac_compile
3239 ac_compiler=$2
3240 for ac_option in --version -v -V -qversion; do
3241 { { ac_try="$ac_compiler $ac_option >&5"
3242 case "(($ac_try" in
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3249 ac_status=$?
3250 if test -s conftest.err; then
3251 sed '10a\
3252 ... rest of stderr output deleted ...
3253 10q' conftest.err >conftest.er1
3254 cat conftest.er1 >&5
3255 fi
3256 rm -f conftest.er1 conftest.err
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }
3259 done
3260
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3263
3264 int
3265 main ()
3266 {
3267
3268 ;
3269 return 0;
3270 }
3271 _ACEOF
3272 ac_clean_files_save=$ac_clean_files
3273 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3274 # Try to create an executable without -o first, disregard a.out.
3275 # It will help us diagnose broken compilers, and finding out an intuition
3276 # of exeext.
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3278 $as_echo_n "checking whether the C compiler works... " >&6; }
3279 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3280
3281 # The possible output files:
3282 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3283
3284 ac_rmfiles=
3285 for ac_file in $ac_files
3286 do
3287 case $ac_file in
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3289 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3290 esac
3291 done
3292 rm -f $ac_rmfiles
3293
3294 if { { ac_try="$ac_link_default"
3295 case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3298 esac
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_link_default") 2>&5
3302 ac_status=$?
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }; then :
3305 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3306 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3307 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3308 # so that the user can short-circuit this test for compilers unknown to
3309 # Autoconf.
3310 for ac_file in $ac_files ''
3311 do
3312 test -f "$ac_file" || continue
3313 case $ac_file in
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3315 ;;
3316 [ab].out )
3317 # We found the default executable, but exeext='' is most
3318 # certainly right.
3319 break;;
3320 *.* )
3321 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3322 then :; else
3323 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3324 fi
3325 # We set ac_cv_exeext here because the later test for it is not
3326 # safe: cross compilers may not add the suffix if given an `-o'
3327 # argument, so we may need to know it at that point already.
3328 # Even if this section looks crufty: it has the advantage of
3329 # actually working.
3330 break;;
3331 * )
3332 break;;
3333 esac
3334 done
3335 test "$ac_cv_exeext" = no && ac_cv_exeext=
3336
3337 else
3338 ac_file=''
3339 fi
3340 if test -z "$ac_file"; then :
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3345
3346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error 77 "C compiler cannot create executables
3349 See \`config.log' for more details" "$LINENO" 5; }
3350 else
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3352 $as_echo "yes" >&6; }
3353 fi
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3355 $as_echo_n "checking for C compiler default output file name... " >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3357 $as_echo "$ac_file" >&6; }
3358 ac_exeext=$ac_cv_exeext
3359
3360 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3361 ac_clean_files=$ac_clean_files_save
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3363 $as_echo_n "checking for suffix of executables... " >&6; }
3364 if { { ac_try="$ac_link"
3365 case "(($ac_try" in
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3368 esac
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371 (eval "$ac_link") 2>&5
3372 ac_status=$?
3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }; then :
3375 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3376 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3377 # work properly (i.e., refer to `conftest.exe'), while it won't with
3378 # `rm'.
3379 for ac_file in conftest.exe conftest conftest.*; do
3380 test -f "$ac_file" || continue
3381 case $ac_file in
3382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3383 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3384 break;;
3385 * ) break;;
3386 esac
3387 done
3388 else
3389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3392 See \`config.log' for more details" "$LINENO" 5; }
3393 fi
3394 rm -f conftest conftest$ac_cv_exeext
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3396 $as_echo "$ac_cv_exeext" >&6; }
3397
3398 rm -f conftest.$ac_ext
3399 EXEEXT=$ac_cv_exeext
3400 ac_exeext=$EXEEXT
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3403 @%:@include <stdio.h>
3404 int
3405 main ()
3406 {
3407 FILE *f = fopen ("conftest.out", "w");
3408 return ferror (f) || fclose (f) != 0;
3409
3410 ;
3411 return 0;
3412 }
3413 _ACEOF
3414 ac_clean_files="$ac_clean_files conftest.out"
3415 # Check that the compiler produces executables we can run. If not, either
3416 # the compiler is broken, or we cross compile.
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3418 $as_echo_n "checking whether we are cross compiling... " >&6; }
3419 if test "$cross_compiling" != yes; then
3420 { { ac_try="$ac_link"
3421 case "(($ac_try" in
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3424 esac
3425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_link") 2>&5
3428 ac_status=$?
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }
3431 if { ac_try='./conftest$ac_cv_exeext'
3432 { { case "(($ac_try" in
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3435 esac
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_try") 2>&5
3439 ac_status=$?
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; }; then
3442 cross_compiling=no
3443 else
3444 if test "$cross_compiling" = maybe; then
3445 cross_compiling=yes
3446 else
3447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "cannot run C compiled programs.
3450 If you meant to cross compile, use \`--host'.
3451 See \`config.log' for more details" "$LINENO" 5; }
3452 fi
3453 fi
3454 fi
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3456 $as_echo "$cross_compiling" >&6; }
3457
3458 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3459 ac_clean_files=$ac_clean_files_save
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3461 $as_echo_n "checking for suffix of object files... " >&6; }
3462 if ${ac_cv_objext+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3467
3468 int
3469 main ()
3470 {
3471
3472 ;
3473 return 0;
3474 }
3475 _ACEOF
3476 rm -f conftest.o conftest.obj
3477 if { { ac_try="$ac_compile"
3478 case "(($ac_try" in
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3481 esac
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compile") 2>&5
3485 ac_status=$?
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; then :
3488 for ac_file in conftest.o conftest.obj conftest.*; do
3489 test -f "$ac_file" || continue;
3490 case $ac_file in
3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3493 break;;
3494 esac
3495 done
3496 else
3497 $as_echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3499
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error $? "cannot compute suffix of object files: cannot compile
3503 See \`config.log' for more details" "$LINENO" 5; }
3504 fi
3505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3506 fi
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3508 $as_echo "$ac_cv_objext" >&6; }
3509 OBJEXT=$ac_cv_objext
3510 ac_objext=$OBJEXT
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3512 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3513 if ${ac_cv_c_compiler_gnu+:} false; then :
3514 $as_echo_n "(cached) " >&6
3515 else
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3518
3519 int
3520 main ()
3521 {
3522 #ifndef __GNUC__
3523 choke me
3524 #endif
3525
3526 ;
3527 return 0;
3528 }
3529 _ACEOF
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531 ac_compiler_gnu=yes
3532 else
3533 ac_compiler_gnu=no
3534 fi
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3537
3538 fi
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3541 if test $ac_compiler_gnu = yes; then
3542 GCC=yes
3543 else
3544 GCC=
3545 fi
3546 ac_test_CFLAGS=${CFLAGS+set}
3547 ac_save_CFLAGS=$CFLAGS
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3550 if ${ac_cv_prog_cc_g+:} false; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 ac_save_c_werror_flag=$ac_c_werror_flag
3554 ac_c_werror_flag=yes
3555 ac_cv_prog_cc_g=no
3556 CFLAGS="-g"
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3559
3560 int
3561 main ()
3562 {
3563
3564 ;
3565 return 0;
3566 }
3567 _ACEOF
3568 if ac_fn_c_try_compile "$LINENO"; then :
3569 ac_cv_prog_cc_g=yes
3570 else
3571 CFLAGS=""
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574
3575 int
3576 main ()
3577 {
3578
3579 ;
3580 return 0;
3581 }
3582 _ACEOF
3583 if ac_fn_c_try_compile "$LINENO"; then :
3584
3585 else
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3587 CFLAGS="-g"
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3590
3591 int
3592 main ()
3593 {
3594
3595 ;
3596 return 0;
3597 }
3598 _ACEOF
3599 if ac_fn_c_try_compile "$LINENO"; then :
3600 ac_cv_prog_cc_g=yes
3601 fi
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 fi
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 fi
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 ac_c_werror_flag=$ac_save_c_werror_flag
3608 fi
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3610 $as_echo "$ac_cv_prog_cc_g" >&6; }
3611 if test "$ac_test_CFLAGS" = set; then
3612 CFLAGS=$ac_save_CFLAGS
3613 elif test $ac_cv_prog_cc_g = yes; then
3614 if test "$GCC" = yes; then
3615 CFLAGS="-g -O2"
3616 else
3617 CFLAGS="-g"
3618 fi
3619 else
3620 if test "$GCC" = yes; then
3621 CFLAGS="-O2"
3622 else
3623 CFLAGS=
3624 fi
3625 fi
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3627 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3628 if ${ac_cv_prog_cc_c89+:} false; then :
3629 $as_echo_n "(cached) " >&6
3630 else
3631 ac_cv_prog_cc_c89=no
3632 ac_save_CC=$CC
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3635 #include <stdarg.h>
3636 #include <stdio.h>
3637 struct stat;
3638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3639 struct buf { int x; };
3640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3641 static char *e (p, i)
3642 char **p;
3643 int i;
3644 {
3645 return p[i];
3646 }
3647 static char *f (char * (*g) (char **, int), char **p, ...)
3648 {
3649 char *s;
3650 va_list v;
3651 va_start (v,p);
3652 s = g (p, va_arg (v,int));
3653 va_end (v);
3654 return s;
3655 }
3656
3657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3658 function prototypes and stuff, but not '\xHH' hex character constants.
3659 These don't provoke an error unfortunately, instead are silently treated
3660 as 'x'. The following induces an error, until -std is added to get
3661 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3662 array size at least. It's necessary to write '\x00'==0 to get something
3663 that's true only with -std. */
3664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3665
3666 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3667 inside strings and character constants. */
3668 #define FOO(x) 'x'
3669 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3670
3671 int test (int i, double x);
3672 struct s1 {int (*f) (int a);};
3673 struct s2 {int (*f) (double a);};
3674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3675 int argc;
3676 char **argv;
3677 int
3678 main ()
3679 {
3680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3681 ;
3682 return 0;
3683 }
3684 _ACEOF
3685 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3686 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3687 do
3688 CC="$ac_save_CC $ac_arg"
3689 if ac_fn_c_try_compile "$LINENO"; then :
3690 ac_cv_prog_cc_c89=$ac_arg
3691 fi
3692 rm -f core conftest.err conftest.$ac_objext
3693 test "x$ac_cv_prog_cc_c89" != "xno" && break
3694 done
3695 rm -f conftest.$ac_ext
3696 CC=$ac_save_CC
3697
3698 fi
3699 # AC_CACHE_VAL
3700 case "x$ac_cv_prog_cc_c89" in
3701 x)
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3703 $as_echo "none needed" >&6; } ;;
3704 xno)
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3706 $as_echo "unsupported" >&6; } ;;
3707 *)
3708 CC="$CC $ac_cv_prog_cc_c89"
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3710 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3711 esac
3712 if test "x$ac_cv_prog_cc_c89" != xno; then :
3713
3714 fi
3715
3716 ac_ext=c
3717 ac_cpp='$CPP $CPPFLAGS'
3718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721
3722 depcc="$CC" am_compiler_list=
3723
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3725 $as_echo_n "checking dependency style of $depcc... " >&6; }
3726 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3727 $as_echo_n "(cached) " >&6
3728 else
3729 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3730 # We make a subdir and do the tests there. Otherwise we can end up
3731 # making bogus files that we don't know about and never remove. For
3732 # instance it was reported that on HP-UX the gcc test will end up
3733 # making a dummy file named `D' -- because `-MD' means `put the output
3734 # in D'.
3735 rm -rf conftest.dir
3736 mkdir conftest.dir
3737 # Copy depcomp to subdir because otherwise we won't find it if we're
3738 # using a relative directory.
3739 cp "$am_depcomp" conftest.dir
3740 cd conftest.dir
3741 # We will build objects and dependencies in a subdirectory because
3742 # it helps to detect inapplicable dependency modes. For instance
3743 # both Tru64's cc and ICC support -MD to output dependencies as a
3744 # side effect of compilation, but ICC will put the dependencies in
3745 # the current directory while Tru64 will put them in the object
3746 # directory.
3747 mkdir sub
3748
3749 am_cv_CC_dependencies_compiler_type=none
3750 if test "$am_compiler_list" = ""; then
3751 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3752 fi
3753 am__universal=false
3754 case " $depcc " in #(
3755 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3756 esac
3757
3758 for depmode in $am_compiler_list; do
3759 # Setup a source with many dependencies, because some compilers
3760 # like to wrap large dependency lists on column 80 (with \), and
3761 # we should not choose a depcomp mode which is confused by this.
3762 #
3763 # We need to recreate these files for each test, as the compiler may
3764 # overwrite some of them when testing with obscure command lines.
3765 # This happens at least with the AIX C compiler.
3766 : > sub/conftest.c
3767 for i in 1 2 3 4 5 6; do
3768 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3769 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3770 # Solaris 8's {/usr,}/bin/sh.
3771 touch sub/conftst$i.h
3772 done
3773 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3774
3775 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3776 # mode. It turns out that the SunPro C++ compiler does not properly
3777 # handle `-M -o', and we need to detect this. Also, some Intel
3778 # versions had trouble with output in subdirs
3779 am__obj=sub/conftest.${OBJEXT-o}
3780 am__minus_obj="-o $am__obj"
3781 case $depmode in
3782 gcc)
3783 # This depmode causes a compiler race in universal mode.
3784 test "$am__universal" = false || continue
3785 ;;
3786 nosideeffect)
3787 # after this tag, mechanisms are not by side-effect, so they'll
3788 # only be used when explicitly requested
3789 if test "x$enable_dependency_tracking" = xyes; then
3790 continue
3791 else
3792 break
3793 fi
3794 ;;
3795 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3796 # This compiler won't grok `-c -o', but also, the minuso test has
3797 # not run yet. These depmodes are late enough in the game, and
3798 # so weak that their functioning should not be impacted.
3799 am__obj=conftest.${OBJEXT-o}
3800 am__minus_obj=
3801 ;;
3802 none) break ;;
3803 esac
3804 if depmode=$depmode \
3805 source=sub/conftest.c object=$am__obj \
3806 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3807 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3808 >/dev/null 2>conftest.err &&
3809 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3810 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3811 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3812 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3813 # icc doesn't choke on unknown options, it will just issue warnings
3814 # or remarks (even with -Werror). So we grep stderr for any message
3815 # that says an option was ignored or not supported.
3816 # When given -MP, icc 7.0 and 7.1 complain thusly:
3817 # icc: Command line warning: ignoring option '-M'; no argument required
3818 # The diagnosis changed in icc 8.0:
3819 # icc: Command line remark: option '-MP' not supported
3820 if (grep 'ignoring option' conftest.err ||
3821 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3822 am_cv_CC_dependencies_compiler_type=$depmode
3823 break
3824 fi
3825 fi
3826 done
3827
3828 cd ..
3829 rm -rf conftest.dir
3830 else
3831 am_cv_CC_dependencies_compiler_type=none
3832 fi
3833
3834 fi
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3836 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3837 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3838
3839 if
3840 test "x$enable_dependency_tracking" != xno \
3841 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3842 am__fastdepCC_TRUE=
3843 am__fastdepCC_FALSE='#'
3844 else
3845 am__fastdepCC_TRUE='#'
3846 am__fastdepCC_FALSE=
3847 fi
3848
3849
3850
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3852 $as_echo_n "checking for library containing strerror... " >&6; }
3853 if ${ac_cv_search_strerror+:} false; then :
3854 $as_echo_n "(cached) " >&6
3855 else
3856 ac_func_search_save_LIBS=$LIBS
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3859
3860 /* Override any GCC internal prototype to avoid an error.
3861 Use char because int might match the return type of a GCC
3862 builtin and then its argument prototype would still apply. */
3863 #ifdef __cplusplus
3864 extern "C"
3865 #endif
3866 char strerror ();
3867 int
3868 main ()
3869 {
3870 return strerror ();
3871 ;
3872 return 0;
3873 }
3874 _ACEOF
3875 for ac_lib in '' cposix; do
3876 if test -z "$ac_lib"; then
3877 ac_res="none required"
3878 else
3879 ac_res=-l$ac_lib
3880 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3881 fi
3882 if ac_fn_c_try_link "$LINENO"; then :
3883 ac_cv_search_strerror=$ac_res
3884 fi
3885 rm -f core conftest.err conftest.$ac_objext \
3886 conftest$ac_exeext
3887 if ${ac_cv_search_strerror+:} false; then :
3888 break
3889 fi
3890 done
3891 if ${ac_cv_search_strerror+:} false; then :
3892
3893 else
3894 ac_cv_search_strerror=no
3895 fi
3896 rm conftest.$ac_ext
3897 LIBS=$ac_func_search_save_LIBS
3898 fi
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3900 $as_echo "$ac_cv_search_strerror" >&6; }
3901 ac_res=$ac_cv_search_strerror
3902 if test "$ac_res" != no; then :
3903 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3904
3905 fi
3906
3907 CFLAGS="$saved_CFLAGS"
3908 ac_ext=c
3909 ac_cpp='$CPP $CPPFLAGS'
3910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 if test -n "$ac_tool_prefix"; then
3914 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3915 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if ${ac_cv_prog_CC+:} false; then :
3919 $as_echo_n "(cached) " >&6
3920 else
3921 if test -n "$CC"; then
3922 ac_cv_prog_CC="$CC" # Let the user override the test.
3923 else
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 for as_dir in $PATH
3926 do
3927 IFS=$as_save_IFS
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 break 2
3934 fi
3935 done
3936 done
3937 IFS=$as_save_IFS
3938
3939 fi
3940 fi
3941 CC=$ac_cv_prog_CC
3942 if test -n "$CC"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3944 $as_echo "$CC" >&6; }
3945 else
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3948 fi
3949
3950
3951 fi
3952 if test -z "$ac_cv_prog_CC"; then
3953 ac_ct_CC=$CC
3954 # Extract the first word of "gcc", so it can be a program name with args.
3955 set dummy gcc; ac_word=$2
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957 $as_echo_n "checking for $ac_word... " >&6; }
3958 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3959 $as_echo_n "(cached) " >&6
3960 else
3961 if test -n "$ac_ct_CC"; then
3962 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3963 else
3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965 for as_dir in $PATH
3966 do
3967 IFS=$as_save_IFS
3968 test -z "$as_dir" && as_dir=.
3969 for ac_exec_ext in '' $ac_executable_extensions; do
3970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3971 ac_cv_prog_ac_ct_CC="gcc"
3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 break 2
3974 fi
3975 done
3976 done
3977 IFS=$as_save_IFS
3978
3979 fi
3980 fi
3981 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3982 if test -n "$ac_ct_CC"; then
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3984 $as_echo "$ac_ct_CC" >&6; }
3985 else
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987 $as_echo "no" >&6; }
3988 fi
3989
3990 if test "x$ac_ct_CC" = x; then
3991 CC=""
3992 else
3993 case $cross_compiling:$ac_tool_warned in
3994 yes:)
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3997 ac_tool_warned=yes ;;
3998 esac
3999 CC=$ac_ct_CC
4000 fi
4001 else
4002 CC="$ac_cv_prog_CC"
4003 fi
4004
4005 if test -z "$CC"; then
4006 if test -n "$ac_tool_prefix"; then
4007 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4008 set dummy ${ac_tool_prefix}cc; ac_word=$2
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010 $as_echo_n "checking for $ac_word... " >&6; }
4011 if ${ac_cv_prog_CC+:} false; then :
4012 $as_echo_n "(cached) " >&6
4013 else
4014 if test -n "$CC"; then
4015 ac_cv_prog_CC="$CC" # Let the user override the test.
4016 else
4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 for as_dir in $PATH
4019 do
4020 IFS=$as_save_IFS
4021 test -z "$as_dir" && as_dir=.
4022 for ac_exec_ext in '' $ac_executable_extensions; do
4023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4024 ac_cv_prog_CC="${ac_tool_prefix}cc"
4025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 break 2
4027 fi
4028 done
4029 done
4030 IFS=$as_save_IFS
4031
4032 fi
4033 fi
4034 CC=$ac_cv_prog_CC
4035 if test -n "$CC"; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4037 $as_echo "$CC" >&6; }
4038 else
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4041 fi
4042
4043
4044 fi
4045 fi
4046 if test -z "$CC"; then
4047 # Extract the first word of "cc", so it can be a program name with args.
4048 set dummy cc; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 if test -n "$CC"; then
4055 ac_cv_prog_CC="$CC" # Let the user override the test.
4056 else
4057 ac_prog_rejected=no
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 for as_dir in $PATH
4060 do
4061 IFS=$as_save_IFS
4062 test -z "$as_dir" && as_dir=.
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4066 ac_prog_rejected=yes
4067 continue
4068 fi
4069 ac_cv_prog_CC="cc"
4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 break 2
4072 fi
4073 done
4074 done
4075 IFS=$as_save_IFS
4076
4077 if test $ac_prog_rejected = yes; then
4078 # We found a bogon in the path, so make sure we never use it.
4079 set dummy $ac_cv_prog_CC
4080 shift
4081 if test $@%:@ != 0; then
4082 # We chose a different compiler from the bogus one.
4083 # However, it has the same basename, so the bogon will be chosen
4084 # first if we set CC to just the basename; use the full file name.
4085 shift
4086 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4087 fi
4088 fi
4089 fi
4090 fi
4091 CC=$ac_cv_prog_CC
4092 if test -n "$CC"; then
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4094 $as_echo "$CC" >&6; }
4095 else
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097 $as_echo "no" >&6; }
4098 fi
4099
4100
4101 fi
4102 if test -z "$CC"; then
4103 if test -n "$ac_tool_prefix"; then
4104 for ac_prog in cl.exe
4105 do
4106 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 $as_echo_n "checking for $ac_word... " >&6; }
4110 if ${ac_cv_prog_CC+:} false; then :
4111 $as_echo_n "(cached) " >&6
4112 else
4113 if test -n "$CC"; then
4114 ac_cv_prog_CC="$CC" # Let the user override the test.
4115 else
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 for as_dir in $PATH
4118 do
4119 IFS=$as_save_IFS
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 break 2
4126 fi
4127 done
4128 done
4129 IFS=$as_save_IFS
4130
4131 fi
4132 fi
4133 CC=$ac_cv_prog_CC
4134 if test -n "$CC"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4136 $as_echo "$CC" >&6; }
4137 else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4140 fi
4141
4142
4143 test -n "$CC" && break
4144 done
4145 fi
4146 if test -z "$CC"; then
4147 ac_ct_CC=$CC
4148 for ac_prog in cl.exe
4149 do
4150 # Extract the first word of "$ac_prog", so it can be a program name with args.
4151 set dummy $ac_prog; ac_word=$2
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4153 $as_echo_n "checking for $ac_word... " >&6; }
4154 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4155 $as_echo_n "(cached) " >&6
4156 else
4157 if test -n "$ac_ct_CC"; then
4158 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4159 else
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH
4162 do
4163 IFS=$as_save_IFS
4164 test -z "$as_dir" && as_dir=.
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 ac_cv_prog_ac_ct_CC="$ac_prog"
4168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 break 2
4170 fi
4171 done
4172 done
4173 IFS=$as_save_IFS
4174
4175 fi
4176 fi
4177 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4178 if test -n "$ac_ct_CC"; then
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4180 $as_echo "$ac_ct_CC" >&6; }
4181 else
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4183 $as_echo "no" >&6; }
4184 fi
4185
4186
4187 test -n "$ac_ct_CC" && break
4188 done
4189
4190 if test "x$ac_ct_CC" = x; then
4191 CC=""
4192 else
4193 case $cross_compiling:$ac_tool_warned in
4194 yes:)
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4197 ac_tool_warned=yes ;;
4198 esac
4199 CC=$ac_ct_CC
4200 fi
4201 fi
4202
4203 fi
4204
4205
4206 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 as_fn_error $? "no acceptable C compiler found in \$PATH
4209 See \`config.log' for more details" "$LINENO" 5; }
4210
4211 # Provide some information about the compiler.
4212 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4213 set X $ac_compile
4214 ac_compiler=$2
4215 for ac_option in --version -v -V -qversion; do
4216 { { ac_try="$ac_compiler $ac_option >&5"
4217 case "(($ac_try" in
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4220 esac
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4224 ac_status=$?
4225 if test -s conftest.err; then
4226 sed '10a\
4227 ... rest of stderr output deleted ...
4228 10q' conftest.err >conftest.er1
4229 cat conftest.er1 >&5
4230 fi
4231 rm -f conftest.er1 conftest.err
4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233 test $ac_status = 0; }
4234 done
4235
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4237 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4238 if ${ac_cv_c_compiler_gnu+:} false; then :
4239 $as_echo_n "(cached) " >&6
4240 else
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243
4244 int
4245 main ()
4246 {
4247 #ifndef __GNUC__
4248 choke me
4249 #endif
4250
4251 ;
4252 return 0;
4253 }
4254 _ACEOF
4255 if ac_fn_c_try_compile "$LINENO"; then :
4256 ac_compiler_gnu=yes
4257 else
4258 ac_compiler_gnu=no
4259 fi
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4262
4263 fi
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4265 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4266 if test $ac_compiler_gnu = yes; then
4267 GCC=yes
4268 else
4269 GCC=
4270 fi
4271 ac_test_CFLAGS=${CFLAGS+set}
4272 ac_save_CFLAGS=$CFLAGS
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4274 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4275 if ${ac_cv_prog_cc_g+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 ac_save_c_werror_flag=$ac_c_werror_flag
4279 ac_c_werror_flag=yes
4280 ac_cv_prog_cc_g=no
4281 CFLAGS="-g"
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4284
4285 int
4286 main ()
4287 {
4288
4289 ;
4290 return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294 ac_cv_prog_cc_g=yes
4295 else
4296 CFLAGS=""
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299
4300 int
4301 main ()
4302 {
4303
4304 ;
4305 return 0;
4306 }
4307 _ACEOF
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309
4310 else
4311 ac_c_werror_flag=$ac_save_c_werror_flag
4312 CFLAGS="-g"
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4315
4316 int
4317 main ()
4318 {
4319
4320 ;
4321 return 0;
4322 }
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_g=yes
4326 fi
4327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4328 fi
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 fi
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 ac_c_werror_flag=$ac_save_c_werror_flag
4333 fi
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4335 $as_echo "$ac_cv_prog_cc_g" >&6; }
4336 if test "$ac_test_CFLAGS" = set; then
4337 CFLAGS=$ac_save_CFLAGS
4338 elif test $ac_cv_prog_cc_g = yes; then
4339 if test "$GCC" = yes; then
4340 CFLAGS="-g -O2"
4341 else
4342 CFLAGS="-g"
4343 fi
4344 else
4345 if test "$GCC" = yes; then
4346 CFLAGS="-O2"
4347 else
4348 CFLAGS=
4349 fi
4350 fi
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4352 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4353 if ${ac_cv_prog_cc_c89+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 ac_cv_prog_cc_c89=no
4357 ac_save_CC=$CC
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4360 #include <stdarg.h>
4361 #include <stdio.h>
4362 struct stat;
4363 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4364 struct buf { int x; };
4365 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4366 static char *e (p, i)
4367 char **p;
4368 int i;
4369 {
4370 return p[i];
4371 }
4372 static char *f (char * (*g) (char **, int), char **p, ...)
4373 {
4374 char *s;
4375 va_list v;
4376 va_start (v,p);
4377 s = g (p, va_arg (v,int));
4378 va_end (v);
4379 return s;
4380 }
4381
4382 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4383 function prototypes and stuff, but not '\xHH' hex character constants.
4384 These don't provoke an error unfortunately, instead are silently treated
4385 as 'x'. The following induces an error, until -std is added to get
4386 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4387 array size at least. It's necessary to write '\x00'==0 to get something
4388 that's true only with -std. */
4389 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4390
4391 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4392 inside strings and character constants. */
4393 #define FOO(x) 'x'
4394 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4395
4396 int test (int i, double x);
4397 struct s1 {int (*f) (int a);};
4398 struct s2 {int (*f) (double a);};
4399 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4400 int argc;
4401 char **argv;
4402 int
4403 main ()
4404 {
4405 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4406 ;
4407 return 0;
4408 }
4409 _ACEOF
4410 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4411 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4412 do
4413 CC="$ac_save_CC $ac_arg"
4414 if ac_fn_c_try_compile "$LINENO"; then :
4415 ac_cv_prog_cc_c89=$ac_arg
4416 fi
4417 rm -f core conftest.err conftest.$ac_objext
4418 test "x$ac_cv_prog_cc_c89" != "xno" && break
4419 done
4420 rm -f conftest.$ac_ext
4421 CC=$ac_save_CC
4422
4423 fi
4424 # AC_CACHE_VAL
4425 case "x$ac_cv_prog_cc_c89" in
4426 x)
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4428 $as_echo "none needed" >&6; } ;;
4429 xno)
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4431 $as_echo "unsupported" >&6; } ;;
4432 *)
4433 CC="$CC $ac_cv_prog_cc_c89"
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4435 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4436 esac
4437 if test "x$ac_cv_prog_cc_c89" != xno; then :
4438
4439 fi
4440
4441 ac_ext=c
4442 ac_cpp='$CPP $CPPFLAGS'
4443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4446
4447 depcc="$CC" am_compiler_list=
4448
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4450 $as_echo_n "checking dependency style of $depcc... " >&6; }
4451 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4455 # We make a subdir and do the tests there. Otherwise we can end up
4456 # making bogus files that we don't know about and never remove. For
4457 # instance it was reported that on HP-UX the gcc test will end up
4458 # making a dummy file named `D' -- because `-MD' means `put the output
4459 # in D'.
4460 rm -rf conftest.dir
4461 mkdir conftest.dir
4462 # Copy depcomp to subdir because otherwise we won't find it if we're
4463 # using a relative directory.
4464 cp "$am_depcomp" conftest.dir
4465 cd conftest.dir
4466 # We will build objects and dependencies in a subdirectory because
4467 # it helps to detect inapplicable dependency modes. For instance
4468 # both Tru64's cc and ICC support -MD to output dependencies as a
4469 # side effect of compilation, but ICC will put the dependencies in
4470 # the current directory while Tru64 will put them in the object
4471 # directory.
4472 mkdir sub
4473
4474 am_cv_CC_dependencies_compiler_type=none
4475 if test "$am_compiler_list" = ""; then
4476 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4477 fi
4478 am__universal=false
4479 case " $depcc " in #(
4480 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4481 esac
4482
4483 for depmode in $am_compiler_list; do
4484 # Setup a source with many dependencies, because some compilers
4485 # like to wrap large dependency lists on column 80 (with \), and
4486 # we should not choose a depcomp mode which is confused by this.
4487 #
4488 # We need to recreate these files for each test, as the compiler may
4489 # overwrite some of them when testing with obscure command lines.
4490 # This happens at least with the AIX C compiler.
4491 : > sub/conftest.c
4492 for i in 1 2 3 4 5 6; do
4493 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4494 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4495 # Solaris 8's {/usr,}/bin/sh.
4496 touch sub/conftst$i.h
4497 done
4498 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4499
4500 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4501 # mode. It turns out that the SunPro C++ compiler does not properly
4502 # handle `-M -o', and we need to detect this. Also, some Intel
4503 # versions had trouble with output in subdirs
4504 am__obj=sub/conftest.${OBJEXT-o}
4505 am__minus_obj="-o $am__obj"
4506 case $depmode in
4507 gcc)
4508 # This depmode causes a compiler race in universal mode.
4509 test "$am__universal" = false || continue
4510 ;;
4511 nosideeffect)
4512 # after this tag, mechanisms are not by side-effect, so they'll
4513 # only be used when explicitly requested
4514 if test "x$enable_dependency_tracking" = xyes; then
4515 continue
4516 else
4517 break
4518 fi
4519 ;;
4520 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4521 # This compiler won't grok `-c -o', but also, the minuso test has
4522 # not run yet. These depmodes are late enough in the game, and
4523 # so weak that their functioning should not be impacted.
4524 am__obj=conftest.${OBJEXT-o}
4525 am__minus_obj=
4526 ;;
4527 none) break ;;
4528 esac
4529 if depmode=$depmode \
4530 source=sub/conftest.c object=$am__obj \
4531 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4532 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4533 >/dev/null 2>conftest.err &&
4534 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4535 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4536 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4537 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4538 # icc doesn't choke on unknown options, it will just issue warnings
4539 # or remarks (even with -Werror). So we grep stderr for any message
4540 # that says an option was ignored or not supported.
4541 # When given -MP, icc 7.0 and 7.1 complain thusly:
4542 # icc: Command line warning: ignoring option '-M'; no argument required
4543 # The diagnosis changed in icc 8.0:
4544 # icc: Command line remark: option '-MP' not supported
4545 if (grep 'ignoring option' conftest.err ||
4546 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4547 am_cv_CC_dependencies_compiler_type=$depmode
4548 break
4549 fi
4550 fi
4551 done
4552
4553 cd ..
4554 rm -rf conftest.dir
4555 else
4556 am_cv_CC_dependencies_compiler_type=none
4557 fi
4558
4559 fi
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4561 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4562 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4563
4564 if
4565 test "x$enable_dependency_tracking" != xno \
4566 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4567 am__fastdepCC_TRUE=
4568 am__fastdepCC_FALSE='#'
4569 else
4570 am__fastdepCC_TRUE='#'
4571 am__fastdepCC_FALSE=
4572 fi
4573
4574
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4576 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4577 set x ${MAKE-make}
4578 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4579 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 cat >conftest.make <<\_ACEOF
4583 SHELL = /bin/sh
4584 all:
4585 @echo '@@@%%%=$(MAKE)=@@@%%%'
4586 _ACEOF
4587 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4588 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4589 *@@@%%%=?*=@@@%%%*)
4590 eval ac_cv_prog_make_${ac_make}_set=yes;;
4591 *)
4592 eval ac_cv_prog_make_${ac_make}_set=no;;
4593 esac
4594 rm -f conftest.make
4595 fi
4596 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4598 $as_echo "yes" >&6; }
4599 SET_MAKE=
4600 else
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4603 SET_MAKE="MAKE=${MAKE-make}"
4604 fi
4605
4606
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4608 $as_echo_n "checking whether ln -s works... " >&6; }
4609 LN_S=$as_ln_s
4610 if test "$LN_S" = "ln -s"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4612 $as_echo "yes" >&6; }
4613 else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4615 $as_echo "no, using $LN_S" >&6; }
4616 fi
4617
4618
4619 enable_dlopen=yes
4620
4621
4622
4623 @%:@ Check whether --enable-static was given.
4624 if test "${enable_static+set}" = set; then :
4625 enableval=$enable_static; p=${PACKAGE-default}
4626 case $enableval in
4627 yes) enable_static=yes ;;
4628 no) enable_static=no ;;
4629 *)
4630 enable_static=no
4631 # Look at the argument we got. We use all the common list separators.
4632 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4633 for pkg in $enableval; do
4634 IFS="$lt_save_ifs"
4635 if test "X$pkg" = "X$p"; then
4636 enable_static=yes
4637 fi
4638 done
4639 IFS="$lt_save_ifs"
4640 ;;
4641 esac
4642 else
4643 enable_static=no
4644 fi
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654 case `pwd` in
4655 *\ * | *\ *)
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4657 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4658 esac
4659
4660
4661
4662 macro_version='2.4.2'
4663 macro_revision='1.3337'
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677 ltmain="$ac_aux_dir/ltmain.sh"
4678
4679 # Backslashify metacharacters that are still active within
4680 # double-quoted strings.
4681 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4682
4683 # Same as above, but do not quote variable references.
4684 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4685
4686 # Sed substitution to delay expansion of an escaped shell variable in a
4687 # double_quote_subst'ed string.
4688 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4689
4690 # Sed substitution to delay expansion of an escaped single quote.
4691 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4692
4693 # Sed substitution to avoid accidental globbing in evaled expressions
4694 no_glob_subst='s/\*/\\\*/g'
4695
4696 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4697 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4698 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4699
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4701 $as_echo_n "checking how to print strings... " >&6; }
4702 # Test print first, because it will be a builtin if present.
4703 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4704 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4705 ECHO='print -r --'
4706 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4707 ECHO='printf %s\n'
4708 else
4709 # Use this function as a fallback that always works.
4710 func_fallback_echo ()
4711 {
4712 eval 'cat <<_LTECHO_EOF
4713 $1
4714 _LTECHO_EOF'
4715 }
4716 ECHO='func_fallback_echo'
4717 fi
4718
4719 # func_echo_all arg...
4720 # Invoke $ECHO with all args, space-separated.
4721 func_echo_all ()
4722 {
4723 $ECHO ""
4724 }
4725
4726 case "$ECHO" in
4727 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4728 $as_echo "printf" >&6; } ;;
4729 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4730 $as_echo "print -r" >&6; } ;;
4731 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4732 $as_echo "cat" >&6; } ;;
4733 esac
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4749 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4750 if ${ac_cv_path_SED+:} false; then :
4751 $as_echo_n "(cached) " >&6
4752 else
4753 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4754 for ac_i in 1 2 3 4 5 6 7; do
4755 ac_script="$ac_script$as_nl$ac_script"
4756 done
4757 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4758 { ac_script=; unset ac_script;}
4759 if test -z "$SED"; then
4760 ac_path_SED_found=false
4761 # Loop through the user's path and test for each of PROGNAME-LIST
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH
4764 do
4765 IFS=$as_save_IFS
4766 test -z "$as_dir" && as_dir=.
4767 for ac_prog in sed gsed; do
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4770 as_fn_executable_p "$ac_path_SED" || continue
4771 # Check for GNU ac_path_SED and select it if it is found.
4772 # Check for GNU $ac_path_SED
4773 case `"$ac_path_SED" --version 2>&1` in
4774 *GNU*)
4775 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4776 *)
4777 ac_count=0
4778 $as_echo_n 0123456789 >"conftest.in"
4779 while :
4780 do
4781 cat "conftest.in" "conftest.in" >"conftest.tmp"
4782 mv "conftest.tmp" "conftest.in"
4783 cp "conftest.in" "conftest.nl"
4784 $as_echo '' >> "conftest.nl"
4785 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4787 as_fn_arith $ac_count + 1 && ac_count=$as_val
4788 if test $ac_count -gt ${ac_path_SED_max-0}; then
4789 # Best one so far, save it but keep looking for a better one
4790 ac_cv_path_SED="$ac_path_SED"
4791 ac_path_SED_max=$ac_count
4792 fi
4793 # 10*(2^10) chars as input seems more than enough
4794 test $ac_count -gt 10 && break
4795 done
4796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4797 esac
4798
4799 $ac_path_SED_found && break 3
4800 done
4801 done
4802 done
4803 IFS=$as_save_IFS
4804 if test -z "$ac_cv_path_SED"; then
4805 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4806 fi
4807 else
4808 ac_cv_path_SED=$SED
4809 fi
4810
4811 fi
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4813 $as_echo "$ac_cv_path_SED" >&6; }
4814 SED="$ac_cv_path_SED"
4815 rm -f conftest.sed
4816
4817 test -z "$SED" && SED=sed
4818 Xsed="$SED -e 1s/^X//"
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4831 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4832 if ${ac_cv_path_GREP+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 if test -z "$GREP"; then
4836 ac_path_GREP_found=false
4837 # Loop through the user's path and test for each of PROGNAME-LIST
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4840 do
4841 IFS=$as_save_IFS
4842 test -z "$as_dir" && as_dir=.
4843 for ac_prog in grep ggrep; do
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4846 as_fn_executable_p "$ac_path_GREP" || continue
4847 # Check for GNU ac_path_GREP and select it if it is found.
4848 # Check for GNU $ac_path_GREP
4849 case `"$ac_path_GREP" --version 2>&1` in
4850 *GNU*)
4851 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4852 *)
4853 ac_count=0
4854 $as_echo_n 0123456789 >"conftest.in"
4855 while :
4856 do
4857 cat "conftest.in" "conftest.in" >"conftest.tmp"
4858 mv "conftest.tmp" "conftest.in"
4859 cp "conftest.in" "conftest.nl"
4860 $as_echo 'GREP' >> "conftest.nl"
4861 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4862 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4863 as_fn_arith $ac_count + 1 && ac_count=$as_val
4864 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4865 # Best one so far, save it but keep looking for a better one
4866 ac_cv_path_GREP="$ac_path_GREP"
4867 ac_path_GREP_max=$ac_count
4868 fi
4869 # 10*(2^10) chars as input seems more than enough
4870 test $ac_count -gt 10 && break
4871 done
4872 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4873 esac
4874
4875 $ac_path_GREP_found && break 3
4876 done
4877 done
4878 done
4879 IFS=$as_save_IFS
4880 if test -z "$ac_cv_path_GREP"; then
4881 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4882 fi
4883 else
4884 ac_cv_path_GREP=$GREP
4885 fi
4886
4887 fi
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4889 $as_echo "$ac_cv_path_GREP" >&6; }
4890 GREP="$ac_cv_path_GREP"
4891
4892
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4894 $as_echo_n "checking for egrep... " >&6; }
4895 if ${ac_cv_path_EGREP+:} false; then :
4896 $as_echo_n "(cached) " >&6
4897 else
4898 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4899 then ac_cv_path_EGREP="$GREP -E"
4900 else
4901 if test -z "$EGREP"; then
4902 ac_path_EGREP_found=false
4903 # Loop through the user's path and test for each of PROGNAME-LIST
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4906 do
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_prog in egrep; do
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4912 as_fn_executable_p "$ac_path_EGREP" || continue
4913 # Check for GNU ac_path_EGREP and select it if it is found.
4914 # Check for GNU $ac_path_EGREP
4915 case `"$ac_path_EGREP" --version 2>&1` in
4916 *GNU*)
4917 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4918 *)
4919 ac_count=0
4920 $as_echo_n 0123456789 >"conftest.in"
4921 while :
4922 do
4923 cat "conftest.in" "conftest.in" >"conftest.tmp"
4924 mv "conftest.tmp" "conftest.in"
4925 cp "conftest.in" "conftest.nl"
4926 $as_echo 'EGREP' >> "conftest.nl"
4927 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4928 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4929 as_fn_arith $ac_count + 1 && ac_count=$as_val
4930 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4931 # Best one so far, save it but keep looking for a better one
4932 ac_cv_path_EGREP="$ac_path_EGREP"
4933 ac_path_EGREP_max=$ac_count
4934 fi
4935 # 10*(2^10) chars as input seems more than enough
4936 test $ac_count -gt 10 && break
4937 done
4938 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4939 esac
4940
4941 $ac_path_EGREP_found && break 3
4942 done
4943 done
4944 done
4945 IFS=$as_save_IFS
4946 if test -z "$ac_cv_path_EGREP"; then
4947 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4948 fi
4949 else
4950 ac_cv_path_EGREP=$EGREP
4951 fi
4952
4953 fi
4954 fi
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4956 $as_echo "$ac_cv_path_EGREP" >&6; }
4957 EGREP="$ac_cv_path_EGREP"
4958
4959
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4961 $as_echo_n "checking for fgrep... " >&6; }
4962 if ${ac_cv_path_FGREP+:} false; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4966 then ac_cv_path_FGREP="$GREP -F"
4967 else
4968 if test -z "$FGREP"; then
4969 ac_path_FGREP_found=false
4970 # Loop through the user's path and test for each of PROGNAME-LIST
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4973 do
4974 IFS=$as_save_IFS
4975 test -z "$as_dir" && as_dir=.
4976 for ac_prog in fgrep; do
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4979 as_fn_executable_p "$ac_path_FGREP" || continue
4980 # Check for GNU ac_path_FGREP and select it if it is found.
4981 # Check for GNU $ac_path_FGREP
4982 case `"$ac_path_FGREP" --version 2>&1` in
4983 *GNU*)
4984 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4985 *)
4986 ac_count=0
4987 $as_echo_n 0123456789 >"conftest.in"
4988 while :
4989 do
4990 cat "conftest.in" "conftest.in" >"conftest.tmp"
4991 mv "conftest.tmp" "conftest.in"
4992 cp "conftest.in" "conftest.nl"
4993 $as_echo 'FGREP' >> "conftest.nl"
4994 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4995 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4996 as_fn_arith $ac_count + 1 && ac_count=$as_val
4997 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4998 # Best one so far, save it but keep looking for a better one
4999 ac_cv_path_FGREP="$ac_path_FGREP"
5000 ac_path_FGREP_max=$ac_count
5001 fi
5002 # 10*(2^10) chars as input seems more than enough
5003 test $ac_count -gt 10 && break
5004 done
5005 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5006 esac
5007
5008 $ac_path_FGREP_found && break 3
5009 done
5010 done
5011 done
5012 IFS=$as_save_IFS
5013 if test -z "$ac_cv_path_FGREP"; then
5014 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5015 fi
5016 else
5017 ac_cv_path_FGREP=$FGREP
5018 fi
5019
5020 fi
5021 fi
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5023 $as_echo "$ac_cv_path_FGREP" >&6; }
5024 FGREP="$ac_cv_path_FGREP"
5025
5026
5027 test -z "$GREP" && GREP=grep
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047 @%:@ Check whether --with-gnu-ld was given.
5048 if test "${with_gnu_ld+set}" = set; then :
5049 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5050 else
5051 with_gnu_ld=no
5052 fi
5053
5054 ac_prog=ld
5055 if test "$GCC" = yes; then
5056 # Check if gcc -print-prog-name=ld gives a path.
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5058 $as_echo_n "checking for ld used by $CC... " >&6; }
5059 case $host in
5060 *-*-mingw*)
5061 # gcc leaves a trailing carriage return which upsets mingw
5062 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5063 *)
5064 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5065 esac
5066 case $ac_prog in
5067 # Accept absolute paths.
5068 [\\/]* | ?:[\\/]*)
5069 re_direlt='/[^/][^/]*/\.\./'
5070 # Canonicalize the pathname of ld
5071 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5072 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5073 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5074 done
5075 test -z "$LD" && LD="$ac_prog"
5076 ;;
5077 "")
5078 # If it fails, then pretend we aren't using GCC.
5079 ac_prog=ld
5080 ;;
5081 *)
5082 # If it is relative, then search for the first ld in PATH.
5083 with_gnu_ld=unknown
5084 ;;
5085 esac
5086 elif test "$with_gnu_ld" = yes; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5088 $as_echo_n "checking for GNU ld... " >&6; }
5089 else
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5091 $as_echo_n "checking for non-GNU ld... " >&6; }
5092 fi
5093 if ${lt_cv_path_LD+:} false; then :
5094 $as_echo_n "(cached) " >&6
5095 else
5096 if test -z "$LD"; then
5097 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5098 for ac_dir in $PATH; do
5099 IFS="$lt_save_ifs"
5100 test -z "$ac_dir" && ac_dir=.
5101 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5102 lt_cv_path_LD="$ac_dir/$ac_prog"
5103 # Check to see if the program is GNU ld. I'd rather use --version,
5104 # but apparently some variants of GNU ld only accept -v.
5105 # Break only if it was the GNU/non-GNU ld that we prefer.
5106 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5107 *GNU* | *'with BFD'*)
5108 test "$with_gnu_ld" != no && break
5109 ;;
5110 *)
5111 test "$with_gnu_ld" != yes && break
5112 ;;
5113 esac
5114 fi
5115 done
5116 IFS="$lt_save_ifs"
5117 else
5118 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5119 fi
5120 fi
5121
5122 LD="$lt_cv_path_LD"
5123 if test -n "$LD"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5125 $as_echo "$LD" >&6; }
5126 else
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5129 fi
5130 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5132 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5133 if ${lt_cv_prog_gnu_ld+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5137 case `$LD -v 2>&1 </dev/null` in
5138 *GNU* | *'with BFD'*)
5139 lt_cv_prog_gnu_ld=yes
5140 ;;
5141 *)
5142 lt_cv_prog_gnu_ld=no
5143 ;;
5144 esac
5145 fi
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5147 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5148 with_gnu_ld=$lt_cv_prog_gnu_ld
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5159 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5160 if ${lt_cv_path_NM+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$NM"; then
5164 # Let the user override the test.
5165 lt_cv_path_NM="$NM"
5166 else
5167 lt_nm_to_check="${ac_tool_prefix}nm"
5168 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5169 lt_nm_to_check="$lt_nm_to_check nm"
5170 fi
5171 for lt_tmp_nm in $lt_nm_to_check; do
5172 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5173 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5174 IFS="$lt_save_ifs"
5175 test -z "$ac_dir" && ac_dir=.
5176 tmp_nm="$ac_dir/$lt_tmp_nm"
5177 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5178 # Check to see if the nm accepts a BSD-compat flag.
5179 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5180 # nm: unknown option "B" ignored
5181 # Tru64's nm complains that /dev/null is an invalid object file
5182 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5183 */dev/null* | *'Invalid file or object type'*)
5184 lt_cv_path_NM="$tmp_nm -B"
5185 break
5186 ;;
5187 *)
5188 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5189 */dev/null*)
5190 lt_cv_path_NM="$tmp_nm -p"
5191 break
5192 ;;
5193 *)
5194 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5195 continue # so that we can try to find one that supports BSD flags
5196 ;;
5197 esac
5198 ;;
5199 esac
5200 fi
5201 done
5202 IFS="$lt_save_ifs"
5203 done
5204 : ${lt_cv_path_NM=no}
5205 fi
5206 fi
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5208 $as_echo "$lt_cv_path_NM" >&6; }
5209 if test "$lt_cv_path_NM" != "no"; then
5210 NM="$lt_cv_path_NM"
5211 else
5212 # Didn't find any BSD compatible name lister, look for dumpbin.
5213 if test -n "$DUMPBIN"; then :
5214 # Let the user override the test.
5215 else
5216 if test -n "$ac_tool_prefix"; then
5217 for ac_prog in dumpbin "link -dump"
5218 do
5219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if ${ac_cv_prog_DUMPBIN+:} false; then :
5224 $as_echo_n "(cached) " >&6
5225 else
5226 if test -n "$DUMPBIN"; then
5227 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5228 else
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 for as_dir in $PATH
5231 do
5232 IFS=$as_save_IFS
5233 test -z "$as_dir" && as_dir=.
5234 for ac_exec_ext in '' $ac_executable_extensions; do
5235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5236 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 break 2
5239 fi
5240 done
5241 done
5242 IFS=$as_save_IFS
5243
5244 fi
5245 fi
5246 DUMPBIN=$ac_cv_prog_DUMPBIN
5247 if test -n "$DUMPBIN"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5249 $as_echo "$DUMPBIN" >&6; }
5250 else
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5253 fi
5254
5255
5256 test -n "$DUMPBIN" && break
5257 done
5258 fi
5259 if test -z "$DUMPBIN"; then
5260 ac_ct_DUMPBIN=$DUMPBIN
5261 for ac_prog in dumpbin "link -dump"
5262 do
5263 # Extract the first word of "$ac_prog", so it can be a program name with args.
5264 set dummy $ac_prog; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$ac_ct_DUMPBIN"; then
5271 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5275 do
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5283 fi
5284 done
5285 done
5286 IFS=$as_save_IFS
5287
5288 fi
5289 fi
5290 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5291 if test -n "$ac_ct_DUMPBIN"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5293 $as_echo "$ac_ct_DUMPBIN" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5297 fi
5298
5299
5300 test -n "$ac_ct_DUMPBIN" && break
5301 done
5302
5303 if test "x$ac_ct_DUMPBIN" = x; then
5304 DUMPBIN=":"
5305 else
5306 case $cross_compiling:$ac_tool_warned in
5307 yes:)
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5311 esac
5312 DUMPBIN=$ac_ct_DUMPBIN
5313 fi
5314 fi
5315
5316 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5317 *COFF*)
5318 DUMPBIN="$DUMPBIN -symbols"
5319 ;;
5320 *)
5321 DUMPBIN=:
5322 ;;
5323 esac
5324 fi
5325
5326 if test "$DUMPBIN" != ":"; then
5327 NM="$DUMPBIN"
5328 fi
5329 fi
5330 test -z "$NM" && NM=nm
5331
5332
5333
5334
5335
5336
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5338 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5339 if ${lt_cv_nm_interface+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 lt_cv_nm_interface="BSD nm"
5343 echo "int some_variable = 0;" > conftest.$ac_ext
5344 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5345 (eval "$ac_compile" 2>conftest.err)
5346 cat conftest.err >&5
5347 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5348 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5349 cat conftest.err >&5
5350 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5351 cat conftest.out >&5
5352 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5353 lt_cv_nm_interface="MS dumpbin"
5354 fi
5355 rm -f conftest*
5356 fi
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5358 $as_echo "$lt_cv_nm_interface" >&6; }
5359
5360 # find the maximum length of command line arguments
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5362 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5363 if ${lt_cv_sys_max_cmd_len+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 i=0
5367 teststring="ABCD"
5368
5369 case $build_os in
5370 msdosdjgpp*)
5371 # On DJGPP, this test can blow up pretty badly due to problems in libc
5372 # (any single argument exceeding 2000 bytes causes a buffer overrun
5373 # during glob expansion). Even if it were fixed, the result of this
5374 # check would be larger than it should be.
5375 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5376 ;;
5377
5378 gnu*)
5379 # Under GNU Hurd, this test is not required because there is
5380 # no limit to the length of command line arguments.
5381 # Libtool will interpret -1 as no limit whatsoever
5382 lt_cv_sys_max_cmd_len=-1;
5383 ;;
5384
5385 cygwin* | mingw* | cegcc*)
5386 # On Win9x/ME, this test blows up -- it succeeds, but takes
5387 # about 5 minutes as the teststring grows exponentially.
5388 # Worse, since 9x/ME are not pre-emptively multitasking,
5389 # you end up with a "frozen" computer, even though with patience
5390 # the test eventually succeeds (with a max line length of 256k).
5391 # Instead, let's just punt: use the minimum linelength reported by
5392 # all of the supported platforms: 8192 (on NT/2K/XP).
5393 lt_cv_sys_max_cmd_len=8192;
5394 ;;
5395
5396 mint*)
5397 # On MiNT this can take a long time and run out of memory.
5398 lt_cv_sys_max_cmd_len=8192;
5399 ;;
5400
5401 amigaos*)
5402 # On AmigaOS with pdksh, this test takes hours, literally.
5403 # So we just punt and use a minimum line length of 8192.
5404 lt_cv_sys_max_cmd_len=8192;
5405 ;;
5406
5407 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5408 # This has been around since 386BSD, at least. Likely further.
5409 if test -x /sbin/sysctl; then
5410 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5411 elif test -x /usr/sbin/sysctl; then
5412 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5413 else
5414 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5415 fi
5416 # And add a safety zone
5417 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5418 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5419 ;;
5420
5421 interix*)
5422 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5423 lt_cv_sys_max_cmd_len=196608
5424 ;;
5425
5426 os2*)
5427 # The test takes a long time on OS/2.
5428 lt_cv_sys_max_cmd_len=8192
5429 ;;
5430
5431 osf*)
5432 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5433 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5434 # nice to cause kernel panics so lets avoid the loop below.
5435 # First set a reasonable default.
5436 lt_cv_sys_max_cmd_len=16384
5437 #
5438 if test -x /sbin/sysconfig; then
5439 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5440 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5441 esac
5442 fi
5443 ;;
5444 sco3.2v5*)
5445 lt_cv_sys_max_cmd_len=102400
5446 ;;
5447 sysv5* | sco5v6* | sysv4.2uw2*)
5448 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5449 if test -n "$kargmax"; then
5450 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5451 else
5452 lt_cv_sys_max_cmd_len=32768
5453 fi
5454 ;;
5455 *)
5456 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5457 if test -n "$lt_cv_sys_max_cmd_len" && \
5458 test undefined != "$lt_cv_sys_max_cmd_len"; then
5459 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5460 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5461 else
5462 # Make teststring a little bigger before we do anything with it.
5463 # a 1K string should be a reasonable start.
5464 for i in 1 2 3 4 5 6 7 8 ; do
5465 teststring=$teststring$teststring
5466 done
5467 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5468 # If test is not a shell built-in, we'll probably end up computing a
5469 # maximum length that is only half of the actual maximum length, but
5470 # we can't tell.
5471 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5472 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5473 test $i != 17 # 1/2 MB should be enough
5474 do
5475 i=`expr $i + 1`
5476 teststring=$teststring$teststring
5477 done
5478 # Only check the string length outside the loop.
5479 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5480 teststring=
5481 # Add a significant safety factor because C++ compilers can tack on
5482 # massive amounts of additional arguments before passing them to the
5483 # linker. It appears as though 1/2 is a usable value.
5484 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5485 fi
5486 ;;
5487 esac
5488
5489 fi
5490
5491 if test -n $lt_cv_sys_max_cmd_len ; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5493 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5494 else
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5496 $as_echo "none" >&6; }
5497 fi
5498 max_cmd_len=$lt_cv_sys_max_cmd_len
5499
5500
5501
5502
5503
5504
5505 : ${CP="cp -f"}
5506 : ${MV="mv -f"}
5507 : ${RM="rm -f"}
5508
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5510 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5511 # Try some XSI features
5512 xsi_shell=no
5513 ( _lt_dummy="a/b/c"
5514 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5515 = c,a/b,b/c, \
5516 && eval 'test $(( 1 + 1 )) -eq 2 \
5517 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5518 && xsi_shell=yes
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5520 $as_echo "$xsi_shell" >&6; }
5521
5522
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5524 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5525 lt_shell_append=no
5526 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5527 >/dev/null 2>&1 \
5528 && lt_shell_append=yes
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5530 $as_echo "$lt_shell_append" >&6; }
5531
5532
5533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5534 lt_unset=unset
5535 else
5536 lt_unset=false
5537 fi
5538
5539
5540
5541
5542
5543 # test EBCDIC or ASCII
5544 case `echo X|tr X '\101'` in
5545 A) # ASCII based system
5546 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5547 lt_SP2NL='tr \040 \012'
5548 lt_NL2SP='tr \015\012 \040\040'
5549 ;;
5550 *) # EBCDIC based system
5551 lt_SP2NL='tr \100 \n'
5552 lt_NL2SP='tr \r\n \100\100'
5553 ;;
5554 esac
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5565 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5566 if ${lt_cv_to_host_file_cmd+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 case $host in
5570 *-*-mingw* )
5571 case $build in
5572 *-*-mingw* ) # actually msys
5573 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5574 ;;
5575 *-*-cygwin* )
5576 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5577 ;;
5578 * ) # otherwise, assume *nix
5579 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5580 ;;
5581 esac
5582 ;;
5583 *-*-cygwin* )
5584 case $build in
5585 *-*-mingw* ) # actually msys
5586 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5587 ;;
5588 *-*-cygwin* )
5589 lt_cv_to_host_file_cmd=func_convert_file_noop
5590 ;;
5591 * ) # otherwise, assume *nix
5592 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5593 ;;
5594 esac
5595 ;;
5596 * ) # unhandled hosts (and "normal" native builds)
5597 lt_cv_to_host_file_cmd=func_convert_file_noop
5598 ;;
5599 esac
5600
5601 fi
5602
5603 to_host_file_cmd=$lt_cv_to_host_file_cmd
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5605 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5606
5607
5608
5609
5610
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5612 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5613 if ${lt_cv_to_tool_file_cmd+:} false; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 #assume ordinary cross tools, or native build.
5617 lt_cv_to_tool_file_cmd=func_convert_file_noop
5618 case $host in
5619 *-*-mingw* )
5620 case $build in
5621 *-*-mingw* ) # actually msys
5622 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5623 ;;
5624 esac
5625 ;;
5626 esac
5627
5628 fi
5629
5630 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5632 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5633
5634
5635
5636
5637
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5639 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5640 if ${lt_cv_ld_reload_flag+:} false; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 lt_cv_ld_reload_flag='-r'
5644 fi
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5646 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5647 reload_flag=$lt_cv_ld_reload_flag
5648 case $reload_flag in
5649 "" | " "*) ;;
5650 *) reload_flag=" $reload_flag" ;;
5651 esac
5652 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5653 case $host_os in
5654 cygwin* | mingw* | pw32* | cegcc*)
5655 if test "$GCC" != yes; then
5656 reload_cmds=false
5657 fi
5658 ;;
5659 darwin*)
5660 if test "$GCC" = yes; then
5661 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5662 else
5663 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5664 fi
5665 ;;
5666 esac
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676 if test -n "$ac_tool_prefix"; then
5677 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5678 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_OBJDUMP+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -n "$OBJDUMP"; then
5685 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5689 do
5690 IFS=$as_save_IFS
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 break 2
5697 fi
5698 done
5699 done
5700 IFS=$as_save_IFS
5701
5702 fi
5703 fi
5704 OBJDUMP=$ac_cv_prog_OBJDUMP
5705 if test -n "$OBJDUMP"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5707 $as_echo "$OBJDUMP" >&6; }
5708 else
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5711 fi
5712
5713
5714 fi
5715 if test -z "$ac_cv_prog_OBJDUMP"; then
5716 ac_ct_OBJDUMP=$OBJDUMP
5717 # Extract the first word of "objdump", so it can be a program name with args.
5718 set dummy objdump; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 if test -n "$ac_ct_OBJDUMP"; then
5725 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5729 do
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 break 2
5737 fi
5738 done
5739 done
5740 IFS=$as_save_IFS
5741
5742 fi
5743 fi
5744 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5745 if test -n "$ac_ct_OBJDUMP"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5747 $as_echo "$ac_ct_OBJDUMP" >&6; }
5748 else
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5751 fi
5752
5753 if test "x$ac_ct_OBJDUMP" = x; then
5754 OBJDUMP="false"
5755 else
5756 case $cross_compiling:$ac_tool_warned in
5757 yes:)
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5760 ac_tool_warned=yes ;;
5761 esac
5762 OBJDUMP=$ac_ct_OBJDUMP
5763 fi
5764 else
5765 OBJDUMP="$ac_cv_prog_OBJDUMP"
5766 fi
5767
5768 test -z "$OBJDUMP" && OBJDUMP=objdump
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5779 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5780 if ${lt_cv_deplibs_check_method+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 lt_cv_file_magic_cmd='$MAGIC_CMD'
5784 lt_cv_file_magic_test_file=
5785 lt_cv_deplibs_check_method='unknown'
5786 # Need to set the preceding variable on all platforms that support
5787 # interlibrary dependencies.
5788 # 'none' -- dependencies not supported.
5789 # `unknown' -- same as none, but documents that we really don't know.
5790 # 'pass_all' -- all dependencies passed with no checks.
5791 # 'test_compile' -- check by making test program.
5792 # 'file_magic [[regex]]' -- check by looking for files in library path
5793 # which responds to the $file_magic_cmd with a given extended regex.
5794 # If you have `file' or equivalent on your system and you're not sure
5795 # whether `pass_all' will *always* work, you probably want this one.
5796
5797 case $host_os in
5798 aix[4-9]*)
5799 lt_cv_deplibs_check_method=pass_all
5800 ;;
5801
5802 beos*)
5803 lt_cv_deplibs_check_method=pass_all
5804 ;;
5805
5806 bsdi[45]*)
5807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5808 lt_cv_file_magic_cmd='/usr/bin/file -L'
5809 lt_cv_file_magic_test_file=/shlib/libc.so
5810 ;;
5811
5812 cygwin*)
5813 # func_win32_libid is a shell function defined in ltmain.sh
5814 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5815 lt_cv_file_magic_cmd='func_win32_libid'
5816 ;;
5817
5818 mingw* | pw32*)
5819 # Base MSYS/MinGW do not provide the 'file' command needed by
5820 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5821 # unless we find 'file', for example because we are cross-compiling.
5822 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5823 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5824 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5825 lt_cv_file_magic_cmd='func_win32_libid'
5826 else
5827 # Keep this pattern in sync with the one in func_win32_libid.
5828 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5829 lt_cv_file_magic_cmd='$OBJDUMP -f'
5830 fi
5831 ;;
5832
5833 cegcc*)
5834 # use the weaker test based on 'objdump'. See mingw*.
5835 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5836 lt_cv_file_magic_cmd='$OBJDUMP -f'
5837 ;;
5838
5839 darwin* | rhapsody*)
5840 lt_cv_deplibs_check_method=pass_all
5841 ;;
5842
5843 freebsd* | dragonfly*)
5844 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5845 case $host_cpu in
5846 i*86 )
5847 # Not sure whether the presence of OpenBSD here was a mistake.
5848 # Let's accept both of them until this is cleared up.
5849 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5850 lt_cv_file_magic_cmd=/usr/bin/file
5851 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5852 ;;
5853 esac
5854 else
5855 lt_cv_deplibs_check_method=pass_all
5856 fi
5857 ;;
5858
5859 haiku*)
5860 lt_cv_deplibs_check_method=pass_all
5861 ;;
5862
5863 hpux10.20* | hpux11*)
5864 lt_cv_file_magic_cmd=/usr/bin/file
5865 case $host_cpu in
5866 ia64*)
5867 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5868 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5869 ;;
5870 hppa*64*)
5871 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5872 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5873 ;;
5874 *)
5875 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5876 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5877 ;;
5878 esac
5879 ;;
5880
5881 interix[3-9]*)
5882 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5883 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5884 ;;
5885
5886 irix5* | irix6* | nonstopux*)
5887 case $LD in
5888 *-32|*"-32 ") libmagic=32-bit;;
5889 *-n32|*"-n32 ") libmagic=N32;;
5890 *-64|*"-64 ") libmagic=64-bit;;
5891 *) libmagic=never-match;;
5892 esac
5893 lt_cv_deplibs_check_method=pass_all
5894 ;;
5895
5896 # This must be glibc/ELF.
5897 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5898 lt_cv_deplibs_check_method=pass_all
5899 ;;
5900
5901 netbsd* | netbsdelf*-gnu)
5902 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5903 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5904 else
5905 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5906 fi
5907 ;;
5908
5909 newos6*)
5910 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5911 lt_cv_file_magic_cmd=/usr/bin/file
5912 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5913 ;;
5914
5915 *nto* | *qnx*)
5916 lt_cv_deplibs_check_method=pass_all
5917 ;;
5918
5919 openbsd*)
5920 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5921 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5922 else
5923 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5924 fi
5925 ;;
5926
5927 osf3* | osf4* | osf5*)
5928 lt_cv_deplibs_check_method=pass_all
5929 ;;
5930
5931 rdos*)
5932 lt_cv_deplibs_check_method=pass_all
5933 ;;
5934
5935 solaris*)
5936 lt_cv_deplibs_check_method=pass_all
5937 ;;
5938
5939 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5940 lt_cv_deplibs_check_method=pass_all
5941 ;;
5942
5943 sysv4 | sysv4.3*)
5944 case $host_vendor in
5945 motorola)
5946 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]'
5947 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5948 ;;
5949 ncr)
5950 lt_cv_deplibs_check_method=pass_all
5951 ;;
5952 sequent)
5953 lt_cv_file_magic_cmd='/bin/file'
5954 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5955 ;;
5956 sni)
5957 lt_cv_file_magic_cmd='/bin/file'
5958 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5959 lt_cv_file_magic_test_file=/lib/libc.so
5960 ;;
5961 siemens)
5962 lt_cv_deplibs_check_method=pass_all
5963 ;;
5964 pc)
5965 lt_cv_deplibs_check_method=pass_all
5966 ;;
5967 esac
5968 ;;
5969
5970 tpf*)
5971 lt_cv_deplibs_check_method=pass_all
5972 ;;
5973 esac
5974
5975 fi
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5977 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5978
5979 file_magic_glob=
5980 want_nocaseglob=no
5981 if test "$build" = "$host"; then
5982 case $host_os in
5983 mingw* | pw32*)
5984 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5985 want_nocaseglob=yes
5986 else
5987 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5988 fi
5989 ;;
5990 esac
5991 fi
5992
5993 file_magic_cmd=$lt_cv_file_magic_cmd
5994 deplibs_check_method=$lt_cv_deplibs_check_method
5995 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018 if test -n "$ac_tool_prefix"; then
6019 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6020 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_DLLTOOL+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$DLLTOOL"; then
6027 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6031 do
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6039 fi
6040 done
6041 done
6042 IFS=$as_save_IFS
6043
6044 fi
6045 fi
6046 DLLTOOL=$ac_cv_prog_DLLTOOL
6047 if test -n "$DLLTOOL"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6049 $as_echo "$DLLTOOL" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6053 fi
6054
6055
6056 fi
6057 if test -z "$ac_cv_prog_DLLTOOL"; then
6058 ac_ct_DLLTOOL=$DLLTOOL
6059 # Extract the first word of "dlltool", so it can be a program name with args.
6060 set dummy dlltool; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$ac_ct_DLLTOOL"; then
6067 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6071 do
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6079 fi
6080 done
6081 done
6082 IFS=$as_save_IFS
6083
6084 fi
6085 fi
6086 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6087 if test -n "$ac_ct_DLLTOOL"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6089 $as_echo "$ac_ct_DLLTOOL" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 fi
6094
6095 if test "x$ac_ct_DLLTOOL" = x; then
6096 DLLTOOL="false"
6097 else
6098 case $cross_compiling:$ac_tool_warned in
6099 yes:)
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102 ac_tool_warned=yes ;;
6103 esac
6104 DLLTOOL=$ac_ct_DLLTOOL
6105 fi
6106 else
6107 DLLTOOL="$ac_cv_prog_DLLTOOL"
6108 fi
6109
6110 test -z "$DLLTOOL" && DLLTOOL=dlltool
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6122 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6123 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 lt_cv_sharedlib_from_linklib_cmd='unknown'
6127
6128 case $host_os in
6129 cygwin* | mingw* | pw32* | cegcc*)
6130 # two different shell functions defined in ltmain.sh
6131 # decide which to use based on capabilities of $DLLTOOL
6132 case `$DLLTOOL --help 2>&1` in
6133 *--identify-strict*)
6134 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6135 ;;
6136 *)
6137 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6138 ;;
6139 esac
6140 ;;
6141 *)
6142 # fallback: assume linklib IS sharedlib
6143 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6144 ;;
6145 esac
6146
6147 fi
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6149 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6150 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6151 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6152
6153
6154
6155
6156
6157
6158
6159 if test -n "$ac_tool_prefix"; then
6160 for ac_prog in ar
6161 do
6162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_AR+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 if test -n "$AR"; then
6170 ac_cv_prog_AR="$AR" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6174 do
6175 IFS=$as_save_IFS
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 break 2
6182 fi
6183 done
6184 done
6185 IFS=$as_save_IFS
6186
6187 fi
6188 fi
6189 AR=$ac_cv_prog_AR
6190 if test -n "$AR"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6192 $as_echo "$AR" >&6; }
6193 else
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6196 fi
6197
6198
6199 test -n "$AR" && break
6200 done
6201 fi
6202 if test -z "$AR"; then
6203 ac_ct_AR=$AR
6204 for ac_prog in ar
6205 do
6206 # Extract the first word of "$ac_prog", so it can be a program name with args.
6207 set dummy $ac_prog; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$ac_ct_AR"; then
6214 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6218 do
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_ac_ct_AR="$ac_prog"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6226 fi
6227 done
6228 done
6229 IFS=$as_save_IFS
6230
6231 fi
6232 fi
6233 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6234 if test -n "$ac_ct_AR"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6236 $as_echo "$ac_ct_AR" >&6; }
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6240 fi
6241
6242
6243 test -n "$ac_ct_AR" && break
6244 done
6245
6246 if test "x$ac_ct_AR" = x; then
6247 AR="false"
6248 else
6249 case $cross_compiling:$ac_tool_warned in
6250 yes:)
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6253 ac_tool_warned=yes ;;
6254 esac
6255 AR=$ac_ct_AR
6256 fi
6257 fi
6258
6259 : ${AR=ar}
6260 : ${AR_FLAGS=cru}
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6273 $as_echo_n "checking for archiver @FILE support... " >&6; }
6274 if ${lt_cv_ar_at_file+:} false; then :
6275 $as_echo_n "(cached) " >&6
6276 else
6277 lt_cv_ar_at_file=no
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280
6281 int
6282 main ()
6283 {
6284
6285 ;
6286 return 0;
6287 }
6288 _ACEOF
6289 if ac_fn_c_try_compile "$LINENO"; then :
6290 echo conftest.$ac_objext > conftest.lst
6291 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6292 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6293 (eval $lt_ar_try) 2>&5
6294 ac_status=$?
6295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6296 test $ac_status = 0; }
6297 if test "$ac_status" -eq 0; then
6298 # Ensure the archiver fails upon bogus file names.
6299 rm -f conftest.$ac_objext libconftest.a
6300 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6301 (eval $lt_ar_try) 2>&5
6302 ac_status=$?
6303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6304 test $ac_status = 0; }
6305 if test "$ac_status" -ne 0; then
6306 lt_cv_ar_at_file=@
6307 fi
6308 fi
6309 rm -f conftest.* libconftest.a
6310
6311 fi
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6313
6314 fi
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6316 $as_echo "$lt_cv_ar_at_file" >&6; }
6317
6318 if test "x$lt_cv_ar_at_file" = xno; then
6319 archiver_list_spec=
6320 else
6321 archiver_list_spec=$lt_cv_ar_at_file
6322 fi
6323
6324
6325
6326
6327
6328
6329
6330 if test -n "$ac_tool_prefix"; then
6331 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6332 set dummy ${ac_tool_prefix}strip; ac_word=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if ${ac_cv_prog_STRIP+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 if test -n "$STRIP"; then
6339 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6340 else
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in $PATH
6343 do
6344 IFS=$as_save_IFS
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6348 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 break 2
6351 fi
6352 done
6353 done
6354 IFS=$as_save_IFS
6355
6356 fi
6357 fi
6358 STRIP=$ac_cv_prog_STRIP
6359 if test -n "$STRIP"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6361 $as_echo "$STRIP" >&6; }
6362 else
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6365 fi
6366
6367
6368 fi
6369 if test -z "$ac_cv_prog_STRIP"; then
6370 ac_ct_STRIP=$STRIP
6371 # Extract the first word of "strip", so it can be a program name with args.
6372 set dummy strip; ac_word=$2
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374 $as_echo_n "checking for $ac_word... " >&6; }
6375 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6376 $as_echo_n "(cached) " >&6
6377 else
6378 if test -n "$ac_ct_STRIP"; then
6379 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6380 else
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 for as_dir in $PATH
6383 do
6384 IFS=$as_save_IFS
6385 test -z "$as_dir" && as_dir=.
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388 ac_cv_prog_ac_ct_STRIP="strip"
6389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 break 2
6391 fi
6392 done
6393 done
6394 IFS=$as_save_IFS
6395
6396 fi
6397 fi
6398 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6399 if test -n "$ac_ct_STRIP"; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6401 $as_echo "$ac_ct_STRIP" >&6; }
6402 else
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404 $as_echo "no" >&6; }
6405 fi
6406
6407 if test "x$ac_ct_STRIP" = x; then
6408 STRIP=":"
6409 else
6410 case $cross_compiling:$ac_tool_warned in
6411 yes:)
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6414 ac_tool_warned=yes ;;
6415 esac
6416 STRIP=$ac_ct_STRIP
6417 fi
6418 else
6419 STRIP="$ac_cv_prog_STRIP"
6420 fi
6421
6422 test -z "$STRIP" && STRIP=:
6423
6424
6425
6426
6427
6428
6429 if test -n "$ac_tool_prefix"; then
6430 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6431 set dummy ${ac_tool_prefix}ranlib; 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; }
6434 if ${ac_cv_prog_RANLIB+:} false; then :
6435 $as_echo_n "(cached) " >&6
6436 else
6437 if test -n "$RANLIB"; then
6438 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6439 else
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 for as_dir in $PATH
6442 do
6443 IFS=$as_save_IFS
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449 break 2
6450 fi
6451 done
6452 done
6453 IFS=$as_save_IFS
6454
6455 fi
6456 fi
6457 RANLIB=$ac_cv_prog_RANLIB
6458 if test -n "$RANLIB"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6460 $as_echo "$RANLIB" >&6; }
6461 else
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6464 fi
6465
6466
6467 fi
6468 if test -z "$ac_cv_prog_RANLIB"; then
6469 ac_ct_RANLIB=$RANLIB
6470 # Extract the first word of "ranlib", so it can be a program name with args.
6471 set dummy ranlib; 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; }
6474 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6475 $as_echo_n "(cached) " >&6
6476 else
6477 if test -n "$ac_ct_RANLIB"; then
6478 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6482 do
6483 IFS=$as_save_IFS
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_ac_ct_RANLIB="ranlib"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 break 2
6490 fi
6491 done
6492 done
6493 IFS=$as_save_IFS
6494
6495 fi
6496 fi
6497 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6498 if test -n "$ac_ct_RANLIB"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6500 $as_echo "$ac_ct_RANLIB" >&6; }
6501 else
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6504 fi
6505
6506 if test "x$ac_ct_RANLIB" = x; then
6507 RANLIB=":"
6508 else
6509 case $cross_compiling:$ac_tool_warned in
6510 yes:)
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;}
6513 ac_tool_warned=yes ;;
6514 esac
6515 RANLIB=$ac_ct_RANLIB
6516 fi
6517 else
6518 RANLIB="$ac_cv_prog_RANLIB"
6519 fi
6520
6521 test -z "$RANLIB" && RANLIB=:
6522
6523
6524
6525
6526
6527
6528 # Determine commands to create old-style static archives.
6529 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6530 old_postinstall_cmds='chmod 644 $oldlib'
6531 old_postuninstall_cmds=
6532
6533 if test -n "$RANLIB"; then
6534 case $host_os in
6535 openbsd*)
6536 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6537 ;;
6538 *)
6539 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6540 ;;
6541 esac
6542 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6543 fi
6544
6545 case $host_os in
6546 darwin*)
6547 lock_old_archive_extraction=yes ;;
6548 *)
6549 lock_old_archive_extraction=no ;;
6550 esac
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590 # If no C compiler was specified, use CC.
6591 LTCC=${LTCC-"$CC"}
6592
6593 # If no C compiler flags were specified, use CFLAGS.
6594 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6595
6596 # Allow CC to be a program name with arguments.
6597 compiler=$CC
6598
6599
6600 # Check for command to grab the raw symbol name followed by C symbol from nm.
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6602 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6603 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606
6607 # These are sane defaults that work on at least a few old systems.
6608 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6609
6610 # Character class describing NM global symbol codes.
6611 symcode='[BCDEGRST]'
6612
6613 # Regexp to match symbols that can be accessed directly from C.
6614 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6615
6616 # Define system-specific variables.
6617 case $host_os in
6618 aix*)
6619 symcode='[BCDT]'
6620 ;;
6621 cygwin* | mingw* | pw32* | cegcc*)
6622 symcode='[ABCDGISTW]'
6623 ;;
6624 hpux*)
6625 if test "$host_cpu" = ia64; then
6626 symcode='[ABCDEGRST]'
6627 fi
6628 ;;
6629 irix* | nonstopux*)
6630 symcode='[BCDEGRST]'
6631 ;;
6632 osf*)
6633 symcode='[BCDEGQRST]'
6634 ;;
6635 solaris*)
6636 symcode='[BDRT]'
6637 ;;
6638 sco3.2v5*)
6639 symcode='[DT]'
6640 ;;
6641 sysv4.2uw2*)
6642 symcode='[DT]'
6643 ;;
6644 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6645 symcode='[ABDT]'
6646 ;;
6647 sysv4)
6648 symcode='[DFNSTU]'
6649 ;;
6650 esac
6651
6652 # If we're using GNU nm, then use its standard symbol codes.
6653 case `$NM -V 2>&1` in
6654 *GNU* | *'with BFD'*)
6655 symcode='[ABCDGIRSTW]' ;;
6656 esac
6657
6658 # Transform an extracted symbol line into a proper C declaration.
6659 # Some systems (esp. on ia64) link data and code symbols differently,
6660 # so use this general approach.
6661 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6662
6663 # Transform an extracted symbol line into symbol name and symbol address
6664 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6665 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6666
6667 # Handle CRLF in mingw tool chain
6668 opt_cr=
6669 case $build_os in
6670 mingw*)
6671 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6672 ;;
6673 esac
6674
6675 # Try without a prefix underscore, then with it.
6676 for ac_symprfx in "" "_"; do
6677
6678 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6679 symxfrm="\\1 $ac_symprfx\\2 \\2"
6680
6681 # Write the raw and C identifiers.
6682 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6683 # Fake it for dumpbin and say T for any non-static function
6684 # and D for any global variable.
6685 # Also find C++ and __fastcall symbols from MSVC++,
6686 # which start with @ or ?.
6687 lt_cv_sys_global_symbol_pipe="$AWK '"\
6688 " {last_section=section; section=\$ 3};"\
6689 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6690 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6691 " \$ 0!~/External *\|/{next};"\
6692 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6693 " {if(hide[section]) next};"\
6694 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6695 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6696 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6697 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6698 " ' prfx=^$ac_symprfx"
6699 else
6700 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6701 fi
6702 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6703
6704 # Check to see that the pipe works correctly.
6705 pipe_works=no
6706
6707 rm -f conftest*
6708 cat > conftest.$ac_ext <<_LT_EOF
6709 #ifdef __cplusplus
6710 extern "C" {
6711 #endif
6712 char nm_test_var;
6713 void nm_test_func(void);
6714 void nm_test_func(void){}
6715 #ifdef __cplusplus
6716 }
6717 #endif
6718 int main(){nm_test_var='a';nm_test_func();return(0);}
6719 _LT_EOF
6720
6721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6722 (eval $ac_compile) 2>&5
6723 ac_status=$?
6724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6725 test $ac_status = 0; }; then
6726 # Now try to grab the symbols.
6727 nlist=conftest.nm
6728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6729 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6730 ac_status=$?
6731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6732 test $ac_status = 0; } && test -s "$nlist"; then
6733 # Try sorting and uniquifying the output.
6734 if sort "$nlist" | uniq > "$nlist"T; then
6735 mv -f "$nlist"T "$nlist"
6736 else
6737 rm -f "$nlist"T
6738 fi
6739
6740 # Make sure that we snagged all the symbols we need.
6741 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6742 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6743 cat <<_LT_EOF > conftest.$ac_ext
6744 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6745 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6746 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6747 relocations are performed -- see ld's documentation on pseudo-relocs. */
6748 # define LT@&t@_DLSYM_CONST
6749 #elif defined(__osf__)
6750 /* This system does not cope well with relocations in const data. */
6751 # define LT@&t@_DLSYM_CONST
6752 #else
6753 # define LT@&t@_DLSYM_CONST const
6754 #endif
6755
6756 #ifdef __cplusplus
6757 extern "C" {
6758 #endif
6759
6760 _LT_EOF
6761 # Now generate the symbol file.
6762 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6763
6764 cat <<_LT_EOF >> conftest.$ac_ext
6765
6766 /* The mapping between symbol names and symbols. */
6767 LT@&t@_DLSYM_CONST struct {
6768 const char *name;
6769 void *address;
6770 }
6771 lt__PROGRAM__LTX_preloaded_symbols[] =
6772 {
6773 { "@PROGRAM@", (void *) 0 },
6774 _LT_EOF
6775 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6776 cat <<\_LT_EOF >> conftest.$ac_ext
6777 {0, (void *) 0}
6778 };
6779
6780 /* This works around a problem in FreeBSD linker */
6781 #ifdef FREEBSD_WORKAROUND
6782 static const void *lt_preloaded_setup() {
6783 return lt__PROGRAM__LTX_preloaded_symbols;
6784 }
6785 #endif
6786
6787 #ifdef __cplusplus
6788 }
6789 #endif
6790 _LT_EOF
6791 # Now try linking the two files.
6792 mv conftest.$ac_objext conftstm.$ac_objext
6793 lt_globsym_save_LIBS=$LIBS
6794 lt_globsym_save_CFLAGS=$CFLAGS
6795 LIBS="conftstm.$ac_objext"
6796 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6798 (eval $ac_link) 2>&5
6799 ac_status=$?
6800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6801 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6802 pipe_works=yes
6803 fi
6804 LIBS=$lt_globsym_save_LIBS
6805 CFLAGS=$lt_globsym_save_CFLAGS
6806 else
6807 echo "cannot find nm_test_func in $nlist" >&5
6808 fi
6809 else
6810 echo "cannot find nm_test_var in $nlist" >&5
6811 fi
6812 else
6813 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6814 fi
6815 else
6816 echo "$progname: failed program was:" >&5
6817 cat conftest.$ac_ext >&5
6818 fi
6819 rm -rf conftest* conftst*
6820
6821 # Do not use the global_symbol_pipe unless it works.
6822 if test "$pipe_works" = yes; then
6823 break
6824 else
6825 lt_cv_sys_global_symbol_pipe=
6826 fi
6827 done
6828
6829 fi
6830
6831 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6832 lt_cv_sys_global_symbol_to_cdecl=
6833 fi
6834 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6836 $as_echo "failed" >&6; }
6837 else
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6839 $as_echo "ok" >&6; }
6840 fi
6841
6842 # Response file support.
6843 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6844 nm_file_list_spec='@'
6845 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6846 nm_file_list_spec='@'
6847 fi
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6876 $as_echo_n "checking for sysroot... " >&6; }
6877
6878 @%:@ Check whether --with-sysroot was given.
6879 if test "${with_sysroot+set}" = set; then :
6880 withval=$with_sysroot;
6881 else
6882 with_sysroot=no
6883 fi
6884
6885
6886 lt_sysroot=
6887 case ${with_sysroot} in #(
6888 yes)
6889 if test "$GCC" = yes; then
6890 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6891 fi
6892 ;; #(
6893 /*)
6894 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6895 ;; #(
6896 no|'')
6897 ;; #(
6898 *)
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6900 $as_echo "${with_sysroot}" >&6; }
6901 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6902 ;;
6903 esac
6904
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6906 $as_echo "${lt_sysroot:-no}" >&6; }
6907
6908
6909
6910
6911
6912 @%:@ Check whether --enable-libtool-lock was given.
6913 if test "${enable_libtool_lock+set}" = set; then :
6914 enableval=$enable_libtool_lock;
6915 fi
6916
6917 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6918
6919 # Some flags need to be propagated to the compiler or linker for good
6920 # libtool support.
6921 case $host in
6922 ia64-*-hpux*)
6923 # Find out which ABI we are using.
6924 echo 'int i;' > conftest.$ac_ext
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 case `/usr/bin/file conftest.$ac_objext` in
6931 *ELF-32*)
6932 HPUX_IA64_MODE="32"
6933 ;;
6934 *ELF-64*)
6935 HPUX_IA64_MODE="64"
6936 ;;
6937 esac
6938 fi
6939 rm -rf conftest*
6940 ;;
6941 *-*-irix6*)
6942 # Find out which ABI we are using.
6943 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6945 (eval $ac_compile) 2>&5
6946 ac_status=$?
6947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6948 test $ac_status = 0; }; then
6949 if test "$lt_cv_prog_gnu_ld" = yes; then
6950 case `/usr/bin/file conftest.$ac_objext` in
6951 *32-bit*)
6952 LD="${LD-ld} -melf32bsmip"
6953 ;;
6954 *N32*)
6955 LD="${LD-ld} -melf32bmipn32"
6956 ;;
6957 *64-bit*)
6958 LD="${LD-ld} -melf64bmip"
6959 ;;
6960 esac
6961 else
6962 case `/usr/bin/file conftest.$ac_objext` in
6963 *32-bit*)
6964 LD="${LD-ld} -32"
6965 ;;
6966 *N32*)
6967 LD="${LD-ld} -n32"
6968 ;;
6969 *64-bit*)
6970 LD="${LD-ld} -64"
6971 ;;
6972 esac
6973 fi
6974 fi
6975 rm -rf conftest*
6976 ;;
6977
6978 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6979 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6980 # Find out which ABI we are using.
6981 echo 'int i;' > conftest.$ac_ext
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6983 (eval $ac_compile) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; }; then
6987 case `/usr/bin/file conftest.o` in
6988 *32-bit*)
6989 case $host in
6990 x86_64-*kfreebsd*-gnu)
6991 LD="${LD-ld} -m elf_i386_fbsd"
6992 ;;
6993 x86_64-*linux*)
6994 case `/usr/bin/file conftest.o` in
6995 *x86-64*)
6996 LD="${LD-ld} -m elf32_x86_64"
6997 ;;
6998 *)
6999 LD="${LD-ld} -m elf_i386"
7000 ;;
7001 esac
7002 ;;
7003 ppc64-*linux*|powerpc64-*linux*)
7004 LD="${LD-ld} -m elf32ppclinux"
7005 ;;
7006 s390x-*linux*)
7007 LD="${LD-ld} -m elf_s390"
7008 ;;
7009 sparc64-*linux*)
7010 LD="${LD-ld} -m elf32_sparc"
7011 ;;
7012 esac
7013 ;;
7014 *64-bit*)
7015 case $host in
7016 x86_64-*kfreebsd*-gnu)
7017 LD="${LD-ld} -m elf_x86_64_fbsd"
7018 ;;
7019 x86_64-*linux*)
7020 LD="${LD-ld} -m elf_x86_64"
7021 ;;
7022 ppc*-*linux*|powerpc*-*linux*)
7023 LD="${LD-ld} -m elf64ppc"
7024 ;;
7025 s390*-*linux*|s390*-*tpf*)
7026 LD="${LD-ld} -m elf64_s390"
7027 ;;
7028 sparc*-*linux*)
7029 LD="${LD-ld} -m elf64_sparc"
7030 ;;
7031 esac
7032 ;;
7033 esac
7034 fi
7035 rm -rf conftest*
7036 ;;
7037
7038 *-*-sco3.2v5*)
7039 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7040 SAVE_CFLAGS="$CFLAGS"
7041 CFLAGS="$CFLAGS -belf"
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7043 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7044 if ${lt_cv_cc_needs_belf+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 ac_ext=c
7048 ac_cpp='$CPP $CPPFLAGS'
7049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7052
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7055
7056 int
7057 main ()
7058 {
7059
7060 ;
7061 return 0;
7062 }
7063 _ACEOF
7064 if ac_fn_c_try_link "$LINENO"; then :
7065 lt_cv_cc_needs_belf=yes
7066 else
7067 lt_cv_cc_needs_belf=no
7068 fi
7069 rm -f core conftest.err conftest.$ac_objext \
7070 conftest$ac_exeext conftest.$ac_ext
7071 ac_ext=c
7072 ac_cpp='$CPP $CPPFLAGS'
7073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7076
7077 fi
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7079 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7080 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7081 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7082 CFLAGS="$SAVE_CFLAGS"
7083 fi
7084 ;;
7085 *-*solaris*)
7086 # Find out which ABI we are using.
7087 echo 'int i;' > conftest.$ac_ext
7088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7089 (eval $ac_compile) 2>&5
7090 ac_status=$?
7091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7092 test $ac_status = 0; }; then
7093 case `/usr/bin/file conftest.o` in
7094 *64-bit*)
7095 case $lt_cv_prog_gnu_ld in
7096 yes*)
7097 case $host in
7098 i?86-*-solaris*)
7099 LD="${LD-ld} -m elf_x86_64"
7100 ;;
7101 sparc*-*-solaris*)
7102 LD="${LD-ld} -m elf64_sparc"
7103 ;;
7104 esac
7105 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7106 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7107 LD="${LD-ld}_sol2"
7108 fi
7109 ;;
7110 *)
7111 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7112 LD="${LD-ld} -64"
7113 fi
7114 ;;
7115 esac
7116 ;;
7117 esac
7118 fi
7119 rm -rf conftest*
7120 ;;
7121 esac
7122
7123 need_locks="$enable_libtool_lock"
7124
7125 if test -n "$ac_tool_prefix"; then
7126 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7127 set dummy ${ac_tool_prefix}mt; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 if test -n "$MANIFEST_TOOL"; then
7134 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7138 do
7139 IFS=$as_save_IFS
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 break 2
7146 fi
7147 done
7148 done
7149 IFS=$as_save_IFS
7150
7151 fi
7152 fi
7153 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7154 if test -n "$MANIFEST_TOOL"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7156 $as_echo "$MANIFEST_TOOL" >&6; }
7157 else
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7160 fi
7161
7162
7163 fi
7164 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7165 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7166 # Extract the first word of "mt", so it can be a program name with args.
7167 set dummy mt; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7171 $as_echo_n "(cached) " >&6
7172 else
7173 if test -n "$ac_ct_MANIFEST_TOOL"; then
7174 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7175 else
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 for as_dir in $PATH
7178 do
7179 IFS=$as_save_IFS
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 break 2
7186 fi
7187 done
7188 done
7189 IFS=$as_save_IFS
7190
7191 fi
7192 fi
7193 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7194 if test -n "$ac_ct_MANIFEST_TOOL"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7196 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7197 else
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7200 fi
7201
7202 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7203 MANIFEST_TOOL=":"
7204 else
7205 case $cross_compiling:$ac_tool_warned in
7206 yes:)
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7209 ac_tool_warned=yes ;;
7210 esac
7211 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7212 fi
7213 else
7214 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7215 fi
7216
7217 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7219 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7220 if ${lt_cv_path_mainfest_tool+:} false; then :
7221 $as_echo_n "(cached) " >&6
7222 else
7223 lt_cv_path_mainfest_tool=no
7224 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7225 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7226 cat conftest.err >&5
7227 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7228 lt_cv_path_mainfest_tool=yes
7229 fi
7230 rm -f conftest*
7231 fi
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7233 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7234 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7235 MANIFEST_TOOL=:
7236 fi
7237
7238
7239
7240
7241
7242
7243 case $host_os in
7244 rhapsody* | darwin*)
7245 if test -n "$ac_tool_prefix"; then
7246 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7247 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7251 $as_echo_n "(cached) " >&6
7252 else
7253 if test -n "$DSYMUTIL"; then
7254 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7258 do
7259 IFS=$as_save_IFS
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 break 2
7266 fi
7267 done
7268 done
7269 IFS=$as_save_IFS
7270
7271 fi
7272 fi
7273 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7274 if test -n "$DSYMUTIL"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7276 $as_echo "$DSYMUTIL" >&6; }
7277 else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7280 fi
7281
7282
7283 fi
7284 if test -z "$ac_cv_prog_DSYMUTIL"; then
7285 ac_ct_DSYMUTIL=$DSYMUTIL
7286 # Extract the first word of "dsymutil", so it can be a program name with args.
7287 set dummy dsymutil; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 $as_echo_n "checking for $ac_word... " >&6; }
7290 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7291 $as_echo_n "(cached) " >&6
7292 else
7293 if test -n "$ac_ct_DSYMUTIL"; then
7294 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7295 else
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 for as_dir in $PATH
7298 do
7299 IFS=$as_save_IFS
7300 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 break 2
7306 fi
7307 done
7308 done
7309 IFS=$as_save_IFS
7310
7311 fi
7312 fi
7313 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7314 if test -n "$ac_ct_DSYMUTIL"; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7316 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7317 else
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 $as_echo "no" >&6; }
7320 fi
7321
7322 if test "x$ac_ct_DSYMUTIL" = x; then
7323 DSYMUTIL=":"
7324 else
7325 case $cross_compiling:$ac_tool_warned in
7326 yes:)
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7329 ac_tool_warned=yes ;;
7330 esac
7331 DSYMUTIL=$ac_ct_DSYMUTIL
7332 fi
7333 else
7334 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7335 fi
7336
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if ${ac_cv_prog_NMEDIT+:} false; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$NMEDIT"; then
7346 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7350 do
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7355 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7358 fi
7359 done
7360 done
7361 IFS=$as_save_IFS
7362
7363 fi
7364 fi
7365 NMEDIT=$ac_cv_prog_NMEDIT
7366 if test -n "$NMEDIT"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7368 $as_echo "$NMEDIT" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7372 fi
7373
7374
7375 fi
7376 if test -z "$ac_cv_prog_NMEDIT"; then
7377 ac_ct_NMEDIT=$NMEDIT
7378 # Extract the first word of "nmedit", so it can be a program name with args.
7379 set dummy nmedit; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$ac_ct_NMEDIT"; then
7386 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7390 do
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7395 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7398 fi
7399 done
7400 done
7401 IFS=$as_save_IFS
7402
7403 fi
7404 fi
7405 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7406 if test -n "$ac_ct_NMEDIT"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7408 $as_echo "$ac_ct_NMEDIT" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7412 fi
7413
7414 if test "x$ac_ct_NMEDIT" = x; then
7415 NMEDIT=":"
7416 else
7417 case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423 NMEDIT=$ac_ct_NMEDIT
7424 fi
7425 else
7426 NMEDIT="$ac_cv_prog_NMEDIT"
7427 fi
7428
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if ${ac_cv_prog_LIPO+:} false; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$LIPO"; then
7438 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7442 do
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7450 fi
7451 done
7452 done
7453 IFS=$as_save_IFS
7454
7455 fi
7456 fi
7457 LIPO=$ac_cv_prog_LIPO
7458 if test -n "$LIPO"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7460 $as_echo "$LIPO" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7464 fi
7465
7466
7467 fi
7468 if test -z "$ac_cv_prog_LIPO"; then
7469 ac_ct_LIPO=$LIPO
7470 # Extract the first word of "lipo", so it can be a program name with args.
7471 set dummy lipo; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_LIPO"; then
7478 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7482 do
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_ac_ct_LIPO="lipo"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7490 fi
7491 done
7492 done
7493 IFS=$as_save_IFS
7494
7495 fi
7496 fi
7497 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7498 if test -n "$ac_ct_LIPO"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7500 $as_echo "$ac_ct_LIPO" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7504 fi
7505
7506 if test "x$ac_ct_LIPO" = x; then
7507 LIPO=":"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 LIPO=$ac_ct_LIPO
7516 fi
7517 else
7518 LIPO="$ac_cv_prog_LIPO"
7519 fi
7520
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}otool; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if ${ac_cv_prog_OTOOL+:} false; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$OTOOL"; then
7530 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7534 do
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7539 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7542 fi
7543 done
7544 done
7545 IFS=$as_save_IFS
7546
7547 fi
7548 fi
7549 OTOOL=$ac_cv_prog_OTOOL
7550 if test -n "$OTOOL"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7552 $as_echo "$OTOOL" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7556 fi
7557
7558
7559 fi
7560 if test -z "$ac_cv_prog_OTOOL"; then
7561 ac_ct_OTOOL=$OTOOL
7562 # Extract the first word of "otool", so it can be a program name with args.
7563 set dummy otool; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_OTOOL"; then
7570 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7574 do
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7579 ac_cv_prog_ac_ct_OTOOL="otool"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7582 fi
7583 done
7584 done
7585 IFS=$as_save_IFS
7586
7587 fi
7588 fi
7589 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7590 if test -n "$ac_ct_OTOOL"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7592 $as_echo "$ac_ct_OTOOL" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7596 fi
7597
7598 if test "x$ac_ct_OTOOL" = x; then
7599 OTOOL=":"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 OTOOL=$ac_ct_OTOOL
7608 fi
7609 else
7610 OTOOL="$ac_cv_prog_OTOOL"
7611 fi
7612
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if ${ac_cv_prog_OTOOL64+:} false; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$OTOOL64"; then
7622 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7626 do
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7631 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7634 fi
7635 done
7636 done
7637 IFS=$as_save_IFS
7638
7639 fi
7640 fi
7641 OTOOL64=$ac_cv_prog_OTOOL64
7642 if test -n "$OTOOL64"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7644 $as_echo "$OTOOL64" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7648 fi
7649
7650
7651 fi
7652 if test -z "$ac_cv_prog_OTOOL64"; then
7653 ac_ct_OTOOL64=$OTOOL64
7654 # Extract the first word of "otool64", so it can be a program name with args.
7655 set dummy otool64; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_OTOOL64"; then
7662 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7666 do
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7671 ac_cv_prog_ac_ct_OTOOL64="otool64"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7674 fi
7675 done
7676 done
7677 IFS=$as_save_IFS
7678
7679 fi
7680 fi
7681 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7682 if test -n "$ac_ct_OTOOL64"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7684 $as_echo "$ac_ct_OTOOL64" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7688 fi
7689
7690 if test "x$ac_ct_OTOOL64" = x; then
7691 OTOOL64=":"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 OTOOL64=$ac_ct_OTOOL64
7700 fi
7701 else
7702 OTOOL64="$ac_cv_prog_OTOOL64"
7703 fi
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7732 $as_echo_n "checking for -single_module linker flag... " >&6; }
7733 if ${lt_cv_apple_cc_single_mod+:} false; then :
7734 $as_echo_n "(cached) " >&6
7735 else
7736 lt_cv_apple_cc_single_mod=no
7737 if test -z "${LT_MULTI_MODULE}"; then
7738 # By default we will add the -single_module flag. You can override
7739 # by either setting the environment variable LT_MULTI_MODULE
7740 # non-empty at configure time, or by adding -multi_module to the
7741 # link flags.
7742 rm -rf libconftest.dylib*
7743 echo "int foo(void){return 1;}" > conftest.c
7744 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7745 -dynamiclib -Wl,-single_module conftest.c" >&5
7746 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7747 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7748 _lt_result=$?
7749 # If there is a non-empty error log, and "single_module"
7750 # appears in it, assume the flag caused a linker warning
7751 if test -s conftest.err && $GREP single_module conftest.err; then
7752 cat conftest.err >&5
7753 # Otherwise, if the output was created with a 0 exit code from
7754 # the compiler, it worked.
7755 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7756 lt_cv_apple_cc_single_mod=yes
7757 else
7758 cat conftest.err >&5
7759 fi
7760 rm -rf libconftest.dylib*
7761 rm -f conftest.*
7762 fi
7763 fi
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7765 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7766
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7768 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7769 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7770 $as_echo_n "(cached) " >&6
7771 else
7772 lt_cv_ld_exported_symbols_list=no
7773 save_LDFLAGS=$LDFLAGS
7774 echo "_main" > conftest.sym
7775 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777 /* end confdefs.h. */
7778
7779 int
7780 main ()
7781 {
7782
7783 ;
7784 return 0;
7785 }
7786 _ACEOF
7787 if ac_fn_c_try_link "$LINENO"; then :
7788 lt_cv_ld_exported_symbols_list=yes
7789 else
7790 lt_cv_ld_exported_symbols_list=no
7791 fi
7792 rm -f core conftest.err conftest.$ac_objext \
7793 conftest$ac_exeext conftest.$ac_ext
7794 LDFLAGS="$save_LDFLAGS"
7795
7796 fi
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7798 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7799
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7801 $as_echo_n "checking for -force_load linker flag... " >&6; }
7802 if ${lt_cv_ld_force_load+:} false; then :
7803 $as_echo_n "(cached) " >&6
7804 else
7805 lt_cv_ld_force_load=no
7806 cat > conftest.c << _LT_EOF
7807 int forced_loaded() { return 2;}
7808 _LT_EOF
7809 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7810 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7811 echo "$AR cru libconftest.a conftest.o" >&5
7812 $AR cru libconftest.a conftest.o 2>&5
7813 echo "$RANLIB libconftest.a" >&5
7814 $RANLIB libconftest.a 2>&5
7815 cat > conftest.c << _LT_EOF
7816 int main() { return 0;}
7817 _LT_EOF
7818 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7819 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7820 _lt_result=$?
7821 if test -s conftest.err && $GREP force_load conftest.err; then
7822 cat conftest.err >&5
7823 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7827 fi
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7830
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7851 ;;
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7855 fi
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860 fi
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7865 fi
7866 ;;
7867 esac
7868
7869 ac_ext=c
7870 ac_cpp='$CPP $CPPFLAGS'
7871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7875 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7876 # On Suns, sometimes $CPP names a directory.
7877 if test -n "$CPP" && test -d "$CPP"; then
7878 CPP=
7879 fi
7880 if test -z "$CPP"; then
7881 if ${ac_cv_prog_CPP+:} false; then :
7882 $as_echo_n "(cached) " >&6
7883 else
7884 # Double quotes because CPP needs to be expanded
7885 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7886 do
7887 ac_preproc_ok=false
7888 for ac_c_preproc_warn_flag in '' yes
7889 do
7890 # Use a header file that comes with gcc, so configuring glibc
7891 # with a fresh cross-compiler works.
7892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7893 # <limits.h> exists even on freestanding compilers.
7894 # On the NeXT, cc -E runs the code through the compiler's parser,
7895 # not just through cpp. "Syntax error" is here to catch this case.
7896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7897 /* end confdefs.h. */
7898 @%:@ifdef __STDC__
7899 @%:@ include <limits.h>
7900 @%:@else
7901 @%:@ include <assert.h>
7902 @%:@endif
7903 Syntax error
7904 _ACEOF
7905 if ac_fn_c_try_cpp "$LINENO"; then :
7906
7907 else
7908 # Broken: fails on valid input.
7909 continue
7910 fi
7911 rm -f conftest.err conftest.i conftest.$ac_ext
7912
7913 # OK, works on sane cases. Now check whether nonexistent headers
7914 # can be detected and how.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 @%:@include <ac_nonexistent.h>
7918 _ACEOF
7919 if ac_fn_c_try_cpp "$LINENO"; then :
7920 # Broken: success on invalid input.
7921 continue
7922 else
7923 # Passes both tests.
7924 ac_preproc_ok=:
7925 break
7926 fi
7927 rm -f conftest.err conftest.i conftest.$ac_ext
7928
7929 done
7930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7931 rm -f conftest.i conftest.err conftest.$ac_ext
7932 if $ac_preproc_ok; then :
7933 break
7934 fi
7935
7936 done
7937 ac_cv_prog_CPP=$CPP
7938
7939 fi
7940 CPP=$ac_cv_prog_CPP
7941 else
7942 ac_cv_prog_CPP=$CPP
7943 fi
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7945 $as_echo "$CPP" >&6; }
7946 ac_preproc_ok=false
7947 for ac_c_preproc_warn_flag in '' yes
7948 do
7949 # Use a header file that comes with gcc, so configuring glibc
7950 # with a fresh cross-compiler works.
7951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7952 # <limits.h> exists even on freestanding compilers.
7953 # On the NeXT, cc -E runs the code through the compiler's parser,
7954 # not just through cpp. "Syntax error" is here to catch this case.
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 @%:@ifdef __STDC__
7958 @%:@ include <limits.h>
7959 @%:@else
7960 @%:@ include <assert.h>
7961 @%:@endif
7962 Syntax error
7963 _ACEOF
7964 if ac_fn_c_try_cpp "$LINENO"; then :
7965
7966 else
7967 # Broken: fails on valid input.
7968 continue
7969 fi
7970 rm -f conftest.err conftest.i conftest.$ac_ext
7971
7972 # OK, works on sane cases. Now check whether nonexistent headers
7973 # can be detected and how.
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 @%:@include <ac_nonexistent.h>
7977 _ACEOF
7978 if ac_fn_c_try_cpp "$LINENO"; then :
7979 # Broken: success on invalid input.
7980 continue
7981 else
7982 # Passes both tests.
7983 ac_preproc_ok=:
7984 break
7985 fi
7986 rm -f conftest.err conftest.i conftest.$ac_ext
7987
7988 done
7989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7990 rm -f conftest.i conftest.err conftest.$ac_ext
7991 if $ac_preproc_ok; then :
7992
7993 else
7994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7996 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7997 See \`config.log' for more details" "$LINENO" 5; }
7998 fi
7999
8000 ac_ext=c
8001 ac_cpp='$CPP $CPPFLAGS'
8002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8005
8006
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8008 $as_echo_n "checking for ANSI C header files... " >&6; }
8009 if ${ac_cv_header_stdc+:} false; then :
8010 $as_echo_n "(cached) " >&6
8011 else
8012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8014 #include <stdlib.h>
8015 #include <stdarg.h>
8016 #include <string.h>
8017 #include <float.h>
8018
8019 int
8020 main ()
8021 {
8022
8023 ;
8024 return 0;
8025 }
8026 _ACEOF
8027 if ac_fn_c_try_compile "$LINENO"; then :
8028 ac_cv_header_stdc=yes
8029 else
8030 ac_cv_header_stdc=no
8031 fi
8032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8033
8034 if test $ac_cv_header_stdc = yes; then
8035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8037 /* end confdefs.h. */
8038 #include <string.h>
8039
8040 _ACEOF
8041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8042 $EGREP "memchr" >/dev/null 2>&1; then :
8043
8044 else
8045 ac_cv_header_stdc=no
8046 fi
8047 rm -f conftest*
8048
8049 fi
8050
8051 if test $ac_cv_header_stdc = yes; then
8052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8054 /* end confdefs.h. */
8055 #include <stdlib.h>
8056
8057 _ACEOF
8058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8059 $EGREP "free" >/dev/null 2>&1; then :
8060
8061 else
8062 ac_cv_header_stdc=no
8063 fi
8064 rm -f conftest*
8065
8066 fi
8067
8068 if test $ac_cv_header_stdc = yes; then
8069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8070 if test "$cross_compiling" = yes; then :
8071 :
8072 else
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8075 #include <ctype.h>
8076 #include <stdlib.h>
8077 #if ((' ' & 0x0FF) == 0x020)
8078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8080 #else
8081 # define ISLOWER(c) \
8082 (('a' <= (c) && (c) <= 'i') \
8083 || ('j' <= (c) && (c) <= 'r') \
8084 || ('s' <= (c) && (c) <= 'z'))
8085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8086 #endif
8087
8088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8089 int
8090 main ()
8091 {
8092 int i;
8093 for (i = 0; i < 256; i++)
8094 if (XOR (islower (i), ISLOWER (i))
8095 || toupper (i) != TOUPPER (i))
8096 return 2;
8097 return 0;
8098 }
8099 _ACEOF
8100 if ac_fn_c_try_run "$LINENO"; then :
8101
8102 else
8103 ac_cv_header_stdc=no
8104 fi
8105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8106 conftest.$ac_objext conftest.beam conftest.$ac_ext
8107 fi
8108
8109 fi
8110 fi
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8112 $as_echo "$ac_cv_header_stdc" >&6; }
8113 if test $ac_cv_header_stdc = yes; then
8114
8115 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
8116
8117 fi
8118
8119 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8120 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8121 inttypes.h stdint.h unistd.h
8122 do :
8123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8124 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8125 "
8126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8127 cat >>confdefs.h <<_ACEOF
8128 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8129 _ACEOF
8130
8131 fi
8132
8133 done
8134
8135
8136 for ac_header in dlfcn.h
8137 do :
8138 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8139 "
8140 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8141 cat >>confdefs.h <<_ACEOF
8142 @%:@define HAVE_DLFCN_H 1
8143 _ACEOF
8144
8145 fi
8146
8147 done
8148
8149
8150
8151
8152
8153 # Set options
8154
8155
8156
8157
8158 enable_win32_dll=no
8159
8160
8161 @%:@ Check whether --enable-shared was given.
8162 if test "${enable_shared+set}" = set; then :
8163 enableval=$enable_shared; p=${PACKAGE-default}
8164 case $enableval in
8165 yes) enable_shared=yes ;;
8166 no) enable_shared=no ;;
8167 *)
8168 enable_shared=no
8169 # Look at the argument we got. We use all the common list separators.
8170 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8171 for pkg in $enableval; do
8172 IFS="$lt_save_ifs"
8173 if test "X$pkg" = "X$p"; then
8174 enable_shared=yes
8175 fi
8176 done
8177 IFS="$lt_save_ifs"
8178 ;;
8179 esac
8180 else
8181 enable_shared=yes
8182 fi
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194 @%:@ Check whether --with-pic was given.
8195 if test "${with_pic+set}" = set; then :
8196 withval=$with_pic; lt_p=${PACKAGE-default}
8197 case $withval in
8198 yes|no) pic_mode=$withval ;;
8199 *)
8200 pic_mode=default
8201 # Look at the argument we got. We use all the common list separators.
8202 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8203 for lt_pkg in $withval; do
8204 IFS="$lt_save_ifs"
8205 if test "X$lt_pkg" = "X$lt_p"; then
8206 pic_mode=yes
8207 fi
8208 done
8209 IFS="$lt_save_ifs"
8210 ;;
8211 esac
8212 else
8213 pic_mode=default
8214 fi
8215
8216
8217 test -z "$pic_mode" && pic_mode=default
8218
8219
8220
8221
8222
8223
8224
8225 @%:@ Check whether --enable-fast-install was given.
8226 if test "${enable_fast_install+set}" = set; then :
8227 enableval=$enable_fast_install; p=${PACKAGE-default}
8228 case $enableval in
8229 yes) enable_fast_install=yes ;;
8230 no) enable_fast_install=no ;;
8231 *)
8232 enable_fast_install=no
8233 # Look at the argument we got. We use all the common list separators.
8234 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8235 for pkg in $enableval; do
8236 IFS="$lt_save_ifs"
8237 if test "X$pkg" = "X$p"; then
8238 enable_fast_install=yes
8239 fi
8240 done
8241 IFS="$lt_save_ifs"
8242 ;;
8243 esac
8244 else
8245 enable_fast_install=yes
8246 fi
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258 # This can be used to rebuild libtool when needed
8259 LIBTOOL_DEPS="$ltmain"
8260
8261 # Always use our own libtool.
8262 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293 test -z "$LN_S" && LN_S="ln -s"
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308 if test -n "${ZSH_VERSION+set}" ; then
8309 setopt NO_GLOB_SUBST
8310 fi
8311
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8313 $as_echo_n "checking for objdir... " >&6; }
8314 if ${lt_cv_objdir+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 rm -f .libs 2>/dev/null
8318 mkdir .libs 2>/dev/null
8319 if test -d .libs; then
8320 lt_cv_objdir=.libs
8321 else
8322 # MS-DOS does not allow filenames that begin with a dot.
8323 lt_cv_objdir=_libs
8324 fi
8325 rmdir .libs 2>/dev/null
8326 fi
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8328 $as_echo "$lt_cv_objdir" >&6; }
8329 objdir=$lt_cv_objdir
8330
8331
8332
8333
8334
8335 cat >>confdefs.h <<_ACEOF
8336 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8337 _ACEOF
8338
8339
8340
8341
8342 case $host_os in
8343 aix3*)
8344 # AIX sometimes has problems with the GCC collect2 program. For some
8345 # reason, if we set the COLLECT_NAMES environment variable, the problems
8346 # vanish in a puff of smoke.
8347 if test "X${COLLECT_NAMES+set}" != Xset; then
8348 COLLECT_NAMES=
8349 export COLLECT_NAMES
8350 fi
8351 ;;
8352 esac
8353
8354 # Global variables:
8355 ofile=libtool
8356 can_build_shared=yes
8357
8358 # All known linkers require a `.a' archive for static linking (except MSVC,
8359 # which needs '.lib').
8360 libext=a
8361
8362 with_gnu_ld="$lt_cv_prog_gnu_ld"
8363
8364 old_CC="$CC"
8365 old_CFLAGS="$CFLAGS"
8366
8367 # Set sane defaults for various variables
8368 test -z "$CC" && CC=cc
8369 test -z "$LTCC" && LTCC=$CC
8370 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8371 test -z "$LD" && LD=ld
8372 test -z "$ac_objext" && ac_objext=o
8373
8374 for cc_temp in $compiler""; do
8375 case $cc_temp in
8376 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8377 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8378 \-*) ;;
8379 *) break;;
8380 esac
8381 done
8382 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8383
8384
8385 # Only perform the check for file, if the check method requires it
8386 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8387 case $deplibs_check_method in
8388 file_magic*)
8389 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8391 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8392 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 case $MAGIC_CMD in
8396 [\\/*] | ?:[\\/]*)
8397 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8398 ;;
8399 *)
8400 lt_save_MAGIC_CMD="$MAGIC_CMD"
8401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8402 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8403 for ac_dir in $ac_dummy; do
8404 IFS="$lt_save_ifs"
8405 test -z "$ac_dir" && ac_dir=.
8406 if test -f $ac_dir/${ac_tool_prefix}file; then
8407 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8408 if test -n "$file_magic_test_file"; then
8409 case $deplibs_check_method in
8410 "file_magic "*)
8411 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8412 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8413 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8414 $EGREP "$file_magic_regex" > /dev/null; then
8415 :
8416 else
8417 cat <<_LT_EOF 1>&2
8418
8419 *** Warning: the command libtool uses to detect shared libraries,
8420 *** $file_magic_cmd, produces output that libtool cannot recognize.
8421 *** The result is that libtool may fail to recognize shared libraries
8422 *** as such. This will affect the creation of libtool libraries that
8423 *** depend on shared libraries, but programs linked with such libtool
8424 *** libraries will work regardless of this problem. Nevertheless, you
8425 *** may want to report the problem to your system manager and/or to
8426 *** bug-libtool@gnu.org
8427
8428 _LT_EOF
8429 fi ;;
8430 esac
8431 fi
8432 break
8433 fi
8434 done
8435 IFS="$lt_save_ifs"
8436 MAGIC_CMD="$lt_save_MAGIC_CMD"
8437 ;;
8438 esac
8439 fi
8440
8441 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8442 if test -n "$MAGIC_CMD"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8444 $as_echo "$MAGIC_CMD" >&6; }
8445 else
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8448 fi
8449
8450
8451
8452
8453
8454 if test -z "$lt_cv_path_MAGIC_CMD"; then
8455 if test -n "$ac_tool_prefix"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8457 $as_echo_n "checking for file... " >&6; }
8458 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 case $MAGIC_CMD in
8462 [\\/*] | ?:[\\/]*)
8463 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8464 ;;
8465 *)
8466 lt_save_MAGIC_CMD="$MAGIC_CMD"
8467 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8468 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8469 for ac_dir in $ac_dummy; do
8470 IFS="$lt_save_ifs"
8471 test -z "$ac_dir" && ac_dir=.
8472 if test -f $ac_dir/file; then
8473 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8474 if test -n "$file_magic_test_file"; then
8475 case $deplibs_check_method in
8476 "file_magic "*)
8477 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8478 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8479 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8480 $EGREP "$file_magic_regex" > /dev/null; then
8481 :
8482 else
8483 cat <<_LT_EOF 1>&2
8484
8485 *** Warning: the command libtool uses to detect shared libraries,
8486 *** $file_magic_cmd, produces output that libtool cannot recognize.
8487 *** The result is that libtool may fail to recognize shared libraries
8488 *** as such. This will affect the creation of libtool libraries that
8489 *** depend on shared libraries, but programs linked with such libtool
8490 *** libraries will work regardless of this problem. Nevertheless, you
8491 *** may want to report the problem to your system manager and/or to
8492 *** bug-libtool@gnu.org
8493
8494 _LT_EOF
8495 fi ;;
8496 esac
8497 fi
8498 break
8499 fi
8500 done
8501 IFS="$lt_save_ifs"
8502 MAGIC_CMD="$lt_save_MAGIC_CMD"
8503 ;;
8504 esac
8505 fi
8506
8507 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8508 if test -n "$MAGIC_CMD"; then
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8510 $as_echo "$MAGIC_CMD" >&6; }
8511 else
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8513 $as_echo "no" >&6; }
8514 fi
8515
8516
8517 else
8518 MAGIC_CMD=:
8519 fi
8520 fi
8521
8522 fi
8523 ;;
8524 esac
8525
8526 # Use C for the default configuration in the libtool script
8527
8528 lt_save_CC="$CC"
8529 ac_ext=c
8530 ac_cpp='$CPP $CPPFLAGS'
8531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8534
8535
8536 # Source file extension for C test sources.
8537 ac_ext=c
8538
8539 # Object file extension for compiled C test sources.
8540 objext=o
8541 objext=$objext
8542
8543 # Code to be used in simple compile tests
8544 lt_simple_compile_test_code="int some_variable = 0;"
8545
8546 # Code to be used in simple link tests
8547 lt_simple_link_test_code='int main(){return(0);}'
8548
8549
8550
8551
8552
8553
8554
8555 # If no C compiler was specified, use CC.
8556 LTCC=${LTCC-"$CC"}
8557
8558 # If no C compiler flags were specified, use CFLAGS.
8559 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8560
8561 # Allow CC to be a program name with arguments.
8562 compiler=$CC
8563
8564 # Save the default compiler, since it gets overwritten when the other
8565 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8566 compiler_DEFAULT=$CC
8567
8568 # save warnings/boilerplate of simple test code
8569 ac_outfile=conftest.$ac_objext
8570 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8571 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8572 _lt_compiler_boilerplate=`cat conftest.err`
8573 $RM conftest*
8574
8575 ac_outfile=conftest.$ac_objext
8576 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8577 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8578 _lt_linker_boilerplate=`cat conftest.err`
8579 $RM -r conftest*
8580
8581
8582 ## CAVEAT EMPTOR:
8583 ## There is no encapsulation within the following macros, do not change
8584 ## the running order or otherwise move them around unless you know exactly
8585 ## what you are doing...
8586 if test -n "$compiler"; then
8587
8588 lt_prog_compiler_no_builtin_flag=
8589
8590 if test "$GCC" = yes; then
8591 case $cc_basename in
8592 nvcc*)
8593 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8594 *)
8595 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8596 esac
8597
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8599 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8600 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8601 $as_echo_n "(cached) " >&6
8602 else
8603 lt_cv_prog_compiler_rtti_exceptions=no
8604 ac_outfile=conftest.$ac_objext
8605 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8606 lt_compiler_flag="-fno-rtti -fno-exceptions"
8607 # Insert the option either (1) after the last *FLAGS variable, or
8608 # (2) before a word containing "conftest.", or (3) at the end.
8609 # Note that $ac_compile itself does not contain backslashes and begins
8610 # with a dollar sign (not a hyphen), so the echo should work correctly.
8611 # The option is referenced via a variable to avoid confusing sed.
8612 lt_compile=`echo "$ac_compile" | $SED \
8613 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8615 -e 's:$: $lt_compiler_flag:'`
8616 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8617 (eval "$lt_compile" 2>conftest.err)
8618 ac_status=$?
8619 cat conftest.err >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 if (exit $ac_status) && test -s "$ac_outfile"; then
8622 # The compiler can only warn and ignore the option if not recognized
8623 # So say no if there are warnings other than the usual output.
8624 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8625 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8626 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8627 lt_cv_prog_compiler_rtti_exceptions=yes
8628 fi
8629 fi
8630 $RM conftest*
8631
8632 fi
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8634 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8635
8636 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8637 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8638 else
8639 :
8640 fi
8641
8642 fi
8643
8644
8645
8646
8647
8648
8649 lt_prog_compiler_wl=
8650 lt_prog_compiler_pic=
8651 lt_prog_compiler_static=
8652
8653
8654 if test "$GCC" = yes; then
8655 lt_prog_compiler_wl='-Wl,'
8656 lt_prog_compiler_static='-static'
8657
8658 case $host_os in
8659 aix*)
8660 # All AIX code is PIC.
8661 if test "$host_cpu" = ia64; then
8662 # AIX 5 now supports IA64 processor
8663 lt_prog_compiler_static='-Bstatic'
8664 fi
8665 ;;
8666
8667 amigaos*)
8668 case $host_cpu in
8669 powerpc)
8670 # see comment about AmigaOS4 .so support
8671 lt_prog_compiler_pic='-fPIC'
8672 ;;
8673 m68k)
8674 # FIXME: we need at least 68020 code to build shared libraries, but
8675 # adding the `-m68020' flag to GCC prevents building anything better,
8676 # like `-m68040'.
8677 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8678 ;;
8679 esac
8680 ;;
8681
8682 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8683 # PIC is the default for these OSes.
8684 ;;
8685
8686 mingw* | cygwin* | pw32* | os2* | cegcc*)
8687 # This hack is so that the source file can tell whether it is being
8688 # built for inclusion in a dll (and should export symbols for example).
8689 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8690 # (--disable-auto-import) libraries
8691 lt_prog_compiler_pic='-DDLL_EXPORT'
8692 ;;
8693
8694 darwin* | rhapsody*)
8695 # PIC is the default on this platform
8696 # Common symbols not allowed in MH_DYLIB files
8697 lt_prog_compiler_pic='-fno-common'
8698 ;;
8699
8700 haiku*)
8701 # PIC is the default for Haiku.
8702 # The "-static" flag exists, but is broken.
8703 lt_prog_compiler_static=
8704 ;;
8705
8706 hpux*)
8707 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8708 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8709 # sets the default TLS model and affects inlining.
8710 case $host_cpu in
8711 hppa*64*)
8712 # +Z the default
8713 ;;
8714 *)
8715 lt_prog_compiler_pic='-fPIC'
8716 ;;
8717 esac
8718 ;;
8719
8720 interix[3-9]*)
8721 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8722 # Instead, we relocate shared libraries at runtime.
8723 ;;
8724
8725 msdosdjgpp*)
8726 # Just because we use GCC doesn't mean we suddenly get shared libraries
8727 # on systems that don't support them.
8728 lt_prog_compiler_can_build_shared=no
8729 enable_shared=no
8730 ;;
8731
8732 *nto* | *qnx*)
8733 # QNX uses GNU C++, but need to define -shared option too, otherwise
8734 # it will coredump.
8735 lt_prog_compiler_pic='-fPIC -shared'
8736 ;;
8737
8738 sysv4*MP*)
8739 if test -d /usr/nec; then
8740 lt_prog_compiler_pic=-Kconform_pic
8741 fi
8742 ;;
8743
8744 *)
8745 lt_prog_compiler_pic='-fPIC'
8746 ;;
8747 esac
8748
8749 case $cc_basename in
8750 nvcc*) # Cuda Compiler Driver 2.2
8751 lt_prog_compiler_wl='-Xlinker '
8752 if test -n "$lt_prog_compiler_pic"; then
8753 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8754 fi
8755 ;;
8756 esac
8757 else
8758 # PORTME Check for flag to pass linker flags through the system compiler.
8759 case $host_os in
8760 aix*)
8761 lt_prog_compiler_wl='-Wl,'
8762 if test "$host_cpu" = ia64; then
8763 # AIX 5 now supports IA64 processor
8764 lt_prog_compiler_static='-Bstatic'
8765 else
8766 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8767 fi
8768 ;;
8769
8770 mingw* | cygwin* | pw32* | os2* | cegcc*)
8771 # This hack is so that the source file can tell whether it is being
8772 # built for inclusion in a dll (and should export symbols for example).
8773 lt_prog_compiler_pic='-DDLL_EXPORT'
8774 ;;
8775
8776 hpux9* | hpux10* | hpux11*)
8777 lt_prog_compiler_wl='-Wl,'
8778 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8779 # not for PA HP-UX.
8780 case $host_cpu in
8781 hppa*64*|ia64*)
8782 # +Z the default
8783 ;;
8784 *)
8785 lt_prog_compiler_pic='+Z'
8786 ;;
8787 esac
8788 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8789 lt_prog_compiler_static='${wl}-a ${wl}archive'
8790 ;;
8791
8792 irix5* | irix6* | nonstopux*)
8793 lt_prog_compiler_wl='-Wl,'
8794 # PIC (with -KPIC) is the default.
8795 lt_prog_compiler_static='-non_shared'
8796 ;;
8797
8798 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8799 case $cc_basename in
8800 # old Intel for x86_64 which still supported -KPIC.
8801 ecc*)
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_pic='-KPIC'
8804 lt_prog_compiler_static='-static'
8805 ;;
8806 # icc used to be incompatible with GCC.
8807 # ICC 10 doesn't accept -KPIC any more.
8808 icc* | ifort*)
8809 lt_prog_compiler_wl='-Wl,'
8810 lt_prog_compiler_pic='-fPIC'
8811 lt_prog_compiler_static='-static'
8812 ;;
8813 # Lahey Fortran 8.1.
8814 lf95*)
8815 lt_prog_compiler_wl='-Wl,'
8816 lt_prog_compiler_pic='--shared'
8817 lt_prog_compiler_static='--static'
8818 ;;
8819 nagfor*)
8820 # NAG Fortran compiler
8821 lt_prog_compiler_wl='-Wl,-Wl,,'
8822 lt_prog_compiler_pic='-PIC'
8823 lt_prog_compiler_static='-Bstatic'
8824 ;;
8825 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8826 # Portland Group compilers (*not* the Pentium gcc compiler,
8827 # which looks to be a dead project)
8828 lt_prog_compiler_wl='-Wl,'
8829 lt_prog_compiler_pic='-fpic'
8830 lt_prog_compiler_static='-Bstatic'
8831 ;;
8832 ccc*)
8833 lt_prog_compiler_wl='-Wl,'
8834 # All Alpha code is PIC.
8835 lt_prog_compiler_static='-non_shared'
8836 ;;
8837 xl* | bgxl* | bgf* | mpixl*)
8838 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8839 lt_prog_compiler_wl='-Wl,'
8840 lt_prog_compiler_pic='-qpic'
8841 lt_prog_compiler_static='-qstaticlink'
8842 ;;
8843 *)
8844 case `$CC -V 2>&1 | sed 5q` in
8845 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8846 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8847 lt_prog_compiler_pic='-KPIC'
8848 lt_prog_compiler_static='-Bstatic'
8849 lt_prog_compiler_wl=''
8850 ;;
8851 *Sun\ F* | *Sun*Fortran*)
8852 lt_prog_compiler_pic='-KPIC'
8853 lt_prog_compiler_static='-Bstatic'
8854 lt_prog_compiler_wl='-Qoption ld '
8855 ;;
8856 *Sun\ C*)
8857 # Sun C 5.9
8858 lt_prog_compiler_pic='-KPIC'
8859 lt_prog_compiler_static='-Bstatic'
8860 lt_prog_compiler_wl='-Wl,'
8861 ;;
8862 *Intel*\ [CF]*Compiler*)
8863 lt_prog_compiler_wl='-Wl,'
8864 lt_prog_compiler_pic='-fPIC'
8865 lt_prog_compiler_static='-static'
8866 ;;
8867 *Portland\ Group*)
8868 lt_prog_compiler_wl='-Wl,'
8869 lt_prog_compiler_pic='-fpic'
8870 lt_prog_compiler_static='-Bstatic'
8871 ;;
8872 esac
8873 ;;
8874 esac
8875 ;;
8876
8877 newsos6)
8878 lt_prog_compiler_pic='-KPIC'
8879 lt_prog_compiler_static='-Bstatic'
8880 ;;
8881
8882 *nto* | *qnx*)
8883 # QNX uses GNU C++, but need to define -shared option too, otherwise
8884 # it will coredump.
8885 lt_prog_compiler_pic='-fPIC -shared'
8886 ;;
8887
8888 osf3* | osf4* | osf5*)
8889 lt_prog_compiler_wl='-Wl,'
8890 # All OSF/1 code is PIC.
8891 lt_prog_compiler_static='-non_shared'
8892 ;;
8893
8894 rdos*)
8895 lt_prog_compiler_static='-non_shared'
8896 ;;
8897
8898 solaris*)
8899 lt_prog_compiler_pic='-KPIC'
8900 lt_prog_compiler_static='-Bstatic'
8901 case $cc_basename in
8902 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8903 lt_prog_compiler_wl='-Qoption ld ';;
8904 *)
8905 lt_prog_compiler_wl='-Wl,';;
8906 esac
8907 ;;
8908
8909 sunos4*)
8910 lt_prog_compiler_wl='-Qoption ld '
8911 lt_prog_compiler_pic='-PIC'
8912 lt_prog_compiler_static='-Bstatic'
8913 ;;
8914
8915 sysv4 | sysv4.2uw2* | sysv4.3*)
8916 lt_prog_compiler_wl='-Wl,'
8917 lt_prog_compiler_pic='-KPIC'
8918 lt_prog_compiler_static='-Bstatic'
8919 ;;
8920
8921 sysv4*MP*)
8922 if test -d /usr/nec ;then
8923 lt_prog_compiler_pic='-Kconform_pic'
8924 lt_prog_compiler_static='-Bstatic'
8925 fi
8926 ;;
8927
8928 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8929 lt_prog_compiler_wl='-Wl,'
8930 lt_prog_compiler_pic='-KPIC'
8931 lt_prog_compiler_static='-Bstatic'
8932 ;;
8933
8934 unicos*)
8935 lt_prog_compiler_wl='-Wl,'
8936 lt_prog_compiler_can_build_shared=no
8937 ;;
8938
8939 uts4*)
8940 lt_prog_compiler_pic='-pic'
8941 lt_prog_compiler_static='-Bstatic'
8942 ;;
8943
8944 *)
8945 lt_prog_compiler_can_build_shared=no
8946 ;;
8947 esac
8948 fi
8949
8950 case $host_os in
8951 # For platforms which do not support PIC, -DPIC is meaningless:
8952 *djgpp*)
8953 lt_prog_compiler_pic=
8954 ;;
8955 *)
8956 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8957 ;;
8958 esac
8959
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8961 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8962 if ${lt_cv_prog_compiler_pic+:} false; then :
8963 $as_echo_n "(cached) " >&6
8964 else
8965 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8966 fi
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8968 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8969 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8970
8971 #
8972 # Check to make sure the PIC flag actually works.
8973 #
8974 if test -n "$lt_prog_compiler_pic"; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8976 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8977 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8978 $as_echo_n "(cached) " >&6
8979 else
8980 lt_cv_prog_compiler_pic_works=no
8981 ac_outfile=conftest.$ac_objext
8982 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8983 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8984 # Insert the option either (1) after the last *FLAGS variable, or
8985 # (2) before a word containing "conftest.", or (3) at the end.
8986 # Note that $ac_compile itself does not contain backslashes and begins
8987 # with a dollar sign (not a hyphen), so the echo should work correctly.
8988 # The option is referenced via a variable to avoid confusing sed.
8989 lt_compile=`echo "$ac_compile" | $SED \
8990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8992 -e 's:$: $lt_compiler_flag:'`
8993 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8994 (eval "$lt_compile" 2>conftest.err)
8995 ac_status=$?
8996 cat conftest.err >&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 if (exit $ac_status) && test -s "$ac_outfile"; then
8999 # The compiler can only warn and ignore the option if not recognized
9000 # So say no if there are warnings other than the usual output.
9001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9002 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9003 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9004 lt_cv_prog_compiler_pic_works=yes
9005 fi
9006 fi
9007 $RM conftest*
9008
9009 fi
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9011 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9012
9013 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9014 case $lt_prog_compiler_pic in
9015 "" | " "*) ;;
9016 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9017 esac
9018 else
9019 lt_prog_compiler_pic=
9020 lt_prog_compiler_can_build_shared=no
9021 fi
9022
9023 fi
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035 #
9036 # Check to make sure the static flag actually works.
9037 #
9038 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9040 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9041 if ${lt_cv_prog_compiler_static_works+:} false; then :
9042 $as_echo_n "(cached) " >&6
9043 else
9044 lt_cv_prog_compiler_static_works=no
9045 save_LDFLAGS="$LDFLAGS"
9046 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9047 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9048 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9049 # The linker can only warn and ignore the option if not recognized
9050 # So say no if there are warnings
9051 if test -s conftest.err; then
9052 # Append any errors to the config.log.
9053 cat conftest.err 1>&5
9054 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9055 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9056 if diff conftest.exp conftest.er2 >/dev/null; then
9057 lt_cv_prog_compiler_static_works=yes
9058 fi
9059 else
9060 lt_cv_prog_compiler_static_works=yes
9061 fi
9062 fi
9063 $RM -r conftest*
9064 LDFLAGS="$save_LDFLAGS"
9065
9066 fi
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9068 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9069
9070 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9071 :
9072 else
9073 lt_prog_compiler_static=
9074 fi
9075
9076
9077
9078
9079
9080
9081
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9083 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9084 if ${lt_cv_prog_compiler_c_o+:} false; then :
9085 $as_echo_n "(cached) " >&6
9086 else
9087 lt_cv_prog_compiler_c_o=no
9088 $RM -r conftest 2>/dev/null
9089 mkdir conftest
9090 cd conftest
9091 mkdir out
9092 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9093
9094 lt_compiler_flag="-o out/conftest2.$ac_objext"
9095 # Insert the option either (1) after the last *FLAGS variable, or
9096 # (2) before a word containing "conftest.", or (3) at the end.
9097 # Note that $ac_compile itself does not contain backslashes and begins
9098 # with a dollar sign (not a hyphen), so the echo should work correctly.
9099 lt_compile=`echo "$ac_compile" | $SED \
9100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9102 -e 's:$: $lt_compiler_flag:'`
9103 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9104 (eval "$lt_compile" 2>out/conftest.err)
9105 ac_status=$?
9106 cat out/conftest.err >&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9109 then
9110 # The compiler can only warn and ignore the option if not recognized
9111 # So say no if there are warnings
9112 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9113 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9114 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9115 lt_cv_prog_compiler_c_o=yes
9116 fi
9117 fi
9118 chmod u+w . 2>&5
9119 $RM conftest*
9120 # SGI C++ compiler will create directory out/ii_files/ for
9121 # template instantiation
9122 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9123 $RM out/* && rmdir out
9124 cd ..
9125 $RM -r conftest
9126 $RM conftest*
9127
9128 fi
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9130 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9131
9132
9133
9134
9135
9136
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9138 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9139 if ${lt_cv_prog_compiler_c_o+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 lt_cv_prog_compiler_c_o=no
9143 $RM -r conftest 2>/dev/null
9144 mkdir conftest
9145 cd conftest
9146 mkdir out
9147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9148
9149 lt_compiler_flag="-o out/conftest2.$ac_objext"
9150 # Insert the option either (1) after the last *FLAGS variable, or
9151 # (2) before a word containing "conftest.", or (3) at the end.
9152 # Note that $ac_compile itself does not contain backslashes and begins
9153 # with a dollar sign (not a hyphen), so the echo should work correctly.
9154 lt_compile=`echo "$ac_compile" | $SED \
9155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9157 -e 's:$: $lt_compiler_flag:'`
9158 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9159 (eval "$lt_compile" 2>out/conftest.err)
9160 ac_status=$?
9161 cat out/conftest.err >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9164 then
9165 # The compiler can only warn and ignore the option if not recognized
9166 # So say no if there are warnings
9167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9168 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9169 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9170 lt_cv_prog_compiler_c_o=yes
9171 fi
9172 fi
9173 chmod u+w . 2>&5
9174 $RM conftest*
9175 # SGI C++ compiler will create directory out/ii_files/ for
9176 # template instantiation
9177 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9178 $RM out/* && rmdir out
9179 cd ..
9180 $RM -r conftest
9181 $RM conftest*
9182
9183 fi
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9185 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9186
9187
9188
9189
9190 hard_links="nottested"
9191 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9192 # do not overwrite the value of need_locks provided by the user
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9194 $as_echo_n "checking if we can lock with hard links... " >&6; }
9195 hard_links=yes
9196 $RM conftest*
9197 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9198 touch conftest.a
9199 ln conftest.a conftest.b 2>&5 || hard_links=no
9200 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9202 $as_echo "$hard_links" >&6; }
9203 if test "$hard_links" = no; then
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9205 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9206 need_locks=warn
9207 fi
9208 else
9209 need_locks=no
9210 fi
9211
9212
9213
9214
9215
9216
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9218 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9219
9220 runpath_var=
9221 allow_undefined_flag=
9222 always_export_symbols=no
9223 archive_cmds=
9224 archive_expsym_cmds=
9225 compiler_needs_object=no
9226 enable_shared_with_static_runtimes=no
9227 export_dynamic_flag_spec=
9228 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9229 hardcode_automatic=no
9230 hardcode_direct=no
9231 hardcode_direct_absolute=no
9232 hardcode_libdir_flag_spec=
9233 hardcode_libdir_separator=
9234 hardcode_minus_L=no
9235 hardcode_shlibpath_var=unsupported
9236 inherit_rpath=no
9237 link_all_deplibs=unknown
9238 module_cmds=
9239 module_expsym_cmds=
9240 old_archive_from_new_cmds=
9241 old_archive_from_expsyms_cmds=
9242 thread_safe_flag_spec=
9243 whole_archive_flag_spec=
9244 # include_expsyms should be a list of space-separated symbols to be *always*
9245 # included in the symbol list
9246 include_expsyms=
9247 # exclude_expsyms can be an extended regexp of symbols to exclude
9248 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9249 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9250 # as well as any symbol that contains `d'.
9251 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9252 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9253 # platforms (ab)use it in PIC code, but their linkers get confused if
9254 # the symbol is explicitly referenced. Since portable code cannot
9255 # rely on this symbol name, it's probably fine to never include it in
9256 # preloaded symbol tables.
9257 # Exclude shared library initialization/finalization symbols.
9258 extract_expsyms_cmds=
9259
9260 case $host_os in
9261 cygwin* | mingw* | pw32* | cegcc*)
9262 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9263 # When not using gcc, we currently assume that we are using
9264 # Microsoft Visual C++.
9265 if test "$GCC" != yes; then
9266 with_gnu_ld=no
9267 fi
9268 ;;
9269 interix*)
9270 # we just hope/assume this is gcc and not c89 (= MSVC++)
9271 with_gnu_ld=yes
9272 ;;
9273 openbsd*)
9274 with_gnu_ld=no
9275 ;;
9276 linux* | k*bsd*-gnu | gnu*)
9277 link_all_deplibs=no
9278 ;;
9279 esac
9280
9281 ld_shlibs=yes
9282
9283 # On some targets, GNU ld is compatible enough with the native linker
9284 # that we're better off using the native interface for both.
9285 lt_use_gnu_ld_interface=no
9286 if test "$with_gnu_ld" = yes; then
9287 case $host_os in
9288 aix*)
9289 # The AIX port of GNU ld has always aspired to compatibility
9290 # with the native linker. However, as the warning in the GNU ld
9291 # block says, versions before 2.19.5* couldn't really create working
9292 # shared libraries, regardless of the interface used.
9293 case `$LD -v 2>&1` in
9294 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9295 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9296 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9297 *)
9298 lt_use_gnu_ld_interface=yes
9299 ;;
9300 esac
9301 ;;
9302 *)
9303 lt_use_gnu_ld_interface=yes
9304 ;;
9305 esac
9306 fi
9307
9308 if test "$lt_use_gnu_ld_interface" = yes; then
9309 # If archive_cmds runs LD, not CC, wlarc should be empty
9310 wlarc='${wl}'
9311
9312 # Set some defaults for GNU ld with shared library support. These
9313 # are reset later if shared libraries are not supported. Putting them
9314 # here allows them to be overridden if necessary.
9315 runpath_var=LD_RUN_PATH
9316 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9317 export_dynamic_flag_spec='${wl}--export-dynamic'
9318 # ancient GNU ld didn't support --whole-archive et. al.
9319 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9320 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9321 else
9322 whole_archive_flag_spec=
9323 fi
9324 supports_anon_versioning=no
9325 case `$LD -v 2>&1` in
9326 *GNU\ gold*) supports_anon_versioning=yes ;;
9327 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9328 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9329 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9330 *\ 2.11.*) ;; # other 2.11 versions
9331 *) supports_anon_versioning=yes ;;
9332 esac
9333
9334 # See if GNU ld supports shared libraries.
9335 case $host_os in
9336 aix[3-9]*)
9337 # On AIX/PPC, the GNU linker is very broken
9338 if test "$host_cpu" != ia64; then
9339 ld_shlibs=no
9340 cat <<_LT_EOF 1>&2
9341
9342 *** Warning: the GNU linker, at least up to release 2.19, is reported
9343 *** to be unable to reliably create shared libraries on AIX.
9344 *** Therefore, libtool is disabling shared libraries support. If you
9345 *** really care for shared libraries, you may want to install binutils
9346 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9347 *** You will then need to restart the configuration process.
9348
9349 _LT_EOF
9350 fi
9351 ;;
9352
9353 amigaos*)
9354 case $host_cpu in
9355 powerpc)
9356 # see comment about AmigaOS4 .so support
9357 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9358 archive_expsym_cmds=''
9359 ;;
9360 m68k)
9361 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)'
9362 hardcode_libdir_flag_spec='-L$libdir'
9363 hardcode_minus_L=yes
9364 ;;
9365 esac
9366 ;;
9367
9368 beos*)
9369 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9370 allow_undefined_flag=unsupported
9371 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9372 # support --undefined. This deserves some investigation. FIXME
9373 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 else
9375 ld_shlibs=no
9376 fi
9377 ;;
9378
9379 cygwin* | mingw* | pw32* | cegcc*)
9380 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9381 # as there is no search path for DLLs.
9382 hardcode_libdir_flag_spec='-L$libdir'
9383 export_dynamic_flag_spec='${wl}--export-all-symbols'
9384 allow_undefined_flag=unsupported
9385 always_export_symbols=no
9386 enable_shared_with_static_runtimes=yes
9387 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9388 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9389
9390 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9391 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9392 # If the export-symbols file already is a .def file (1st line
9393 # is EXPORTS), use it as is; otherwise, prepend...
9394 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9395 cp $export_symbols $output_objdir/$soname.def;
9396 else
9397 echo EXPORTS > $output_objdir/$soname.def;
9398 cat $export_symbols >> $output_objdir/$soname.def;
9399 fi~
9400 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9401 else
9402 ld_shlibs=no
9403 fi
9404 ;;
9405
9406 haiku*)
9407 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9408 link_all_deplibs=yes
9409 ;;
9410
9411 interix[3-9]*)
9412 hardcode_direct=no
9413 hardcode_shlibpath_var=no
9414 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9415 export_dynamic_flag_spec='${wl}-E'
9416 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9417 # Instead, shared libraries are loaded at an image base (0x10000000 by
9418 # default) and relocated if they conflict, which is a slow very memory
9419 # consuming and fragmenting process. To avoid this, we pick a random,
9420 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9421 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9422 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9423 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'
9424 ;;
9425
9426 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9427 tmp_diet=no
9428 if test "$host_os" = linux-dietlibc; then
9429 case $cc_basename in
9430 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9431 esac
9432 fi
9433 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9434 && test "$tmp_diet" = no
9435 then
9436 tmp_addflag=' $pic_flag'
9437 tmp_sharedflag='-shared'
9438 case $cc_basename,$host_cpu in
9439 pgcc*) # Portland Group C compiler
9440 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9441 tmp_addflag=' $pic_flag'
9442 ;;
9443 pgf77* | pgf90* | pgf95* | pgfortran*)
9444 # Portland Group f77 and f90 compilers
9445 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9446 tmp_addflag=' $pic_flag -Mnomain' ;;
9447 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9448 tmp_addflag=' -i_dynamic' ;;
9449 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9450 tmp_addflag=' -i_dynamic -nofor_main' ;;
9451 ifc* | ifort*) # Intel Fortran compiler
9452 tmp_addflag=' -nofor_main' ;;
9453 lf95*) # Lahey Fortran 8.1
9454 whole_archive_flag_spec=
9455 tmp_sharedflag='--shared' ;;
9456 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9457 tmp_sharedflag='-qmkshrobj'
9458 tmp_addflag= ;;
9459 nvcc*) # Cuda Compiler Driver 2.2
9460 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9461 compiler_needs_object=yes
9462 ;;
9463 esac
9464 case `$CC -V 2>&1 | sed 5q` in
9465 *Sun\ C*) # Sun C 5.9
9466 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9467 compiler_needs_object=yes
9468 tmp_sharedflag='-G' ;;
9469 *Sun\ F*) # Sun Fortran 8.3
9470 tmp_sharedflag='-G' ;;
9471 esac
9472 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9473
9474 if test "x$supports_anon_versioning" = xyes; then
9475 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9476 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9477 echo "local: *; };" >> $output_objdir/$libname.ver~
9478 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9479 fi
9480
9481 case $cc_basename in
9482 xlf* | bgf* | bgxlf* | mpixlf*)
9483 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9484 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9485 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9486 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9487 if test "x$supports_anon_versioning" = xyes; then
9488 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9489 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9490 echo "local: *; };" >> $output_objdir/$libname.ver~
9491 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9492 fi
9493 ;;
9494 esac
9495 else
9496 ld_shlibs=no
9497 fi
9498 ;;
9499
9500 netbsd* | netbsdelf*-gnu)
9501 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9502 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9503 wlarc=
9504 else
9505 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9506 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9507 fi
9508 ;;
9509
9510 solaris*)
9511 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9512 ld_shlibs=no
9513 cat <<_LT_EOF 1>&2
9514
9515 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9516 *** create shared libraries on Solaris systems. Therefore, libtool
9517 *** is disabling shared libraries support. We urge you to upgrade GNU
9518 *** binutils to release 2.9.1 or newer. Another option is to modify
9519 *** your PATH or compiler configuration so that the native linker is
9520 *** used, and then restart.
9521
9522 _LT_EOF
9523 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9524 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9525 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9526 else
9527 ld_shlibs=no
9528 fi
9529 ;;
9530
9531 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9532 case `$LD -v 2>&1` in
9533 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9534 ld_shlibs=no
9535 cat <<_LT_EOF 1>&2
9536
9537 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9538 *** reliably create shared libraries on SCO systems. Therefore, libtool
9539 *** is disabling shared libraries support. We urge you to upgrade GNU
9540 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9541 *** your PATH or compiler configuration so that the native linker is
9542 *** used, and then restart.
9543
9544 _LT_EOF
9545 ;;
9546 *)
9547 # For security reasons, it is highly recommended that you always
9548 # use absolute paths for naming shared libraries, and exclude the
9549 # DT_RUNPATH tag from executables and libraries. But doing so
9550 # requires that you compile everything twice, which is a pain.
9551 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9552 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9553 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9554 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9555 else
9556 ld_shlibs=no
9557 fi
9558 ;;
9559 esac
9560 ;;
9561
9562 sunos4*)
9563 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9564 wlarc=
9565 hardcode_direct=yes
9566 hardcode_shlibpath_var=no
9567 ;;
9568
9569 *)
9570 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9571 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9572 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9573 else
9574 ld_shlibs=no
9575 fi
9576 ;;
9577 esac
9578
9579 if test "$ld_shlibs" = no; then
9580 runpath_var=
9581 hardcode_libdir_flag_spec=
9582 export_dynamic_flag_spec=
9583 whole_archive_flag_spec=
9584 fi
9585 else
9586 # PORTME fill in a description of your system's linker (not GNU ld)
9587 case $host_os in
9588 aix3*)
9589 allow_undefined_flag=unsupported
9590 always_export_symbols=yes
9591 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'
9592 # Note: this linker hardcodes the directories in LIBPATH if there
9593 # are no directories specified by -L.
9594 hardcode_minus_L=yes
9595 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9596 # Neither direct hardcoding nor static linking is supported with a
9597 # broken collect2.
9598 hardcode_direct=unsupported
9599 fi
9600 ;;
9601
9602 aix[4-9]*)
9603 if test "$host_cpu" = ia64; then
9604 # On IA64, the linker does run time linking by default, so we don't
9605 # have to do anything special.
9606 aix_use_runtimelinking=no
9607 exp_sym_flag='-Bexport'
9608 no_entry_flag=""
9609 else
9610 # If we're using GNU nm, then we don't want the "-C" option.
9611 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9612 # Also, AIX nm treats weak defined symbols like other global
9613 # defined symbols, whereas GNU nm marks them as "W".
9614 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9615 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9616 else
9617 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'
9618 fi
9619 aix_use_runtimelinking=no
9620
9621 # Test if we are trying to use run time linking or normal
9622 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9623 # need to do runtime linking.
9624 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9625 for ld_flag in $LDFLAGS; do
9626 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9627 aix_use_runtimelinking=yes
9628 break
9629 fi
9630 done
9631 ;;
9632 esac
9633
9634 exp_sym_flag='-bexport'
9635 no_entry_flag='-bnoentry'
9636 fi
9637
9638 # When large executables or shared objects are built, AIX ld can
9639 # have problems creating the table of contents. If linking a library
9640 # or program results in "error TOC overflow" add -mminimal-toc to
9641 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9642 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9643
9644 archive_cmds=''
9645 hardcode_direct=yes
9646 hardcode_direct_absolute=yes
9647 hardcode_libdir_separator=':'
9648 link_all_deplibs=yes
9649 file_list_spec='${wl}-f,'
9650
9651 if test "$GCC" = yes; then
9652 case $host_os in aix4.[012]|aix4.[012].*)
9653 # We only want to do this on AIX 4.2 and lower, the check
9654 # below for broken collect2 doesn't work under 4.3+
9655 collect2name=`${CC} -print-prog-name=collect2`
9656 if test -f "$collect2name" &&
9657 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9658 then
9659 # We have reworked collect2
9660 :
9661 else
9662 # We have old collect2
9663 hardcode_direct=unsupported
9664 # It fails to find uninstalled libraries when the uninstalled
9665 # path is not listed in the libpath. Setting hardcode_minus_L
9666 # to unsupported forces relinking
9667 hardcode_minus_L=yes
9668 hardcode_libdir_flag_spec='-L$libdir'
9669 hardcode_libdir_separator=
9670 fi
9671 ;;
9672 esac
9673 shared_flag='-shared'
9674 if test "$aix_use_runtimelinking" = yes; then
9675 shared_flag="$shared_flag "'${wl}-G'
9676 fi
9677 link_all_deplibs=no
9678 else
9679 # not using gcc
9680 if test "$host_cpu" = ia64; then
9681 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9682 # chokes on -Wl,-G. The following line is correct:
9683 shared_flag='-G'
9684 else
9685 if test "$aix_use_runtimelinking" = yes; then
9686 shared_flag='${wl}-G'
9687 else
9688 shared_flag='${wl}-bM:SRE'
9689 fi
9690 fi
9691 fi
9692
9693 export_dynamic_flag_spec='${wl}-bexpall'
9694 # It seems that -bexpall does not export symbols beginning with
9695 # underscore (_), so it is better to generate a list of symbols to export.
9696 always_export_symbols=yes
9697 if test "$aix_use_runtimelinking" = yes; then
9698 # Warning - without using the other runtime loading flags (-brtl),
9699 # -berok will link without error, but may produce a broken library.
9700 allow_undefined_flag='-berok'
9701 # Determine the default libpath from the value encoded in an
9702 # empty executable.
9703 if test "${lt_cv_aix_libpath+set}" = set; then
9704 aix_libpath=$lt_cv_aix_libpath
9705 else
9706 if ${lt_cv_aix_libpath_+:} false; then :
9707 $as_echo_n "(cached) " >&6
9708 else
9709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9710 /* end confdefs.h. */
9711
9712 int
9713 main ()
9714 {
9715
9716 ;
9717 return 0;
9718 }
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721
9722 lt_aix_libpath_sed='
9723 /Import File Strings/,/^$/ {
9724 /^0/ {
9725 s/^0 *\([^ ]*\) *$/\1/
9726 p
9727 }
9728 }'
9729 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9730 # Check for a 64-bit object if we didn't find anything.
9731 if test -z "$lt_cv_aix_libpath_"; then
9732 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9733 fi
9734 fi
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 if test -z "$lt_cv_aix_libpath_"; then
9738 lt_cv_aix_libpath_="/usr/lib:/lib"
9739 fi
9740
9741 fi
9742
9743 aix_libpath=$lt_cv_aix_libpath_
9744 fi
9745
9746 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9747 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9748 else
9749 if test "$host_cpu" = ia64; then
9750 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9751 allow_undefined_flag="-z nodefs"
9752 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"
9753 else
9754 # Determine the default libpath from the value encoded in an
9755 # empty executable.
9756 if test "${lt_cv_aix_libpath+set}" = set; then
9757 aix_libpath=$lt_cv_aix_libpath
9758 else
9759 if ${lt_cv_aix_libpath_+:} false; then :
9760 $as_echo_n "(cached) " >&6
9761 else
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9764
9765 int
9766 main ()
9767 {
9768
9769 ;
9770 return 0;
9771 }
9772 _ACEOF
9773 if ac_fn_c_try_link "$LINENO"; then :
9774
9775 lt_aix_libpath_sed='
9776 /Import File Strings/,/^$/ {
9777 /^0/ {
9778 s/^0 *\([^ ]*\) *$/\1/
9779 p
9780 }
9781 }'
9782 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9783 # Check for a 64-bit object if we didn't find anything.
9784 if test -z "$lt_cv_aix_libpath_"; then
9785 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9786 fi
9787 fi
9788 rm -f core conftest.err conftest.$ac_objext \
9789 conftest$ac_exeext conftest.$ac_ext
9790 if test -z "$lt_cv_aix_libpath_"; then
9791 lt_cv_aix_libpath_="/usr/lib:/lib"
9792 fi
9793
9794 fi
9795
9796 aix_libpath=$lt_cv_aix_libpath_
9797 fi
9798
9799 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9800 # Warning - without using the other run time loading flags,
9801 # -berok will link without error, but may produce a broken library.
9802 no_undefined_flag=' ${wl}-bernotok'
9803 allow_undefined_flag=' ${wl}-berok'
9804 if test "$with_gnu_ld" = yes; then
9805 # We only use this code for GNU lds that support --whole-archive.
9806 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9807 else
9808 # Exported symbols can be pulled into shared objects from archives
9809 whole_archive_flag_spec='$convenience'
9810 fi
9811 archive_cmds_need_lc=yes
9812 # This is similar to how AIX traditionally builds its shared libraries.
9813 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'
9814 fi
9815 fi
9816 ;;
9817
9818 amigaos*)
9819 case $host_cpu in
9820 powerpc)
9821 # see comment about AmigaOS4 .so support
9822 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9823 archive_expsym_cmds=''
9824 ;;
9825 m68k)
9826 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)'
9827 hardcode_libdir_flag_spec='-L$libdir'
9828 hardcode_minus_L=yes
9829 ;;
9830 esac
9831 ;;
9832
9833 bsdi[45]*)
9834 export_dynamic_flag_spec=-rdynamic
9835 ;;
9836
9837 cygwin* | mingw* | pw32* | cegcc*)
9838 # When not using gcc, we currently assume that we are using
9839 # Microsoft Visual C++.
9840 # hardcode_libdir_flag_spec is actually meaningless, as there is
9841 # no search path for DLLs.
9842 case $cc_basename in
9843 cl*)
9844 # Native MSVC
9845 hardcode_libdir_flag_spec=' '
9846 allow_undefined_flag=unsupported
9847 always_export_symbols=yes
9848 file_list_spec='@'
9849 # Tell ltmain to make .lib files, not .a files.
9850 libext=lib
9851 # Tell ltmain to make .dll files, not .so files.
9852 shrext_cmds=".dll"
9853 # FIXME: Setting linknames here is a bad hack.
9854 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9855 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9856 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9857 else
9858 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9859 fi~
9860 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9861 linknames='
9862 # The linker will not automatically build a static lib if we build a DLL.
9863 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9864 enable_shared_with_static_runtimes=yes
9865 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9866 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9867 # Don't use ranlib
9868 old_postinstall_cmds='chmod 644 $oldlib'
9869 postlink_cmds='lt_outputfile="@OUTPUT@"~
9870 lt_tool_outputfile="@TOOL_OUTPUT@"~
9871 case $lt_outputfile in
9872 *.exe|*.EXE) ;;
9873 *)
9874 lt_outputfile="$lt_outputfile.exe"
9875 lt_tool_outputfile="$lt_tool_outputfile.exe"
9876 ;;
9877 esac~
9878 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9879 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9880 $RM "$lt_outputfile.manifest";
9881 fi'
9882 ;;
9883 *)
9884 # Assume MSVC wrapper
9885 hardcode_libdir_flag_spec=' '
9886 allow_undefined_flag=unsupported
9887 # Tell ltmain to make .lib files, not .a files.
9888 libext=lib
9889 # Tell ltmain to make .dll files, not .so files.
9890 shrext_cmds=".dll"
9891 # FIXME: Setting linknames here is a bad hack.
9892 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9893 # The linker will automatically build a .lib file if we build a DLL.
9894 old_archive_from_new_cmds='true'
9895 # FIXME: Should let the user specify the lib program.
9896 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9897 enable_shared_with_static_runtimes=yes
9898 ;;
9899 esac
9900 ;;
9901
9902 darwin* | rhapsody*)
9903
9904
9905 archive_cmds_need_lc=no
9906 hardcode_direct=no
9907 hardcode_automatic=yes
9908 hardcode_shlibpath_var=unsupported
9909 if test "$lt_cv_ld_force_load" = "yes"; then
9910 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9911
9912 else
9913 whole_archive_flag_spec=''
9914 fi
9915 link_all_deplibs=yes
9916 allow_undefined_flag="$_lt_dar_allow_undefined"
9917 case $cc_basename in
9918 ifort*) _lt_dar_can_shared=yes ;;
9919 *) _lt_dar_can_shared=$GCC ;;
9920 esac
9921 if test "$_lt_dar_can_shared" = "yes"; then
9922 output_verbose_link_cmd=func_echo_all
9923 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9924 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9925 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}"
9926 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}"
9927
9928 else
9929 ld_shlibs=no
9930 fi
9931
9932 ;;
9933
9934 dgux*)
9935 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-L$libdir'
9937 hardcode_shlibpath_var=no
9938 ;;
9939
9940 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9941 # support. Future versions do this automatically, but an explicit c++rt0.o
9942 # does not break anything, and helps significantly (at the cost of a little
9943 # extra space).
9944 freebsd2.2*)
9945 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9946 hardcode_libdir_flag_spec='-R$libdir'
9947 hardcode_direct=yes
9948 hardcode_shlibpath_var=no
9949 ;;
9950
9951 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9952 freebsd2.*)
9953 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_direct=yes
9955 hardcode_minus_L=yes
9956 hardcode_shlibpath_var=no
9957 ;;
9958
9959 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9960 freebsd* | dragonfly*)
9961 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9962 hardcode_libdir_flag_spec='-R$libdir'
9963 hardcode_direct=yes
9964 hardcode_shlibpath_var=no
9965 ;;
9966
9967 hpux9*)
9968 if test "$GCC" = yes; then
9969 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9970 else
9971 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'
9972 fi
9973 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9974 hardcode_libdir_separator=:
9975 hardcode_direct=yes
9976
9977 # hardcode_minus_L: Not really in the search PATH,
9978 # but as the default location of the library.
9979 hardcode_minus_L=yes
9980 export_dynamic_flag_spec='${wl}-E'
9981 ;;
9982
9983 hpux10*)
9984 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9985 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9986 else
9987 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9988 fi
9989 if test "$with_gnu_ld" = no; then
9990 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9991 hardcode_libdir_separator=:
9992 hardcode_direct=yes
9993 hardcode_direct_absolute=yes
9994 export_dynamic_flag_spec='${wl}-E'
9995 # hardcode_minus_L: Not really in the search PATH,
9996 # but as the default location of the library.
9997 hardcode_minus_L=yes
9998 fi
9999 ;;
10000
10001 hpux11*)
10002 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10003 case $host_cpu in
10004 hppa*64*)
10005 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 ;;
10007 ia64*)
10008 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10009 ;;
10010 *)
10011 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10012 ;;
10013 esac
10014 else
10015 case $host_cpu in
10016 hppa*64*)
10017 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10018 ;;
10019 ia64*)
10020 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10021 ;;
10022 *)
10023
10024 # Older versions of the 11.00 compiler do not understand -b yet
10025 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10027 $as_echo_n "checking if $CC understands -b... " >&6; }
10028 if ${lt_cv_prog_compiler__b+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 lt_cv_prog_compiler__b=no
10032 save_LDFLAGS="$LDFLAGS"
10033 LDFLAGS="$LDFLAGS -b"
10034 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10035 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10036 # The linker can only warn and ignore the option if not recognized
10037 # So say no if there are warnings
10038 if test -s conftest.err; then
10039 # Append any errors to the config.log.
10040 cat conftest.err 1>&5
10041 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10042 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10043 if diff conftest.exp conftest.er2 >/dev/null; then
10044 lt_cv_prog_compiler__b=yes
10045 fi
10046 else
10047 lt_cv_prog_compiler__b=yes
10048 fi
10049 fi
10050 $RM -r conftest*
10051 LDFLAGS="$save_LDFLAGS"
10052
10053 fi
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10055 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10056
10057 if test x"$lt_cv_prog_compiler__b" = xyes; then
10058 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10059 else
10060 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10061 fi
10062
10063 ;;
10064 esac
10065 fi
10066 if test "$with_gnu_ld" = no; then
10067 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10068 hardcode_libdir_separator=:
10069
10070 case $host_cpu in
10071 hppa*64*|ia64*)
10072 hardcode_direct=no
10073 hardcode_shlibpath_var=no
10074 ;;
10075 *)
10076 hardcode_direct=yes
10077 hardcode_direct_absolute=yes
10078 export_dynamic_flag_spec='${wl}-E'
10079
10080 # hardcode_minus_L: Not really in the search PATH,
10081 # but as the default location of the library.
10082 hardcode_minus_L=yes
10083 ;;
10084 esac
10085 fi
10086 ;;
10087
10088 irix5* | irix6* | nonstopux*)
10089 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10091 # Try to use the -exported_symbol ld option, if it does not
10092 # work, assume that -exports_file does not work either and
10093 # implicitly export all symbols.
10094 # This should be the same for all languages, so no per-tag cache variable.
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10096 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10097 if ${lt_cv_irix_exported_symbol+:} false; then :
10098 $as_echo_n "(cached) " >&6
10099 else
10100 save_LDFLAGS="$LDFLAGS"
10101 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10104 int foo (void) { return 0; }
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 lt_cv_irix_exported_symbol=yes
10108 else
10109 lt_cv_irix_exported_symbol=no
10110 fi
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LDFLAGS="$save_LDFLAGS"
10114 fi
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10116 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10117 if test "$lt_cv_irix_exported_symbol" = yes; then
10118 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10119 fi
10120 else
10121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10122 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10123 fi
10124 archive_cmds_need_lc='no'
10125 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10126 hardcode_libdir_separator=:
10127 inherit_rpath=yes
10128 link_all_deplibs=yes
10129 ;;
10130
10131 netbsd* | netbsdelf*-gnu)
10132 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10133 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10134 else
10135 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10136 fi
10137 hardcode_libdir_flag_spec='-R$libdir'
10138 hardcode_direct=yes
10139 hardcode_shlibpath_var=no
10140 ;;
10141
10142 newsos6)
10143 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10144 hardcode_direct=yes
10145 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10146 hardcode_libdir_separator=:
10147 hardcode_shlibpath_var=no
10148 ;;
10149
10150 *nto* | *qnx*)
10151 ;;
10152
10153 openbsd*)
10154 if test -f /usr/libexec/ld.so; then
10155 hardcode_direct=yes
10156 hardcode_shlibpath_var=no
10157 hardcode_direct_absolute=yes
10158 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10159 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10160 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10161 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10162 export_dynamic_flag_spec='${wl}-E'
10163 else
10164 case $host_os in
10165 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10166 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10167 hardcode_libdir_flag_spec='-R$libdir'
10168 ;;
10169 *)
10170 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10171 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10172 ;;
10173 esac
10174 fi
10175 else
10176 ld_shlibs=no
10177 fi
10178 ;;
10179
10180 os2*)
10181 hardcode_libdir_flag_spec='-L$libdir'
10182 hardcode_minus_L=yes
10183 allow_undefined_flag=unsupported
10184 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'
10185 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10186 ;;
10187
10188 osf3*)
10189 if test "$GCC" = yes; then
10190 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10191 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10192 else
10193 allow_undefined_flag=' -expect_unresolved \*'
10194 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10195 fi
10196 archive_cmds_need_lc='no'
10197 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10198 hardcode_libdir_separator=:
10199 ;;
10200
10201 osf4* | osf5*) # as osf3* with the addition of -msym flag
10202 if test "$GCC" = yes; then
10203 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10204 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10205 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10206 else
10207 allow_undefined_flag=' -expect_unresolved \*'
10208 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10209 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~
10210 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10211
10212 # Both c and cxx compiler support -rpath directly
10213 hardcode_libdir_flag_spec='-rpath $libdir'
10214 fi
10215 archive_cmds_need_lc='no'
10216 hardcode_libdir_separator=:
10217 ;;
10218
10219 solaris*)
10220 no_undefined_flag=' -z defs'
10221 if test "$GCC" = yes; then
10222 wlarc='${wl}'
10223 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10224 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10225 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10226 else
10227 case `$CC -V 2>&1` in
10228 *"Compilers 5.0"*)
10229 wlarc=''
10230 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10231 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10232 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10233 ;;
10234 *)
10235 wlarc='${wl}'
10236 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10237 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10238 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10239 ;;
10240 esac
10241 fi
10242 hardcode_libdir_flag_spec='-R$libdir'
10243 hardcode_shlibpath_var=no
10244 case $host_os in
10245 solaris2.[0-5] | solaris2.[0-5].*) ;;
10246 *)
10247 # The compiler driver will combine and reorder linker options,
10248 # but understands `-z linker_flag'. GCC discards it without `$wl',
10249 # but is careful enough not to reorder.
10250 # Supported since Solaris 2.6 (maybe 2.5.1?)
10251 if test "$GCC" = yes; then
10252 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10253 else
10254 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10255 fi
10256 ;;
10257 esac
10258 link_all_deplibs=yes
10259 ;;
10260
10261 sunos4*)
10262 if test "x$host_vendor" = xsequent; then
10263 # Use $CC to link under sequent, because it throws in some extra .o
10264 # files that make .init and .fini sections work.
10265 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10266 else
10267 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10268 fi
10269 hardcode_libdir_flag_spec='-L$libdir'
10270 hardcode_direct=yes
10271 hardcode_minus_L=yes
10272 hardcode_shlibpath_var=no
10273 ;;
10274
10275 sysv4)
10276 case $host_vendor in
10277 sni)
10278 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10279 hardcode_direct=yes # is this really true???
10280 ;;
10281 siemens)
10282 ## LD is ld it makes a PLAMLIB
10283 ## CC just makes a GrossModule.
10284 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10285 reload_cmds='$CC -r -o $output$reload_objs'
10286 hardcode_direct=no
10287 ;;
10288 motorola)
10289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10290 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10291 ;;
10292 esac
10293 runpath_var='LD_RUN_PATH'
10294 hardcode_shlibpath_var=no
10295 ;;
10296
10297 sysv4.3*)
10298 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10299 hardcode_shlibpath_var=no
10300 export_dynamic_flag_spec='-Bexport'
10301 ;;
10302
10303 sysv4*MP*)
10304 if test -d /usr/nec; then
10305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10306 hardcode_shlibpath_var=no
10307 runpath_var=LD_RUN_PATH
10308 hardcode_runpath_var=yes
10309 ld_shlibs=yes
10310 fi
10311 ;;
10312
10313 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10314 no_undefined_flag='${wl}-z,text'
10315 archive_cmds_need_lc=no
10316 hardcode_shlibpath_var=no
10317 runpath_var='LD_RUN_PATH'
10318
10319 if test "$GCC" = yes; then
10320 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10321 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10322 else
10323 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10324 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10325 fi
10326 ;;
10327
10328 sysv5* | sco3.2v5* | sco5v6*)
10329 # Note: We can NOT use -z defs as we might desire, because we do not
10330 # link with -lc, and that would cause any symbols used from libc to
10331 # always be unresolved, which means just about no library would
10332 # ever link correctly. If we're not using GNU ld we use -z text
10333 # though, which does catch some bad symbols but isn't as heavy-handed
10334 # as -z defs.
10335 no_undefined_flag='${wl}-z,text'
10336 allow_undefined_flag='${wl}-z,nodefs'
10337 archive_cmds_need_lc=no
10338 hardcode_shlibpath_var=no
10339 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10340 hardcode_libdir_separator=':'
10341 link_all_deplibs=yes
10342 export_dynamic_flag_spec='${wl}-Bexport'
10343 runpath_var='LD_RUN_PATH'
10344
10345 if test "$GCC" = yes; then
10346 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10347 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10348 else
10349 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10350 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10351 fi
10352 ;;
10353
10354 uts4*)
10355 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10356 hardcode_libdir_flag_spec='-L$libdir'
10357 hardcode_shlibpath_var=no
10358 ;;
10359
10360 *)
10361 ld_shlibs=no
10362 ;;
10363 esac
10364
10365 if test x$host_vendor = xsni; then
10366 case $host in
10367 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10368 export_dynamic_flag_spec='${wl}-Blargedynsym'
10369 ;;
10370 esac
10371 fi
10372 fi
10373
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10375 $as_echo "$ld_shlibs" >&6; }
10376 test "$ld_shlibs" = no && can_build_shared=no
10377
10378 with_gnu_ld=$with_gnu_ld
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394 #
10395 # Do we need to explicitly link libc?
10396 #
10397 case "x$archive_cmds_need_lc" in
10398 x|xyes)
10399 # Assume -lc should be added
10400 archive_cmds_need_lc=yes
10401
10402 if test "$enable_shared" = yes && test "$GCC" = yes; then
10403 case $archive_cmds in
10404 *'~'*)
10405 # FIXME: we may have to deal with multi-command sequences.
10406 ;;
10407 '$CC '*)
10408 # Test whether the compiler implicitly links with -lc since on some
10409 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10410 # to ld, don't add -lc before -lgcc.
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10412 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10413 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 $RM conftest*
10417 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10418
10419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10420 (eval $ac_compile) 2>&5
10421 ac_status=$?
10422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10423 test $ac_status = 0; } 2>conftest.err; then
10424 soname=conftest
10425 lib=conftest
10426 libobjs=conftest.$ac_objext
10427 deplibs=
10428 wl=$lt_prog_compiler_wl
10429 pic_flag=$lt_prog_compiler_pic
10430 compiler_flags=-v
10431 linker_flags=-v
10432 verstring=
10433 output_objdir=.
10434 libname=conftest
10435 lt_save_allow_undefined_flag=$allow_undefined_flag
10436 allow_undefined_flag=
10437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10438 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10439 ac_status=$?
10440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10441 test $ac_status = 0; }
10442 then
10443 lt_cv_archive_cmds_need_lc=no
10444 else
10445 lt_cv_archive_cmds_need_lc=yes
10446 fi
10447 allow_undefined_flag=$lt_save_allow_undefined_flag
10448 else
10449 cat conftest.err 1>&5
10450 fi
10451 $RM conftest*
10452
10453 fi
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10455 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10456 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10457 ;;
10458 esac
10459 fi
10460 ;;
10461 esac
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10615 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10616
10617 if test "$GCC" = yes; then
10618 case $host_os in
10619 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10620 *) lt_awk_arg="/^libraries:/" ;;
10621 esac
10622 case $host_os in
10623 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10624 *) lt_sed_strip_eq="s,=/,/,g" ;;
10625 esac
10626 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10627 case $lt_search_path_spec in
10628 *\;*)
10629 # if the path contains ";" then we assume it to be the separator
10630 # otherwise default to the standard path separator (i.e. ":") - it is
10631 # assumed that no part of a normal pathname contains ";" but that should
10632 # okay in the real world where ";" in dirpaths is itself problematic.
10633 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10634 ;;
10635 *)
10636 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10637 ;;
10638 esac
10639 # Ok, now we have the path, separated by spaces, we can step through it
10640 # and add multilib dir if necessary.
10641 lt_tmp_lt_search_path_spec=
10642 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10643 for lt_sys_path in $lt_search_path_spec; do
10644 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10645 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10646 else
10647 test -d "$lt_sys_path" && \
10648 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10649 fi
10650 done
10651 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10652 BEGIN {RS=" "; FS="/|\n";} {
10653 lt_foo="";
10654 lt_count=0;
10655 for (lt_i = NF; lt_i > 0; lt_i--) {
10656 if ($lt_i != "" && $lt_i != ".") {
10657 if ($lt_i == "..") {
10658 lt_count++;
10659 } else {
10660 if (lt_count == 0) {
10661 lt_foo="/" $lt_i lt_foo;
10662 } else {
10663 lt_count--;
10664 }
10665 }
10666 }
10667 }
10668 if (lt_foo != "") { lt_freq[lt_foo]++; }
10669 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10670 }'`
10671 # AWK program above erroneously prepends '/' to C:/dos/paths
10672 # for these hosts.
10673 case $host_os in
10674 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10675 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10676 esac
10677 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10678 else
10679 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10680 fi
10681 library_names_spec=
10682 libname_spec='lib$name'
10683 soname_spec=
10684 shrext_cmds=".so"
10685 postinstall_cmds=
10686 postuninstall_cmds=
10687 finish_cmds=
10688 finish_eval=
10689 shlibpath_var=
10690 shlibpath_overrides_runpath=unknown
10691 version_type=none
10692 dynamic_linker="$host_os ld.so"
10693 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10694 need_lib_prefix=unknown
10695 hardcode_into_libs=no
10696
10697 # when you set need_version to no, make sure it does not cause -set_version
10698 # flags to be left without arguments
10699 need_version=unknown
10700
10701 case $host_os in
10702 aix3*)
10703 version_type=linux # correct to gnu/linux during the next big refactor
10704 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10705 shlibpath_var=LIBPATH
10706
10707 # AIX 3 has no versioning support, so we append a major version to the name.
10708 soname_spec='${libname}${release}${shared_ext}$major'
10709 ;;
10710
10711 aix[4-9]*)
10712 version_type=linux # correct to gnu/linux during the next big refactor
10713 need_lib_prefix=no
10714 need_version=no
10715 hardcode_into_libs=yes
10716 if test "$host_cpu" = ia64; then
10717 # AIX 5 supports IA64
10718 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10719 shlibpath_var=LD_LIBRARY_PATH
10720 else
10721 # With GCC up to 2.95.x, collect2 would create an import file
10722 # for dependence libraries. The import file would start with
10723 # the line `#! .'. This would cause the generated library to
10724 # depend on `.', always an invalid library. This was fixed in
10725 # development snapshots of GCC prior to 3.0.
10726 case $host_os in
10727 aix4 | aix4.[01] | aix4.[01].*)
10728 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10729 echo ' yes '
10730 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10731 :
10732 else
10733 can_build_shared=no
10734 fi
10735 ;;
10736 esac
10737 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10738 # soname into executable. Probably we can add versioning support to
10739 # collect2, so additional links can be useful in future.
10740 if test "$aix_use_runtimelinking" = yes; then
10741 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10742 # instead of lib<name>.a to let people know that these are not
10743 # typical AIX shared libraries.
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 else
10746 # We preserve .a as extension for shared libraries through AIX4.2
10747 # and later when we are not doing run time linking.
10748 library_names_spec='${libname}${release}.a $libname.a'
10749 soname_spec='${libname}${release}${shared_ext}$major'
10750 fi
10751 shlibpath_var=LIBPATH
10752 fi
10753 ;;
10754
10755 amigaos*)
10756 case $host_cpu in
10757 powerpc)
10758 # Since July 2007 AmigaOS4 officially supports .so libraries.
10759 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761 ;;
10762 m68k)
10763 library_names_spec='$libname.ixlibrary $libname.a'
10764 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10765 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10766 ;;
10767 esac
10768 ;;
10769
10770 beos*)
10771 library_names_spec='${libname}${shared_ext}'
10772 dynamic_linker="$host_os ld.so"
10773 shlibpath_var=LIBRARY_PATH
10774 ;;
10775
10776 bsdi[45]*)
10777 version_type=linux # correct to gnu/linux during the next big refactor
10778 need_version=no
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10782 shlibpath_var=LD_LIBRARY_PATH
10783 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10784 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10785 # the default ld.so.conf also contains /usr/contrib/lib and
10786 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10787 # libtool to hard-code these into programs
10788 ;;
10789
10790 cygwin* | mingw* | pw32* | cegcc*)
10791 version_type=windows
10792 shrext_cmds=".dll"
10793 need_version=no
10794 need_lib_prefix=no
10795
10796 case $GCC,$cc_basename in
10797 yes,*)
10798 # gcc
10799 library_names_spec='$libname.dll.a'
10800 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10801 postinstall_cmds='base_file=`basename \${file}`~
10802 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10803 dldir=$destdir/`dirname \$dlpath`~
10804 test -d \$dldir || mkdir -p \$dldir~
10805 $install_prog $dir/$dlname \$dldir/$dlname~
10806 chmod a+x \$dldir/$dlname~
10807 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10808 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10809 fi'
10810 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10811 dlpath=$dir/\$dldll~
10812 $RM \$dlpath'
10813 shlibpath_overrides_runpath=yes
10814
10815 case $host_os in
10816 cygwin*)
10817 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10818 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10819
10820 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10821 ;;
10822 mingw* | cegcc*)
10823 # MinGW DLLs use traditional 'lib' prefix
10824 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10825 ;;
10826 pw32*)
10827 # pw32 DLLs use 'pw' prefix rather than 'lib'
10828 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10829 ;;
10830 esac
10831 dynamic_linker='Win32 ld.exe'
10832 ;;
10833
10834 *,cl*)
10835 # Native MSVC
10836 libname_spec='$name'
10837 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10838 library_names_spec='${libname}.dll.lib'
10839
10840 case $build_os in
10841 mingw*)
10842 sys_lib_search_path_spec=
10843 lt_save_ifs=$IFS
10844 IFS=';'
10845 for lt_path in $LIB
10846 do
10847 IFS=$lt_save_ifs
10848 # Let DOS variable expansion print the short 8.3 style file name.
10849 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10850 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10851 done
10852 IFS=$lt_save_ifs
10853 # Convert to MSYS style.
10854 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10855 ;;
10856 cygwin*)
10857 # Convert to unix form, then to dos form, then back to unix form
10858 # but this time dos style (no spaces!) so that the unix form looks
10859 # like /cygdrive/c/PROGRA~1:/cygdr...
10860 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10861 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10862 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10863 ;;
10864 *)
10865 sys_lib_search_path_spec="$LIB"
10866 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10867 # It is most probably a Windows format PATH.
10868 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10869 else
10870 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10871 fi
10872 # FIXME: find the short name or the path components, as spaces are
10873 # common. (e.g. "Program Files" -> "PROGRA~1")
10874 ;;
10875 esac
10876
10877 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10878 postinstall_cmds='base_file=`basename \${file}`~
10879 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10880 dldir=$destdir/`dirname \$dlpath`~
10881 test -d \$dldir || mkdir -p \$dldir~
10882 $install_prog $dir/$dlname \$dldir/$dlname'
10883 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10884 dlpath=$dir/\$dldll~
10885 $RM \$dlpath'
10886 shlibpath_overrides_runpath=yes
10887 dynamic_linker='Win32 link.exe'
10888 ;;
10889
10890 *)
10891 # Assume MSVC wrapper
10892 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10893 dynamic_linker='Win32 ld.exe'
10894 ;;
10895 esac
10896 # FIXME: first we should search . and the directory the executable is in
10897 shlibpath_var=PATH
10898 ;;
10899
10900 darwin* | rhapsody*)
10901 dynamic_linker="$host_os dyld"
10902 version_type=darwin
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10906 soname_spec='${libname}${release}${major}$shared_ext'
10907 shlibpath_overrides_runpath=yes
10908 shlibpath_var=DYLD_LIBRARY_PATH
10909 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10910
10911 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10912 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10913 ;;
10914
10915 dgux*)
10916 version_type=linux # correct to gnu/linux during the next big refactor
10917 need_lib_prefix=no
10918 need_version=no
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10920 soname_spec='${libname}${release}${shared_ext}$major'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 ;;
10923
10924 freebsd* | dragonfly*)
10925 # DragonFly does not have aout. When/if they implement a new
10926 # versioning mechanism, adjust this.
10927 if test -x /usr/bin/objformat; then
10928 objformat=`/usr/bin/objformat`
10929 else
10930 case $host_os in
10931 freebsd[23].*) objformat=aout ;;
10932 *) objformat=elf ;;
10933 esac
10934 fi
10935 version_type=freebsd-$objformat
10936 case $version_type in
10937 freebsd-elf*)
10938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10939 need_version=no
10940 need_lib_prefix=no
10941 ;;
10942 freebsd-*)
10943 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10944 need_version=yes
10945 ;;
10946 esac
10947 shlibpath_var=LD_LIBRARY_PATH
10948 case $host_os in
10949 freebsd2.*)
10950 shlibpath_overrides_runpath=yes
10951 ;;
10952 freebsd3.[01]* | freebsdelf3.[01]*)
10953 shlibpath_overrides_runpath=yes
10954 hardcode_into_libs=yes
10955 ;;
10956 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10957 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10958 shlibpath_overrides_runpath=no
10959 hardcode_into_libs=yes
10960 ;;
10961 *) # from 4.6 on, and DragonFly
10962 shlibpath_overrides_runpath=yes
10963 hardcode_into_libs=yes
10964 ;;
10965 esac
10966 ;;
10967
10968 haiku*)
10969 version_type=linux # correct to gnu/linux during the next big refactor
10970 need_lib_prefix=no
10971 need_version=no
10972 dynamic_linker="$host_os runtime_loader"
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10974 soname_spec='${libname}${release}${shared_ext}$major'
10975 shlibpath_var=LIBRARY_PATH
10976 shlibpath_overrides_runpath=yes
10977 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10978 hardcode_into_libs=yes
10979 ;;
10980
10981 hpux9* | hpux10* | hpux11*)
10982 # Give a soname corresponding to the major version so that dld.sl refuses to
10983 # link against other versions.
10984 version_type=sunos
10985 need_lib_prefix=no
10986 need_version=no
10987 case $host_cpu in
10988 ia64*)
10989 shrext_cmds='.so'
10990 hardcode_into_libs=yes
10991 dynamic_linker="$host_os dld.so"
10992 shlibpath_var=LD_LIBRARY_PATH
10993 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995 soname_spec='${libname}${release}${shared_ext}$major'
10996 if test "X$HPUX_IA64_MODE" = X32; then
10997 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10998 else
10999 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11000 fi
11001 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11002 ;;
11003 hppa*64*)
11004 shrext_cmds='.sl'
11005 hardcode_into_libs=yes
11006 dynamic_linker="$host_os dld.sl"
11007 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11008 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11010 soname_spec='${libname}${release}${shared_ext}$major'
11011 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11012 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11013 ;;
11014 *)
11015 shrext_cmds='.sl'
11016 dynamic_linker="$host_os dld.sl"
11017 shlibpath_var=SHLIB_PATH
11018 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020 soname_spec='${libname}${release}${shared_ext}$major'
11021 ;;
11022 esac
11023 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11024 postinstall_cmds='chmod 555 $lib'
11025 # or fails outright, so override atomically:
11026 install_override_mode=555
11027 ;;
11028
11029 interix[3-9]*)
11030 version_type=linux # correct to gnu/linux during the next big refactor
11031 need_lib_prefix=no
11032 need_version=no
11033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11034 soname_spec='${libname}${release}${shared_ext}$major'
11035 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11036 shlibpath_var=LD_LIBRARY_PATH
11037 shlibpath_overrides_runpath=no
11038 hardcode_into_libs=yes
11039 ;;
11040
11041 irix5* | irix6* | nonstopux*)
11042 case $host_os in
11043 nonstopux*) version_type=nonstopux ;;
11044 *)
11045 if test "$lt_cv_prog_gnu_ld" = yes; then
11046 version_type=linux # correct to gnu/linux during the next big refactor
11047 else
11048 version_type=irix
11049 fi ;;
11050 esac
11051 need_lib_prefix=no
11052 need_version=no
11053 soname_spec='${libname}${release}${shared_ext}$major'
11054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11055 case $host_os in
11056 irix5* | nonstopux*)
11057 libsuff= shlibsuff=
11058 ;;
11059 *)
11060 case $LD in # libtool.m4 will add one of these switches to LD
11061 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11062 libsuff= shlibsuff= libmagic=32-bit;;
11063 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11064 libsuff=32 shlibsuff=N32 libmagic=N32;;
11065 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11066 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11067 *) libsuff= shlibsuff= libmagic=never-match;;
11068 esac
11069 ;;
11070 esac
11071 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11072 shlibpath_overrides_runpath=no
11073 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11074 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11075 hardcode_into_libs=yes
11076 ;;
11077
11078 # No shared lib support for Linux oldld, aout, or coff.
11079 linux*oldld* | linux*aout* | linux*coff*)
11080 dynamic_linker=no
11081 ;;
11082
11083 # This must be glibc/ELF.
11084 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11085 version_type=linux # correct to gnu/linux during the next big refactor
11086 need_lib_prefix=no
11087 need_version=no
11088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11089 soname_spec='${libname}${release}${shared_ext}$major'
11090 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11091 shlibpath_var=LD_LIBRARY_PATH
11092 shlibpath_overrides_runpath=no
11093
11094 # Some binutils ld are patched to set DT_RUNPATH
11095 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 lt_cv_shlibpath_overrides_runpath=no
11099 save_LDFLAGS=$LDFLAGS
11100 save_libdir=$libdir
11101 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11102 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11105
11106 int
11107 main ()
11108 {
11109
11110 ;
11111 return 0;
11112 }
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"; then :
11115 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11116 lt_cv_shlibpath_overrides_runpath=yes
11117 fi
11118 fi
11119 rm -f core conftest.err conftest.$ac_objext \
11120 conftest$ac_exeext conftest.$ac_ext
11121 LDFLAGS=$save_LDFLAGS
11122 libdir=$save_libdir
11123
11124 fi
11125
11126 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11127
11128 # This implies no fast_install, which is unacceptable.
11129 # Some rework will be needed to allow for fast_install
11130 # before this can be enabled.
11131 hardcode_into_libs=yes
11132
11133 # Append ld.so.conf contents to the search path
11134 if test -f /etc/ld.so.conf; then
11135 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;s/"//g;/^$/d' | tr '\n' ' '`
11136 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11137 fi
11138
11139 # We used to test for /lib/ld.so.1 and disable shared libraries on
11140 # powerpc, because MkLinux only supported shared libraries with the
11141 # GNU dynamic linker. Since this was broken with cross compilers,
11142 # most powerpc-linux boxes support dynamic linking these days and
11143 # people can always --disable-shared, the test was removed, and we
11144 # assume the GNU/Linux dynamic linker is in use.
11145 dynamic_linker='GNU/Linux ld.so'
11146 ;;
11147
11148 netbsdelf*-gnu)
11149 version_type=linux
11150 need_lib_prefix=no
11151 need_version=no
11152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11153 soname_spec='${libname}${release}${shared_ext}$major'
11154 shlibpath_var=LD_LIBRARY_PATH
11155 shlibpath_overrides_runpath=no
11156 hardcode_into_libs=yes
11157 dynamic_linker='NetBSD ld.elf_so'
11158 ;;
11159
11160 netbsd*)
11161 version_type=sunos
11162 need_lib_prefix=no
11163 need_version=no
11164 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11166 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11167 dynamic_linker='NetBSD (a.out) ld.so'
11168 else
11169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11170 soname_spec='${libname}${release}${shared_ext}$major'
11171 dynamic_linker='NetBSD ld.elf_so'
11172 fi
11173 shlibpath_var=LD_LIBRARY_PATH
11174 shlibpath_overrides_runpath=yes
11175 hardcode_into_libs=yes
11176 ;;
11177
11178 newsos6)
11179 version_type=linux # correct to gnu/linux during the next big refactor
11180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181 shlibpath_var=LD_LIBRARY_PATH
11182 shlibpath_overrides_runpath=yes
11183 ;;
11184
11185 *nto* | *qnx*)
11186 version_type=qnx
11187 need_lib_prefix=no
11188 need_version=no
11189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190 soname_spec='${libname}${release}${shared_ext}$major'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath=no
11193 hardcode_into_libs=yes
11194 dynamic_linker='ldqnx.so'
11195 ;;
11196
11197 openbsd*)
11198 version_type=sunos
11199 sys_lib_dlsearch_path_spec="/usr/lib"
11200 need_lib_prefix=no
11201 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11202 case $host_os in
11203 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11204 *) need_version=no ;;
11205 esac
11206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11207 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11208 shlibpath_var=LD_LIBRARY_PATH
11209 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11210 case $host_os in
11211 openbsd2.[89] | openbsd2.[89].*)
11212 shlibpath_overrides_runpath=no
11213 ;;
11214 *)
11215 shlibpath_overrides_runpath=yes
11216 ;;
11217 esac
11218 else
11219 shlibpath_overrides_runpath=yes
11220 fi
11221 ;;
11222
11223 os2*)
11224 libname_spec='$name'
11225 shrext_cmds=".dll"
11226 need_lib_prefix=no
11227 library_names_spec='$libname${shared_ext} $libname.a'
11228 dynamic_linker='OS/2 ld.exe'
11229 shlibpath_var=LIBPATH
11230 ;;
11231
11232 osf3* | osf4* | osf5*)
11233 version_type=osf
11234 need_lib_prefix=no
11235 need_version=no
11236 soname_spec='${libname}${release}${shared_ext}$major'
11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238 shlibpath_var=LD_LIBRARY_PATH
11239 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11240 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11241 ;;
11242
11243 rdos*)
11244 dynamic_linker=no
11245 ;;
11246
11247 solaris*)
11248 version_type=linux # correct to gnu/linux during the next big refactor
11249 need_lib_prefix=no
11250 need_version=no
11251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252 soname_spec='${libname}${release}${shared_ext}$major'
11253 shlibpath_var=LD_LIBRARY_PATH
11254 shlibpath_overrides_runpath=yes
11255 hardcode_into_libs=yes
11256 # ldd complains unless libraries are executable
11257 postinstall_cmds='chmod +x $lib'
11258 ;;
11259
11260 sunos4*)
11261 version_type=sunos
11262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11263 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11264 shlibpath_var=LD_LIBRARY_PATH
11265 shlibpath_overrides_runpath=yes
11266 if test "$with_gnu_ld" = yes; then
11267 need_lib_prefix=no
11268 fi
11269 need_version=yes
11270 ;;
11271
11272 sysv4 | sysv4.3*)
11273 version_type=linux # correct to gnu/linux during the next big refactor
11274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11275 soname_spec='${libname}${release}${shared_ext}$major'
11276 shlibpath_var=LD_LIBRARY_PATH
11277 case $host_vendor in
11278 sni)
11279 shlibpath_overrides_runpath=no
11280 need_lib_prefix=no
11281 runpath_var=LD_RUN_PATH
11282 ;;
11283 siemens)
11284 need_lib_prefix=no
11285 ;;
11286 motorola)
11287 need_lib_prefix=no
11288 need_version=no
11289 shlibpath_overrides_runpath=no
11290 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11291 ;;
11292 esac
11293 ;;
11294
11295 sysv4*MP*)
11296 if test -d /usr/nec ;then
11297 version_type=linux # correct to gnu/linux during the next big refactor
11298 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11299 soname_spec='$libname${shared_ext}.$major'
11300 shlibpath_var=LD_LIBRARY_PATH
11301 fi
11302 ;;
11303
11304 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11305 version_type=freebsd-elf
11306 need_lib_prefix=no
11307 need_version=no
11308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11309 soname_spec='${libname}${release}${shared_ext}$major'
11310 shlibpath_var=LD_LIBRARY_PATH
11311 shlibpath_overrides_runpath=yes
11312 hardcode_into_libs=yes
11313 if test "$with_gnu_ld" = yes; then
11314 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11315 else
11316 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11317 case $host_os in
11318 sco3.2v5*)
11319 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11320 ;;
11321 esac
11322 fi
11323 sys_lib_dlsearch_path_spec='/usr/lib'
11324 ;;
11325
11326 tpf*)
11327 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11328 version_type=linux # correct to gnu/linux during the next big refactor
11329 need_lib_prefix=no
11330 need_version=no
11331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11332 shlibpath_var=LD_LIBRARY_PATH
11333 shlibpath_overrides_runpath=no
11334 hardcode_into_libs=yes
11335 ;;
11336
11337 uts4*)
11338 version_type=linux # correct to gnu/linux during the next big refactor
11339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11340 soname_spec='${libname}${release}${shared_ext}$major'
11341 shlibpath_var=LD_LIBRARY_PATH
11342 ;;
11343
11344 *)
11345 dynamic_linker=no
11346 ;;
11347 esac
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11349 $as_echo "$dynamic_linker" >&6; }
11350 test "$dynamic_linker" = no && can_build_shared=no
11351
11352 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11353 if test "$GCC" = yes; then
11354 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11355 fi
11356
11357 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11358 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11359 fi
11360 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11361 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11362 fi
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11456 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11457 hardcode_action=
11458 if test -n "$hardcode_libdir_flag_spec" ||
11459 test -n "$runpath_var" ||
11460 test "X$hardcode_automatic" = "Xyes" ; then
11461
11462 # We can hardcode non-existent directories.
11463 if test "$hardcode_direct" != no &&
11464 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11465 # have to relink, otherwise we might link with an installed library
11466 # when we should be linking with a yet-to-be-installed one
11467 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11468 test "$hardcode_minus_L" != no; then
11469 # Linking always hardcodes the temporary library directory.
11470 hardcode_action=relink
11471 else
11472 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11473 hardcode_action=immediate
11474 fi
11475 else
11476 # We cannot hardcode anything, or else we can only hardcode existing
11477 # directories.
11478 hardcode_action=unsupported
11479 fi
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11481 $as_echo "$hardcode_action" >&6; }
11482
11483 if test "$hardcode_action" = relink ||
11484 test "$inherit_rpath" = yes; then
11485 # Fast installation is not supported
11486 enable_fast_install=no
11487 elif test "$shlibpath_overrides_runpath" = yes ||
11488 test "$enable_shared" = no; then
11489 # Fast installation is not necessary
11490 enable_fast_install=needless
11491 fi
11492
11493
11494
11495
11496
11497
11498 if test "x$enable_dlopen" != xyes; then
11499 enable_dlopen=unknown
11500 enable_dlopen_self=unknown
11501 enable_dlopen_self_static=unknown
11502 else
11503 lt_cv_dlopen=no
11504 lt_cv_dlopen_libs=
11505
11506 case $host_os in
11507 beos*)
11508 lt_cv_dlopen="load_add_on"
11509 lt_cv_dlopen_libs=
11510 lt_cv_dlopen_self=yes
11511 ;;
11512
11513 mingw* | pw32* | cegcc*)
11514 lt_cv_dlopen="LoadLibrary"
11515 lt_cv_dlopen_libs=
11516 ;;
11517
11518 cygwin*)
11519 lt_cv_dlopen="dlopen"
11520 lt_cv_dlopen_libs=
11521 ;;
11522
11523 darwin*)
11524 # if libdl is installed we need to link against it
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11526 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11527 if ${ac_cv_lib_dl_dlopen+:} false; then :
11528 $as_echo_n "(cached) " >&6
11529 else
11530 ac_check_lib_save_LIBS=$LIBS
11531 LIBS="-ldl $LIBS"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11534
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char dlopen ();
11542 int
11543 main ()
11544 {
11545 return dlopen ();
11546 ;
11547 return 0;
11548 }
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 ac_cv_lib_dl_dlopen=yes
11552 else
11553 ac_cv_lib_dl_dlopen=no
11554 fi
11555 rm -f core conftest.err conftest.$ac_objext \
11556 conftest$ac_exeext conftest.$ac_ext
11557 LIBS=$ac_check_lib_save_LIBS
11558 fi
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11560 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11561 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11562 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11563 else
11564
11565 lt_cv_dlopen="dyld"
11566 lt_cv_dlopen_libs=
11567 lt_cv_dlopen_self=yes
11568
11569 fi
11570
11571 ;;
11572
11573 *)
11574 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11575 if test "x$ac_cv_func_shl_load" = xyes; then :
11576 lt_cv_dlopen="shl_load"
11577 else
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11579 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11580 if ${ac_cv_lib_dld_shl_load+:} false; then :
11581 $as_echo_n "(cached) " >&6
11582 else
11583 ac_check_lib_save_LIBS=$LIBS
11584 LIBS="-ldld $LIBS"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11587
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11591 #ifdef __cplusplus
11592 extern "C"
11593 #endif
11594 char shl_load ();
11595 int
11596 main ()
11597 {
11598 return shl_load ();
11599 ;
11600 return 0;
11601 }
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"; then :
11604 ac_cv_lib_dld_shl_load=yes
11605 else
11606 ac_cv_lib_dld_shl_load=no
11607 fi
11608 rm -f core conftest.err conftest.$ac_objext \
11609 conftest$ac_exeext conftest.$ac_ext
11610 LIBS=$ac_check_lib_save_LIBS
11611 fi
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11613 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11614 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11615 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11616 else
11617 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11618 if test "x$ac_cv_func_dlopen" = xyes; then :
11619 lt_cv_dlopen="dlopen"
11620 else
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11622 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11623 if ${ac_cv_lib_dl_dlopen+:} false; then :
11624 $as_echo_n "(cached) " >&6
11625 else
11626 ac_check_lib_save_LIBS=$LIBS
11627 LIBS="-ldl $LIBS"
11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11630
11631 /* Override any GCC internal prototype to avoid an error.
11632 Use char because int might match the return type of a GCC
11633 builtin and then its argument prototype would still apply. */
11634 #ifdef __cplusplus
11635 extern "C"
11636 #endif
11637 char dlopen ();
11638 int
11639 main ()
11640 {
11641 return dlopen ();
11642 ;
11643 return 0;
11644 }
11645 _ACEOF
11646 if ac_fn_c_try_link "$LINENO"; then :
11647 ac_cv_lib_dl_dlopen=yes
11648 else
11649 ac_cv_lib_dl_dlopen=no
11650 fi
11651 rm -f core conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_lib_save_LIBS
11654 fi
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11656 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11657 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11658 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11659 else
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11661 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11662 if ${ac_cv_lib_svld_dlopen+:} false; then :
11663 $as_echo_n "(cached) " >&6
11664 else
11665 ac_check_lib_save_LIBS=$LIBS
11666 LIBS="-lsvld $LIBS"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11669
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11673 #ifdef __cplusplus
11674 extern "C"
11675 #endif
11676 char dlopen ();
11677 int
11678 main ()
11679 {
11680 return dlopen ();
11681 ;
11682 return 0;
11683 }
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"; then :
11686 ac_cv_lib_svld_dlopen=yes
11687 else
11688 ac_cv_lib_svld_dlopen=no
11689 fi
11690 rm -f core conftest.err conftest.$ac_objext \
11691 conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_lib_save_LIBS
11693 fi
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11695 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11696 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11697 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11698 else
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11700 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11701 if ${ac_cv_lib_dld_dld_link+:} false; then :
11702 $as_echo_n "(cached) " >&6
11703 else
11704 ac_check_lib_save_LIBS=$LIBS
11705 LIBS="-ldld $LIBS"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11712 #ifdef __cplusplus
11713 extern "C"
11714 #endif
11715 char dld_link ();
11716 int
11717 main ()
11718 {
11719 return dld_link ();
11720 ;
11721 return 0;
11722 }
11723 _ACEOF
11724 if ac_fn_c_try_link "$LINENO"; then :
11725 ac_cv_lib_dld_dld_link=yes
11726 else
11727 ac_cv_lib_dld_dld_link=no
11728 fi
11729 rm -f core conftest.err conftest.$ac_objext \
11730 conftest$ac_exeext conftest.$ac_ext
11731 LIBS=$ac_check_lib_save_LIBS
11732 fi
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11734 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11735 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11736 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11737 fi
11738
11739
11740 fi
11741
11742
11743 fi
11744
11745
11746 fi
11747
11748
11749 fi
11750
11751
11752 fi
11753
11754 ;;
11755 esac
11756
11757 if test "x$lt_cv_dlopen" != xno; then
11758 enable_dlopen=yes
11759 else
11760 enable_dlopen=no
11761 fi
11762
11763 case $lt_cv_dlopen in
11764 dlopen)
11765 save_CPPFLAGS="$CPPFLAGS"
11766 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11767
11768 save_LDFLAGS="$LDFLAGS"
11769 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11770
11771 save_LIBS="$LIBS"
11772 LIBS="$lt_cv_dlopen_libs $LIBS"
11773
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11775 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11776 if ${lt_cv_dlopen_self+:} false; then :
11777 $as_echo_n "(cached) " >&6
11778 else
11779 if test "$cross_compiling" = yes; then :
11780 lt_cv_dlopen_self=cross
11781 else
11782 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11783 lt_status=$lt_dlunknown
11784 cat > conftest.$ac_ext <<_LT_EOF
11785 #line $LINENO "configure"
11786 #include "confdefs.h"
11787
11788 #if HAVE_DLFCN_H
11789 #include <dlfcn.h>
11790 #endif
11791
11792 #include <stdio.h>
11793
11794 #ifdef RTLD_GLOBAL
11795 # define LT_DLGLOBAL RTLD_GLOBAL
11796 #else
11797 # ifdef DL_GLOBAL
11798 # define LT_DLGLOBAL DL_GLOBAL
11799 # else
11800 # define LT_DLGLOBAL 0
11801 # endif
11802 #endif
11803
11804 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11805 find out it does not work in some platform. */
11806 #ifndef LT_DLLAZY_OR_NOW
11807 # ifdef RTLD_LAZY
11808 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11809 # else
11810 # ifdef DL_LAZY
11811 # define LT_DLLAZY_OR_NOW DL_LAZY
11812 # else
11813 # ifdef RTLD_NOW
11814 # define LT_DLLAZY_OR_NOW RTLD_NOW
11815 # else
11816 # ifdef DL_NOW
11817 # define LT_DLLAZY_OR_NOW DL_NOW
11818 # else
11819 # define LT_DLLAZY_OR_NOW 0
11820 # endif
11821 # endif
11822 # endif
11823 # endif
11824 #endif
11825
11826 /* When -fvisbility=hidden is used, assume the code has been annotated
11827 correspondingly for the symbols needed. */
11828 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11829 int fnord () __attribute__((visibility("default")));
11830 #endif
11831
11832 int fnord () { return 42; }
11833 int main ()
11834 {
11835 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11836 int status = $lt_dlunknown;
11837
11838 if (self)
11839 {
11840 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11841 else
11842 {
11843 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11844 else puts (dlerror ());
11845 }
11846 /* dlclose (self); */
11847 }
11848 else
11849 puts (dlerror ());
11850
11851 return status;
11852 }
11853 _LT_EOF
11854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11855 (eval $ac_link) 2>&5
11856 ac_status=$?
11857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11858 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11859 (./conftest; exit; ) >&5 2>/dev/null
11860 lt_status=$?
11861 case x$lt_status in
11862 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11863 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11864 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11865 esac
11866 else :
11867 # compilation failed
11868 lt_cv_dlopen_self=no
11869 fi
11870 fi
11871 rm -fr conftest*
11872
11873
11874 fi
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11876 $as_echo "$lt_cv_dlopen_self" >&6; }
11877
11878 if test "x$lt_cv_dlopen_self" = xyes; then
11879 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11881 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11882 if ${lt_cv_dlopen_self_static+:} false; then :
11883 $as_echo_n "(cached) " >&6
11884 else
11885 if test "$cross_compiling" = yes; then :
11886 lt_cv_dlopen_self_static=cross
11887 else
11888 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11889 lt_status=$lt_dlunknown
11890 cat > conftest.$ac_ext <<_LT_EOF
11891 #line $LINENO "configure"
11892 #include "confdefs.h"
11893
11894 #if HAVE_DLFCN_H
11895 #include <dlfcn.h>
11896 #endif
11897
11898 #include <stdio.h>
11899
11900 #ifdef RTLD_GLOBAL
11901 # define LT_DLGLOBAL RTLD_GLOBAL
11902 #else
11903 # ifdef DL_GLOBAL
11904 # define LT_DLGLOBAL DL_GLOBAL
11905 # else
11906 # define LT_DLGLOBAL 0
11907 # endif
11908 #endif
11909
11910 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11911 find out it does not work in some platform. */
11912 #ifndef LT_DLLAZY_OR_NOW
11913 # ifdef RTLD_LAZY
11914 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11915 # else
11916 # ifdef DL_LAZY
11917 # define LT_DLLAZY_OR_NOW DL_LAZY
11918 # else
11919 # ifdef RTLD_NOW
11920 # define LT_DLLAZY_OR_NOW RTLD_NOW
11921 # else
11922 # ifdef DL_NOW
11923 # define LT_DLLAZY_OR_NOW DL_NOW
11924 # else
11925 # define LT_DLLAZY_OR_NOW 0
11926 # endif
11927 # endif
11928 # endif
11929 # endif
11930 #endif
11931
11932 /* When -fvisbility=hidden is used, assume the code has been annotated
11933 correspondingly for the symbols needed. */
11934 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11935 int fnord () __attribute__((visibility("default")));
11936 #endif
11937
11938 int fnord () { return 42; }
11939 int main ()
11940 {
11941 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11942 int status = $lt_dlunknown;
11943
11944 if (self)
11945 {
11946 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11947 else
11948 {
11949 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11950 else puts (dlerror ());
11951 }
11952 /* dlclose (self); */
11953 }
11954 else
11955 puts (dlerror ());
11956
11957 return status;
11958 }
11959 _LT_EOF
11960 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11961 (eval $ac_link) 2>&5
11962 ac_status=$?
11963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11964 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11965 (./conftest; exit; ) >&5 2>/dev/null
11966 lt_status=$?
11967 case x$lt_status in
11968 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11969 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11970 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11971 esac
11972 else :
11973 # compilation failed
11974 lt_cv_dlopen_self_static=no
11975 fi
11976 fi
11977 rm -fr conftest*
11978
11979
11980 fi
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11982 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11983 fi
11984
11985 CPPFLAGS="$save_CPPFLAGS"
11986 LDFLAGS="$save_LDFLAGS"
11987 LIBS="$save_LIBS"
11988 ;;
11989 esac
11990
11991 case $lt_cv_dlopen_self in
11992 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11993 *) enable_dlopen_self=unknown ;;
11994 esac
11995
11996 case $lt_cv_dlopen_self_static in
11997 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11998 *) enable_dlopen_self_static=unknown ;;
11999 esac
12000 fi
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018 striplib=
12019 old_striplib=
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12021 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12022 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12023 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12024 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12026 $as_echo "yes" >&6; }
12027 else
12028 # FIXME - insert some real tests, host_os isn't really good enough
12029 case $host_os in
12030 darwin*)
12031 if test -n "$STRIP" ; then
12032 striplib="$STRIP -x"
12033 old_striplib="$STRIP -S"
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12035 $as_echo "yes" >&6; }
12036 else
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038 $as_echo "no" >&6; }
12039 fi
12040 ;;
12041 *)
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12043 $as_echo "no" >&6; }
12044 ;;
12045 esac
12046 fi
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059 # Report which library types will actually be built
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12061 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12063 $as_echo "$can_build_shared" >&6; }
12064
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12066 $as_echo_n "checking whether to build shared libraries... " >&6; }
12067 test "$can_build_shared" = "no" && enable_shared=no
12068
12069 # On AIX, shared libraries and static libraries use the same namespace, and
12070 # are all built from PIC.
12071 case $host_os in
12072 aix3*)
12073 test "$enable_shared" = yes && enable_static=no
12074 if test -n "$RANLIB"; then
12075 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12076 postinstall_cmds='$RANLIB $lib'
12077 fi
12078 ;;
12079
12080 aix[4-9]*)
12081 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12082 test "$enable_shared" = yes && enable_static=no
12083 fi
12084 ;;
12085 esac
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12087 $as_echo "$enable_shared" >&6; }
12088
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12090 $as_echo_n "checking whether to build static libraries... " >&6; }
12091 # Make sure either enable_shared or enable_static is yes.
12092 test "$enable_shared" = yes || enable_static=yes
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12094 $as_echo "$enable_static" >&6; }
12095
12096
12097
12098
12099 fi
12100 ac_ext=c
12101 ac_cpp='$CPP $CPPFLAGS'
12102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12105
12106 CC="$lt_save_CC"
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122 ac_config_commands="$ac_config_commands libtool"
12123
12124
12125
12126
12127 # Only expand once:
12128
12129
12130
12131 if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
12132 STATIC="-static"
12133 else
12134 STATIC=
12135 fi
12136
12137
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12139 $as_echo_n "checking for ANSI C header files... " >&6; }
12140 if ${ac_cv_header_stdc+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12145 #include <stdlib.h>
12146 #include <stdarg.h>
12147 #include <string.h>
12148 #include <float.h>
12149
12150 int
12151 main ()
12152 {
12153
12154 ;
12155 return 0;
12156 }
12157 _ACEOF
12158 if ac_fn_c_try_compile "$LINENO"; then :
12159 ac_cv_header_stdc=yes
12160 else
12161 ac_cv_header_stdc=no
12162 fi
12163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12164
12165 if test $ac_cv_header_stdc = yes; then
12166 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12169 #include <string.h>
12170
12171 _ACEOF
12172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12173 $EGREP "memchr" >/dev/null 2>&1; then :
12174
12175 else
12176 ac_cv_header_stdc=no
12177 fi
12178 rm -f conftest*
12179
12180 fi
12181
12182 if test $ac_cv_header_stdc = yes; then
12183 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12186 #include <stdlib.h>
12187
12188 _ACEOF
12189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12190 $EGREP "free" >/dev/null 2>&1; then :
12191
12192 else
12193 ac_cv_header_stdc=no
12194 fi
12195 rm -f conftest*
12196
12197 fi
12198
12199 if test $ac_cv_header_stdc = yes; then
12200 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12201 if test "$cross_compiling" = yes; then :
12202 :
12203 else
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12206 #include <ctype.h>
12207 #include <stdlib.h>
12208 #if ((' ' & 0x0FF) == 0x020)
12209 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12210 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12211 #else
12212 # define ISLOWER(c) \
12213 (('a' <= (c) && (c) <= 'i') \
12214 || ('j' <= (c) && (c) <= 'r') \
12215 || ('s' <= (c) && (c) <= 'z'))
12216 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12217 #endif
12218
12219 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12220 int
12221 main ()
12222 {
12223 int i;
12224 for (i = 0; i < 256; i++)
12225 if (XOR (islower (i), ISLOWER (i))
12226 || toupper (i) != TOUPPER (i))
12227 return 2;
12228 return 0;
12229 }
12230 _ACEOF
12231 if ac_fn_c_try_run "$LINENO"; then :
12232
12233 else
12234 ac_cv_header_stdc=no
12235 fi
12236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12237 conftest.$ac_objext conftest.beam conftest.$ac_ext
12238 fi
12239
12240 fi
12241 fi
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12243 $as_echo "$ac_cv_header_stdc" >&6; }
12244 if test $ac_cv_header_stdc = yes; then
12245
12246 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
12247
12248 fi
12249
12250 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12251 if test "x$ac_cv_header_unistd_h" = xyes; then :
12252
12253 fi
12254
12255
12256 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12257 if test "x$ac_cv_header_string_h" = xyes; then :
12258
12259 fi
12260
12261
12262
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12264 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12265 if ${ac_cv_c_const+:} false; then :
12266 $as_echo_n "(cached) " >&6
12267 else
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12270
12271 int
12272 main ()
12273 {
12274
12275 #ifndef __cplusplus
12276 /* Ultrix mips cc rejects this sort of thing. */
12277 typedef int charset[2];
12278 const charset cs = { 0, 0 };
12279 /* SunOS 4.1.1 cc rejects this. */
12280 char const *const *pcpcc;
12281 char **ppc;
12282 /* NEC SVR4.0.2 mips cc rejects this. */
12283 struct point {int x, y;};
12284 static struct point const zero = {0,0};
12285 /* AIX XL C 1.02.0.0 rejects this.
12286 It does not let you subtract one const X* pointer from another in
12287 an arm of an if-expression whose if-part is not a constant
12288 expression */
12289 const char *g = "string";
12290 pcpcc = &g + (g ? g-g : 0);
12291 /* HPUX 7.0 cc rejects these. */
12292 ++pcpcc;
12293 ppc = (char**) pcpcc;
12294 pcpcc = (char const *const *) ppc;
12295 { /* SCO 3.2v4 cc rejects this sort of thing. */
12296 char tx;
12297 char *t = &tx;
12298 char const *s = 0 ? (char *) 0 : (char const *) 0;
12299
12300 *t++ = 0;
12301 if (s) return 0;
12302 }
12303 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12304 int x[] = {25, 17};
12305 const int *foo = &x[0];
12306 ++foo;
12307 }
12308 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12309 typedef const int *iptr;
12310 iptr p = 0;
12311 ++p;
12312 }
12313 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12314 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12315 struct s { int j; const int *ap[3]; } bx;
12316 struct s *b = &bx; b->j = 5;
12317 }
12318 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12319 const int foo = 10;
12320 if (!foo) return 0;
12321 }
12322 return !cs[0] && !zero.x;
12323 #endif
12324
12325 ;
12326 return 0;
12327 }
12328 _ACEOF
12329 if ac_fn_c_try_compile "$LINENO"; then :
12330 ac_cv_c_const=yes
12331 else
12332 ac_cv_c_const=no
12333 fi
12334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12335 fi
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12337 $as_echo "$ac_cv_c_const" >&6; }
12338 if test $ac_cv_c_const = no; then
12339
12340 $as_echo "@%:@define const /**/" >>confdefs.h
12341
12342 fi
12343
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12345 $as_echo_n "checking for inline... " >&6; }
12346 if ${ac_cv_c_inline+:} false; then :
12347 $as_echo_n "(cached) " >&6
12348 else
12349 ac_cv_c_inline=no
12350 for ac_kw in inline __inline__ __inline; do
12351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352 /* end confdefs.h. */
12353 #ifndef __cplusplus
12354 typedef int foo_t;
12355 static $ac_kw foo_t static_foo () {return 0; }
12356 $ac_kw foo_t foo () {return 0; }
12357 #endif
12358
12359 _ACEOF
12360 if ac_fn_c_try_compile "$LINENO"; then :
12361 ac_cv_c_inline=$ac_kw
12362 fi
12363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12364 test "$ac_cv_c_inline" != no && break
12365 done
12366
12367 fi
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12369 $as_echo "$ac_cv_c_inline" >&6; }
12370
12371 case $ac_cv_c_inline in
12372 inline | yes) ;;
12373 *)
12374 case $ac_cv_c_inline in
12375 no) ac_val=;;
12376 *) ac_val=$ac_cv_c_inline;;
12377 esac
12378 cat >>confdefs.h <<_ACEOF
12379 #ifndef __cplusplus
12380 #define inline $ac_val
12381 #endif
12382 _ACEOF
12383 ;;
12384 esac
12385
12386 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12387 if test "x$ac_cv_type_off_t" = xyes; then :
12388
12389 else
12390
12391 cat >>confdefs.h <<_ACEOF
12392 @%:@define off_t long int
12393 _ACEOF
12394
12395 fi
12396
12397 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12398 if test "x$ac_cv_type_size_t" = xyes; then :
12399
12400 else
12401
12402 cat >>confdefs.h <<_ACEOF
12403 @%:@define size_t unsigned int
12404 _ACEOF
12405
12406 fi
12407
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12409 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12410 if ${ac_cv_c_bigendian+:} false; then :
12411 $as_echo_n "(cached) " >&6
12412 else
12413 ac_cv_c_bigendian=unknown
12414 # See if we're dealing with a universal compiler.
12415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12417 #ifndef __APPLE_CC__
12418 not a universal capable compiler
12419 #endif
12420 typedef int dummy;
12421
12422 _ACEOF
12423 if ac_fn_c_try_compile "$LINENO"; then :
12424
12425 # Check for potential -arch flags. It is not universal unless
12426 # there are at least two -arch flags with different values.
12427 ac_arch=
12428 ac_prev=
12429 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12430 if test -n "$ac_prev"; then
12431 case $ac_word in
12432 i?86 | x86_64 | ppc | ppc64)
12433 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12434 ac_arch=$ac_word
12435 else
12436 ac_cv_c_bigendian=universal
12437 break
12438 fi
12439 ;;
12440 esac
12441 ac_prev=
12442 elif test "x$ac_word" = "x-arch"; then
12443 ac_prev=arch
12444 fi
12445 done
12446 fi
12447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12448 if test $ac_cv_c_bigendian = unknown; then
12449 # See if sys/param.h defines the BYTE_ORDER macro.
12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12452 #include <sys/types.h>
12453 #include <sys/param.h>
12454
12455 int
12456 main ()
12457 {
12458 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12459 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12460 && LITTLE_ENDIAN)
12461 bogus endian macros
12462 #endif
12463
12464 ;
12465 return 0;
12466 }
12467 _ACEOF
12468 if ac_fn_c_try_compile "$LINENO"; then :
12469 # It does; now see whether it defined to BIG_ENDIAN or not.
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12472 #include <sys/types.h>
12473 #include <sys/param.h>
12474
12475 int
12476 main ()
12477 {
12478 #if BYTE_ORDER != BIG_ENDIAN
12479 not big endian
12480 #endif
12481
12482 ;
12483 return 0;
12484 }
12485 _ACEOF
12486 if ac_fn_c_try_compile "$LINENO"; then :
12487 ac_cv_c_bigendian=yes
12488 else
12489 ac_cv_c_bigendian=no
12490 fi
12491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12492 fi
12493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12494 fi
12495 if test $ac_cv_c_bigendian = unknown; then
12496 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12499 #include <limits.h>
12500
12501 int
12502 main ()
12503 {
12504 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12505 bogus endian macros
12506 #endif
12507
12508 ;
12509 return 0;
12510 }
12511 _ACEOF
12512 if ac_fn_c_try_compile "$LINENO"; then :
12513 # It does; now see whether it defined to _BIG_ENDIAN or not.
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12516 #include <limits.h>
12517
12518 int
12519 main ()
12520 {
12521 #ifndef _BIG_ENDIAN
12522 not big endian
12523 #endif
12524
12525 ;
12526 return 0;
12527 }
12528 _ACEOF
12529 if ac_fn_c_try_compile "$LINENO"; then :
12530 ac_cv_c_bigendian=yes
12531 else
12532 ac_cv_c_bigendian=no
12533 fi
12534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12535 fi
12536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12537 fi
12538 if test $ac_cv_c_bigendian = unknown; then
12539 # Compile a test program.
12540 if test "$cross_compiling" = yes; then :
12541 # Try to guess by grepping values from an object file.
12542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12544 short int ascii_mm[] =
12545 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12546 short int ascii_ii[] =
12547 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12548 int use_ascii (int i) {
12549 return ascii_mm[i] + ascii_ii[i];
12550 }
12551 short int ebcdic_ii[] =
12552 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12553 short int ebcdic_mm[] =
12554 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12555 int use_ebcdic (int i) {
12556 return ebcdic_mm[i] + ebcdic_ii[i];
12557 }
12558 extern int foo;
12559
12560 int
12561 main ()
12562 {
12563 return use_ascii (foo) == use_ebcdic (foo);
12564 ;
12565 return 0;
12566 }
12567 _ACEOF
12568 if ac_fn_c_try_compile "$LINENO"; then :
12569 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12570 ac_cv_c_bigendian=yes
12571 fi
12572 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12573 if test "$ac_cv_c_bigendian" = unknown; then
12574 ac_cv_c_bigendian=no
12575 else
12576 # finding both strings is unlikely to happen, but who knows?
12577 ac_cv_c_bigendian=unknown
12578 fi
12579 fi
12580 fi
12581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12582 else
12583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12584 /* end confdefs.h. */
12585 $ac_includes_default
12586 int
12587 main ()
12588 {
12589
12590 /* Are we little or big endian? From Harbison&Steele. */
12591 union
12592 {
12593 long int l;
12594 char c[sizeof (long int)];
12595 } u;
12596 u.l = 1;
12597 return u.c[sizeof (long int) - 1] == 1;
12598
12599 ;
12600 return 0;
12601 }
12602 _ACEOF
12603 if ac_fn_c_try_run "$LINENO"; then :
12604 ac_cv_c_bigendian=no
12605 else
12606 ac_cv_c_bigendian=yes
12607 fi
12608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12609 conftest.$ac_objext conftest.beam conftest.$ac_ext
12610 fi
12611
12612 fi
12613 fi
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12615 $as_echo "$ac_cv_c_bigendian" >&6; }
12616 case $ac_cv_c_bigendian in #(
12617 yes)
12618 $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
12619 ;; #(
12620 no)
12621 ;; #(
12622 universal)
12623
12624 $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12625
12626 ;; #(
12627 *)
12628 as_fn_error $? "unknown endianness
12629 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12630 esac
12631
12632
12633 case $host in
12634 *mingw32* | *cygwin*)
12635 for ac_func in gettimeofday
12636 do :
12637 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
12638 if test "x$ac_cv_func_gettimeofday" = xyes; then :
12639 cat >>confdefs.h <<_ACEOF
12640 @%:@define HAVE_GETTIMEOFDAY 1
12641 _ACEOF
12642
12643 fi
12644 done
12645
12646 ;;
12647 *)
12648 ;;
12649 esac
12650
12651 @%:@ Check whether --enable-libdvdcss was given.
12652 if test "${enable_libdvdcss+set}" = set; then :
12653 enableval=$enable_libdvdcss;
12654 fi
12655
12656
12657 @%:@ Check whether --enable-dlfcn was given.
12658 if test "${enable_dlfcn+set}" = set; then :
12659 enableval=$enable_dlfcn; use_builtin_dlfcn=$enableval
12660 else
12661 use_builtin_dlfcn=no
12662 fi
12663
12664
12665 if [ $use_builtin_dlfcn = "yes" ]; then
12666
12667 $as_echo "@%:@define USING_BUILTIN_DLFCN 1" >>confdefs.h
12668
12669 fi
12670
12671 CSS_LIBS=""
12672 if test x"$enable_libdvdcss" != xyes; then
12673 case $host in
12674 *mingw32*)
12675 if [ $use_builtin_dlfcn = "no" ]; then
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
12677 $as_echo_n "checking for dlopen in -lc... " >&6; }
12678 if ${ac_cv_lib_c_dlopen+:} false; then :
12679 $as_echo_n "(cached) " >&6
12680 else
12681 ac_check_lib_save_LIBS=$LIBS
12682 LIBS="-lc $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12685
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 char dlopen ();
12693 int
12694 main ()
12695 {
12696 return dlopen ();
12697 ;
12698 return 0;
12699 }
12700 _ACEOF
12701 if ac_fn_c_try_link "$LINENO"; then :
12702 ac_cv_lib_c_dlopen=yes
12703 else
12704 ac_cv_lib_c_dlopen=no
12705 fi
12706 rm -f core conftest.err conftest.$ac_objext \
12707 conftest$ac_exeext conftest.$ac_ext
12708 LIBS=$ac_check_lib_save_LIBS
12709 fi
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
12711 $as_echo "$ac_cv_lib_c_dlopen" >&6; }
12712 if test "x$ac_cv_lib_c_dlopen" = xyes; then :
12713 DYNAMIC_LD_LIBS=""
12714 else
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12716 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12717 if ${ac_cv_lib_dl_dlopen+:} false; then :
12718 $as_echo_n "(cached) " >&6
12719 else
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-ldl $LIBS"
12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12723 /* end confdefs.h. */
12724
12725 /* Override any GCC internal prototype to avoid an error.
12726 Use char because int might match the return type of a GCC
12727 builtin and then its argument prototype would still apply. */
12728 #ifdef __cplusplus
12729 extern "C"
12730 #endif
12731 char dlopen ();
12732 int
12733 main ()
12734 {
12735 return dlopen ();
12736 ;
12737 return 0;
12738 }
12739 _ACEOF
12740 if ac_fn_c_try_link "$LINENO"; then :
12741 ac_cv_lib_dl_dlopen=yes
12742 else
12743 ac_cv_lib_dl_dlopen=no
12744 fi
12745 rm -f core conftest.err conftest.$ac_objext \
12746 conftest$ac_exeext conftest.$ac_ext
12747 LIBS=$ac_check_lib_save_LIBS
12748 fi
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12750 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12751 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12752 DYNAMIC_LD_LIBS="-ldl"
12753 else
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using builtin dlopen" >&5
12755 $as_echo "$as_me: WARNING: Using builtin dlopen" >&2;}
12756 fi
12757
12758 fi
12759
12760
12761 fi
12762 LDFLAGS="-no-undefined $LDFLAGS"
12763 ;;
12764 *cygwin*)
12765 LDFLAGS="-no-undefined $LDFLAGS"
12766 ;;
12767 *os2*)
12768 LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
12769 ;;
12770 *)
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
12772 $as_echo_n "checking for dlopen in -lc... " >&6; }
12773 if ${ac_cv_lib_c_dlopen+:} false; then :
12774 $as_echo_n "(cached) " >&6
12775 else
12776 ac_check_lib_save_LIBS=$LIBS
12777 LIBS="-lc $LIBS"
12778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12779 /* end confdefs.h. */
12780
12781 /* Override any GCC internal prototype to avoid an error.
12782 Use char because int might match the return type of a GCC
12783 builtin and then its argument prototype would still apply. */
12784 #ifdef __cplusplus
12785 extern "C"
12786 #endif
12787 char dlopen ();
12788 int
12789 main ()
12790 {
12791 return dlopen ();
12792 ;
12793 return 0;
12794 }
12795 _ACEOF
12796 if ac_fn_c_try_link "$LINENO"; then :
12797 ac_cv_lib_c_dlopen=yes
12798 else
12799 ac_cv_lib_c_dlopen=no
12800 fi
12801 rm -f core conftest.err conftest.$ac_objext \
12802 conftest$ac_exeext conftest.$ac_ext
12803 LIBS=$ac_check_lib_save_LIBS
12804 fi
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
12806 $as_echo "$ac_cv_lib_c_dlopen" >&6; }
12807 if test "x$ac_cv_lib_c_dlopen" = xyes; then :
12808 DYNAMIC_LD_LIBS=""
12809 else
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12811 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12812 if ${ac_cv_lib_dl_dlopen+:} false; then :
12813 $as_echo_n "(cached) " >&6
12814 else
12815 ac_check_lib_save_LIBS=$LIBS
12816 LIBS="-ldl $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12819
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12823 #ifdef __cplusplus
12824 extern "C"
12825 #endif
12826 char dlopen ();
12827 int
12828 main ()
12829 {
12830 return dlopen ();
12831 ;
12832 return 0;
12833 }
12834 _ACEOF
12835 if ac_fn_c_try_link "$LINENO"; then :
12836 ac_cv_lib_dl_dlopen=yes
12837 else
12838 ac_cv_lib_dl_dlopen=no
12839 fi
12840 rm -f core conftest.err conftest.$ac_objext \
12841 conftest$ac_exeext conftest.$ac_ext
12842 LIBS=$ac_check_lib_save_LIBS
12843 fi
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12845 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12846 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12847 DYNAMIC_LD_LIBS="-ldl"
12848 else
12849 as_fn_error $? "dynamic linker needed" "$LINENO" 5
12850 fi
12851
12852 fi
12853
12854
12855 ;;
12856 esac
12857 else
12858 CSS_LIBS=-ldvdcss
12859 case "${host}" in
12860 *darwin*) CSS_LIBS="${CSS_LIBS} -Wl,-framework,CoreFoundation -Wl,-framework,IOKit"
12861 ;;
12862 esac
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dvdcss_interface_2 in -ldvdcss" >&5
12864 $as_echo_n "checking for dvdcss_interface_2 in -ldvdcss... " >&6; }
12865 if ${ac_cv_lib_dvdcss_dvdcss_interface_2+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 ac_check_lib_save_LIBS=$LIBS
12869 LIBS="-ldvdcss $LIBS"
12870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12871 /* end confdefs.h. */
12872
12873 /* Override any GCC internal prototype to avoid an error.
12874 Use char because int might match the return type of a GCC
12875 builtin and then its argument prototype would still apply. */
12876 #ifdef __cplusplus
12877 extern "C"
12878 #endif
12879 char dvdcss_interface_2 ();
12880 int
12881 main ()
12882 {
12883 return dvdcss_interface_2 ();
12884 ;
12885 return 0;
12886 }
12887 _ACEOF
12888 if ac_fn_c_try_link "$LINENO"; then :
12889 ac_cv_lib_dvdcss_dvdcss_interface_2=yes
12890 else
12891 ac_cv_lib_dvdcss_dvdcss_interface_2=no
12892 fi
12893 rm -f core conftest.err conftest.$ac_objext \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_lib_save_LIBS
12896 fi
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dvdcss_dvdcss_interface_2" >&5
12898 $as_echo "$ac_cv_lib_dvdcss_dvdcss_interface_2" >&6; }
12899 if test "x$ac_cv_lib_dvdcss_dvdcss_interface_2" = xyes; then :
12900 cat >>confdefs.h <<_ACEOF
12901 @%:@define HAVE_LIBDVDCSS 1
12902 _ACEOF
12903
12904 LIBS="-ldvdcss $LIBS"
12905
12906 else
12907 as_fn_error $? "You need libdvdcss.so.2 or later" "$LINENO" 5
12908 fi
12909
12910 for ac_header in dvdcss/dvdcss.h
12911 do :
12912 ac_fn_c_check_header_mongrel "$LINENO" "dvdcss/dvdcss.h" "ac_cv_header_dvdcss_dvdcss_h" "$ac_includes_default"
12913 if test "x$ac_cv_header_dvdcss_dvdcss_h" = xyes; then :
12914 cat >>confdefs.h <<_ACEOF
12915 @%:@define HAVE_DVDCSS_DVDCSS_H 1
12916 _ACEOF
12917
12918 else
12919 as_fn_error $? "You need libdvdcss (dvdcss.h)" "$LINENO" 5
12920 fi
12921
12922 done
12923
12924 fi
12925
12926
12927
12928
12929 CFLAGS="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $CFLAGS"
12930 DEBUG_CFLAGS="-g -DDEBUG $CFLAGS"
12931
12932
12933
12934 # Extract the first word of "doxygen", so it can be a program name with args.
12935 set dummy doxygen; ac_word=$2
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12937 $as_echo_n "checking for $ac_word... " >&6; }
12938 if ${ac_cv_prog_DOXYGEN+:} false; then :
12939 $as_echo_n "(cached) " >&6
12940 else
12941 if test -n "$DOXYGEN"; then
12942 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
12943 else
12944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12945 for as_dir in $PATH
12946 do
12947 IFS=$as_save_IFS
12948 test -z "$as_dir" && as_dir=.
12949 for ac_exec_ext in '' $ac_executable_extensions; do
12950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12951 ac_cv_prog_DOXYGEN="doxygen"
12952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12953 break 2
12954 fi
12955 done
12956 done
12957 IFS=$as_save_IFS
12958
12959 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
12960 fi
12961 fi
12962 DOXYGEN=$ac_cv_prog_DOXYGEN
12963 if test -n "$DOXYGEN"; then
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
12965 $as_echo "$DOXYGEN" >&6; }
12966 else
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12968 $as_echo "no" >&6; }
12969 fi
12970
12971
12972
12973 INCLUDES='-I$(top_srcdir) $(DVDREAD_CFLAGS)'
12974
12975
12976 ac_config_files="$ac_config_files Makefile src/Makefile misc/Makefile misc/dvdread-config misc/dvdread.pc misc/libdvdread.spec misc/relchk.sh m4/Makefile"
12977
12978 cat >confcache <<\_ACEOF
12979 # This file is a shell script that caches the results of configure
12980 # tests run on this system so they can be shared between configure
12981 # scripts and configure runs, see configure's option --config-cache.
12982 # It is not useful on other systems. If it contains results you don't
12983 # want to keep, you may remove or edit it.
12984 #
12985 # config.status only pays attention to the cache file if you give it
12986 # the --recheck option to rerun configure.
12987 #
12988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12990 # following values.
12991
12992 _ACEOF
12993
12994 # The following way of writing the cache mishandles newlines in values,
12995 # but we know of no workaround that is simple, portable, and efficient.
12996 # So, we kill variables containing newlines.
12997 # Ultrix sh set writes to stderr and can't be redirected directly,
12998 # and sets the high bit in the cache file unless we assign to the vars.
12999 (
13000 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13001 eval ac_val=\$$ac_var
13002 case $ac_val in #(
13003 *${as_nl}*)
13004 case $ac_var in #(
13005 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13007 esac
13008 case $ac_var in #(
13009 _ | IFS | as_nl) ;; #(
13010 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13011 *) { eval $ac_var=; unset $ac_var;} ;;
13012 esac ;;
13013 esac
13014 done
13015
13016 (set) 2>&1 |
13017 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13018 *${as_nl}ac_space=\ *)
13019 # `set' does not quote correctly, so add quotes: double-quote
13020 # substitution turns \\\\ into \\, and sed turns \\ into \.
13021 sed -n \
13022 "s/'/'\\\\''/g;
13023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13024 ;; #(
13025 *)
13026 # `set' quotes correctly as required by POSIX, so do not add quotes.
13027 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13028 ;;
13029 esac |
13030 sort
13031 ) |
13032 sed '
13033 /^ac_cv_env_/b end
13034 t clear
13035 :clear
13036 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13037 t end
13038 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13039 :end' >>confcache
13040 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13041 if test -w "$cache_file"; then
13042 if test "x$cache_file" != "x/dev/null"; then
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13044 $as_echo "$as_me: updating cache $cache_file" >&6;}
13045 if test ! -f "$cache_file" || test -h "$cache_file"; then
13046 cat confcache >"$cache_file"
13047 else
13048 case $cache_file in #(
13049 */* | ?:*)
13050 mv -f confcache "$cache_file"$$ &&
13051 mv -f "$cache_file"$$ "$cache_file" ;; #(
13052 *)
13053 mv -f confcache "$cache_file" ;;
13054 esac
13055 fi
13056 fi
13057 else
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13059 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13060 fi
13061 fi
13062 rm -f confcache
13063
13064 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13065 # Let make expand exec_prefix.
13066 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13067
13068 DEFS=-DHAVE_CONFIG_H
13069
13070 ac_libobjs=
13071 ac_ltlibobjs=
13072 U=
13073 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
13074 # 1. Remove the extension, and $U if already installed.
13075 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13076 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13077 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13078 # will be set to the directory where LIBOBJS objects are built.
13079 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13080 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13081 done
13082 LIB@&t@OBJS=$ac_libobjs
13083
13084 LTLIBOBJS=$ac_ltlibobjs
13085
13086
13087 if test -n "$EXEEXT"; then
13088 am__EXEEXT_TRUE=
13089 am__EXEEXT_FALSE='#'
13090 else
13091 am__EXEEXT_TRUE='#'
13092 am__EXEEXT_FALSE=
13093 fi
13094
13095 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13096 as_fn_error $? "conditional \"AMDEP\" was never defined.
13097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13098 fi
13099 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13100 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13102 fi
13103 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13104 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13106 fi
13107
13108
13109 : "${CONFIG_STATUS=./config.status}"
13110 ac_write_fail=0
13111 ac_clean_files_save=$ac_clean_files
13112 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13114 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13115 as_write_fail=0
13116 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13117 #! $SHELL
13118 # Generated by $as_me.
13119 # Run this file to recreate the current configuration.
13120 # Compiler output produced by configure, useful for debugging
13121 # configure, is in config.log if it exists.
13122
13123 debug=false
13124 ac_cs_recheck=false
13125 ac_cs_silent=false
13126
13127 SHELL=\${CONFIG_SHELL-$SHELL}
13128 export SHELL
13129 _ASEOF
13130 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13131 ## -------------------- ##
13132 ## M4sh Initialization. ##
13133 ## -------------------- ##
13134
13135 # Be more Bourne compatible
13136 DUALCASE=1; export DUALCASE # for MKS sh
13137 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13138 emulate sh
13139 NULLCMD=:
13140 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13141 # is contrary to our usage. Disable this feature.
13142 alias -g '${1+"$@"}'='"$@"'
13143 setopt NO_GLOB_SUBST
13144 else
13145 case `(set -o) 2>/dev/null` in @%:@(
13146 *posix*) :
13147 set -o posix ;; @%:@(
13148 *) :
13149 ;;
13150 esac
13151 fi
13152
13153
13154 as_nl='
13155 '
13156 export as_nl
13157 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13158 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13159 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13160 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13161 # Prefer a ksh shell builtin over an external printf program on Solaris,
13162 # but without wasting forks for bash or zsh.
13163 if test -z "$BASH_VERSION$ZSH_VERSION" \
13164 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13165 as_echo='print -r --'
13166 as_echo_n='print -rn --'
13167 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13168 as_echo='printf %s\n'
13169 as_echo_n='printf %s'
13170 else
13171 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13172 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13173 as_echo_n='/usr/ucb/echo -n'
13174 else
13175 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13176 as_echo_n_body='eval
13177 arg=$1;
13178 case $arg in @%:@(
13179 *"$as_nl"*)
13180 expr "X$arg" : "X\\(.*\\)$as_nl";
13181 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13182 esac;
13183 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13184 '
13185 export as_echo_n_body
13186 as_echo_n='sh -c $as_echo_n_body as_echo'
13187 fi
13188 export as_echo_body
13189 as_echo='sh -c $as_echo_body as_echo'
13190 fi
13191
13192 # The user is always right.
13193 if test "${PATH_SEPARATOR+set}" != set; then
13194 PATH_SEPARATOR=:
13195 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13196 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13197 PATH_SEPARATOR=';'
13198 }
13199 fi
13200
13201
13202 # IFS
13203 # We need space, tab and new line, in precisely that order. Quoting is
13204 # there to prevent editors from complaining about space-tab.
13205 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13206 # splitting by setting IFS to empty value.)
13207 IFS=" "" $as_nl"
13208
13209 # Find who we are. Look in the path if we contain no directory separator.
13210 as_myself=
13211 case $0 in @%:@((
13212 *[\\/]* ) as_myself=$0 ;;
13213 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13214 for as_dir in $PATH
13215 do
13216 IFS=$as_save_IFS
13217 test -z "$as_dir" && as_dir=.
13218 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13219 done
13220 IFS=$as_save_IFS
13221
13222 ;;
13223 esac
13224 # We did not find ourselves, most probably we were run as `sh COMMAND'
13225 # in which case we are not to be found in the path.
13226 if test "x$as_myself" = x; then
13227 as_myself=$0
13228 fi
13229 if test ! -f "$as_myself"; then
13230 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13231 exit 1
13232 fi
13233
13234 # Unset variables that we do not need and which cause bugs (e.g. in
13235 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13236 # suppresses any "Segmentation fault" message there. '((' could
13237 # trigger a bug in pdksh 5.2.14.
13238 for as_var in BASH_ENV ENV MAIL MAILPATH
13239 do eval test x\${$as_var+set} = xset \
13240 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13241 done
13242 PS1='$ '
13243 PS2='> '
13244 PS4='+ '
13245
13246 # NLS nuisances.
13247 LC_ALL=C
13248 export LC_ALL
13249 LANGUAGE=C
13250 export LANGUAGE
13251
13252 # CDPATH.
13253 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13254
13255
13256 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
13257 @%:@ ----------------------------------------
13258 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13259 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13260 @%:@ script with STATUS, using 1 if that was 0.
13261 as_fn_error ()
13262 {
13263 as_status=$1; test $as_status -eq 0 && as_status=1
13264 if test "$4"; then
13265 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13266 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13267 fi
13268 $as_echo "$as_me: error: $2" >&2
13269 as_fn_exit $as_status
13270 } @%:@ as_fn_error
13271
13272
13273 @%:@ as_fn_set_status STATUS
13274 @%:@ -----------------------
13275 @%:@ Set @S|@? to STATUS, without forking.
13276 as_fn_set_status ()
13277 {
13278 return $1
13279 } @%:@ as_fn_set_status
13280
13281 @%:@ as_fn_exit STATUS
13282 @%:@ -----------------
13283 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13284 as_fn_exit ()
13285 {
13286 set +e
13287 as_fn_set_status $1
13288 exit $1
13289 } @%:@ as_fn_exit
13290
13291 @%:@ as_fn_unset VAR
13292 @%:@ ---------------
13293 @%:@ Portably unset VAR.
13294 as_fn_unset ()
13295 {
13296 { eval $1=; unset $1;}
13297 }
13298 as_unset=as_fn_unset
13299 @%:@ as_fn_append VAR VALUE
13300 @%:@ ----------------------
13301 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
13302 @%:@ advantage of any shell optimizations that allow amortized linear growth over
13303 @%:@ repeated appends, instead of the typical quadratic growth present in naive
13304 @%:@ implementations.
13305 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13306 eval 'as_fn_append ()
13307 {
13308 eval $1+=\$2
13309 }'
13310 else
13311 as_fn_append ()
13312 {
13313 eval $1=\$$1\$2
13314 }
13315 fi # as_fn_append
13316
13317 @%:@ as_fn_arith ARG...
13318 @%:@ ------------------
13319 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
13320 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
13321 @%:@ must be portable across @S|@(()) and expr.
13322 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13323 eval 'as_fn_arith ()
13324 {
13325 as_val=$(( $* ))
13326 }'
13327 else
13328 as_fn_arith ()
13329 {
13330 as_val=`expr "$@" || test $? -eq 1`
13331 }
13332 fi # as_fn_arith
13333
13334
13335 if expr a : '\(a\)' >/dev/null 2>&1 &&
13336 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13337 as_expr=expr
13338 else
13339 as_expr=false
13340 fi
13341
13342 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13343 as_basename=basename
13344 else
13345 as_basename=false
13346 fi
13347
13348 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13349 as_dirname=dirname
13350 else
13351 as_dirname=false
13352 fi
13353
13354 as_me=`$as_basename -- "$0" ||
13355 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13356 X"$0" : 'X\(//\)$' \| \
13357 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13358 $as_echo X/"$0" |
13359 sed '/^.*\/\([^/][^/]*\)\/*$/{
13360 s//\1/
13361 q
13362 }
13363 /^X\/\(\/\/\)$/{
13364 s//\1/
13365 q
13366 }
13367 /^X\/\(\/\).*/{
13368 s//\1/
13369 q
13370 }
13371 s/.*/./; q'`
13372
13373 # Avoid depending upon Character Ranges.
13374 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13375 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13376 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13377 as_cr_digits='0123456789'
13378 as_cr_alnum=$as_cr_Letters$as_cr_digits
13379
13380 ECHO_C= ECHO_N= ECHO_T=
13381 case `echo -n x` in @%:@(((((
13382 -n*)
13383 case `echo 'xy\c'` in
13384 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13385 xy) ECHO_C='\c';;
13386 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13387 ECHO_T=' ';;
13388 esac;;
13389 *)
13390 ECHO_N='-n';;
13391 esac
13392
13393 rm -f conf$$ conf$$.exe conf$$.file
13394 if test -d conf$$.dir; then
13395 rm -f conf$$.dir/conf$$.file
13396 else
13397 rm -f conf$$.dir
13398 mkdir conf$$.dir 2>/dev/null
13399 fi
13400 if (echo >conf$$.file) 2>/dev/null; then
13401 if ln -s conf$$.file conf$$ 2>/dev/null; then
13402 as_ln_s='ln -s'
13403 # ... but there are two gotchas:
13404 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13405 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13406 # In both cases, we have to default to `cp -pR'.
13407 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13408 as_ln_s='cp -pR'
13409 elif ln conf$$.file conf$$ 2>/dev/null; then
13410 as_ln_s=ln
13411 else
13412 as_ln_s='cp -pR'
13413 fi
13414 else
13415 as_ln_s='cp -pR'
13416 fi
13417 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13418 rmdir conf$$.dir 2>/dev/null
13419
13420
13421 @%:@ as_fn_mkdir_p
13422 @%:@ -------------
13423 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
13424 as_fn_mkdir_p ()
13425 {
13426
13427 case $as_dir in #(
13428 -*) as_dir=./$as_dir;;
13429 esac
13430 test -d "$as_dir" || eval $as_mkdir_p || {
13431 as_dirs=
13432 while :; do
13433 case $as_dir in #(
13434 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13435 *) as_qdir=$as_dir;;
13436 esac
13437 as_dirs="'$as_qdir' $as_dirs"
13438 as_dir=`$as_dirname -- "$as_dir" ||
13439 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13440 X"$as_dir" : 'X\(//\)[^/]' \| \
13441 X"$as_dir" : 'X\(//\)$' \| \
13442 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13443 $as_echo X"$as_dir" |
13444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13445 s//\1/
13446 q
13447 }
13448 /^X\(\/\/\)[^/].*/{
13449 s//\1/
13450 q
13451 }
13452 /^X\(\/\/\)$/{
13453 s//\1/
13454 q
13455 }
13456 /^X\(\/\).*/{
13457 s//\1/
13458 q
13459 }
13460 s/.*/./; q'`
13461 test -d "$as_dir" && break
13462 done
13463 test -z "$as_dirs" || eval "mkdir $as_dirs"
13464 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13465
13466
13467 } @%:@ as_fn_mkdir_p
13468 if mkdir -p . 2>/dev/null; then
13469 as_mkdir_p='mkdir -p "$as_dir"'
13470 else
13471 test -d ./-p && rmdir ./-p
13472 as_mkdir_p=false
13473 fi
13474
13475
13476 @%:@ as_fn_executable_p FILE
13477 @%:@ -----------------------
13478 @%:@ Test if FILE is an executable regular file.
13479 as_fn_executable_p ()
13480 {
13481 test -f "$1" && test -x "$1"
13482 } @%:@ as_fn_executable_p
13483 as_test_x='test -x'
13484 as_executable_p=as_fn_executable_p
13485
13486 # Sed expression to map a string onto a valid CPP name.
13487 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13488
13489 # Sed expression to map a string onto a valid variable name.
13490 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13491
13492
13493 exec 6>&1
13494 ## ----------------------------------- ##
13495 ## Main body of $CONFIG_STATUS script. ##
13496 ## ----------------------------------- ##
13497 _ASEOF
13498 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13499
13500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13501 # Save the log message, to keep $0 and so on meaningful, and to
13502 # report actual input values of CONFIG_FILES etc. instead of their
13503 # values after options handling.
13504 ac_log="
13505 This file was extended by libdvdread $as_me 4.2.0, which was
13506 generated by GNU Autoconf 2.69. Invocation command line was
13507
13508 CONFIG_FILES = $CONFIG_FILES
13509 CONFIG_HEADERS = $CONFIG_HEADERS
13510 CONFIG_LINKS = $CONFIG_LINKS
13511 CONFIG_COMMANDS = $CONFIG_COMMANDS
13512 $ $0 $@
13513
13514 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13515 "
13516
13517 _ACEOF
13518
13519 case $ac_config_files in *"
13520 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13521 esac
13522
13523 case $ac_config_headers in *"
13524 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13525 esac
13526
13527
13528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13529 # Files that config.status was made for.
13530 config_files="$ac_config_files"
13531 config_headers="$ac_config_headers"
13532 config_commands="$ac_config_commands"
13533
13534 _ACEOF
13535
13536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13537 ac_cs_usage="\
13538 \`$as_me' instantiates files and other configuration actions
13539 from templates according to the current configuration. Unless the files
13540 and actions are specified as TAGs, all are instantiated by default.
13541
13542 Usage: $0 [OPTION]... [TAG]...
13543
13544 -h, --help print this help, then exit
13545 -V, --version print version number and configuration settings, then exit
13546 --config print configuration, then exit
13547 -q, --quiet, --silent
13548 do not print progress messages
13549 -d, --debug don't remove temporary files
13550 --recheck update $as_me by reconfiguring in the same conditions
13551 --file=FILE[:TEMPLATE]
13552 instantiate the configuration file FILE
13553 --header=FILE[:TEMPLATE]
13554 instantiate the configuration header FILE
13555
13556 Configuration files:
13557 $config_files
13558
13559 Configuration headers:
13560 $config_headers
13561
13562 Configuration commands:
13563 $config_commands
13564
13565 Report bugs to the package provider."
13566
13567 _ACEOF
13568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13569 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13570 ac_cs_version="\\
13571 libdvdread config.status 4.2.0
13572 configured by $0, generated by GNU Autoconf 2.69,
13573 with options \\"\$ac_cs_config\\"
13574
13575 Copyright (C) 2012 Free Software Foundation, Inc.
13576 This config.status script is free software; the Free Software Foundation
13577 gives unlimited permission to copy, distribute and modify it."
13578
13579 ac_pwd='$ac_pwd'
13580 srcdir='$srcdir'
13581 INSTALL='$INSTALL'
13582 MKDIR_P='$MKDIR_P'
13583 AWK='$AWK'
13584 test -n "\$AWK" || AWK=awk
13585 _ACEOF
13586
13587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13588 # The default lists apply if the user does not specify any file.
13589 ac_need_defaults=:
13590 while test $# != 0
13591 do
13592 case $1 in
13593 --*=?*)
13594 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13595 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13596 ac_shift=:
13597 ;;
13598 --*=)
13599 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13600 ac_optarg=
13601 ac_shift=:
13602 ;;
13603 *)
13604 ac_option=$1
13605 ac_optarg=$2
13606 ac_shift=shift
13607 ;;
13608 esac
13609
13610 case $ac_option in
13611 # Handling of the options.
13612 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13613 ac_cs_recheck=: ;;
13614 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13615 $as_echo "$ac_cs_version"; exit ;;
13616 --config | --confi | --conf | --con | --co | --c )
13617 $as_echo "$ac_cs_config"; exit ;;
13618 --debug | --debu | --deb | --de | --d | -d )
13619 debug=: ;;
13620 --file | --fil | --fi | --f )
13621 $ac_shift
13622 case $ac_optarg in
13623 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13624 '') as_fn_error $? "missing file argument" ;;
13625 esac
13626 as_fn_append CONFIG_FILES " '$ac_optarg'"
13627 ac_need_defaults=false;;
13628 --header | --heade | --head | --hea )
13629 $ac_shift
13630 case $ac_optarg in
13631 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13632 esac
13633 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13634 ac_need_defaults=false;;
13635 --he | --h)
13636 # Conflict between --help and --header
13637 as_fn_error $? "ambiguous option: \`$1'
13638 Try \`$0 --help' for more information.";;
13639 --help | --hel | -h )
13640 $as_echo "$ac_cs_usage"; exit ;;
13641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13642 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13643 ac_cs_silent=: ;;
13644
13645 # This is an error.
13646 -*) as_fn_error $? "unrecognized option: \`$1'
13647 Try \`$0 --help' for more information." ;;
13648
13649 *) as_fn_append ac_config_targets " $1"
13650 ac_need_defaults=false ;;
13651
13652 esac
13653 shift
13654 done
13655
13656 ac_configure_extra_args=
13657
13658 if $ac_cs_silent; then
13659 exec 6>/dev/null
13660 ac_configure_extra_args="$ac_configure_extra_args --silent"
13661 fi
13662
13663 _ACEOF
13664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13665 if \$ac_cs_recheck; then
13666 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13667 shift
13668 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13669 CONFIG_SHELL='$SHELL'
13670 export CONFIG_SHELL
13671 exec "\$@"
13672 fi
13673
13674 _ACEOF
13675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13676 exec 5>>config.log
13677 {
13678 echo
13679 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
13680 @%:@@%:@ Running $as_me. @%:@@%:@
13681 _ASBOX
13682 $as_echo "$ac_log"
13683 } >&5
13684
13685 _ACEOF
13686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13687 #
13688 # INIT-COMMANDS
13689 #
13690 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13691
13692
13693 # The HP-UX ksh and POSIX shell print the target directory to stdout
13694 # if CDPATH is set.
13695 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13696
13697 sed_quote_subst='$sed_quote_subst'
13698 double_quote_subst='$double_quote_subst'
13699 delay_variable_subst='$delay_variable_subst'
13700 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13701 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13702 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13703 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13704 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13705 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13706 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13707 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13708 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13709 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13710 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13711 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13712 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13713 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13714 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13715 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13716 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13717 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13718 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13719 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13720 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13721 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13722 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13723 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13724 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13725 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13726 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13727 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13728 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13729 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13730 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13731 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13732 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13733 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13734 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13735 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13736 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13737 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13738 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13739 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13740 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13741 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13742 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13743 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13744 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13745 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13746 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13747 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13748 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13749 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13750 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13751 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13752 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13753 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13754 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13755 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13756 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13757 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13758 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13759 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13760 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13761 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13762 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13763 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13764 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13765 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13766 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13767 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13768 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13769 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13770 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13771 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13772 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13773 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13774 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13775 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13776 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13777 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13778 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13779 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13780 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13781 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13782 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13783 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13784 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13785 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13786 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13787 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13788 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13789 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13790 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13791 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13792 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13793 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13794 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13795 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13796 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13797 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13798 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13799 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13800 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13801 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13802 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13803 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13804 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13805 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13806 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13807 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13808 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13809 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13810 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13811 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13812 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13813 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13814 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13815 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13816 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13817 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13818 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13819 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13820 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13821 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13822 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13823 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13824 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13825 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13826 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13827 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13828 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13829 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13830
13831 LTCC='$LTCC'
13832 LTCFLAGS='$LTCFLAGS'
13833 compiler='$compiler_DEFAULT'
13834
13835 # A function that is used when there is no print builtin or printf.
13836 func_fallback_echo ()
13837 {
13838 eval 'cat <<_LTECHO_EOF
13839 \$1
13840 _LTECHO_EOF'
13841 }
13842
13843 # Quote evaled strings.
13844 for var in SHELL \
13845 ECHO \
13846 PATH_SEPARATOR \
13847 SED \
13848 GREP \
13849 EGREP \
13850 FGREP \
13851 LD \
13852 NM \
13853 LN_S \
13854 lt_SP2NL \
13855 lt_NL2SP \
13856 reload_flag \
13857 OBJDUMP \
13858 deplibs_check_method \
13859 file_magic_cmd \
13860 file_magic_glob \
13861 want_nocaseglob \
13862 DLLTOOL \
13863 sharedlib_from_linklib_cmd \
13864 AR \
13865 AR_FLAGS \
13866 archiver_list_spec \
13867 STRIP \
13868 RANLIB \
13869 CC \
13870 CFLAGS \
13871 compiler \
13872 lt_cv_sys_global_symbol_pipe \
13873 lt_cv_sys_global_symbol_to_cdecl \
13874 lt_cv_sys_global_symbol_to_c_name_address \
13875 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13876 nm_file_list_spec \
13877 lt_prog_compiler_no_builtin_flag \
13878 lt_prog_compiler_pic \
13879 lt_prog_compiler_wl \
13880 lt_prog_compiler_static \
13881 lt_cv_prog_compiler_c_o \
13882 need_locks \
13883 MANIFEST_TOOL \
13884 DSYMUTIL \
13885 NMEDIT \
13886 LIPO \
13887 OTOOL \
13888 OTOOL64 \
13889 shrext_cmds \
13890 export_dynamic_flag_spec \
13891 whole_archive_flag_spec \
13892 compiler_needs_object \
13893 with_gnu_ld \
13894 allow_undefined_flag \
13895 no_undefined_flag \
13896 hardcode_libdir_flag_spec \
13897 hardcode_libdir_separator \
13898 exclude_expsyms \
13899 include_expsyms \
13900 file_list_spec \
13901 variables_saved_for_relink \
13902 libname_spec \
13903 library_names_spec \
13904 soname_spec \
13905 install_override_mode \
13906 finish_eval \
13907 old_striplib \
13908 striplib; do
13909 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13910 *[\\\\\\\`\\"\\\$]*)
13911 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13912 ;;
13913 *)
13914 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13915 ;;
13916 esac
13917 done
13918
13919 # Double-quote double-evaled strings.
13920 for var in reload_cmds \
13921 old_postinstall_cmds \
13922 old_postuninstall_cmds \
13923 old_archive_cmds \
13924 extract_expsyms_cmds \
13925 old_archive_from_new_cmds \
13926 old_archive_from_expsyms_cmds \
13927 archive_cmds \
13928 archive_expsym_cmds \
13929 module_cmds \
13930 module_expsym_cmds \
13931 export_symbols_cmds \
13932 prelink_cmds \
13933 postlink_cmds \
13934 postinstall_cmds \
13935 postuninstall_cmds \
13936 finish_cmds \
13937 sys_lib_search_path_spec \
13938 sys_lib_dlsearch_path_spec; do
13939 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13940 *[\\\\\\\`\\"\\\$]*)
13941 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13942 ;;
13943 *)
13944 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13945 ;;
13946 esac
13947 done
13948
13949 ac_aux_dir='$ac_aux_dir'
13950 xsi_shell='$xsi_shell'
13951 lt_shell_append='$lt_shell_append'
13952
13953 # See if we are running on zsh, and set the options which allow our
13954 # commands through without removal of \ escapes INIT.
13955 if test -n "\${ZSH_VERSION+set}" ; then
13956 setopt NO_GLOB_SUBST
13957 fi
13958
13959
13960 PACKAGE='$PACKAGE'
13961 VERSION='$VERSION'
13962 TIMESTAMP='$TIMESTAMP'
13963 RM='$RM'
13964 ofile='$ofile'
13965
13966
13967
13968
13969 _ACEOF
13970
13971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13972
13973 # Handling of arguments.
13974 for ac_config_target in $ac_config_targets
13975 do
13976 case $ac_config_target in
13977 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13978 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13979 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13980 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13981 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13982 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
13983 "misc/dvdread-config") CONFIG_FILES="$CONFIG_FILES misc/dvdread-config" ;;
13984 "misc/dvdread.pc") CONFIG_FILES="$CONFIG_FILES misc/dvdread.pc" ;;
13985 "misc/libdvdread.spec") CONFIG_FILES="$CONFIG_FILES misc/libdvdread.spec" ;;
13986 "misc/relchk.sh") CONFIG_FILES="$CONFIG_FILES misc/relchk.sh" ;;
13987 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
13988
13989 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13990 esac
13991 done
13992
13993
13994 # If the user did not use the arguments to specify the items to instantiate,
13995 # then the envvar interface is used. Set only those that are not.
13996 # We use the long form for the default assignment because of an extremely
13997 # bizarre bug on SunOS 4.1.3.
13998 if $ac_need_defaults; then
13999 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14000 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14001 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14002 fi
14003
14004 # Have a temporary directory for convenience. Make it in the build tree
14005 # simply because there is no reason against having it here, and in addition,
14006 # creating and moving files from /tmp can sometimes cause problems.
14007 # Hook for its removal unless debugging.
14008 # Note that there is a small window in which the directory will not be cleaned:
14009 # after its creation but before its name has been assigned to `$tmp'.
14010 $debug ||
14011 {
14012 tmp= ac_tmp=
14013 trap 'exit_status=$?
14014 : "${ac_tmp:=$tmp}"
14015 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14016 ' 0
14017 trap 'as_fn_exit 1' 1 2 13 15
14018 }
14019 # Create a (secure) tmp directory for tmp files.
14020
14021 {
14022 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14023 test -d "$tmp"
14024 } ||
14025 {
14026 tmp=./conf$$-$RANDOM
14027 (umask 077 && mkdir "$tmp")
14028 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14029 ac_tmp=$tmp
14030
14031 # Set up the scripts for CONFIG_FILES section.
14032 # No need to generate them if there are no CONFIG_FILES.
14033 # This happens for instance with `./config.status config.h'.
14034 if test -n "$CONFIG_FILES"; then
14035
14036
14037 ac_cr=`echo X | tr X '\015'`
14038 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14039 # But we know of no other shell where ac_cr would be empty at this
14040 # point, so we can use a bashism as a fallback.
14041 if test "x$ac_cr" = x; then
14042 eval ac_cr=\$\'\\r\'
14043 fi
14044 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14045 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14046 ac_cs_awk_cr='\\r'
14047 else
14048 ac_cs_awk_cr=$ac_cr
14049 fi
14050
14051 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14052 _ACEOF
14053
14054
14055 {
14056 echo "cat >conf$$subs.awk <<_ACEOF" &&
14057 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14058 echo "_ACEOF"
14059 } >conf$$subs.sh ||
14060 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14061 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14062 ac_delim='%!_!# '
14063 for ac_last_try in false false false false false :; do
14064 . ./conf$$subs.sh ||
14065 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14066
14067 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14068 if test $ac_delim_n = $ac_delim_num; then
14069 break
14070 elif $ac_last_try; then
14071 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14072 else
14073 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14074 fi
14075 done
14076 rm -f conf$$subs.sh
14077
14078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14079 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14080 _ACEOF
14081 sed -n '
14082 h
14083 s/^/S["/; s/!.*/"]=/
14084 p
14085 g
14086 s/^[^!]*!//
14087 :repl
14088 t repl
14089 s/'"$ac_delim"'$//
14090 t delim
14091 :nl
14092 h
14093 s/\(.\{148\}\)..*/\1/
14094 t more1
14095 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14096 p
14097 n
14098 b repl
14099 :more1
14100 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14101 p
14102 g
14103 s/.\{148\}//
14104 t nl
14105 :delim
14106 h
14107 s/\(.\{148\}\)..*/\1/
14108 t more2
14109 s/["\\]/\\&/g; s/^/"/; s/$/"/
14110 p
14111 b
14112 :more2
14113 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14114 p
14115 g
14116 s/.\{148\}//
14117 t delim
14118 ' <conf$$subs.awk | sed '
14119 /^[^""]/{
14120 N
14121 s/\n//
14122 }
14123 ' >>$CONFIG_STATUS || ac_write_fail=1
14124 rm -f conf$$subs.awk
14125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14126 _ACAWK
14127 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14128 for (key in S) S_is_set[key] = 1
14129 FS = ""
14130
14131 }
14132 {
14133 line = $ 0
14134 nfields = split(line, field, "@")
14135 substed = 0
14136 len = length(field[1])
14137 for (i = 2; i < nfields; i++) {
14138 key = field[i]
14139 keylen = length(key)
14140 if (S_is_set[key]) {
14141 value = S[key]
14142 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14143 len += length(value) + length(field[++i])
14144 substed = 1
14145 } else
14146 len += 1 + keylen
14147 }
14148
14149 print line
14150 }
14151
14152 _ACAWK
14153 _ACEOF
14154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14155 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14156 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14157 else
14158 cat
14159 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14160 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14161 _ACEOF
14162
14163 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14164 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14165 # trailing colons and then remove the whole line if VPATH becomes empty
14166 # (actually we leave an empty line to preserve line numbers).
14167 if test "x$srcdir" = x.; then
14168 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14169 h
14170 s///
14171 s/^/:/
14172 s/[ ]*$/:/
14173 s/:\$(srcdir):/:/g
14174 s/:\${srcdir}:/:/g
14175 s/:@srcdir@:/:/g
14176 s/^:*//
14177 s/:*$//
14178 x
14179 s/\(=[ ]*\).*/\1/
14180 G
14181 s/\n//
14182 s/^[^=]*=[ ]*$//
14183 }'
14184 fi
14185
14186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14187 fi # test -n "$CONFIG_FILES"
14188
14189 # Set up the scripts for CONFIG_HEADERS section.
14190 # No need to generate them if there are no CONFIG_HEADERS.
14191 # This happens for instance with `./config.status Makefile'.
14192 if test -n "$CONFIG_HEADERS"; then
14193 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14194 BEGIN {
14195 _ACEOF
14196
14197 # Transform confdefs.h into an awk script `defines.awk', embedded as
14198 # here-document in config.status, that substitutes the proper values into
14199 # config.h.in to produce config.h.
14200
14201 # Create a delimiter string that does not exist in confdefs.h, to ease
14202 # handling of long lines.
14203 ac_delim='%!_!# '
14204 for ac_last_try in false false :; do
14205 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14206 if test -z "$ac_tt"; then
14207 break
14208 elif $ac_last_try; then
14209 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14210 else
14211 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14212 fi
14213 done
14214
14215 # For the awk script, D is an array of macro values keyed by name,
14216 # likewise P contains macro parameters if any. Preserve backslash
14217 # newline sequences.
14218
14219 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14220 sed -n '
14221 s/.\{148\}/&'"$ac_delim"'/g
14222 t rset
14223 :rset
14224 s/^[ ]*#[ ]*define[ ][ ]*/ /
14225 t def
14226 d
14227 :def
14228 s/\\$//
14229 t bsnl
14230 s/["\\]/\\&/g
14231 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14232 D["\1"]=" \3"/p
14233 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14234 d
14235 :bsnl
14236 s/["\\]/\\&/g
14237 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14238 D["\1"]=" \3\\\\\\n"\\/p
14239 t cont
14240 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14241 t cont
14242 d
14243 :cont
14244 n
14245 s/.\{148\}/&'"$ac_delim"'/g
14246 t clear
14247 :clear
14248 s/\\$//
14249 t bsnlc
14250 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14251 d
14252 :bsnlc
14253 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14254 b cont
14255 ' <confdefs.h | sed '
14256 s/'"$ac_delim"'/"\\\
14257 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14258
14259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14260 for (key in D) D_is_set[key] = 1
14261 FS = ""
14262 }
14263 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14264 line = \$ 0
14265 split(line, arg, " ")
14266 if (arg[1] == "#") {
14267 defundef = arg[2]
14268 mac1 = arg[3]
14269 } else {
14270 defundef = substr(arg[1], 2)
14271 mac1 = arg[2]
14272 }
14273 split(mac1, mac2, "(") #)
14274 macro = mac2[1]
14275 prefix = substr(line, 1, index(line, defundef) - 1)
14276 if (D_is_set[macro]) {
14277 # Preserve the white space surrounding the "#".
14278 print prefix "define", macro P[macro] D[macro]
14279 next
14280 } else {
14281 # Replace #undef with comments. This is necessary, for example,
14282 # in the case of _POSIX_SOURCE, which is predefined and required
14283 # on some systems where configure will not decide to define it.
14284 if (defundef == "undef") {
14285 print "/*", prefix defundef, macro, "*/"
14286 next
14287 }
14288 }
14289 }
14290 { print }
14291 _ACAWK
14292 _ACEOF
14293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14294 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14295 fi # test -n "$CONFIG_HEADERS"
14296
14297
14298 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14299 shift
14300 for ac_tag
14301 do
14302 case $ac_tag in
14303 :[FHLC]) ac_mode=$ac_tag; continue;;
14304 esac
14305 case $ac_mode$ac_tag in
14306 :[FHL]*:*);;
14307 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14308 :[FH]-) ac_tag=-:-;;
14309 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14310 esac
14311 ac_save_IFS=$IFS
14312 IFS=:
14313 set x $ac_tag
14314 IFS=$ac_save_IFS
14315 shift
14316 ac_file=$1
14317 shift
14318
14319 case $ac_mode in
14320 :L) ac_source=$1;;
14321 :[FH])
14322 ac_file_inputs=
14323 for ac_f
14324 do
14325 case $ac_f in
14326 -) ac_f="$ac_tmp/stdin";;
14327 *) # Look for the file first in the build tree, then in the source tree
14328 # (if the path is not absolute). The absolute path cannot be DOS-style,
14329 # because $ac_f cannot contain `:'.
14330 test -f "$ac_f" ||
14331 case $ac_f in
14332 [\\/$]*) false;;
14333 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14334 esac ||
14335 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14336 esac
14337 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14338 as_fn_append ac_file_inputs " '$ac_f'"
14339 done
14340
14341 # Let's still pretend it is `configure' which instantiates (i.e., don't
14342 # use $as_me), people would be surprised to read:
14343 # /* config.h. Generated by config.status. */
14344 configure_input='Generated from '`
14345 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14346 `' by configure.'
14347 if test x"$ac_file" != x-; then
14348 configure_input="$ac_file. $configure_input"
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14350 $as_echo "$as_me: creating $ac_file" >&6;}
14351 fi
14352 # Neutralize special characters interpreted by sed in replacement strings.
14353 case $configure_input in #(
14354 *\&* | *\|* | *\\* )
14355 ac_sed_conf_input=`$as_echo "$configure_input" |
14356 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14357 *) ac_sed_conf_input=$configure_input;;
14358 esac
14359
14360 case $ac_tag in
14361 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14362 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14363 esac
14364 ;;
14365 esac
14366
14367 ac_dir=`$as_dirname -- "$ac_file" ||
14368 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14369 X"$ac_file" : 'X\(//\)[^/]' \| \
14370 X"$ac_file" : 'X\(//\)$' \| \
14371 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14372 $as_echo X"$ac_file" |
14373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14374 s//\1/
14375 q
14376 }
14377 /^X\(\/\/\)[^/].*/{
14378 s//\1/
14379 q
14380 }
14381 /^X\(\/\/\)$/{
14382 s//\1/
14383 q
14384 }
14385 /^X\(\/\).*/{
14386 s//\1/
14387 q
14388 }
14389 s/.*/./; q'`
14390 as_dir="$ac_dir"; as_fn_mkdir_p
14391 ac_builddir=.
14392
14393 case "$ac_dir" in
14394 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14395 *)
14396 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14397 # A ".." for each directory in $ac_dir_suffix.
14398 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14399 case $ac_top_builddir_sub in
14400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14401 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14402 esac ;;
14403 esac
14404 ac_abs_top_builddir=$ac_pwd
14405 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14406 # for backward compatibility:
14407 ac_top_builddir=$ac_top_build_prefix
14408
14409 case $srcdir in
14410 .) # We are building in place.
14411 ac_srcdir=.
14412 ac_top_srcdir=$ac_top_builddir_sub
14413 ac_abs_top_srcdir=$ac_pwd ;;
14414 [\\/]* | ?:[\\/]* ) # Absolute name.
14415 ac_srcdir=$srcdir$ac_dir_suffix;
14416 ac_top_srcdir=$srcdir
14417 ac_abs_top_srcdir=$srcdir ;;
14418 *) # Relative name.
14419 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14420 ac_top_srcdir=$ac_top_build_prefix$srcdir
14421 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14422 esac
14423 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14424
14425
14426 case $ac_mode in
14427 :F)
14428 #
14429 # CONFIG_FILE
14430 #
14431
14432 case $INSTALL in
14433 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14434 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14435 esac
14436 ac_MKDIR_P=$MKDIR_P
14437 case $MKDIR_P in
14438 [\\/$]* | ?:[\\/]* ) ;;
14439 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14440 esac
14441 _ACEOF
14442
14443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14444 # If the template does not know about datarootdir, expand it.
14445 # FIXME: This hack should be removed a few years after 2.60.
14446 ac_datarootdir_hack=; ac_datarootdir_seen=
14447 ac_sed_dataroot='
14448 /datarootdir/ {
14449 p
14450 q
14451 }
14452 /@datadir@/p
14453 /@docdir@/p
14454 /@infodir@/p
14455 /@localedir@/p
14456 /@mandir@/p'
14457 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14458 *datarootdir*) ac_datarootdir_seen=yes;;
14459 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14461 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14462 _ACEOF
14463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14464 ac_datarootdir_hack='
14465 s&@datadir@&$datadir&g
14466 s&@docdir@&$docdir&g
14467 s&@infodir@&$infodir&g
14468 s&@localedir@&$localedir&g
14469 s&@mandir@&$mandir&g
14470 s&\\\${datarootdir}&$datarootdir&g' ;;
14471 esac
14472 _ACEOF
14473
14474 # Neutralize VPATH when `$srcdir' = `.'.
14475 # Shell code in configure.ac might set extrasub.
14476 # FIXME: do we really want to maintain this feature?
14477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14478 ac_sed_extra="$ac_vpsub
14479 $extrasub
14480 _ACEOF
14481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14482 :t
14483 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14484 s|@configure_input@|$ac_sed_conf_input|;t t
14485 s&@top_builddir@&$ac_top_builddir_sub&;t t
14486 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14487 s&@srcdir@&$ac_srcdir&;t t
14488 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14489 s&@top_srcdir@&$ac_top_srcdir&;t t
14490 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14491 s&@builddir@&$ac_builddir&;t t
14492 s&@abs_builddir@&$ac_abs_builddir&;t t
14493 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14494 s&@INSTALL@&$ac_INSTALL&;t t
14495 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14496 $ac_datarootdir_hack
14497 "
14498 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14499 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14500
14501 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14502 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14503 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14504 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14506 which seems to be undefined. Please make sure it is defined" >&5
14507 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14508 which seems to be undefined. Please make sure it is defined" >&2;}
14509
14510 rm -f "$ac_tmp/stdin"
14511 case $ac_file in
14512 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14513 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14514 esac \
14515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14516 ;;
14517 :H)
14518 #
14519 # CONFIG_HEADER
14520 #
14521 if test x"$ac_file" != x-; then
14522 {
14523 $as_echo "/* $configure_input */" \
14524 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14525 } >"$ac_tmp/config.h" \
14526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14527 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14529 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14530 else
14531 rm -f "$ac_file"
14532 mv "$ac_tmp/config.h" "$ac_file" \
14533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14534 fi
14535 else
14536 $as_echo "/* $configure_input */" \
14537 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14538 || as_fn_error $? "could not create -" "$LINENO" 5
14539 fi
14540 # Compute "$ac_file"'s index in $config_headers.
14541 _am_arg="$ac_file"
14542 _am_stamp_count=1
14543 for _am_header in $config_headers :; do
14544 case $_am_header in
14545 $_am_arg | $_am_arg:* )
14546 break ;;
14547 * )
14548 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14549 esac
14550 done
14551 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14552 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14553 X"$_am_arg" : 'X\(//\)[^/]' \| \
14554 X"$_am_arg" : 'X\(//\)$' \| \
14555 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14556 $as_echo X"$_am_arg" |
14557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14558 s//\1/
14559 q
14560 }
14561 /^X\(\/\/\)[^/].*/{
14562 s//\1/
14563 q
14564 }
14565 /^X\(\/\/\)$/{
14566 s//\1/
14567 q
14568 }
14569 /^X\(\/\).*/{
14570 s//\1/
14571 q
14572 }
14573 s/.*/./; q'`/stamp-h$_am_stamp_count
14574 ;;
14575
14576 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14577 $as_echo "$as_me: executing $ac_file commands" >&6;}
14578 ;;
14579 esac
14580
14581
14582 case $ac_file$ac_mode in
14583 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14584 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14585 # are listed without --file. Let's play safe and only enable the eval
14586 # if we detect the quoting.
14587 case $CONFIG_FILES in
14588 *\'*) eval set x "$CONFIG_FILES" ;;
14589 *) set x $CONFIG_FILES ;;
14590 esac
14591 shift
14592 for mf
14593 do
14594 # Strip MF so we end up with the name of the file.
14595 mf=`echo "$mf" | sed -e 's/:.*$//'`
14596 # Check whether this is an Automake generated Makefile or not.
14597 # We used to match only the files named `Makefile.in', but
14598 # some people rename them; so instead we look at the file content.
14599 # Grep'ing the first line is not enough: some people post-process
14600 # each Makefile.in and add a new line on top of each file to say so.
14601 # Grep'ing the whole file is not good either: AIX grep has a line
14602 # limit of 2048, but all sed's we know have understand at least 4000.
14603 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14604 dirpart=`$as_dirname -- "$mf" ||
14605 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14606 X"$mf" : 'X\(//\)[^/]' \| \
14607 X"$mf" : 'X\(//\)$' \| \
14608 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14609 $as_echo X"$mf" |
14610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14611 s//\1/
14612 q
14613 }
14614 /^X\(\/\/\)[^/].*/{
14615 s//\1/
14616 q
14617 }
14618 /^X\(\/\/\)$/{
14619 s//\1/
14620 q
14621 }
14622 /^X\(\/\).*/{
14623 s//\1/
14624 q
14625 }
14626 s/.*/./; q'`
14627 else
14628 continue
14629 fi
14630 # Extract the definition of DEPDIR, am__include, and am__quote
14631 # from the Makefile without running `make'.
14632 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14633 test -z "$DEPDIR" && continue
14634 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14635 test -z "am__include" && continue
14636 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14637 # When using ansi2knr, U may be empty or an underscore; expand it
14638 U=`sed -n 's/^U = //p' < "$mf"`
14639 # Find all dependency output files, they are included files with
14640 # $(DEPDIR) in their names. We invoke sed twice because it is the
14641 # simplest approach to changing $(DEPDIR) to its actual value in the
14642 # expansion.
14643 for file in `sed -n "
14644 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14645 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14646 # Make sure the directory exists.
14647 test -f "$dirpart/$file" && continue
14648 fdir=`$as_dirname -- "$file" ||
14649 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14650 X"$file" : 'X\(//\)[^/]' \| \
14651 X"$file" : 'X\(//\)$' \| \
14652 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14653 $as_echo X"$file" |
14654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14655 s//\1/
14656 q
14657 }
14658 /^X\(\/\/\)[^/].*/{
14659 s//\1/
14660 q
14661 }
14662 /^X\(\/\/\)$/{
14663 s//\1/
14664 q
14665 }
14666 /^X\(\/\).*/{
14667 s//\1/
14668 q
14669 }
14670 s/.*/./; q'`
14671 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14672 # echo "creating $dirpart/$file"
14673 echo '# dummy' > "$dirpart/$file"
14674 done
14675 done
14676 }
14677 ;;
14678 "libtool":C)
14679
14680 # See if we are running on zsh, and set the options which allow our
14681 # commands through without removal of \ escapes.
14682 if test -n "${ZSH_VERSION+set}" ; then
14683 setopt NO_GLOB_SUBST
14684 fi
14685
14686 cfgfile="${ofile}T"
14687 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14688 $RM "$cfgfile"
14689
14690 cat <<_LT_EOF >> "$cfgfile"
14691 #! $SHELL
14692
14693 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14694 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14695 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14696 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14697 #
14698 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14699 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14700 # Foundation, Inc.
14701 # Written by Gordon Matzigkeit, 1996
14702 #
14703 # This file is part of GNU Libtool.
14704 #
14705 # GNU Libtool is free software; you can redistribute it and/or
14706 # modify it under the terms of the GNU General Public License as
14707 # published by the Free Software Foundation; either version 2 of
14708 # the License, or (at your option) any later version.
14709 #
14710 # As a special exception to the GNU General Public License,
14711 # if you distribute this file as part of a program or library that
14712 # is built using GNU Libtool, you may include this file under the
14713 # same distribution terms that you use for the rest of that program.
14714 #
14715 # GNU Libtool is distributed in the hope that it will be useful,
14716 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14717 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14718 # GNU General Public License for more details.
14719 #
14720 # You should have received a copy of the GNU General Public License
14721 # along with GNU Libtool; see the file COPYING. If not, a copy
14722 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14723 # obtained by writing to the Free Software Foundation, Inc.,
14724 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14725
14726
14727 # The names of the tagged configurations supported by this script.
14728 available_tags=""
14729
14730 # ### BEGIN LIBTOOL CONFIG
14731
14732 # Whether or not to build static libraries.
14733 build_old_libs=$enable_static
14734
14735 # Which release of libtool.m4 was used?
14736 macro_version=$macro_version
14737 macro_revision=$macro_revision
14738
14739 # Whether or not to build shared libraries.
14740 build_libtool_libs=$enable_shared
14741
14742 # What type of objects to build.
14743 pic_mode=$pic_mode
14744
14745 # Whether or not to optimize for fast installation.
14746 fast_install=$enable_fast_install
14747
14748 # Shell to use when invoking shell scripts.
14749 SHELL=$lt_SHELL
14750
14751 # An echo program that protects backslashes.
14752 ECHO=$lt_ECHO
14753
14754 # The PATH separator for the build system.
14755 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14756
14757 # The host system.
14758 host_alias=$host_alias
14759 host=$host
14760 host_os=$host_os
14761
14762 # The build system.
14763 build_alias=$build_alias
14764 build=$build
14765 build_os=$build_os
14766
14767 # A sed program that does not truncate output.
14768 SED=$lt_SED
14769
14770 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14771 Xsed="\$SED -e 1s/^X//"
14772
14773 # A grep program that handles long lines.
14774 GREP=$lt_GREP
14775
14776 # An ERE matcher.
14777 EGREP=$lt_EGREP
14778
14779 # A literal string matcher.
14780 FGREP=$lt_FGREP
14781
14782 # A BSD- or MS-compatible name lister.
14783 NM=$lt_NM
14784
14785 # Whether we need soft or hard links.
14786 LN_S=$lt_LN_S
14787
14788 # What is the maximum length of a command?
14789 max_cmd_len=$max_cmd_len
14790
14791 # Object file suffix (normally "o").
14792 objext=$ac_objext
14793
14794 # Executable file suffix (normally "").
14795 exeext=$exeext
14796
14797 # whether the shell understands "unset".
14798 lt_unset=$lt_unset
14799
14800 # turn spaces into newlines.
14801 SP2NL=$lt_lt_SP2NL
14802
14803 # turn newlines into spaces.
14804 NL2SP=$lt_lt_NL2SP
14805
14806 # convert \$build file names to \$host format.
14807 to_host_file_cmd=$lt_cv_to_host_file_cmd
14808
14809 # convert \$build files to toolchain format.
14810 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14811
14812 # An object symbol dumper.
14813 OBJDUMP=$lt_OBJDUMP
14814
14815 # Method to check whether dependent libraries are shared objects.
14816 deplibs_check_method=$lt_deplibs_check_method
14817
14818 # Command to use when deplibs_check_method = "file_magic".
14819 file_magic_cmd=$lt_file_magic_cmd
14820
14821 # How to find potential files when deplibs_check_method = "file_magic".
14822 file_magic_glob=$lt_file_magic_glob
14823
14824 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14825 want_nocaseglob=$lt_want_nocaseglob
14826
14827 # DLL creation program.
14828 DLLTOOL=$lt_DLLTOOL
14829
14830 # Command to associate shared and link libraries.
14831 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14832
14833 # The archiver.
14834 AR=$lt_AR
14835
14836 # Flags to create an archive.
14837 AR_FLAGS=$lt_AR_FLAGS
14838
14839 # How to feed a file listing to the archiver.
14840 archiver_list_spec=$lt_archiver_list_spec
14841
14842 # A symbol stripping program.
14843 STRIP=$lt_STRIP
14844
14845 # Commands used to install an old-style archive.
14846 RANLIB=$lt_RANLIB
14847 old_postinstall_cmds=$lt_old_postinstall_cmds
14848 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14849
14850 # Whether to use a lock for old archive extraction.
14851 lock_old_archive_extraction=$lock_old_archive_extraction
14852
14853 # A C compiler.
14854 LTCC=$lt_CC
14855
14856 # LTCC compiler flags.
14857 LTCFLAGS=$lt_CFLAGS
14858
14859 # Take the output of nm and produce a listing of raw symbols and C names.
14860 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14861
14862 # Transform the output of nm in a proper C declaration.
14863 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14864
14865 # Transform the output of nm in a C name address pair.
14866 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14867
14868 # Transform the output of nm in a C name address pair when lib prefix is needed.
14869 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14870
14871 # Specify filename containing input files for \$NM.
14872 nm_file_list_spec=$lt_nm_file_list_spec
14873
14874 # The root where to search for dependent libraries,and in which our libraries should be installed.
14875 lt_sysroot=$lt_sysroot
14876
14877 # The name of the directory that contains temporary libtool files.
14878 objdir=$objdir
14879
14880 # Used to examine libraries when file_magic_cmd begins with "file".
14881 MAGIC_CMD=$MAGIC_CMD
14882
14883 # Must we lock files when doing compilation?
14884 need_locks=$lt_need_locks
14885
14886 # Manifest tool.
14887 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14888
14889 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14890 DSYMUTIL=$lt_DSYMUTIL
14891
14892 # Tool to change global to local symbols on Mac OS X.
14893 NMEDIT=$lt_NMEDIT
14894
14895 # Tool to manipulate fat objects and archives on Mac OS X.
14896 LIPO=$lt_LIPO
14897
14898 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14899 OTOOL=$lt_OTOOL
14900
14901 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14902 OTOOL64=$lt_OTOOL64
14903
14904 # Old archive suffix (normally "a").
14905 libext=$libext
14906
14907 # Shared library suffix (normally ".so").
14908 shrext_cmds=$lt_shrext_cmds
14909
14910 # The commands to extract the exported symbol list from a shared archive.
14911 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14912
14913 # Variables whose values should be saved in libtool wrapper scripts and
14914 # restored at link time.
14915 variables_saved_for_relink=$lt_variables_saved_for_relink
14916
14917 # Do we need the "lib" prefix for modules?
14918 need_lib_prefix=$need_lib_prefix
14919
14920 # Do we need a version for libraries?
14921 need_version=$need_version
14922
14923 # Library versioning type.
14924 version_type=$version_type
14925
14926 # Shared library runtime path variable.
14927 runpath_var=$runpath_var
14928
14929 # Shared library path variable.
14930 shlibpath_var=$shlibpath_var
14931
14932 # Is shlibpath searched before the hard-coded library search path?
14933 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14934
14935 # Format of library name prefix.
14936 libname_spec=$lt_libname_spec
14937
14938 # List of archive names. First name is the real one, the rest are links.
14939 # The last name is the one that the linker finds with -lNAME
14940 library_names_spec=$lt_library_names_spec
14941
14942 # The coded name of the library, if different from the real name.
14943 soname_spec=$lt_soname_spec
14944
14945 # Permission mode override for installation of shared libraries.
14946 install_override_mode=$lt_install_override_mode
14947
14948 # Command to use after installation of a shared archive.
14949 postinstall_cmds=$lt_postinstall_cmds
14950
14951 # Command to use after uninstallation of a shared archive.
14952 postuninstall_cmds=$lt_postuninstall_cmds
14953
14954 # Commands used to finish a libtool library installation in a directory.
14955 finish_cmds=$lt_finish_cmds
14956
14957 # As "finish_cmds", except a single script fragment to be evaled but
14958 # not shown.
14959 finish_eval=$lt_finish_eval
14960
14961 # Whether we should hardcode library paths into libraries.
14962 hardcode_into_libs=$hardcode_into_libs
14963
14964 # Compile-time system search path for libraries.
14965 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14966
14967 # Run-time system search path for libraries.
14968 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14969
14970 # Whether dlopen is supported.
14971 dlopen_support=$enable_dlopen
14972
14973 # Whether dlopen of programs is supported.
14974 dlopen_self=$enable_dlopen_self
14975
14976 # Whether dlopen of statically linked programs is supported.
14977 dlopen_self_static=$enable_dlopen_self_static
14978
14979 # Commands to strip libraries.
14980 old_striplib=$lt_old_striplib
14981 striplib=$lt_striplib
14982
14983
14984 # The linker used to build libraries.
14985 LD=$lt_LD
14986
14987 # How to create reloadable object files.
14988 reload_flag=$lt_reload_flag
14989 reload_cmds=$lt_reload_cmds
14990
14991 # Commands used to build an old-style archive.
14992 old_archive_cmds=$lt_old_archive_cmds
14993
14994 # A language specific compiler.
14995 CC=$lt_compiler
14996
14997 # Is the compiler the GNU compiler?
14998 with_gcc=$GCC
14999
15000 # Compiler flag to turn off builtin functions.
15001 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15002
15003 # Additional compiler flags for building library objects.
15004 pic_flag=$lt_lt_prog_compiler_pic
15005
15006 # How to pass a linker flag through the compiler.
15007 wl=$lt_lt_prog_compiler_wl
15008
15009 # Compiler flag to prevent dynamic linking.
15010 link_static_flag=$lt_lt_prog_compiler_static
15011
15012 # Does compiler simultaneously support -c and -o options?
15013 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15014
15015 # Whether or not to add -lc for building shared libraries.
15016 build_libtool_need_lc=$archive_cmds_need_lc
15017
15018 # Whether or not to disallow shared libs when runtime libs are static.
15019 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15020
15021 # Compiler flag to allow reflexive dlopens.
15022 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15023
15024 # Compiler flag to generate shared objects directly from archives.
15025 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15026
15027 # Whether the compiler copes with passing no objects directly.
15028 compiler_needs_object=$lt_compiler_needs_object
15029
15030 # Create an old-style archive from a shared archive.
15031 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15032
15033 # Create a temporary old-style archive to link instead of a shared archive.
15034 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15035
15036 # Commands used to build a shared archive.
15037 archive_cmds=$lt_archive_cmds
15038 archive_expsym_cmds=$lt_archive_expsym_cmds
15039
15040 # Commands used to build a loadable module if different from building
15041 # a shared archive.
15042 module_cmds=$lt_module_cmds
15043 module_expsym_cmds=$lt_module_expsym_cmds
15044
15045 # Whether we are building with GNU ld or not.
15046 with_gnu_ld=$lt_with_gnu_ld
15047
15048 # Flag that allows shared libraries with undefined symbols to be built.
15049 allow_undefined_flag=$lt_allow_undefined_flag
15050
15051 # Flag that enforces no undefined symbols.
15052 no_undefined_flag=$lt_no_undefined_flag
15053
15054 # Flag to hardcode \$libdir into a binary during linking.
15055 # This must work even if \$libdir does not exist
15056 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15057
15058 # Whether we need a single "-rpath" flag with a separated argument.
15059 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15060
15061 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15062 # DIR into the resulting binary.
15063 hardcode_direct=$hardcode_direct
15064
15065 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15066 # DIR into the resulting binary and the resulting library dependency is
15067 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15068 # library is relocated.
15069 hardcode_direct_absolute=$hardcode_direct_absolute
15070
15071 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15072 # into the resulting binary.
15073 hardcode_minus_L=$hardcode_minus_L
15074
15075 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15076 # into the resulting binary.
15077 hardcode_shlibpath_var=$hardcode_shlibpath_var
15078
15079 # Set to "yes" if building a shared library automatically hardcodes DIR
15080 # into the library and all subsequent libraries and executables linked
15081 # against it.
15082 hardcode_automatic=$hardcode_automatic
15083
15084 # Set to yes if linker adds runtime paths of dependent libraries
15085 # to runtime path list.
15086 inherit_rpath=$inherit_rpath
15087
15088 # Whether libtool must link a program against all its dependency libraries.
15089 link_all_deplibs=$link_all_deplibs
15090
15091 # Set to "yes" if exported symbols are required.
15092 always_export_symbols=$always_export_symbols
15093
15094 # The commands to list exported symbols.
15095 export_symbols_cmds=$lt_export_symbols_cmds
15096
15097 # Symbols that should not be listed in the preloaded symbols.
15098 exclude_expsyms=$lt_exclude_expsyms
15099
15100 # Symbols that must always be exported.
15101 include_expsyms=$lt_include_expsyms
15102
15103 # Commands necessary for linking programs (against libraries) with templates.
15104 prelink_cmds=$lt_prelink_cmds
15105
15106 # Commands necessary for finishing linking programs.
15107 postlink_cmds=$lt_postlink_cmds
15108
15109 # Specify filename containing input files.
15110 file_list_spec=$lt_file_list_spec
15111
15112 # How to hardcode a shared library path into an executable.
15113 hardcode_action=$hardcode_action
15114
15115 # ### END LIBTOOL CONFIG
15116
15117 _LT_EOF
15118
15119 case $host_os in
15120 aix3*)
15121 cat <<\_LT_EOF >> "$cfgfile"
15122 # AIX sometimes has problems with the GCC collect2 program. For some
15123 # reason, if we set the COLLECT_NAMES environment variable, the problems
15124 # vanish in a puff of smoke.
15125 if test "X${COLLECT_NAMES+set}" != Xset; then
15126 COLLECT_NAMES=
15127 export COLLECT_NAMES
15128 fi
15129 _LT_EOF
15130 ;;
15131 esac
15132
15133
15134 ltmain="$ac_aux_dir/ltmain.sh"
15135
15136
15137 # We use sed instead of cat because bash on DJGPP gets confused if
15138 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15139 # text mode, it properly converts lines to CR/LF. This bash problem
15140 # is reportedly fixed, but why not run on old versions too?
15141 sed '$q' "$ltmain" >> "$cfgfile" \
15142 || (rm -f "$cfgfile"; exit 1)
15143
15144 if test x"$xsi_shell" = xyes; then
15145 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15146 func_dirname ()\
15147 {\
15148 \ case ${1} in\
15149 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15150 \ * ) func_dirname_result="${3}" ;;\
15151 \ esac\
15152 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15153 && mv -f "$cfgfile.tmp" "$cfgfile" \
15154 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15155 test 0 -eq $? || _lt_function_replace_fail=:
15156
15157
15158 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15159 func_basename ()\
15160 {\
15161 \ func_basename_result="${1##*/}"\
15162 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15163 && mv -f "$cfgfile.tmp" "$cfgfile" \
15164 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15165 test 0 -eq $? || _lt_function_replace_fail=:
15166
15167
15168 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15169 func_dirname_and_basename ()\
15170 {\
15171 \ case ${1} in\
15172 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15173 \ * ) func_dirname_result="${3}" ;;\
15174 \ esac\
15175 \ func_basename_result="${1##*/}"\
15176 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15177 && mv -f "$cfgfile.tmp" "$cfgfile" \
15178 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15179 test 0 -eq $? || _lt_function_replace_fail=:
15180
15181
15182 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15183 func_stripname ()\
15184 {\
15185 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15186 \ # positional parameters, so assign one to ordinary parameter first.\
15187 \ func_stripname_result=${3}\
15188 \ func_stripname_result=${func_stripname_result#"${1}"}\
15189 \ func_stripname_result=${func_stripname_result%"${2}"}\
15190 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15191 && mv -f "$cfgfile.tmp" "$cfgfile" \
15192 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15193 test 0 -eq $? || _lt_function_replace_fail=:
15194
15195
15196 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15197 func_split_long_opt ()\
15198 {\
15199 \ func_split_long_opt_name=${1%%=*}\
15200 \ func_split_long_opt_arg=${1#*=}\
15201 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15202 && mv -f "$cfgfile.tmp" "$cfgfile" \
15203 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15204 test 0 -eq $? || _lt_function_replace_fail=:
15205
15206
15207 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15208 func_split_short_opt ()\
15209 {\
15210 \ func_split_short_opt_arg=${1#??}\
15211 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15212 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15213 && mv -f "$cfgfile.tmp" "$cfgfile" \
15214 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15215 test 0 -eq $? || _lt_function_replace_fail=:
15216
15217
15218 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15219 func_lo2o ()\
15220 {\
15221 \ case ${1} in\
15222 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15223 \ *) func_lo2o_result=${1} ;;\
15224 \ esac\
15225 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15226 && mv -f "$cfgfile.tmp" "$cfgfile" \
15227 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15228 test 0 -eq $? || _lt_function_replace_fail=:
15229
15230
15231 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15232 func_xform ()\
15233 {\
15234 func_xform_result=${1%.*}.lo\
15235 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15236 && mv -f "$cfgfile.tmp" "$cfgfile" \
15237 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15238 test 0 -eq $? || _lt_function_replace_fail=:
15239
15240
15241 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15242 func_arith ()\
15243 {\
15244 func_arith_result=$(( $* ))\
15245 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15246 && mv -f "$cfgfile.tmp" "$cfgfile" \
15247 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15248 test 0 -eq $? || _lt_function_replace_fail=:
15249
15250
15251 sed -e '/^func_len ()$/,/^} # func_len /c\
15252 func_len ()\
15253 {\
15254 func_len_result=${#1}\
15255 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15256 && mv -f "$cfgfile.tmp" "$cfgfile" \
15257 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15258 test 0 -eq $? || _lt_function_replace_fail=:
15259
15260 fi
15261
15262 if test x"$lt_shell_append" = xyes; then
15263 sed -e '/^func_append ()$/,/^} # func_append /c\
15264 func_append ()\
15265 {\
15266 eval "${1}+=\\${2}"\
15267 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15268 && mv -f "$cfgfile.tmp" "$cfgfile" \
15269 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15270 test 0 -eq $? || _lt_function_replace_fail=:
15271
15272
15273 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15274 func_append_quoted ()\
15275 {\
15276 \ func_quote_for_eval "${2}"\
15277 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15278 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15279 && mv -f "$cfgfile.tmp" "$cfgfile" \
15280 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15281 test 0 -eq $? || _lt_function_replace_fail=:
15282
15283
15284 # Save a `func_append' function call where possible by direct use of '+='
15285 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15286 && mv -f "$cfgfile.tmp" "$cfgfile" \
15287 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15288 test 0 -eq $? || _lt_function_replace_fail=:
15289 else
15290 # Save a `func_append' function call even when '+=' is not available
15291 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15292 && mv -f "$cfgfile.tmp" "$cfgfile" \
15293 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15294 test 0 -eq $? || _lt_function_replace_fail=:
15295 fi
15296
15297 if test x"$_lt_function_replace_fail" = x":"; then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15299 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15300 fi
15301
15302
15303 mv -f "$cfgfile" "$ofile" ||
15304 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15305 chmod +x "$ofile"
15306
15307 ;;
15308
15309 esac
15310 done # for ac_tag
15311
15312
15313 as_fn_exit 0
15314 _ACEOF
15315 ac_clean_files=$ac_clean_files_save
15316
15317 test $ac_write_fail = 0 ||
15318 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15319
15320
15321 # configure is writing to config.log, and then calls config.status.
15322 # config.status does its own redirection, appending to config.log.
15323 # Unfortunately, on DOS this fails, as config.log is still kept open
15324 # by configure, so config.status won't be able to write to it; its
15325 # output is simply discarded. So we exec the FD to /dev/null,
15326 # effectively closing config.log, so it can be properly (re)opened and
15327 # appended to by config.status. When coming back to configure, we
15328 # need to make the FD available again.
15329 if test "$no_create" != yes; then
15330 ac_cs_success=:
15331 ac_config_status_args=
15332 test "$silent" = yes &&
15333 ac_config_status_args="$ac_config_status_args --quiet"
15334 exec 5>/dev/null
15335 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15336 exec 5>>config.log
15337 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15338 # would make configure fail if this is the last instruction.
15339 $ac_cs_success || as_fn_exit 1
15340 fi
15341 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15343 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15344 fi
15345
+0
-15342
autom4te.cache/output.1 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.69 for libdvdread 4.2.0.
3 @%:@
4 @%:@
5 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 @%:@
7 @%:@
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in @%:@(
25 *posix*) :
26 set -o posix ;; @%:@(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in @%:@(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in @%:@((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in @%:@ ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in @%:@(
169 *posix*) :
170 set -o posix ;; @%:@(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198
199 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
200 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
201 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 PATH=/empty FPATH=/empty; export PATH FPATH
204 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
205 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
206 test \$(( 1 + 1 )) = 2 || exit 1"
207 if (eval "$as_required") 2>/dev/null; then :
208 as_have_required=yes
209 else
210 as_have_required=no
211 fi
212 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
213
214 else
215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216 as_found=false
217 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218 do
219 IFS=$as_save_IFS
220 test -z "$as_dir" && as_dir=.
221 as_found=:
222 case $as_dir in @%:@(
223 /*)
224 for as_base in sh bash ksh sh5; do
225 # Try only shells that exist, to save several forks.
226 as_shell=$as_dir/$as_base
227 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
228 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
229 CONFIG_SHELL=$as_shell as_have_required=yes
230 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 break 2
232 fi
233 fi
234 done;;
235 esac
236 as_found=false
237 done
238 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
240 CONFIG_SHELL=$SHELL as_have_required=yes
241 fi; }
242 IFS=$as_save_IFS
243
244
245 if test "x$CONFIG_SHELL" != x; then :
246 export CONFIG_SHELL
247 # We cannot yet assume a decent shell, so we have to provide a
248 # neutralization value for shells without unset; and this also
249 # works around shells that cannot unset nonexistent variables.
250 # Preserve -v and -x to the replacement shell.
251 BASH_ENV=/dev/null
252 ENV=/dev/null
253 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
254 case $- in @%:@ ((((
255 *v*x* | *x*v* ) as_opts=-vx ;;
256 *v* ) as_opts=-v ;;
257 *x* ) as_opts=-x ;;
258 * ) as_opts= ;;
259 esac
260 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
261 # Admittedly, this is quite paranoid, since all the known shells bail
262 # out after a failed `exec'.
263 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
264 exit 255
265 fi
266
267 if test x$as_have_required = xno; then :
268 $as_echo "$0: This script requires a shell more modern than all"
269 $as_echo "$0: the shells that I found on your system."
270 if test x${ZSH_VERSION+set} = xset ; then
271 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
272 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
273 else
274 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
275 $0: including any error possibly output before this
276 $0: message. Then install a modern shell, or manually run
277 $0: the script under such a shell if you do have one."
278 fi
279 exit 1
280 fi
281 fi
282 fi
283 SHELL=${CONFIG_SHELL-/bin/sh}
284 export SHELL
285 # Unset more variables known to interfere with behavior of common tools.
286 CLICOLOR_FORCE= GREP_OPTIONS=
287 unset CLICOLOR_FORCE GREP_OPTIONS
288
289 ## --------------------- ##
290 ## M4sh Shell Functions. ##
291 ## --------------------- ##
292 @%:@ as_fn_unset VAR
293 @%:@ ---------------
294 @%:@ Portably unset VAR.
295 as_fn_unset ()
296 {
297 { eval $1=; unset $1;}
298 }
299 as_unset=as_fn_unset
300
301 @%:@ as_fn_set_status STATUS
302 @%:@ -----------------------
303 @%:@ Set @S|@? to STATUS, without forking.
304 as_fn_set_status ()
305 {
306 return $1
307 } @%:@ as_fn_set_status
308
309 @%:@ as_fn_exit STATUS
310 @%:@ -----------------
311 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
312 as_fn_exit ()
313 {
314 set +e
315 as_fn_set_status $1
316 exit $1
317 } @%:@ as_fn_exit
318
319 @%:@ as_fn_mkdir_p
320 @%:@ -------------
321 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
322 as_fn_mkdir_p ()
323 {
324
325 case $as_dir in #(
326 -*) as_dir=./$as_dir;;
327 esac
328 test -d "$as_dir" || eval $as_mkdir_p || {
329 as_dirs=
330 while :; do
331 case $as_dir in #(
332 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
333 *) as_qdir=$as_dir;;
334 esac
335 as_dirs="'$as_qdir' $as_dirs"
336 as_dir=`$as_dirname -- "$as_dir" ||
337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
338 X"$as_dir" : 'X\(//\)[^/]' \| \
339 X"$as_dir" : 'X\(//\)$' \| \
340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
341 $as_echo X"$as_dir" |
342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)[^/].*/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)$/{
351 s//\1/
352 q
353 }
354 /^X\(\/\).*/{
355 s//\1/
356 q
357 }
358 s/.*/./; q'`
359 test -d "$as_dir" && break
360 done
361 test -z "$as_dirs" || eval "mkdir $as_dirs"
362 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363
364
365 } @%:@ as_fn_mkdir_p
366
367 @%:@ as_fn_executable_p FILE
368 @%:@ -----------------------
369 @%:@ Test if FILE is an executable regular file.
370 as_fn_executable_p ()
371 {
372 test -f "$1" && test -x "$1"
373 } @%:@ as_fn_executable_p
374 @%:@ as_fn_append VAR VALUE
375 @%:@ ----------------------
376 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
377 @%:@ advantage of any shell optimizations that allow amortized linear growth over
378 @%:@ repeated appends, instead of the typical quadratic growth present in naive
379 @%:@ implementations.
380 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
381 eval 'as_fn_append ()
382 {
383 eval $1+=\$2
384 }'
385 else
386 as_fn_append ()
387 {
388 eval $1=\$$1\$2
389 }
390 fi # as_fn_append
391
392 @%:@ as_fn_arith ARG...
393 @%:@ ------------------
394 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
395 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
396 @%:@ must be portable across @S|@(()) and expr.
397 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 eval 'as_fn_arith ()
399 {
400 as_val=$(( $* ))
401 }'
402 else
403 as_fn_arith ()
404 {
405 as_val=`expr "$@" || test $? -eq 1`
406 }
407 fi # as_fn_arith
408
409
410 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
411 @%:@ ----------------------------------------
412 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
413 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
414 @%:@ script with STATUS, using 1 if that was 0.
415 as_fn_error ()
416 {
417 as_status=$1; test $as_status -eq 0 && as_status=1
418 if test "$4"; then
419 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
420 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
421 fi
422 $as_echo "$as_me: error: $2" >&2
423 as_fn_exit $as_status
424 } @%:@ as_fn_error
425
426 if expr a : '\(a\)' >/dev/null 2>&1 &&
427 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 as_expr=expr
429 else
430 as_expr=false
431 fi
432
433 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 as_basename=basename
435 else
436 as_basename=false
437 fi
438
439 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_dirname=dirname
441 else
442 as_dirname=false
443 fi
444
445 as_me=`$as_basename -- "$0" ||
446 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
447 X"$0" : 'X\(//\)$' \| \
448 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
449 $as_echo X/"$0" |
450 sed '/^.*\/\([^/][^/]*\)\/*$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\/\)$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\).*/{
459 s//\1/
460 q
461 }
462 s/.*/./; q'`
463
464 # Avoid depending upon Character Ranges.
465 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
466 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
467 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
468 as_cr_digits='0123456789'
469 as_cr_alnum=$as_cr_Letters$as_cr_digits
470
471
472 as_lineno_1=$LINENO as_lineno_1a=$LINENO
473 as_lineno_2=$LINENO as_lineno_2a=$LINENO
474 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
475 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
476 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
477 sed -n '
478 p
479 /[$]LINENO/=
480 ' <$as_myself |
481 sed '
482 s/[$]LINENO.*/&-/
483 t lineno
484 b
485 :lineno
486 N
487 :loop
488 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 t loop
490 s/-\n.*//
491 ' >$as_me.lineno &&
492 chmod +x "$as_me.lineno" ||
493 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
494
495 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
496 # already done that, so ensure we don't try to do so again and fall
497 # in an infinite loop. This has already happened in practice.
498 _as_can_reexec=no; export _as_can_reexec
499 # Don't try to exec as it changes $[0], causing all sort of problems
500 # (the dirname of $[0] is not the place where we might find the
501 # original and so on. Autoconf is especially sensitive to this).
502 . "./$as_me.lineno"
503 # Exit status is that of the last command.
504 exit
505 }
506
507 ECHO_C= ECHO_N= ECHO_T=
508 case `echo -n x` in @%:@(((((
509 -n*)
510 case `echo 'xy\c'` in
511 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
512 xy) ECHO_C='\c';;
513 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
514 ECHO_T=' ';;
515 esac;;
516 *)
517 ECHO_N='-n';;
518 esac
519
520 rm -f conf$$ conf$$.exe conf$$.file
521 if test -d conf$$.dir; then
522 rm -f conf$$.dir/conf$$.file
523 else
524 rm -f conf$$.dir
525 mkdir conf$$.dir 2>/dev/null
526 fi
527 if (echo >conf$$.file) 2>/dev/null; then
528 if ln -s conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s='ln -s'
530 # ... but there are two gotchas:
531 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
532 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
533 # In both cases, we have to default to `cp -pR'.
534 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
535 as_ln_s='cp -pR'
536 elif ln conf$$.file conf$$ 2>/dev/null; then
537 as_ln_s=ln
538 else
539 as_ln_s='cp -pR'
540 fi
541 else
542 as_ln_s='cp -pR'
543 fi
544 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
545 rmdir conf$$.dir 2>/dev/null
546
547 if mkdir -p . 2>/dev/null; then
548 as_mkdir_p='mkdir -p "$as_dir"'
549 else
550 test -d ./-p && rmdir ./-p
551 as_mkdir_p=false
552 fi
553
554 as_test_x='test -x'
555 as_executable_p=as_fn_executable_p
556
557 # Sed expression to map a string onto a valid CPP name.
558 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
559
560 # Sed expression to map a string onto a valid variable name.
561 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
562
563 SHELL=${CONFIG_SHELL-/bin/sh}
564
565
566 test -n "$DJDIR" || exec 7<&0 </dev/null
567 exec 6>&1
568
569 # Name of the host.
570 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
571 # so uname gets run too.
572 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
573
574 #
575 # Initializations.
576 #
577 ac_default_prefix=/usr/local
578 ac_clean_files=
579 ac_config_libobj_dir=.
580 LIB@&t@OBJS=
581 cross_compiling=no
582 subdirs=
583 MFLAGS=
584 MAKEFLAGS=
585
586 # Identity of this package.
587 PACKAGE_NAME='libdvdread'
588 PACKAGE_TARNAME='libdvdread'
589 PACKAGE_VERSION='4.2.0'
590 PACKAGE_STRING='libdvdread 4.2.0'
591 PACKAGE_BUGREPORT=''
592 PACKAGE_URL=''
593
594 ac_unique_file="src/dvdread/dvd_reader.h"
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_subst_vars='am__EXEEXT_FALSE
632 am__EXEEXT_TRUE
633 LTLIBOBJS
634 LIB@&t@OBJS
635 INCLUDES
636 DOXYGEN
637 DEBUG_CFLAGS
638 CSS_LIBS
639 DYNAMIC_LD_LIBS
640 STATIC
641 LIBTOOL_DEPS
642 CPP
643 OTOOL64
644 OTOOL
645 LIPO
646 NMEDIT
647 DSYMUTIL
648 MANIFEST_TOOL
649 RANLIB
650 ac_ct_AR
651 AR
652 DLLTOOL
653 OBJDUMP
654 NM
655 ac_ct_DUMPBIN
656 DUMPBIN
657 LD
658 FGREP
659 EGREP
660 GREP
661 SED
662 LIBTOOL
663 LN_S
664 am__fastdepCC_FALSE
665 am__fastdepCC_TRUE
666 CCDEPMODE
667 am__nodep
668 AMDEPBACKSLASH
669 AMDEP_FALSE
670 AMDEP_TRUE
671 am__quote
672 am__include
673 DEPDIR
674 OBJEXT
675 EXEEXT
676 ac_ct_CC
677 CPPFLAGS
678 LDFLAGS
679 CFLAGS
680 CC
681 DVDREAD_LT_REVISION
682 DVDREAD_LT_AGE
683 DVDREAD_LT_CURRENT
684 DVDREAD_SUB
685 DVDREAD_MINOR
686 DVDREAD_MAJOR
687 host_os
688 host_vendor
689 host_cpu
690 host
691 build_os
692 build_vendor
693 build_cpu
694 build
695 am__untar
696 am__tar
697 AMTAR
698 am__leading_dot
699 SET_MAKE
700 AWK
701 mkdir_p
702 MKDIR_P
703 INSTALL_STRIP_PROGRAM
704 STRIP
705 install_sh
706 MAKEINFO
707 AUTOHEADER
708 AUTOMAKE
709 AUTOCONF
710 ACLOCAL
711 VERSION
712 PACKAGE
713 CYGPATH_W
714 am__isrc
715 INSTALL_DATA
716 INSTALL_SCRIPT
717 INSTALL_PROGRAM
718 target_alias
719 host_alias
720 build_alias
721 LIBS
722 ECHO_T
723 ECHO_N
724 ECHO_C
725 DEFS
726 mandir
727 localedir
728 libdir
729 psdir
730 pdfdir
731 dvidir
732 htmldir
733 infodir
734 docdir
735 oldincludedir
736 includedir
737 localstatedir
738 sharedstatedir
739 sysconfdir
740 datadir
741 datarootdir
742 libexecdir
743 sbindir
744 bindir
745 program_transform_name
746 prefix
747 exec_prefix
748 PACKAGE_URL
749 PACKAGE_BUGREPORT
750 PACKAGE_STRING
751 PACKAGE_VERSION
752 PACKAGE_TARNAME
753 PACKAGE_NAME
754 PATH_SEPARATOR
755 SHELL'
756 ac_subst_files=''
757 ac_user_opts='
758 enable_option_checking
759 enable_dependency_tracking
760 enable_static
761 enable_shared
762 with_pic
763 enable_fast_install
764 with_gnu_ld
765 with_sysroot
766 enable_libtool_lock
767 enable_libdvdcss
768 enable_dlfcn
769 '
770 ac_precious_vars='build_alias
771 host_alias
772 target_alias
773 CC
774 CFLAGS
775 LDFLAGS
776 LIBS
777 CPPFLAGS
778 CPP'
779
780
781 # Initialize some variables set by options.
782 ac_init_help=
783 ac_init_version=false
784 ac_unrecognized_opts=
785 ac_unrecognized_sep=
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
788 cache_file=/dev/null
789 exec_prefix=NONE
790 no_create=
791 no_recursion=
792 prefix=NONE
793 program_prefix=NONE
794 program_suffix=NONE
795 program_transform_name=s,x,x,
796 silent=
797 site=
798 srcdir=
799 verbose=
800 x_includes=NONE
801 x_libraries=NONE
802
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
821 htmldir='${docdir}'
822 dvidir='${docdir}'
823 pdfdir='${docdir}'
824 psdir='${docdir}'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
828
829 ac_prev=
830 ac_dashdash=
831 for ac_option
832 do
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
836 ac_prev=
837 continue
838 fi
839
840 case $ac_option in
841 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 *=) ac_optarg= ;;
843 *) ac_optarg=yes ;;
844 esac
845
846 # Accept the important Cygnus configure options, so we can diagnose typos.
847
848 case $ac_dashdash$ac_option in
849 --)
850 ac_dashdash=yes ;;
851
852 -bindir | --bindir | --bindi | --bind | --bin | --bi)
853 ac_prev=bindir ;;
854 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
855 bindir=$ac_optarg ;;
856
857 -build | --build | --buil | --bui | --bu)
858 ac_prev=build_alias ;;
859 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
860 build_alias=$ac_optarg ;;
861
862 -cache-file | --cache-file | --cache-fil | --cache-fi \
863 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
864 ac_prev=cache_file ;;
865 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
866 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
867 cache_file=$ac_optarg ;;
868
869 --config-cache | -C)
870 cache_file=config.cache ;;
871
872 -datadir | --datadir | --datadi | --datad)
873 ac_prev=datadir ;;
874 -datadir=* | --datadir=* | --datadi=* | --datad=*)
875 datadir=$ac_optarg ;;
876
877 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
878 | --dataroo | --dataro | --datar)
879 ac_prev=datarootdir ;;
880 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
881 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
882 datarootdir=$ac_optarg ;;
883
884 -disable-* | --disable-*)
885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888 as_fn_error $? "invalid feature name: $ac_useropt"
889 ac_useropt_orig=$ac_useropt
890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891 case $ac_user_opts in
892 *"
893 "enable_$ac_useropt"
894 "*) ;;
895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
896 ac_unrecognized_sep=', ';;
897 esac
898 eval enable_$ac_useropt=no ;;
899
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
904
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
909
910 -enable-* | --enable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914 as_fn_error $? "invalid feature name: $ac_useropt"
915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
918 *"
919 "enable_$ac_useropt"
920 "*) ;;
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
923 esac
924 eval enable_$ac_useropt=\$ac_optarg ;;
925
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
934
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
938
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
945
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
950
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
956
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
963
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
968
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
973
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
980
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
985
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
992
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
997
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1001
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1005
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1009
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1018
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1023
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1030
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1037
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1054
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1059
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1064
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1068
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1074
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1085
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1090
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1095
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1102
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1107
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1110
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1113
1114 -with-* | --with-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1122 *"
1123 "with_$ac_useropt"
1124 "*) ;;
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1127 esac
1128 eval with_$ac_useropt=\$ac_optarg ;;
1129
1130 -without-* | --without-*)
1131 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1134 as_fn_error $? "invalid package name: $ac_useropt"
1135 ac_useropt_orig=$ac_useropt
1136 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1138 *"
1139 "with_$ac_useropt"
1140 "*) ;;
1141 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142 ac_unrecognized_sep=', ';;
1143 esac
1144 eval with_$ac_useropt=no ;;
1145
1146 --x)
1147 # Obsolete; use --with-x.
1148 with_x=yes ;;
1149
1150 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151 | --x-incl | --x-inc | --x-in | --x-i)
1152 ac_prev=x_includes ;;
1153 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155 x_includes=$ac_optarg ;;
1156
1157 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159 ac_prev=x_libraries ;;
1160 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162 x_libraries=$ac_optarg ;;
1163
1164 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1165 Try \`$0 --help' for more information"
1166 ;;
1167
1168 *=*)
1169 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1170 # Reject names that are not valid shell variable names.
1171 case $ac_envvar in #(
1172 '' | [0-9]* | *[!_$as_cr_alnum]* )
1173 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1174 esac
1175 eval $ac_envvar=\$ac_optarg
1176 export $ac_envvar ;;
1177
1178 *)
1179 # FIXME: should be removed in autoconf 3.0.
1180 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1184 ;;
1185
1186 esac
1187 done
1188
1189 if test -n "$ac_prev"; then
1190 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1191 as_fn_error $? "missing argument to $ac_option"
1192 fi
1193
1194 if test -n "$ac_unrecognized_opts"; then
1195 case $enable_option_checking in
1196 no) ;;
1197 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1198 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 esac
1200 fi
1201
1202 # Check all directory arguments for consistency.
1203 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1204 datadir sysconfdir sharedstatedir localstatedir includedir \
1205 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1206 libdir localedir mandir
1207 do
1208 eval ac_val=\$$ac_var
1209 # Remove trailing slashes.
1210 case $ac_val in
1211 */ )
1212 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1213 eval $ac_var=\$ac_val;;
1214 esac
1215 # Be sure to have absolute directory names.
1216 case $ac_val in
1217 [\\/$]* | ?:[\\/]* ) continue;;
1218 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1219 esac
1220 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1221 done
1222
1223 # There might be people who depend on the old broken behavior: `$host'
1224 # used to hold the argument of --host etc.
1225 # FIXME: To remove some day.
1226 build=$build_alias
1227 host=$host_alias
1228 target=$target_alias
1229
1230 # FIXME: To remove some day.
1231 if test "x$host_alias" != x; then
1232 if test "x$build_alias" = x; then
1233 cross_compiling=maybe
1234 elif test "x$build_alias" != "x$host_alias"; then
1235 cross_compiling=yes
1236 fi
1237 fi
1238
1239 ac_tool_prefix=
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241
1242 test "$silent" = yes && exec 6>/dev/null
1243
1244
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error $? "working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error $? "pwd does not report name of working directory"
1251
1252
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 s//\1/
1265 q
1266 }
1267 /^X\(\/\/\)[^/].*/{
1268 s//\1/
1269 q
1270 }
1271 /^X\(\/\/\)$/{
1272 s//\1/
1273 q
1274 }
1275 /^X\(\/\).*/{
1276 s//\1/
1277 q
1278 }
1279 s/.*/./; q'`
1280 srcdir=$ac_confdir
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282 srcdir=..
1283 fi
1284 else
1285 ac_srcdir_defaulted=no
1286 fi
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1290 fi
1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 ac_abs_confdir=`(
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1294 pwd)`
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 srcdir=.
1298 fi
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1302 case $srcdir in
1303 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 esac
1305 for ac_var in $ac_precious_vars; do
1306 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_${ac_var}_value=\$${ac_var}
1308 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310 done
1311
1312 #
1313 # Report the --help message.
1314 #
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1318 cat <<_ACEOF
1319 \`configure' configures libdvdread 4.2.0 to adapt to many kinds of systems.
1320
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1322
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1325
1326 Defaults for the options are specified in brackets.
1327
1328 Configuration:
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking ...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 @<:@@S|@ac_default_prefix@:>@
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 @<:@PREFIX@:>@
1344
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1349
1350 For better control, use the options below.
1351
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libdvdread@:>@
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1372 _ACEOF
1373
1374 cat <<\_ACEOF
1375
1376 Program names:
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1380
1381 System types:
1382 --build=BUILD configure for building on BUILD [guessed]
1383 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1384 _ACEOF
1385 fi
1386
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of libdvdread 4.2.0:";;
1390 esac
1391 cat <<\_ACEOF
1392
1393 Optional Features:
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --disable-dependency-tracking speeds up one-time build
1398 --enable-dependency-tracking do not reject slow dependency extractors
1399 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1400 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1401 --enable-fast-install@<:@=PKGS@:>@
1402 optimize for fast installation @<:@default=yes@:>@
1403 --disable-libtool-lock avoid locking (might break parallel builds)
1404 --enable-libdvdcss force linking against libdvdcss
1405 --enable-dlfcn use builtin dlfcn for mingw (default is auto)
1406
1407 Optional Packages:
1408 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1409 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1410 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1411 both@:>@
1412 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1413 --with-sysroot=DIR Search for dependent libraries within DIR
1414 (or the compiler's sysroot if not specified).
1415
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1424 CPP C preprocessor
1425
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1428
1429 Report bugs to the package provider.
1430 _ACEOF
1431 ac_status=$?
1432 fi
1433
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" ||
1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1439 continue
1440 ac_builddir=.
1441
1442 case "$ac_dir" in
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *)
1445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 esac ;;
1452 esac
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1457
1458 case $srcdir in
1459 .) # We are building in place.
1460 ac_srcdir=.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1467 *) # Relative name.
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1471 esac
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1473
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1477 echo &&
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1480 echo &&
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1482 else
1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1484 fi || ac_status=$?
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1486 done
1487 fi
1488
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1491 cat <<\_ACEOF
1492 libdvdread configure 4.2.0
1493 generated by GNU Autoconf 2.69
1494
1495 Copyright (C) 2012 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1498 _ACEOF
1499 exit
1500 fi
1501
1502 ## ------------------------ ##
1503 ## Autoconf initialization. ##
1504 ## ------------------------ ##
1505
1506 @%:@ ac_fn_c_try_compile LINENO
1507 @%:@ --------------------------
1508 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1509 ac_fn_c_try_compile ()
1510 {
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext
1513 if { { ac_try="$ac_compile"
1514 case "(($ac_try" in
1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516 *) ac_try_echo=$ac_try;;
1517 esac
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_compile") 2>conftest.err
1521 ac_status=$?
1522 if test -s conftest.err; then
1523 grep -v '^ *+' conftest.err >conftest.er1
1524 cat conftest.er1 >&5
1525 mv -f conftest.er1 conftest.err
1526 fi
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } && {
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.$ac_objext; then :
1532 ac_retval=0
1533 else
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1536
1537 ac_retval=1
1538 fi
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status $ac_retval
1541
1542 } @%:@ ac_fn_c_try_compile
1543
1544 @%:@ ac_fn_c_try_link LINENO
1545 @%:@ -----------------------
1546 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_link ()
1548 {
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext conftest$ac_exeext
1551 if { { ac_try="$ac_link"
1552 case "(($ac_try" in
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1555 esac
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_link") 2>conftest.err
1559 ac_status=$?
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1564 fi
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest$ac_exeext && {
1570 test "$cross_compiling" = yes ||
1571 test -x conftest$ac_exeext
1572 }; then :
1573 ac_retval=0
1574 else
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1577
1578 ac_retval=1
1579 fi
1580 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1581 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1582 # interfere with the next link command; also delete a directory that is
1583 # left behind by Apple's compiler. We do this before executing the actions.
1584 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1587
1588 } @%:@ ac_fn_c_try_link
1589
1590 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1591 @%:@ -------------------------------------------------------
1592 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1593 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1594 ac_fn_c_check_header_compile ()
1595 {
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1601 else
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1604 $4
1605 @%:@include <$2>
1606 _ACEOF
1607 if ac_fn_c_try_compile "$LINENO"; then :
1608 eval "$3=yes"
1609 else
1610 eval "$3=no"
1611 fi
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1613 fi
1614 eval ac_res=\$$3
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616 $as_echo "$ac_res" >&6; }
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618
1619 } @%:@ ac_fn_c_check_header_compile
1620
1621 @%:@ ac_fn_c_try_cpp LINENO
1622 @%:@ ----------------------
1623 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1624 ac_fn_c_try_cpp ()
1625 {
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_cpp conftest.$ac_ext"
1628 case "(($ac_try" in
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1631 esac
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1635 ac_status=$?
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1640 fi
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1645 }; then :
1646 ac_retval=0
1647 else
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1650
1651 ac_retval=1
1652 fi
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1655
1656 } @%:@ ac_fn_c_try_cpp
1657
1658 @%:@ ac_fn_c_try_run LINENO
1659 @%:@ ----------------------
1660 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1661 @%:@ that executables *can* be run.
1662 ac_fn_c_try_run ()
1663 {
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if { { ac_try="$ac_link"
1666 case "(($ac_try" in
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1669 esac
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>&5
1673 ac_status=$?
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676 { { case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_try") 2>&5
1683 ac_status=$?
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; }; }; then :
1686 ac_retval=0
1687 else
1688 $as_echo "$as_me: program exited with status $ac_status" >&5
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1691
1692 ac_retval=$ac_status
1693 fi
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1697
1698 } @%:@ ac_fn_c_try_run
1699
1700 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1701 @%:@ ----------------------------------
1702 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1703 ac_fn_c_check_func ()
1704 {
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1710 else
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1715 #define $2 innocuous_$2
1716
1717 /* System header to define __stub macros and hopefully few prototypes,
1718 which can conflict with char $2 (); below.
1719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1720 <limits.h> exists even on freestanding compilers. */
1721
1722 #ifdef __STDC__
1723 # include <limits.h>
1724 #else
1725 # include <assert.h>
1726 #endif
1727
1728 #undef $2
1729
1730 /* Override any GCC internal prototype to avoid an error.
1731 Use char because int might match the return type of a GCC
1732 builtin and then its argument prototype would still apply. */
1733 #ifdef __cplusplus
1734 extern "C"
1735 #endif
1736 char $2 ();
1737 /* The GNU C library defines this for functions which it implements
1738 to always fail with ENOSYS. Some functions are actually named
1739 something starting with __ and the normal name is an alias. */
1740 #if defined __stub_$2 || defined __stub___$2
1741 choke me
1742 #endif
1743
1744 int
1745 main ()
1746 {
1747 return $2 ();
1748 ;
1749 return 0;
1750 }
1751 _ACEOF
1752 if ac_fn_c_try_link "$LINENO"; then :
1753 eval "$3=yes"
1754 else
1755 eval "$3=no"
1756 fi
1757 rm -f core conftest.err conftest.$ac_objext \
1758 conftest$ac_exeext conftest.$ac_ext
1759 fi
1760 eval ac_res=\$$3
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764
1765 } @%:@ ac_fn_c_check_func
1766
1767 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1768 @%:@ -------------------------------------------------------
1769 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1770 @%:@ the include files in INCLUDES and setting the cache variable VAR
1771 @%:@ accordingly.
1772 ac_fn_c_check_header_mongrel ()
1773 {
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 if eval \${$3+:} false; then :
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if eval \${$3+:} false; then :
1779 $as_echo_n "(cached) " >&6
1780 fi
1781 eval ac_res=\$$3
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783 $as_echo "$ac_res" >&6; }
1784 else
1785 # Is the header compilable?
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1787 $as_echo_n "checking $2 usability... " >&6; }
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1790 $4
1791 @%:@include <$2>
1792 _ACEOF
1793 if ac_fn_c_try_compile "$LINENO"; then :
1794 ac_header_compiler=yes
1795 else
1796 ac_header_compiler=no
1797 fi
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1800 $as_echo "$ac_header_compiler" >&6; }
1801
1802 # Is the header present?
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1804 $as_echo_n "checking $2 presence... " >&6; }
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1807 @%:@include <$2>
1808 _ACEOF
1809 if ac_fn_c_try_cpp "$LINENO"; then :
1810 ac_header_preproc=yes
1811 else
1812 ac_header_preproc=no
1813 fi
1814 rm -f conftest.err conftest.i conftest.$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1816 $as_echo "$ac_header_preproc" >&6; }
1817
1818 # So? What about this header?
1819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1820 yes:no: )
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1822 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1824 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1825 ;;
1826 no:yes:* )
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1828 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1830 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1832 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1834 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1836 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1837 ;;
1838 esac
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if eval \${$3+:} false; then :
1842 $as_echo_n "(cached) " >&6
1843 else
1844 eval "$3=\$ac_header_compiler"
1845 fi
1846 eval ac_res=\$$3
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1849 fi
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851
1852 } @%:@ ac_fn_c_check_header_mongrel
1853
1854 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1855 @%:@ -------------------------------------------
1856 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1857 @%:@ variable VAR accordingly.
1858 ac_fn_c_check_type ()
1859 {
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864 $as_echo_n "(cached) " >&6
1865 else
1866 eval "$3=no"
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1869 $4
1870 int
1871 main ()
1872 {
1873 if (sizeof ($2))
1874 return 0;
1875 ;
1876 return 0;
1877 }
1878 _ACEOF
1879 if ac_fn_c_try_compile "$LINENO"; then :
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1882 $4
1883 int
1884 main ()
1885 {
1886 if (sizeof (($2)))
1887 return 0;
1888 ;
1889 return 0;
1890 }
1891 _ACEOF
1892 if ac_fn_c_try_compile "$LINENO"; then :
1893
1894 else
1895 eval "$3=yes"
1896 fi
1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 fi
1899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1900 fi
1901 eval ac_res=\$$3
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903 $as_echo "$ac_res" >&6; }
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905
1906 } @%:@ ac_fn_c_check_type
1907 cat >config.log <<_ACEOF
1908 This file contains any messages produced by compilers while
1909 running configure, to aid debugging if configure makes a mistake.
1910
1911 It was created by libdvdread $as_me 4.2.0, which was
1912 generated by GNU Autoconf 2.69. Invocation command line was
1913
1914 $ $0 $@
1915
1916 _ACEOF
1917 exec 5>>config.log
1918 {
1919 cat <<_ASUNAME
1920 ## --------- ##
1921 ## Platform. ##
1922 ## --------- ##
1923
1924 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1925 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1926 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1927 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1928 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1929
1930 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1931 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1932
1933 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1934 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1935 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1936 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1937 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1938 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1939 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1940
1941 _ASUNAME
1942
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 for as_dir in $PATH
1945 do
1946 IFS=$as_save_IFS
1947 test -z "$as_dir" && as_dir=.
1948 $as_echo "PATH: $as_dir"
1949 done
1950 IFS=$as_save_IFS
1951
1952 } >&5
1953
1954 cat >&5 <<_ACEOF
1955
1956
1957 ## ----------- ##
1958 ## Core tests. ##
1959 ## ----------- ##
1960
1961 _ACEOF
1962
1963
1964 # Keep a trace of the command line.
1965 # Strip out --no-create and --no-recursion so they do not pile up.
1966 # Strip out --silent because we don't want to record it for future runs.
1967 # Also quote any args containing shell meta-characters.
1968 # Make two passes to allow for proper duplicate-argument suppression.
1969 ac_configure_args=
1970 ac_configure_args0=
1971 ac_configure_args1=
1972 ac_must_keep_next=false
1973 for ac_pass in 1 2
1974 do
1975 for ac_arg
1976 do
1977 case $ac_arg in
1978 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1980 | -silent | --silent | --silen | --sile | --sil)
1981 continue ;;
1982 *\'*)
1983 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1984 esac
1985 case $ac_pass in
1986 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1987 2)
1988 as_fn_append ac_configure_args1 " '$ac_arg'"
1989 if test $ac_must_keep_next = true; then
1990 ac_must_keep_next=false # Got value, back to normal.
1991 else
1992 case $ac_arg in
1993 *=* | --config-cache | -C | -disable-* | --disable-* \
1994 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1995 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1996 | -with-* | --with-* | -without-* | --without-* | --x)
1997 case "$ac_configure_args0 " in
1998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1999 esac
2000 ;;
2001 -* ) ac_must_keep_next=true ;;
2002 esac
2003 fi
2004 as_fn_append ac_configure_args " '$ac_arg'"
2005 ;;
2006 esac
2007 done
2008 done
2009 { ac_configure_args0=; unset ac_configure_args0;}
2010 { ac_configure_args1=; unset ac_configure_args1;}
2011
2012 # When interrupted or exit'd, cleanup temporary files, and complete
2013 # config.log. We remove comments because anyway the quotes in there
2014 # would cause problems or look ugly.
2015 # WARNING: Use '\'' to represent an apostrophe within the trap.
2016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2017 trap 'exit_status=$?
2018 # Save into config.log some information that might help in debugging.
2019 {
2020 echo
2021
2022 $as_echo "## ---------------- ##
2023 ## Cache variables. ##
2024 ## ---------------- ##"
2025 echo
2026 # The following way of writing the cache mishandles newlines in values,
2027 (
2028 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2029 eval ac_val=\$$ac_var
2030 case $ac_val in #(
2031 *${as_nl}*)
2032 case $ac_var in #(
2033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2035 esac
2036 case $ac_var in #(
2037 _ | IFS | as_nl) ;; #(
2038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2039 *) { eval $ac_var=; unset $ac_var;} ;;
2040 esac ;;
2041 esac
2042 done
2043 (set) 2>&1 |
2044 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2045 *${as_nl}ac_space=\ *)
2046 sed -n \
2047 "s/'\''/'\''\\\\'\'''\''/g;
2048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2049 ;; #(
2050 *)
2051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2052 ;;
2053 esac |
2054 sort
2055 )
2056 echo
2057
2058 $as_echo "## ----------------- ##
2059 ## Output variables. ##
2060 ## ----------------- ##"
2061 echo
2062 for ac_var in $ac_subst_vars
2063 do
2064 eval ac_val=\$$ac_var
2065 case $ac_val in
2066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2067 esac
2068 $as_echo "$ac_var='\''$ac_val'\''"
2069 done | sort
2070 echo
2071
2072 if test -n "$ac_subst_files"; then
2073 $as_echo "## ------------------- ##
2074 ## File substitutions. ##
2075 ## ------------------- ##"
2076 echo
2077 for ac_var in $ac_subst_files
2078 do
2079 eval ac_val=\$$ac_var
2080 case $ac_val in
2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2082 esac
2083 $as_echo "$ac_var='\''$ac_val'\''"
2084 done | sort
2085 echo
2086 fi
2087
2088 if test -s confdefs.h; then
2089 $as_echo "## ----------- ##
2090 ## confdefs.h. ##
2091 ## ----------- ##"
2092 echo
2093 cat confdefs.h
2094 echo
2095 fi
2096 test "$ac_signal" != 0 &&
2097 $as_echo "$as_me: caught signal $ac_signal"
2098 $as_echo "$as_me: exit $exit_status"
2099 } >&5
2100 rm -f core *.core core.conftest.* &&
2101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2102 exit $exit_status
2103 ' 0
2104 for ac_signal in 1 2 13 15; do
2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2106 done
2107 ac_signal=0
2108
2109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2110 rm -f -r conftest* confdefs.h
2111
2112 $as_echo "/* confdefs.h */" > confdefs.h
2113
2114 # Predefined preprocessor variables.
2115
2116 cat >>confdefs.h <<_ACEOF
2117 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2118 _ACEOF
2119
2120 cat >>confdefs.h <<_ACEOF
2121 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2122 _ACEOF
2123
2124 cat >>confdefs.h <<_ACEOF
2125 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2126 _ACEOF
2127
2128 cat >>confdefs.h <<_ACEOF
2129 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2130 _ACEOF
2131
2132 cat >>confdefs.h <<_ACEOF
2133 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2134 _ACEOF
2135
2136 cat >>confdefs.h <<_ACEOF
2137 @%:@define PACKAGE_URL "$PACKAGE_URL"
2138 _ACEOF
2139
2140
2141 # Let the site file select an alternate cache file if it wants to.
2142 # Prefer an explicitly selected file to automatically selected ones.
2143 ac_site_file1=NONE
2144 ac_site_file2=NONE
2145 if test -n "$CONFIG_SITE"; then
2146 # We do not want a PATH search for config.site.
2147 case $CONFIG_SITE in @%:@((
2148 -*) ac_site_file1=./$CONFIG_SITE;;
2149 */*) ac_site_file1=$CONFIG_SITE;;
2150 *) ac_site_file1=./$CONFIG_SITE;;
2151 esac
2152 elif test "x$prefix" != xNONE; then
2153 ac_site_file1=$prefix/share/config.site
2154 ac_site_file2=$prefix/etc/config.site
2155 else
2156 ac_site_file1=$ac_default_prefix/share/config.site
2157 ac_site_file2=$ac_default_prefix/etc/config.site
2158 fi
2159 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2160 do
2161 test "x$ac_site_file" = xNONE && continue
2162 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2164 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2165 sed 's/^/| /' "$ac_site_file" >&5
2166 . "$ac_site_file" \
2167 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2169 as_fn_error $? "failed to load site script $ac_site_file
2170 See \`config.log' for more details" "$LINENO" 5; }
2171 fi
2172 done
2173
2174 if test -r "$cache_file"; then
2175 # Some versions of bash will fail to source /dev/null (special files
2176 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2177 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2179 $as_echo "$as_me: loading cache $cache_file" >&6;}
2180 case $cache_file in
2181 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2182 *) . "./$cache_file";;
2183 esac
2184 fi
2185 else
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2187 $as_echo "$as_me: creating cache $cache_file" >&6;}
2188 >$cache_file
2189 fi
2190
2191 # Check that the precious variables saved in the cache have kept the same
2192 # value.
2193 ac_cache_corrupted=false
2194 for ac_var in $ac_precious_vars; do
2195 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2196 eval ac_new_set=\$ac_env_${ac_var}_set
2197 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2198 eval ac_new_val=\$ac_env_${ac_var}_value
2199 case $ac_old_set,$ac_new_set in
2200 set,)
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2203 ac_cache_corrupted=: ;;
2204 ,set)
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2207 ac_cache_corrupted=: ;;
2208 ,);;
2209 *)
2210 if test "x$ac_old_val" != "x$ac_new_val"; then
2211 # differences in whitespace do not lead to failure.
2212 ac_old_val_w=`echo x $ac_old_val`
2213 ac_new_val_w=`echo x $ac_new_val`
2214 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2217 ac_cache_corrupted=:
2218 else
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2221 eval $ac_var=\$ac_old_val
2222 fi
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2224 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2226 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2227 fi;;
2228 esac
2229 # Pass precious variables to config.status.
2230 if test "$ac_new_set" = set; then
2231 case $ac_new_val in
2232 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2233 *) ac_arg=$ac_var=$ac_new_val ;;
2234 esac
2235 case " $ac_configure_args " in
2236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2237 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2238 esac
2239 fi
2240 done
2241 if $ac_cache_corrupted; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2246 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2247 fi
2248 ## -------------------- ##
2249 ## Main body of script. ##
2250 ## -------------------- ##
2251
2252 ac_ext=c
2253 ac_cpp='$CPP $CPPFLAGS'
2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2257
2258
2259
2260 am__api_version='1.11'
2261
2262 ac_aux_dir=
2263 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2264 if test -f "$ac_dir/install-sh"; then
2265 ac_aux_dir=$ac_dir
2266 ac_install_sh="$ac_aux_dir/install-sh -c"
2267 break
2268 elif test -f "$ac_dir/install.sh"; then
2269 ac_aux_dir=$ac_dir
2270 ac_install_sh="$ac_aux_dir/install.sh -c"
2271 break
2272 elif test -f "$ac_dir/shtool"; then
2273 ac_aux_dir=$ac_dir
2274 ac_install_sh="$ac_aux_dir/shtool install -c"
2275 break
2276 fi
2277 done
2278 if test -z "$ac_aux_dir"; then
2279 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2280 fi
2281
2282 # These three variables are undocumented and unsupported,
2283 # and are intended to be withdrawn in a future Autoconf release.
2284 # They can cause serious problems if a builder's source tree is in a directory
2285 # whose full name contains unusual characters.
2286 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2287 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2288 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2289
2290
2291 # Find a good install program. We prefer a C program (faster),
2292 # so one script is as good as another. But avoid the broken or
2293 # incompatible versions:
2294 # SysV /etc/install, /usr/sbin/install
2295 # SunOS /usr/etc/install
2296 # IRIX /sbin/install
2297 # AIX /bin/install
2298 # AmigaOS /C/install, which installs bootblocks on floppy discs
2299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2302 # OS/2's system install, which has a completely different semantic
2303 # ./install, which can be erroneously created by make from ./install.sh.
2304 # Reject install programs that cannot install multiple files.
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2306 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2307 if test -z "$INSTALL"; then
2308 if ${ac_cv_path_install+:} false; then :
2309 $as_echo_n "(cached) " >&6
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2313 do
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 # Account for people who put trailing slashes in PATH elements.
2317 case $as_dir/ in @%:@((
2318 ./ | .// | /[cC]/* | \
2319 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2320 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2321 /usr/ucb/* ) ;;
2322 *)
2323 # OSF1 and SCO ODT 3.0 have their own names for install.
2324 # Don't use installbsd from OSF since it installs stuff as root
2325 # by default.
2326 for ac_prog in ginstall scoinst install; do
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2329 if test $ac_prog = install &&
2330 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331 # AIX install. It has an incompatible calling convention.
2332 :
2333 elif test $ac_prog = install &&
2334 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2335 # program-specific install script used by HP pwplus--don't use.
2336 :
2337 else
2338 rm -rf conftest.one conftest.two conftest.dir
2339 echo one > conftest.one
2340 echo two > conftest.two
2341 mkdir conftest.dir
2342 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2343 test -s conftest.one && test -s conftest.two &&
2344 test -s conftest.dir/conftest.one &&
2345 test -s conftest.dir/conftest.two
2346 then
2347 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2348 break 3
2349 fi
2350 fi
2351 fi
2352 done
2353 done
2354 ;;
2355 esac
2356
2357 done
2358 IFS=$as_save_IFS
2359
2360 rm -rf conftest.one conftest.two conftest.dir
2361
2362 fi
2363 if test "${ac_cv_path_install+set}" = set; then
2364 INSTALL=$ac_cv_path_install
2365 else
2366 # As a last resort, use the slow shell script. Don't cache a
2367 # value for INSTALL within a source directory, because that will
2368 # break other packages using the cache if that directory is
2369 # removed, or if the value is a relative name.
2370 INSTALL=$ac_install_sh
2371 fi
2372 fi
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2374 $as_echo "$INSTALL" >&6; }
2375
2376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2377 # It thinks the first close brace ends the variable substitution.
2378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2379
2380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2381
2382 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2383
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2385 $as_echo_n "checking whether build environment is sane... " >&6; }
2386 # Just in case
2387 sleep 1
2388 echo timestamp > conftest.file
2389 # Reject unsafe characters in $srcdir or the absolute working directory
2390 # name. Accept space and tab only in the latter.
2391 am_lf='
2392 '
2393 case `pwd` in
2394 *[\\\"\#\$\&\'\`$am_lf]*)
2395 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2396 esac
2397 case $srcdir in
2398 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2399 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2400 esac
2401
2402 # Do `set' in a subshell so we don't clobber the current shell's
2403 # arguments. Must try -L first in case configure is actually a
2404 # symlink; some systems play weird games with the mod time of symlinks
2405 # (eg FreeBSD returns the mod time of the symlink's containing
2406 # directory).
2407 if (
2408 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2409 if test "$*" = "X"; then
2410 # -L didn't work.
2411 set X `ls -t "$srcdir/configure" conftest.file`
2412 fi
2413 rm -f conftest.file
2414 if test "$*" != "X $srcdir/configure conftest.file" \
2415 && test "$*" != "X conftest.file $srcdir/configure"; then
2416
2417 # If neither matched, then we have a broken ls. This can happen
2418 # if, for instance, CONFIG_SHELL is bash and it inherits a
2419 # broken ls alias from the environment. This has actually
2420 # happened. Such a system could not be considered "sane".
2421 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2422 alias in your environment" "$LINENO" 5
2423 fi
2424
2425 test "$2" = conftest.file
2426 )
2427 then
2428 # Ok.
2429 :
2430 else
2431 as_fn_error $? "newly created file is older than distributed files!
2432 Check your system clock" "$LINENO" 5
2433 fi
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2435 $as_echo "yes" >&6; }
2436 test "$program_prefix" != NONE &&
2437 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2438 # Use a double $ so make ignores it.
2439 test "$program_suffix" != NONE &&
2440 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2441 # Double any \ or $.
2442 # By default was `s,x,x', remove it if useless.
2443 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2444 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2445
2446 # expand $ac_aux_dir to an absolute path
2447 am_aux_dir=`cd $ac_aux_dir && pwd`
2448
2449 if test x"${MISSING+set}" != xset; then
2450 case $am_aux_dir in
2451 *\ * | *\ *)
2452 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2453 *)
2454 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2455 esac
2456 fi
2457 # Use eval to expand $SHELL
2458 if eval "$MISSING --run true"; then
2459 am_missing_run="$MISSING --run "
2460 else
2461 am_missing_run=
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2463 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2464 fi
2465
2466 if test x"${install_sh}" != xset; then
2467 case $am_aux_dir in
2468 *\ * | *\ *)
2469 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2470 *)
2471 install_sh="\${SHELL} $am_aux_dir/install-sh"
2472 esac
2473 fi
2474
2475 # Installed binaries are usually stripped using `strip' when the user
2476 # run `make install-strip'. However `strip' might not be the right
2477 # tool to use in cross-compilation environments, therefore Automake
2478 # will honor the `STRIP' environment variable to overrule this program.
2479 if test "$cross_compiling" != no; then
2480 if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2482 set dummy ${ac_tool_prefix}strip; ac_word=$2
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2484 $as_echo_n "checking for $ac_word... " >&6; }
2485 if ${ac_cv_prog_STRIP+:} false; then :
2486 $as_echo_n "(cached) " >&6
2487 else
2488 if test -n "$STRIP"; then
2489 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2490 else
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2493 do
2494 IFS=$as_save_IFS
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 break 2
2501 fi
2502 done
2503 done
2504 IFS=$as_save_IFS
2505
2506 fi
2507 fi
2508 STRIP=$ac_cv_prog_STRIP
2509 if test -n "$STRIP"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2511 $as_echo "$STRIP" >&6; }
2512 else
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2514 $as_echo "no" >&6; }
2515 fi
2516
2517
2518 fi
2519 if test -z "$ac_cv_prog_STRIP"; then
2520 ac_ct_STRIP=$STRIP
2521 # Extract the first word of "strip", so it can be a program name with args.
2522 set dummy strip; ac_word=$2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524 $as_echo_n "checking for $ac_word... " >&6; }
2525 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 if test -n "$ac_ct_STRIP"; then
2529 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2530 else
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 for as_dir in $PATH
2533 do
2534 IFS=$as_save_IFS
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538 ac_cv_prog_ac_ct_STRIP="strip"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 break 2
2541 fi
2542 done
2543 done
2544 IFS=$as_save_IFS
2545
2546 fi
2547 fi
2548 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2549 if test -n "$ac_ct_STRIP"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2551 $as_echo "$ac_ct_STRIP" >&6; }
2552 else
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554 $as_echo "no" >&6; }
2555 fi
2556
2557 if test "x$ac_ct_STRIP" = x; then
2558 STRIP=":"
2559 else
2560 case $cross_compiling:$ac_tool_warned in
2561 yes:)
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2564 ac_tool_warned=yes ;;
2565 esac
2566 STRIP=$ac_ct_STRIP
2567 fi
2568 else
2569 STRIP="$ac_cv_prog_STRIP"
2570 fi
2571
2572 fi
2573 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2574
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2576 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2577 if test -z "$MKDIR_P"; then
2578 if ${ac_cv_path_mkdir+:} false; then :
2579 $as_echo_n "(cached) " >&6
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2583 do
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_prog in mkdir gmkdir; do
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2589 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2590 'mkdir (GNU coreutils) '* | \
2591 'mkdir (coreutils) '* | \
2592 'mkdir (fileutils) '4.1*)
2593 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2594 break 3;;
2595 esac
2596 done
2597 done
2598 done
2599 IFS=$as_save_IFS
2600
2601 fi
2602
2603 test -d ./--version && rmdir ./--version
2604 if test "${ac_cv_path_mkdir+set}" = set; then
2605 MKDIR_P="$ac_cv_path_mkdir -p"
2606 else
2607 # As a last resort, use the slow shell script. Don't cache a
2608 # value for MKDIR_P within a source directory, because that will
2609 # break other packages using the cache if that directory is
2610 # removed, or if the value is a relative name.
2611 MKDIR_P="$ac_install_sh -d"
2612 fi
2613 fi
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2615 $as_echo "$MKDIR_P" >&6; }
2616
2617 mkdir_p="$MKDIR_P"
2618 case $mkdir_p in
2619 [\\/$]* | ?:[\\/]*) ;;
2620 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2621 esac
2622
2623 for ac_prog in gawk mawk nawk awk
2624 do
2625 # Extract the first word of "$ac_prog", so it can be a program name with args.
2626 set dummy $ac_prog; ac_word=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if ${ac_cv_prog_AWK+:} false; then :
2630 $as_echo_n "(cached) " >&6
2631 else
2632 if test -n "$AWK"; then
2633 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2634 else
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 for as_dir in $PATH
2637 do
2638 IFS=$as_save_IFS
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642 ac_cv_prog_AWK="$ac_prog"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 break 2
2645 fi
2646 done
2647 done
2648 IFS=$as_save_IFS
2649
2650 fi
2651 fi
2652 AWK=$ac_cv_prog_AWK
2653 if test -n "$AWK"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2655 $as_echo "$AWK" >&6; }
2656 else
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2659 fi
2660
2661
2662 test -n "$AWK" && break
2663 done
2664
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2666 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2667 set x ${MAKE-make}
2668 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2669 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2670 $as_echo_n "(cached) " >&6
2671 else
2672 cat >conftest.make <<\_ACEOF
2673 SHELL = /bin/sh
2674 all:
2675 @echo '@@@%%%=$(MAKE)=@@@%%%'
2676 _ACEOF
2677 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2678 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2679 *@@@%%%=?*=@@@%%%*)
2680 eval ac_cv_prog_make_${ac_make}_set=yes;;
2681 *)
2682 eval ac_cv_prog_make_${ac_make}_set=no;;
2683 esac
2684 rm -f conftest.make
2685 fi
2686 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2688 $as_echo "yes" >&6; }
2689 SET_MAKE=
2690 else
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2693 SET_MAKE="MAKE=${MAKE-make}"
2694 fi
2695
2696 rm -rf .tst 2>/dev/null
2697 mkdir .tst 2>/dev/null
2698 if test -d .tst; then
2699 am__leading_dot=.
2700 else
2701 am__leading_dot=_
2702 fi
2703 rmdir .tst 2>/dev/null
2704
2705 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2706 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2707 # is not polluted with repeated "-I."
2708 am__isrc=' -I$(srcdir)'
2709 # test to see if srcdir already configured
2710 if test -f $srcdir/config.status; then
2711 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2712 fi
2713 fi
2714
2715 # test whether we have cygpath
2716 if test -z "$CYGPATH_W"; then
2717 if (cygpath --version) >/dev/null 2>/dev/null; then
2718 CYGPATH_W='cygpath -w'
2719 else
2720 CYGPATH_W=echo
2721 fi
2722 fi
2723
2724
2725 # Define the identity of the package.
2726 PACKAGE='libdvdread'
2727 VERSION='4.2.0'
2728
2729
2730 cat >>confdefs.h <<_ACEOF
2731 @%:@define PACKAGE "$PACKAGE"
2732 _ACEOF
2733
2734
2735 cat >>confdefs.h <<_ACEOF
2736 @%:@define VERSION "$VERSION"
2737 _ACEOF
2738
2739 # Some tools Automake needs.
2740
2741 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2742
2743
2744 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2745
2746
2747 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2748
2749
2750 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2751
2752
2753 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2754
2755 # We need awk for the "check" target. The system "awk" is bad on
2756 # some platforms.
2757 # Always define AMTAR for backward compatibility. Yes, it's still used
2758 # in the wild :-( We should find a proper way to deprecate it ...
2759 AMTAR='$${TAR-tar}'
2760
2761 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2762
2763
2764
2765
2766
2767
2768 ac_config_headers="$ac_config_headers config.h"
2769
2770 # Make sure we can run config.sub.
2771 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2772 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2773
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2775 $as_echo_n "checking build system type... " >&6; }
2776 if ${ac_cv_build+:} false; then :
2777 $as_echo_n "(cached) " >&6
2778 else
2779 ac_build_alias=$build_alias
2780 test "x$ac_build_alias" = x &&
2781 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2782 test "x$ac_build_alias" = x &&
2783 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2784 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2785 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2786
2787 fi
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2789 $as_echo "$ac_cv_build" >&6; }
2790 case $ac_cv_build in
2791 *-*-*) ;;
2792 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2793 esac
2794 build=$ac_cv_build
2795 ac_save_IFS=$IFS; IFS='-'
2796 set x $ac_cv_build
2797 shift
2798 build_cpu=$1
2799 build_vendor=$2
2800 shift; shift
2801 # Remember, the first character of IFS is used to create $*,
2802 # except with old shells:
2803 build_os=$*
2804 IFS=$ac_save_IFS
2805 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2806
2807
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2809 $as_echo_n "checking host system type... " >&6; }
2810 if ${ac_cv_host+:} false; then :
2811 $as_echo_n "(cached) " >&6
2812 else
2813 if test "x$host_alias" = x; then
2814 ac_cv_host=$ac_cv_build
2815 else
2816 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2817 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2818 fi
2819
2820 fi
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2822 $as_echo "$ac_cv_host" >&6; }
2823 case $ac_cv_host in
2824 *-*-*) ;;
2825 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2826 esac
2827 host=$ac_cv_host
2828 ac_save_IFS=$IFS; IFS='-'
2829 set x $ac_cv_host
2830 shift
2831 host_cpu=$1
2832 host_vendor=$2
2833 shift; shift
2834 # Remember, the first character of IFS is used to create $*,
2835 # except with old shells:
2836 host_os=$*
2837 IFS=$ac_save_IFS
2838 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2839
2840
2841
2842 DVDREAD_MAJOR="4"
2843 DVDREAD_MINOR="2"
2844 DVDREAD_SUB="0"
2845 DVDREAD_PRE=""
2846
2847
2848
2849
2850
2851
2852 DVDREAD_LT_CURRENT=5
2853 DVDREAD_LT_AGE=1
2854 DVDREAD_LT_REVISION=2
2855
2856
2857
2858
2859
2860 if test x$DVDREAD_BUILD != "x"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** build forced to $DVDREAD_BUILD ***" >&5
2862 $as_echo "*** build forced to $DVDREAD_BUILD ***" >&6; }
2863 build=$DVDREAD_BUILD
2864 host=$DVDREAD_BUILD
2865 else
2866 check_athlon=yes
2867 fi
2868
2869 saved_CFLAGS="$CFLAGS"
2870 DEPDIR="${am__leading_dot}deps"
2871
2872 ac_config_commands="$ac_config_commands depfiles"
2873
2874
2875 am_make=${MAKE-make}
2876 cat > confinc << 'END'
2877 am__doit:
2878 @echo this is the am__doit target
2879 .PHONY: am__doit
2880 END
2881 # If we don't find an include directive, just comment out the code.
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2883 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2884 am__include="#"
2885 am__quote=
2886 _am_result=none
2887 # First try GNU make style include.
2888 echo "include confinc" > confmf
2889 # Ignore all kinds of additional output from `make'.
2890 case `$am_make -s -f confmf 2> /dev/null` in #(
2891 *the\ am__doit\ target*)
2892 am__include=include
2893 am__quote=
2894 _am_result=GNU
2895 ;;
2896 esac
2897 # Now try BSD make style include.
2898 if test "$am__include" = "#"; then
2899 echo '.include "confinc"' > confmf
2900 case `$am_make -s -f confmf 2> /dev/null` in #(
2901 *the\ am__doit\ target*)
2902 am__include=.include
2903 am__quote="\""
2904 _am_result=BSD
2905 ;;
2906 esac
2907 fi
2908
2909
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2911 $as_echo "$_am_result" >&6; }
2912 rm -f confinc confmf
2913
2914 @%:@ Check whether --enable-dependency-tracking was given.
2915 if test "${enable_dependency_tracking+set}" = set; then :
2916 enableval=$enable_dependency_tracking;
2917 fi
2918
2919 if test "x$enable_dependency_tracking" != xno; then
2920 am_depcomp="$ac_aux_dir/depcomp"
2921 AMDEPBACKSLASH='\'
2922 am__nodep='_no'
2923 fi
2924 if test "x$enable_dependency_tracking" != xno; then
2925 AMDEP_TRUE=
2926 AMDEP_FALSE='#'
2927 else
2928 AMDEP_TRUE='#'
2929 AMDEP_FALSE=
2930 fi
2931
2932
2933 ac_ext=c
2934 ac_cpp='$CPP $CPPFLAGS'
2935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2938 if test -n "$ac_tool_prefix"; then
2939 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2940 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_CC+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 if test -n "$CC"; then
2947 ac_cv_prog_CC="$CC" # Let the user override the test.
2948 else
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 for as_dir in $PATH
2951 do
2952 IFS=$as_save_IFS
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 break 2
2959 fi
2960 done
2961 done
2962 IFS=$as_save_IFS
2963
2964 fi
2965 fi
2966 CC=$ac_cv_prog_CC
2967 if test -n "$CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2970 else
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 fi
2974
2975
2976 fi
2977 if test -z "$ac_cv_prog_CC"; then
2978 ac_ct_CC=$CC
2979 # Extract the first word of "gcc", so it can be a program name with args.
2980 set dummy gcc; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2984 $as_echo_n "(cached) " >&6
2985 else
2986 if test -n "$ac_ct_CC"; then
2987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2988 else
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH
2991 do
2992 IFS=$as_save_IFS
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_ac_ct_CC="gcc"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 break 2
2999 fi
3000 done
3001 done
3002 IFS=$as_save_IFS
3003
3004 fi
3005 fi
3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3007 if test -n "$ac_ct_CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3009 $as_echo "$ac_ct_CC" >&6; }
3010 else
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3013 fi
3014
3015 if test "x$ac_ct_CC" = x; then
3016 CC=""
3017 else
3018 case $cross_compiling:$ac_tool_warned in
3019 yes:)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned=yes ;;
3023 esac
3024 CC=$ac_ct_CC
3025 fi
3026 else
3027 CC="$ac_cv_prog_CC"
3028 fi
3029
3030 if test -z "$CC"; then
3031 if test -n "$ac_tool_prefix"; then
3032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3033 set dummy ${ac_tool_prefix}cc; ac_word=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if ${ac_cv_prog_CC+:} false; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test -n "$CC"; then
3040 ac_cv_prog_CC="$CC" # Let the user override the test.
3041 else
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 for as_dir in $PATH
3044 do
3045 IFS=$as_save_IFS
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_CC="${ac_tool_prefix}cc"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 break 2
3052 fi
3053 done
3054 done
3055 IFS=$as_save_IFS
3056
3057 fi
3058 fi
3059 CC=$ac_cv_prog_CC
3060 if test -n "$CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3062 $as_echo "$CC" >&6; }
3063 else
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3066 fi
3067
3068
3069 fi
3070 fi
3071 if test -z "$CC"; then
3072 # Extract the first word of "cc", so it can be a program name with args.
3073 set dummy cc; ac_word=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_CC+:} false; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 if test -n "$CC"; then
3080 ac_cv_prog_CC="$CC" # Let the user override the test.
3081 else
3082 ac_prog_rejected=no
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3085 do
3086 IFS=$as_save_IFS
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3091 ac_prog_rejected=yes
3092 continue
3093 fi
3094 ac_cv_prog_CC="cc"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096 break 2
3097 fi
3098 done
3099 done
3100 IFS=$as_save_IFS
3101
3102 if test $ac_prog_rejected = yes; then
3103 # We found a bogon in the path, so make sure we never use it.
3104 set dummy $ac_cv_prog_CC
3105 shift
3106 if test $@%:@ != 0; then
3107 # We chose a different compiler from the bogus one.
3108 # However, it has the same basename, so the bogon will be chosen
3109 # first if we set CC to just the basename; use the full file name.
3110 shift
3111 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3112 fi
3113 fi
3114 fi
3115 fi
3116 CC=$ac_cv_prog_CC
3117 if test -n "$CC"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3119 $as_echo "$CC" >&6; }
3120 else
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 fi
3124
3125
3126 fi
3127 if test -z "$CC"; then
3128 if test -n "$ac_tool_prefix"; then
3129 for ac_prog in cl.exe
3130 do
3131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_CC+:} false; then :
3136 $as_echo_n "(cached) " >&6
3137 else
3138 if test -n "$CC"; then
3139 ac_cv_prog_CC="$CC" # Let the user override the test.
3140 else
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3143 do
3144 IFS=$as_save_IFS
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 break 2
3151 fi
3152 done
3153 done
3154 IFS=$as_save_IFS
3155
3156 fi
3157 fi
3158 CC=$ac_cv_prog_CC
3159 if test -n "$CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3162 else
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3165 fi
3166
3167
3168 test -n "$CC" && break
3169 done
3170 fi
3171 if test -z "$CC"; then
3172 ac_ct_CC=$CC
3173 for ac_prog in cl.exe
3174 do
3175 # Extract the first word of "$ac_prog", so it can be a program name with args.
3176 set dummy $ac_prog; ac_word=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184 else
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH
3187 do
3188 IFS=$as_save_IFS
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_ac_ct_CC="$ac_prog"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 break 2
3195 fi
3196 done
3197 done
3198 IFS=$as_save_IFS
3199
3200 fi
3201 fi
3202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203 if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3205 $as_echo "$ac_ct_CC" >&6; }
3206 else
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3209 fi
3210
3211
3212 test -n "$ac_ct_CC" && break
3213 done
3214
3215 if test "x$ac_ct_CC" = x; then
3216 CC=""
3217 else
3218 case $cross_compiling:$ac_tool_warned in
3219 yes:)
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3222 ac_tool_warned=yes ;;
3223 esac
3224 CC=$ac_ct_CC
3225 fi
3226 fi
3227
3228 fi
3229
3230
3231 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $? "no acceptable C compiler found in \$PATH
3234 See \`config.log' for more details" "$LINENO" 5; }
3235
3236 # Provide some information about the compiler.
3237 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3238 set X $ac_compile
3239 ac_compiler=$2
3240 for ac_option in --version -v -V -qversion; do
3241 { { ac_try="$ac_compiler $ac_option >&5"
3242 case "(($ac_try" in
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3249 ac_status=$?
3250 if test -s conftest.err; then
3251 sed '10a\
3252 ... rest of stderr output deleted ...
3253 10q' conftest.err >conftest.er1
3254 cat conftest.er1 >&5
3255 fi
3256 rm -f conftest.er1 conftest.err
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }
3259 done
3260
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3263
3264 int
3265 main ()
3266 {
3267
3268 ;
3269 return 0;
3270 }
3271 _ACEOF
3272 ac_clean_files_save=$ac_clean_files
3273 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3274 # Try to create an executable without -o first, disregard a.out.
3275 # It will help us diagnose broken compilers, and finding out an intuition
3276 # of exeext.
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3278 $as_echo_n "checking whether the C compiler works... " >&6; }
3279 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3280
3281 # The possible output files:
3282 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3283
3284 ac_rmfiles=
3285 for ac_file in $ac_files
3286 do
3287 case $ac_file in
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3289 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3290 esac
3291 done
3292 rm -f $ac_rmfiles
3293
3294 if { { ac_try="$ac_link_default"
3295 case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3298 esac
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_link_default") 2>&5
3302 ac_status=$?
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }; then :
3305 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3306 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3307 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3308 # so that the user can short-circuit this test for compilers unknown to
3309 # Autoconf.
3310 for ac_file in $ac_files ''
3311 do
3312 test -f "$ac_file" || continue
3313 case $ac_file in
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3315 ;;
3316 [ab].out )
3317 # We found the default executable, but exeext='' is most
3318 # certainly right.
3319 break;;
3320 *.* )
3321 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3322 then :; else
3323 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3324 fi
3325 # We set ac_cv_exeext here because the later test for it is not
3326 # safe: cross compilers may not add the suffix if given an `-o'
3327 # argument, so we may need to know it at that point already.
3328 # Even if this section looks crufty: it has the advantage of
3329 # actually working.
3330 break;;
3331 * )
3332 break;;
3333 esac
3334 done
3335 test "$ac_cv_exeext" = no && ac_cv_exeext=
3336
3337 else
3338 ac_file=''
3339 fi
3340 if test -z "$ac_file"; then :
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3345
3346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error 77 "C compiler cannot create executables
3349 See \`config.log' for more details" "$LINENO" 5; }
3350 else
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3352 $as_echo "yes" >&6; }
3353 fi
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3355 $as_echo_n "checking for C compiler default output file name... " >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3357 $as_echo "$ac_file" >&6; }
3358 ac_exeext=$ac_cv_exeext
3359
3360 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3361 ac_clean_files=$ac_clean_files_save
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3363 $as_echo_n "checking for suffix of executables... " >&6; }
3364 if { { ac_try="$ac_link"
3365 case "(($ac_try" in
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3368 esac
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371 (eval "$ac_link") 2>&5
3372 ac_status=$?
3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }; then :
3375 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3376 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3377 # work properly (i.e., refer to `conftest.exe'), while it won't with
3378 # `rm'.
3379 for ac_file in conftest.exe conftest conftest.*; do
3380 test -f "$ac_file" || continue
3381 case $ac_file in
3382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3383 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3384 break;;
3385 * ) break;;
3386 esac
3387 done
3388 else
3389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3392 See \`config.log' for more details" "$LINENO" 5; }
3393 fi
3394 rm -f conftest conftest$ac_cv_exeext
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3396 $as_echo "$ac_cv_exeext" >&6; }
3397
3398 rm -f conftest.$ac_ext
3399 EXEEXT=$ac_cv_exeext
3400 ac_exeext=$EXEEXT
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3403 @%:@include <stdio.h>
3404 int
3405 main ()
3406 {
3407 FILE *f = fopen ("conftest.out", "w");
3408 return ferror (f) || fclose (f) != 0;
3409
3410 ;
3411 return 0;
3412 }
3413 _ACEOF
3414 ac_clean_files="$ac_clean_files conftest.out"
3415 # Check that the compiler produces executables we can run. If not, either
3416 # the compiler is broken, or we cross compile.
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3418 $as_echo_n "checking whether we are cross compiling... " >&6; }
3419 if test "$cross_compiling" != yes; then
3420 { { ac_try="$ac_link"
3421 case "(($ac_try" in
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3424 esac
3425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_link") 2>&5
3428 ac_status=$?
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }
3431 if { ac_try='./conftest$ac_cv_exeext'
3432 { { case "(($ac_try" in
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3435 esac
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_try") 2>&5
3439 ac_status=$?
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; }; then
3442 cross_compiling=no
3443 else
3444 if test "$cross_compiling" = maybe; then
3445 cross_compiling=yes
3446 else
3447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "cannot run C compiled programs.
3450 If you meant to cross compile, use \`--host'.
3451 See \`config.log' for more details" "$LINENO" 5; }
3452 fi
3453 fi
3454 fi
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3456 $as_echo "$cross_compiling" >&6; }
3457
3458 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3459 ac_clean_files=$ac_clean_files_save
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3461 $as_echo_n "checking for suffix of object files... " >&6; }
3462 if ${ac_cv_objext+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3467
3468 int
3469 main ()
3470 {
3471
3472 ;
3473 return 0;
3474 }
3475 _ACEOF
3476 rm -f conftest.o conftest.obj
3477 if { { ac_try="$ac_compile"
3478 case "(($ac_try" in
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3481 esac
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compile") 2>&5
3485 ac_status=$?
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; then :
3488 for ac_file in conftest.o conftest.obj conftest.*; do
3489 test -f "$ac_file" || continue;
3490 case $ac_file in
3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3493 break;;
3494 esac
3495 done
3496 else
3497 $as_echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3499
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error $? "cannot compute suffix of object files: cannot compile
3503 See \`config.log' for more details" "$LINENO" 5; }
3504 fi
3505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3506 fi
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3508 $as_echo "$ac_cv_objext" >&6; }
3509 OBJEXT=$ac_cv_objext
3510 ac_objext=$OBJEXT
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3512 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3513 if ${ac_cv_c_compiler_gnu+:} false; then :
3514 $as_echo_n "(cached) " >&6
3515 else
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3518
3519 int
3520 main ()
3521 {
3522 #ifndef __GNUC__
3523 choke me
3524 #endif
3525
3526 ;
3527 return 0;
3528 }
3529 _ACEOF
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531 ac_compiler_gnu=yes
3532 else
3533 ac_compiler_gnu=no
3534 fi
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3537
3538 fi
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3541 if test $ac_compiler_gnu = yes; then
3542 GCC=yes
3543 else
3544 GCC=
3545 fi
3546 ac_test_CFLAGS=${CFLAGS+set}
3547 ac_save_CFLAGS=$CFLAGS
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3550 if ${ac_cv_prog_cc_g+:} false; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 ac_save_c_werror_flag=$ac_c_werror_flag
3554 ac_c_werror_flag=yes
3555 ac_cv_prog_cc_g=no
3556 CFLAGS="-g"
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3559
3560 int
3561 main ()
3562 {
3563
3564 ;
3565 return 0;
3566 }
3567 _ACEOF
3568 if ac_fn_c_try_compile "$LINENO"; then :
3569 ac_cv_prog_cc_g=yes
3570 else
3571 CFLAGS=""
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574
3575 int
3576 main ()
3577 {
3578
3579 ;
3580 return 0;
3581 }
3582 _ACEOF
3583 if ac_fn_c_try_compile "$LINENO"; then :
3584
3585 else
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3587 CFLAGS="-g"
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3590
3591 int
3592 main ()
3593 {
3594
3595 ;
3596 return 0;
3597 }
3598 _ACEOF
3599 if ac_fn_c_try_compile "$LINENO"; then :
3600 ac_cv_prog_cc_g=yes
3601 fi
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 fi
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 fi
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 ac_c_werror_flag=$ac_save_c_werror_flag
3608 fi
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3610 $as_echo "$ac_cv_prog_cc_g" >&6; }
3611 if test "$ac_test_CFLAGS" = set; then
3612 CFLAGS=$ac_save_CFLAGS
3613 elif test $ac_cv_prog_cc_g = yes; then
3614 if test "$GCC" = yes; then
3615 CFLAGS="-g -O2"
3616 else
3617 CFLAGS="-g"
3618 fi
3619 else
3620 if test "$GCC" = yes; then
3621 CFLAGS="-O2"
3622 else
3623 CFLAGS=
3624 fi
3625 fi
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3627 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3628 if ${ac_cv_prog_cc_c89+:} false; then :
3629 $as_echo_n "(cached) " >&6
3630 else
3631 ac_cv_prog_cc_c89=no
3632 ac_save_CC=$CC
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3635 #include <stdarg.h>
3636 #include <stdio.h>
3637 struct stat;
3638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3639 struct buf { int x; };
3640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3641 static char *e (p, i)
3642 char **p;
3643 int i;
3644 {
3645 return p[i];
3646 }
3647 static char *f (char * (*g) (char **, int), char **p, ...)
3648 {
3649 char *s;
3650 va_list v;
3651 va_start (v,p);
3652 s = g (p, va_arg (v,int));
3653 va_end (v);
3654 return s;
3655 }
3656
3657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3658 function prototypes and stuff, but not '\xHH' hex character constants.
3659 These don't provoke an error unfortunately, instead are silently treated
3660 as 'x'. The following induces an error, until -std is added to get
3661 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3662 array size at least. It's necessary to write '\x00'==0 to get something
3663 that's true only with -std. */
3664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3665
3666 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3667 inside strings and character constants. */
3668 #define FOO(x) 'x'
3669 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3670
3671 int test (int i, double x);
3672 struct s1 {int (*f) (int a);};
3673 struct s2 {int (*f) (double a);};
3674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3675 int argc;
3676 char **argv;
3677 int
3678 main ()
3679 {
3680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3681 ;
3682 return 0;
3683 }
3684 _ACEOF
3685 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3686 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3687 do
3688 CC="$ac_save_CC $ac_arg"
3689 if ac_fn_c_try_compile "$LINENO"; then :
3690 ac_cv_prog_cc_c89=$ac_arg
3691 fi
3692 rm -f core conftest.err conftest.$ac_objext
3693 test "x$ac_cv_prog_cc_c89" != "xno" && break
3694 done
3695 rm -f conftest.$ac_ext
3696 CC=$ac_save_CC
3697
3698 fi
3699 # AC_CACHE_VAL
3700 case "x$ac_cv_prog_cc_c89" in
3701 x)
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3703 $as_echo "none needed" >&6; } ;;
3704 xno)
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3706 $as_echo "unsupported" >&6; } ;;
3707 *)
3708 CC="$CC $ac_cv_prog_cc_c89"
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3710 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3711 esac
3712 if test "x$ac_cv_prog_cc_c89" != xno; then :
3713
3714 fi
3715
3716 ac_ext=c
3717 ac_cpp='$CPP $CPPFLAGS'
3718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721
3722 depcc="$CC" am_compiler_list=
3723
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3725 $as_echo_n "checking dependency style of $depcc... " >&6; }
3726 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3727 $as_echo_n "(cached) " >&6
3728 else
3729 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3730 # We make a subdir and do the tests there. Otherwise we can end up
3731 # making bogus files that we don't know about and never remove. For
3732 # instance it was reported that on HP-UX the gcc test will end up
3733 # making a dummy file named `D' -- because `-MD' means `put the output
3734 # in D'.
3735 rm -rf conftest.dir
3736 mkdir conftest.dir
3737 # Copy depcomp to subdir because otherwise we won't find it if we're
3738 # using a relative directory.
3739 cp "$am_depcomp" conftest.dir
3740 cd conftest.dir
3741 # We will build objects and dependencies in a subdirectory because
3742 # it helps to detect inapplicable dependency modes. For instance
3743 # both Tru64's cc and ICC support -MD to output dependencies as a
3744 # side effect of compilation, but ICC will put the dependencies in
3745 # the current directory while Tru64 will put them in the object
3746 # directory.
3747 mkdir sub
3748
3749 am_cv_CC_dependencies_compiler_type=none
3750 if test "$am_compiler_list" = ""; then
3751 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3752 fi
3753 am__universal=false
3754 case " $depcc " in #(
3755 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3756 esac
3757
3758 for depmode in $am_compiler_list; do
3759 # Setup a source with many dependencies, because some compilers
3760 # like to wrap large dependency lists on column 80 (with \), and
3761 # we should not choose a depcomp mode which is confused by this.
3762 #
3763 # We need to recreate these files for each test, as the compiler may
3764 # overwrite some of them when testing with obscure command lines.
3765 # This happens at least with the AIX C compiler.
3766 : > sub/conftest.c
3767 for i in 1 2 3 4 5 6; do
3768 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3769 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3770 # Solaris 8's {/usr,}/bin/sh.
3771 touch sub/conftst$i.h
3772 done
3773 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3774
3775 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3776 # mode. It turns out that the SunPro C++ compiler does not properly
3777 # handle `-M -o', and we need to detect this. Also, some Intel
3778 # versions had trouble with output in subdirs
3779 am__obj=sub/conftest.${OBJEXT-o}
3780 am__minus_obj="-o $am__obj"
3781 case $depmode in
3782 gcc)
3783 # This depmode causes a compiler race in universal mode.
3784 test "$am__universal" = false || continue
3785 ;;
3786 nosideeffect)
3787 # after this tag, mechanisms are not by side-effect, so they'll
3788 # only be used when explicitly requested
3789 if test "x$enable_dependency_tracking" = xyes; then
3790 continue
3791 else
3792 break
3793 fi
3794 ;;
3795 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3796 # This compiler won't grok `-c -o', but also, the minuso test has
3797 # not run yet. These depmodes are late enough in the game, and
3798 # so weak that their functioning should not be impacted.
3799 am__obj=conftest.${OBJEXT-o}
3800 am__minus_obj=
3801 ;;
3802 none) break ;;
3803 esac
3804 if depmode=$depmode \
3805 source=sub/conftest.c object=$am__obj \
3806 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3807 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3808 >/dev/null 2>conftest.err &&
3809 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3810 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3811 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3812 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3813 # icc doesn't choke on unknown options, it will just issue warnings
3814 # or remarks (even with -Werror). So we grep stderr for any message
3815 # that says an option was ignored or not supported.
3816 # When given -MP, icc 7.0 and 7.1 complain thusly:
3817 # icc: Command line warning: ignoring option '-M'; no argument required
3818 # The diagnosis changed in icc 8.0:
3819 # icc: Command line remark: option '-MP' not supported
3820 if (grep 'ignoring option' conftest.err ||
3821 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3822 am_cv_CC_dependencies_compiler_type=$depmode
3823 break
3824 fi
3825 fi
3826 done
3827
3828 cd ..
3829 rm -rf conftest.dir
3830 else
3831 am_cv_CC_dependencies_compiler_type=none
3832 fi
3833
3834 fi
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3836 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3837 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3838
3839 if
3840 test "x$enable_dependency_tracking" != xno \
3841 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3842 am__fastdepCC_TRUE=
3843 am__fastdepCC_FALSE='#'
3844 else
3845 am__fastdepCC_TRUE='#'
3846 am__fastdepCC_FALSE=
3847 fi
3848
3849
3850
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3852 $as_echo_n "checking for library containing strerror... " >&6; }
3853 if ${ac_cv_search_strerror+:} false; then :
3854 $as_echo_n "(cached) " >&6
3855 else
3856 ac_func_search_save_LIBS=$LIBS
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3859
3860 /* Override any GCC internal prototype to avoid an error.
3861 Use char because int might match the return type of a GCC
3862 builtin and then its argument prototype would still apply. */
3863 #ifdef __cplusplus
3864 extern "C"
3865 #endif
3866 char strerror ();
3867 int
3868 main ()
3869 {
3870 return strerror ();
3871 ;
3872 return 0;
3873 }
3874 _ACEOF
3875 for ac_lib in '' cposix; do
3876 if test -z "$ac_lib"; then
3877 ac_res="none required"
3878 else
3879 ac_res=-l$ac_lib
3880 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3881 fi
3882 if ac_fn_c_try_link "$LINENO"; then :
3883 ac_cv_search_strerror=$ac_res
3884 fi
3885 rm -f core conftest.err conftest.$ac_objext \
3886 conftest$ac_exeext
3887 if ${ac_cv_search_strerror+:} false; then :
3888 break
3889 fi
3890 done
3891 if ${ac_cv_search_strerror+:} false; then :
3892
3893 else
3894 ac_cv_search_strerror=no
3895 fi
3896 rm conftest.$ac_ext
3897 LIBS=$ac_func_search_save_LIBS
3898 fi
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3900 $as_echo "$ac_cv_search_strerror" >&6; }
3901 ac_res=$ac_cv_search_strerror
3902 if test "$ac_res" != no; then :
3903 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3904
3905 fi
3906
3907 CFLAGS="$saved_CFLAGS"
3908 ac_ext=c
3909 ac_cpp='$CPP $CPPFLAGS'
3910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 if test -n "$ac_tool_prefix"; then
3914 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3915 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if ${ac_cv_prog_CC+:} false; then :
3919 $as_echo_n "(cached) " >&6
3920 else
3921 if test -n "$CC"; then
3922 ac_cv_prog_CC="$CC" # Let the user override the test.
3923 else
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 for as_dir in $PATH
3926 do
3927 IFS=$as_save_IFS
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 break 2
3934 fi
3935 done
3936 done
3937 IFS=$as_save_IFS
3938
3939 fi
3940 fi
3941 CC=$ac_cv_prog_CC
3942 if test -n "$CC"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3944 $as_echo "$CC" >&6; }
3945 else
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3948 fi
3949
3950
3951 fi
3952 if test -z "$ac_cv_prog_CC"; then
3953 ac_ct_CC=$CC
3954 # Extract the first word of "gcc", so it can be a program name with args.
3955 set dummy gcc; ac_word=$2
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957 $as_echo_n "checking for $ac_word... " >&6; }
3958 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3959 $as_echo_n "(cached) " >&6
3960 else
3961 if test -n "$ac_ct_CC"; then
3962 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3963 else
3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965 for as_dir in $PATH
3966 do
3967 IFS=$as_save_IFS
3968 test -z "$as_dir" && as_dir=.
3969 for ac_exec_ext in '' $ac_executable_extensions; do
3970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3971 ac_cv_prog_ac_ct_CC="gcc"
3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 break 2
3974 fi
3975 done
3976 done
3977 IFS=$as_save_IFS
3978
3979 fi
3980 fi
3981 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3982 if test -n "$ac_ct_CC"; then
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3984 $as_echo "$ac_ct_CC" >&6; }
3985 else
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987 $as_echo "no" >&6; }
3988 fi
3989
3990 if test "x$ac_ct_CC" = x; then
3991 CC=""
3992 else
3993 case $cross_compiling:$ac_tool_warned in
3994 yes:)
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3997 ac_tool_warned=yes ;;
3998 esac
3999 CC=$ac_ct_CC
4000 fi
4001 else
4002 CC="$ac_cv_prog_CC"
4003 fi
4004
4005 if test -z "$CC"; then
4006 if test -n "$ac_tool_prefix"; then
4007 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4008 set dummy ${ac_tool_prefix}cc; ac_word=$2
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010 $as_echo_n "checking for $ac_word... " >&6; }
4011 if ${ac_cv_prog_CC+:} false; then :
4012 $as_echo_n "(cached) " >&6
4013 else
4014 if test -n "$CC"; then
4015 ac_cv_prog_CC="$CC" # Let the user override the test.
4016 else
4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 for as_dir in $PATH
4019 do
4020 IFS=$as_save_IFS
4021 test -z "$as_dir" && as_dir=.
4022 for ac_exec_ext in '' $ac_executable_extensions; do
4023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4024 ac_cv_prog_CC="${ac_tool_prefix}cc"
4025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 break 2
4027 fi
4028 done
4029 done
4030 IFS=$as_save_IFS
4031
4032 fi
4033 fi
4034 CC=$ac_cv_prog_CC
4035 if test -n "$CC"; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4037 $as_echo "$CC" >&6; }
4038 else
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4041 fi
4042
4043
4044 fi
4045 fi
4046 if test -z "$CC"; then
4047 # Extract the first word of "cc", so it can be a program name with args.
4048 set dummy cc; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 if test -n "$CC"; then
4055 ac_cv_prog_CC="$CC" # Let the user override the test.
4056 else
4057 ac_prog_rejected=no
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 for as_dir in $PATH
4060 do
4061 IFS=$as_save_IFS
4062 test -z "$as_dir" && as_dir=.
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4066 ac_prog_rejected=yes
4067 continue
4068 fi
4069 ac_cv_prog_CC="cc"
4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 break 2
4072 fi
4073 done
4074 done
4075 IFS=$as_save_IFS
4076
4077 if test $ac_prog_rejected = yes; then
4078 # We found a bogon in the path, so make sure we never use it.
4079 set dummy $ac_cv_prog_CC
4080 shift
4081 if test $@%:@ != 0; then
4082 # We chose a different compiler from the bogus one.
4083 # However, it has the same basename, so the bogon will be chosen
4084 # first if we set CC to just the basename; use the full file name.
4085 shift
4086 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4087 fi
4088 fi
4089 fi
4090 fi
4091 CC=$ac_cv_prog_CC
4092 if test -n "$CC"; then
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4094 $as_echo "$CC" >&6; }
4095 else
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097 $as_echo "no" >&6; }
4098 fi
4099
4100
4101 fi
4102 if test -z "$CC"; then
4103 if test -n "$ac_tool_prefix"; then
4104 for ac_prog in cl.exe
4105 do
4106 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 $as_echo_n "checking for $ac_word... " >&6; }
4110 if ${ac_cv_prog_CC+:} false; then :
4111 $as_echo_n "(cached) " >&6
4112 else
4113 if test -n "$CC"; then
4114 ac_cv_prog_CC="$CC" # Let the user override the test.
4115 else
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 for as_dir in $PATH
4118 do
4119 IFS=$as_save_IFS
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 break 2
4126 fi
4127 done
4128 done
4129 IFS=$as_save_IFS
4130
4131 fi
4132 fi
4133 CC=$ac_cv_prog_CC
4134 if test -n "$CC"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4136 $as_echo "$CC" >&6; }
4137 else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4140 fi
4141
4142
4143 test -n "$CC" && break
4144 done
4145 fi
4146 if test -z "$CC"; then
4147 ac_ct_CC=$CC
4148 for ac_prog in cl.exe
4149 do
4150 # Extract the first word of "$ac_prog", so it can be a program name with args.
4151 set dummy $ac_prog; ac_word=$2
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4153 $as_echo_n "checking for $ac_word... " >&6; }
4154 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4155 $as_echo_n "(cached) " >&6
4156 else
4157 if test -n "$ac_ct_CC"; then
4158 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4159 else
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH
4162 do
4163 IFS=$as_save_IFS
4164 test -z "$as_dir" && as_dir=.
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 ac_cv_prog_ac_ct_CC="$ac_prog"
4168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 break 2
4170 fi
4171 done
4172 done
4173 IFS=$as_save_IFS
4174
4175 fi
4176 fi
4177 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4178 if test -n "$ac_ct_CC"; then
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4180 $as_echo "$ac_ct_CC" >&6; }
4181 else
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4183 $as_echo "no" >&6; }
4184 fi
4185
4186
4187 test -n "$ac_ct_CC" && break
4188 done
4189
4190 if test "x$ac_ct_CC" = x; then
4191 CC=""
4192 else
4193 case $cross_compiling:$ac_tool_warned in
4194 yes:)
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4197 ac_tool_warned=yes ;;
4198 esac
4199 CC=$ac_ct_CC
4200 fi
4201 fi
4202
4203 fi
4204
4205
4206 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 as_fn_error $? "no acceptable C compiler found in \$PATH
4209 See \`config.log' for more details" "$LINENO" 5; }
4210
4211 # Provide some information about the compiler.
4212 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4213 set X $ac_compile
4214 ac_compiler=$2
4215 for ac_option in --version -v -V -qversion; do
4216 { { ac_try="$ac_compiler $ac_option >&5"
4217 case "(($ac_try" in
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4220 esac
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4224 ac_status=$?
4225 if test -s conftest.err; then
4226 sed '10a\
4227 ... rest of stderr output deleted ...
4228 10q' conftest.err >conftest.er1
4229 cat conftest.er1 >&5
4230 fi
4231 rm -f conftest.er1 conftest.err
4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233 test $ac_status = 0; }
4234 done
4235
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4237 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4238 if ${ac_cv_c_compiler_gnu+:} false; then :
4239 $as_echo_n "(cached) " >&6
4240 else
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243
4244 int
4245 main ()
4246 {
4247 #ifndef __GNUC__
4248 choke me
4249 #endif
4250
4251 ;
4252 return 0;
4253 }
4254 _ACEOF
4255 if ac_fn_c_try_compile "$LINENO"; then :
4256 ac_compiler_gnu=yes
4257 else
4258 ac_compiler_gnu=no
4259 fi
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4262
4263 fi
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4265 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4266 if test $ac_compiler_gnu = yes; then
4267 GCC=yes
4268 else
4269 GCC=
4270 fi
4271 ac_test_CFLAGS=${CFLAGS+set}
4272 ac_save_CFLAGS=$CFLAGS
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4274 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4275 if ${ac_cv_prog_cc_g+:} false; then :
4276 $as_echo_n "(cached) " >&6
4277 else
4278 ac_save_c_werror_flag=$ac_c_werror_flag
4279 ac_c_werror_flag=yes
4280 ac_cv_prog_cc_g=no
4281 CFLAGS="-g"
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4284
4285 int
4286 main ()
4287 {
4288
4289 ;
4290 return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294 ac_cv_prog_cc_g=yes
4295 else
4296 CFLAGS=""
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299
4300 int
4301 main ()
4302 {
4303
4304 ;
4305 return 0;
4306 }
4307 _ACEOF
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309
4310 else
4311 ac_c_werror_flag=$ac_save_c_werror_flag
4312 CFLAGS="-g"
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4315
4316 int
4317 main ()
4318 {
4319
4320 ;
4321 return 0;
4322 }
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_g=yes
4326 fi
4327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4328 fi
4329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 fi
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 ac_c_werror_flag=$ac_save_c_werror_flag
4333 fi
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4335 $as_echo "$ac_cv_prog_cc_g" >&6; }
4336 if test "$ac_test_CFLAGS" = set; then
4337 CFLAGS=$ac_save_CFLAGS
4338 elif test $ac_cv_prog_cc_g = yes; then
4339 if test "$GCC" = yes; then
4340 CFLAGS="-g -O2"
4341 else
4342 CFLAGS="-g"
4343 fi
4344 else
4345 if test "$GCC" = yes; then
4346 CFLAGS="-O2"
4347 else
4348 CFLAGS=
4349 fi
4350 fi
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4352 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4353 if ${ac_cv_prog_cc_c89+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 ac_cv_prog_cc_c89=no
4357 ac_save_CC=$CC
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4360 #include <stdarg.h>
4361 #include <stdio.h>
4362 struct stat;
4363 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4364 struct buf { int x; };
4365 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4366 static char *e (p, i)
4367 char **p;
4368 int i;
4369 {
4370 return p[i];
4371 }
4372 static char *f (char * (*g) (char **, int), char **p, ...)
4373 {
4374 char *s;
4375 va_list v;
4376 va_start (v,p);
4377 s = g (p, va_arg (v,int));
4378 va_end (v);
4379 return s;
4380 }
4381
4382 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4383 function prototypes and stuff, but not '\xHH' hex character constants.
4384 These don't provoke an error unfortunately, instead are silently treated
4385 as 'x'. The following induces an error, until -std is added to get
4386 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4387 array size at least. It's necessary to write '\x00'==0 to get something
4388 that's true only with -std. */
4389 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4390
4391 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4392 inside strings and character constants. */
4393 #define FOO(x) 'x'
4394 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4395
4396 int test (int i, double x);
4397 struct s1 {int (*f) (int a);};
4398 struct s2 {int (*f) (double a);};
4399 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4400 int argc;
4401 char **argv;
4402 int
4403 main ()
4404 {
4405 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4406 ;
4407 return 0;
4408 }
4409 _ACEOF
4410 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4411 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4412 do
4413 CC="$ac_save_CC $ac_arg"
4414 if ac_fn_c_try_compile "$LINENO"; then :
4415 ac_cv_prog_cc_c89=$ac_arg
4416 fi
4417 rm -f core conftest.err conftest.$ac_objext
4418 test "x$ac_cv_prog_cc_c89" != "xno" && break
4419 done
4420 rm -f conftest.$ac_ext
4421 CC=$ac_save_CC
4422
4423 fi
4424 # AC_CACHE_VAL
4425 case "x$ac_cv_prog_cc_c89" in
4426 x)
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4428 $as_echo "none needed" >&6; } ;;
4429 xno)
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4431 $as_echo "unsupported" >&6; } ;;
4432 *)
4433 CC="$CC $ac_cv_prog_cc_c89"
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4435 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4436 esac
4437 if test "x$ac_cv_prog_cc_c89" != xno; then :
4438
4439 fi
4440
4441 ac_ext=c
4442 ac_cpp='$CPP $CPPFLAGS'
4443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4446
4447 depcc="$CC" am_compiler_list=
4448
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4450 $as_echo_n "checking dependency style of $depcc... " >&6; }
4451 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4452 $as_echo_n "(cached) " >&6
4453 else
4454 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4455 # We make a subdir and do the tests there. Otherwise we can end up
4456 # making bogus files that we don't know about and never remove. For
4457 # instance it was reported that on HP-UX the gcc test will end up
4458 # making a dummy file named `D' -- because `-MD' means `put the output
4459 # in D'.
4460 rm -rf conftest.dir
4461 mkdir conftest.dir
4462 # Copy depcomp to subdir because otherwise we won't find it if we're
4463 # using a relative directory.
4464 cp "$am_depcomp" conftest.dir
4465 cd conftest.dir
4466 # We will build objects and dependencies in a subdirectory because
4467 # it helps to detect inapplicable dependency modes. For instance
4468 # both Tru64's cc and ICC support -MD to output dependencies as a
4469 # side effect of compilation, but ICC will put the dependencies in
4470 # the current directory while Tru64 will put them in the object
4471 # directory.
4472 mkdir sub
4473
4474 am_cv_CC_dependencies_compiler_type=none
4475 if test "$am_compiler_list" = ""; then
4476 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4477 fi
4478 am__universal=false
4479 case " $depcc " in #(
4480 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4481 esac
4482
4483 for depmode in $am_compiler_list; do
4484 # Setup a source with many dependencies, because some compilers
4485 # like to wrap large dependency lists on column 80 (with \), and
4486 # we should not choose a depcomp mode which is confused by this.
4487 #
4488 # We need to recreate these files for each test, as the compiler may
4489 # overwrite some of them when testing with obscure command lines.
4490 # This happens at least with the AIX C compiler.
4491 : > sub/conftest.c
4492 for i in 1 2 3 4 5 6; do
4493 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4494 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4495 # Solaris 8's {/usr,}/bin/sh.
4496 touch sub/conftst$i.h
4497 done
4498 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4499
4500 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4501 # mode. It turns out that the SunPro C++ compiler does not properly
4502 # handle `-M -o', and we need to detect this. Also, some Intel
4503 # versions had trouble with output in subdirs
4504 am__obj=sub/conftest.${OBJEXT-o}
4505 am__minus_obj="-o $am__obj"
4506 case $depmode in
4507 gcc)
4508 # This depmode causes a compiler race in universal mode.
4509 test "$am__universal" = false || continue
4510 ;;
4511 nosideeffect)
4512 # after this tag, mechanisms are not by side-effect, so they'll
4513 # only be used when explicitly requested
4514 if test "x$enable_dependency_tracking" = xyes; then
4515 continue
4516 else
4517 break
4518 fi
4519 ;;
4520 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4521 # This compiler won't grok `-c -o', but also, the minuso test has
4522 # not run yet. These depmodes are late enough in the game, and
4523 # so weak that their functioning should not be impacted.
4524 am__obj=conftest.${OBJEXT-o}
4525 am__minus_obj=
4526 ;;
4527 none) break ;;
4528 esac
4529 if depmode=$depmode \
4530 source=sub/conftest.c object=$am__obj \
4531 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4532 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4533 >/dev/null 2>conftest.err &&
4534 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4535 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4536 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4537 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4538 # icc doesn't choke on unknown options, it will just issue warnings
4539 # or remarks (even with -Werror). So we grep stderr for any message
4540 # that says an option was ignored or not supported.
4541 # When given -MP, icc 7.0 and 7.1 complain thusly:
4542 # icc: Command line warning: ignoring option '-M'; no argument required
4543 # The diagnosis changed in icc 8.0:
4544 # icc: Command line remark: option '-MP' not supported
4545 if (grep 'ignoring option' conftest.err ||
4546 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4547 am_cv_CC_dependencies_compiler_type=$depmode
4548 break
4549 fi
4550 fi
4551 done
4552
4553 cd ..
4554 rm -rf conftest.dir
4555 else
4556 am_cv_CC_dependencies_compiler_type=none
4557 fi
4558
4559 fi
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4561 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4562 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4563
4564 if
4565 test "x$enable_dependency_tracking" != xno \
4566 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4567 am__fastdepCC_TRUE=
4568 am__fastdepCC_FALSE='#'
4569 else
4570 am__fastdepCC_TRUE='#'
4571 am__fastdepCC_FALSE=
4572 fi
4573
4574
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4576 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4577 set x ${MAKE-make}
4578 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4579 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 cat >conftest.make <<\_ACEOF
4583 SHELL = /bin/sh
4584 all:
4585 @echo '@@@%%%=$(MAKE)=@@@%%%'
4586 _ACEOF
4587 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4588 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4589 *@@@%%%=?*=@@@%%%*)
4590 eval ac_cv_prog_make_${ac_make}_set=yes;;
4591 *)
4592 eval ac_cv_prog_make_${ac_make}_set=no;;
4593 esac
4594 rm -f conftest.make
4595 fi
4596 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4598 $as_echo "yes" >&6; }
4599 SET_MAKE=
4600 else
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4603 SET_MAKE="MAKE=${MAKE-make}"
4604 fi
4605
4606
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4608 $as_echo_n "checking whether ln -s works... " >&6; }
4609 LN_S=$as_ln_s
4610 if test "$LN_S" = "ln -s"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4612 $as_echo "yes" >&6; }
4613 else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4615 $as_echo "no, using $LN_S" >&6; }
4616 fi
4617
4618
4619 enable_dlopen=yes
4620
4621
4622
4623 @%:@ Check whether --enable-static was given.
4624 if test "${enable_static+set}" = set; then :
4625 enableval=$enable_static; p=${PACKAGE-default}
4626 case $enableval in
4627 yes) enable_static=yes ;;
4628 no) enable_static=no ;;
4629 *)
4630 enable_static=no
4631 # Look at the argument we got. We use all the common list separators.
4632 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4633 for pkg in $enableval; do
4634 IFS="$lt_save_ifs"
4635 if test "X$pkg" = "X$p"; then
4636 enable_static=yes
4637 fi
4638 done
4639 IFS="$lt_save_ifs"
4640 ;;
4641 esac
4642 else
4643 enable_static=no
4644 fi
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654 case `pwd` in
4655 *\ * | *\ *)
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4657 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4658 esac
4659
4660
4661
4662 macro_version='2.4.2'
4663 macro_revision='1.3337'
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677 ltmain="$ac_aux_dir/ltmain.sh"
4678
4679 # Backslashify metacharacters that are still active within
4680 # double-quoted strings.
4681 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4682
4683 # Same as above, but do not quote variable references.
4684 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4685
4686 # Sed substitution to delay expansion of an escaped shell variable in a
4687 # double_quote_subst'ed string.
4688 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4689
4690 # Sed substitution to delay expansion of an escaped single quote.
4691 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4692
4693 # Sed substitution to avoid accidental globbing in evaled expressions
4694 no_glob_subst='s/\*/\\\*/g'
4695
4696 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4697 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4698 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4699
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4701 $as_echo_n "checking how to print strings... " >&6; }
4702 # Test print first, because it will be a builtin if present.
4703 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4704 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4705 ECHO='print -r --'
4706 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4707 ECHO='printf %s\n'
4708 else
4709 # Use this function as a fallback that always works.
4710 func_fallback_echo ()
4711 {
4712 eval 'cat <<_LTECHO_EOF
4713 $1
4714 _LTECHO_EOF'
4715 }
4716 ECHO='func_fallback_echo'
4717 fi
4718
4719 # func_echo_all arg...
4720 # Invoke $ECHO with all args, space-separated.
4721 func_echo_all ()
4722 {
4723 $ECHO ""
4724 }
4725
4726 case "$ECHO" in
4727 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4728 $as_echo "printf" >&6; } ;;
4729 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4730 $as_echo "print -r" >&6; } ;;
4731 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4732 $as_echo "cat" >&6; } ;;
4733 esac
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4749 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4750 if ${ac_cv_path_SED+:} false; then :
4751 $as_echo_n "(cached) " >&6
4752 else
4753 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4754 for ac_i in 1 2 3 4 5 6 7; do
4755 ac_script="$ac_script$as_nl$ac_script"
4756 done
4757 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4758 { ac_script=; unset ac_script;}
4759 if test -z "$SED"; then
4760 ac_path_SED_found=false
4761 # Loop through the user's path and test for each of PROGNAME-LIST
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH
4764 do
4765 IFS=$as_save_IFS
4766 test -z "$as_dir" && as_dir=.
4767 for ac_prog in sed gsed; do
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4770 as_fn_executable_p "$ac_path_SED" || continue
4771 # Check for GNU ac_path_SED and select it if it is found.
4772 # Check for GNU $ac_path_SED
4773 case `"$ac_path_SED" --version 2>&1` in
4774 *GNU*)
4775 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4776 *)
4777 ac_count=0
4778 $as_echo_n 0123456789 >"conftest.in"
4779 while :
4780 do
4781 cat "conftest.in" "conftest.in" >"conftest.tmp"
4782 mv "conftest.tmp" "conftest.in"
4783 cp "conftest.in" "conftest.nl"
4784 $as_echo '' >> "conftest.nl"
4785 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4787 as_fn_arith $ac_count + 1 && ac_count=$as_val
4788 if test $ac_count -gt ${ac_path_SED_max-0}; then
4789 # Best one so far, save it but keep looking for a better one
4790 ac_cv_path_SED="$ac_path_SED"
4791 ac_path_SED_max=$ac_count
4792 fi
4793 # 10*(2^10) chars as input seems more than enough
4794 test $ac_count -gt 10 && break
4795 done
4796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4797 esac
4798
4799 $ac_path_SED_found && break 3
4800 done
4801 done
4802 done
4803 IFS=$as_save_IFS
4804 if test -z "$ac_cv_path_SED"; then
4805 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4806 fi
4807 else
4808 ac_cv_path_SED=$SED
4809 fi
4810
4811 fi
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4813 $as_echo "$ac_cv_path_SED" >&6; }
4814 SED="$ac_cv_path_SED"
4815 rm -f conftest.sed
4816
4817 test -z "$SED" && SED=sed
4818 Xsed="$SED -e 1s/^X//"
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4831 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4832 if ${ac_cv_path_GREP+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 if test -z "$GREP"; then
4836 ac_path_GREP_found=false
4837 # Loop through the user's path and test for each of PROGNAME-LIST
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4840 do
4841 IFS=$as_save_IFS
4842 test -z "$as_dir" && as_dir=.
4843 for ac_prog in grep ggrep; do
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4846 as_fn_executable_p "$ac_path_GREP" || continue
4847 # Check for GNU ac_path_GREP and select it if it is found.
4848 # Check for GNU $ac_path_GREP
4849 case `"$ac_path_GREP" --version 2>&1` in
4850 *GNU*)
4851 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4852 *)
4853 ac_count=0
4854 $as_echo_n 0123456789 >"conftest.in"
4855 while :
4856 do
4857 cat "conftest.in" "conftest.in" >"conftest.tmp"
4858 mv "conftest.tmp" "conftest.in"
4859 cp "conftest.in" "conftest.nl"
4860 $as_echo 'GREP' >> "conftest.nl"
4861 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4862 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4863 as_fn_arith $ac_count + 1 && ac_count=$as_val
4864 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4865 # Best one so far, save it but keep looking for a better one
4866 ac_cv_path_GREP="$ac_path_GREP"
4867 ac_path_GREP_max=$ac_count
4868 fi
4869 # 10*(2^10) chars as input seems more than enough
4870 test $ac_count -gt 10 && break
4871 done
4872 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4873 esac
4874
4875 $ac_path_GREP_found && break 3
4876 done
4877 done
4878 done
4879 IFS=$as_save_IFS
4880 if test -z "$ac_cv_path_GREP"; then
4881 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4882 fi
4883 else
4884 ac_cv_path_GREP=$GREP
4885 fi
4886
4887 fi
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4889 $as_echo "$ac_cv_path_GREP" >&6; }
4890 GREP="$ac_cv_path_GREP"
4891
4892
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4894 $as_echo_n "checking for egrep... " >&6; }
4895 if ${ac_cv_path_EGREP+:} false; then :
4896 $as_echo_n "(cached) " >&6
4897 else
4898 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4899 then ac_cv_path_EGREP="$GREP -E"
4900 else
4901 if test -z "$EGREP"; then
4902 ac_path_EGREP_found=false
4903 # Loop through the user's path and test for each of PROGNAME-LIST
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4906 do
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_prog in egrep; do
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4912 as_fn_executable_p "$ac_path_EGREP" || continue
4913 # Check for GNU ac_path_EGREP and select it if it is found.
4914 # Check for GNU $ac_path_EGREP
4915 case `"$ac_path_EGREP" --version 2>&1` in
4916 *GNU*)
4917 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4918 *)
4919 ac_count=0
4920 $as_echo_n 0123456789 >"conftest.in"
4921 while :
4922 do
4923 cat "conftest.in" "conftest.in" >"conftest.tmp"
4924 mv "conftest.tmp" "conftest.in"
4925 cp "conftest.in" "conftest.nl"
4926 $as_echo 'EGREP' >> "conftest.nl"
4927 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4928 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4929 as_fn_arith $ac_count + 1 && ac_count=$as_val
4930 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4931 # Best one so far, save it but keep looking for a better one
4932 ac_cv_path_EGREP="$ac_path_EGREP"
4933 ac_path_EGREP_max=$ac_count
4934 fi
4935 # 10*(2^10) chars as input seems more than enough
4936 test $ac_count -gt 10 && break
4937 done
4938 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4939 esac
4940
4941 $ac_path_EGREP_found && break 3
4942 done
4943 done
4944 done
4945 IFS=$as_save_IFS
4946 if test -z "$ac_cv_path_EGREP"; then
4947 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4948 fi
4949 else
4950 ac_cv_path_EGREP=$EGREP
4951 fi
4952
4953 fi
4954 fi
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4956 $as_echo "$ac_cv_path_EGREP" >&6; }
4957 EGREP="$ac_cv_path_EGREP"
4958
4959
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4961 $as_echo_n "checking for fgrep... " >&6; }
4962 if ${ac_cv_path_FGREP+:} false; then :
4963 $as_echo_n "(cached) " >&6
4964 else
4965 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4966 then ac_cv_path_FGREP="$GREP -F"
4967 else
4968 if test -z "$FGREP"; then
4969 ac_path_FGREP_found=false
4970 # Loop through the user's path and test for each of PROGNAME-LIST
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4973 do
4974 IFS=$as_save_IFS
4975 test -z "$as_dir" && as_dir=.
4976 for ac_prog in fgrep; do
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4979 as_fn_executable_p "$ac_path_FGREP" || continue
4980 # Check for GNU ac_path_FGREP and select it if it is found.
4981 # Check for GNU $ac_path_FGREP
4982 case `"$ac_path_FGREP" --version 2>&1` in
4983 *GNU*)
4984 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4985 *)
4986 ac_count=0
4987 $as_echo_n 0123456789 >"conftest.in"
4988 while :
4989 do
4990 cat "conftest.in" "conftest.in" >"conftest.tmp"
4991 mv "conftest.tmp" "conftest.in"
4992 cp "conftest.in" "conftest.nl"
4993 $as_echo 'FGREP' >> "conftest.nl"
4994 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4995 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4996 as_fn_arith $ac_count + 1 && ac_count=$as_val
4997 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4998 # Best one so far, save it but keep looking for a better one
4999 ac_cv_path_FGREP="$ac_path_FGREP"
5000 ac_path_FGREP_max=$ac_count
5001 fi
5002 # 10*(2^10) chars as input seems more than enough
5003 test $ac_count -gt 10 && break
5004 done
5005 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5006 esac
5007
5008 $ac_path_FGREP_found && break 3
5009 done
5010 done
5011 done
5012 IFS=$as_save_IFS
5013 if test -z "$ac_cv_path_FGREP"; then
5014 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5015 fi
5016 else
5017 ac_cv_path_FGREP=$FGREP
5018 fi
5019
5020 fi
5021 fi
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5023 $as_echo "$ac_cv_path_FGREP" >&6; }
5024 FGREP="$ac_cv_path_FGREP"
5025
5026
5027 test -z "$GREP" && GREP=grep
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047 @%:@ Check whether --with-gnu-ld was given.
5048 if test "${with_gnu_ld+set}" = set; then :
5049 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5050 else
5051 with_gnu_ld=no
5052 fi
5053
5054 ac_prog=ld
5055 if test "$GCC" = yes; then
5056 # Check if gcc -print-prog-name=ld gives a path.
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5058 $as_echo_n "checking for ld used by $CC... " >&6; }
5059 case $host in
5060 *-*-mingw*)
5061 # gcc leaves a trailing carriage return which upsets mingw
5062 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5063 *)
5064 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5065 esac
5066 case $ac_prog in
5067 # Accept absolute paths.
5068 [\\/]* | ?:[\\/]*)
5069 re_direlt='/[^/][^/]*/\.\./'
5070 # Canonicalize the pathname of ld
5071 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5072 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5073 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5074 done
5075 test -z "$LD" && LD="$ac_prog"
5076 ;;
5077 "")
5078 # If it fails, then pretend we aren't using GCC.
5079 ac_prog=ld
5080 ;;
5081 *)
5082 # If it is relative, then search for the first ld in PATH.
5083 with_gnu_ld=unknown
5084 ;;
5085 esac
5086 elif test "$with_gnu_ld" = yes; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5088 $as_echo_n "checking for GNU ld... " >&6; }
5089 else
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5091 $as_echo_n "checking for non-GNU ld... " >&6; }
5092 fi
5093 if ${lt_cv_path_LD+:} false; then :
5094 $as_echo_n "(cached) " >&6
5095 else
5096 if test -z "$LD"; then
5097 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5098 for ac_dir in $PATH; do
5099 IFS="$lt_save_ifs"
5100 test -z "$ac_dir" && ac_dir=.
5101 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5102 lt_cv_path_LD="$ac_dir/$ac_prog"
5103 # Check to see if the program is GNU ld. I'd rather use --version,
5104 # but apparently some variants of GNU ld only accept -v.
5105 # Break only if it was the GNU/non-GNU ld that we prefer.
5106 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5107 *GNU* | *'with BFD'*)
5108 test "$with_gnu_ld" != no && break
5109 ;;
5110 *)
5111 test "$with_gnu_ld" != yes && break
5112 ;;
5113 esac
5114 fi
5115 done
5116 IFS="$lt_save_ifs"
5117 else
5118 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5119 fi
5120 fi
5121
5122 LD="$lt_cv_path_LD"
5123 if test -n "$LD"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5125 $as_echo "$LD" >&6; }
5126 else
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5129 fi
5130 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5132 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5133 if ${lt_cv_prog_gnu_ld+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5137 case `$LD -v 2>&1 </dev/null` in
5138 *GNU* | *'with BFD'*)
5139 lt_cv_prog_gnu_ld=yes
5140 ;;
5141 *)
5142 lt_cv_prog_gnu_ld=no
5143 ;;
5144 esac
5145 fi
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5147 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5148 with_gnu_ld=$lt_cv_prog_gnu_ld
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5159 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5160 if ${lt_cv_path_NM+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$NM"; then
5164 # Let the user override the test.
5165 lt_cv_path_NM="$NM"
5166 else
5167 lt_nm_to_check="${ac_tool_prefix}nm"
5168 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5169 lt_nm_to_check="$lt_nm_to_check nm"
5170 fi
5171 for lt_tmp_nm in $lt_nm_to_check; do
5172 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5173 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5174 IFS="$lt_save_ifs"
5175 test -z "$ac_dir" && ac_dir=.
5176 tmp_nm="$ac_dir/$lt_tmp_nm"
5177 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5178 # Check to see if the nm accepts a BSD-compat flag.
5179 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5180 # nm: unknown option "B" ignored
5181 # Tru64's nm complains that /dev/null is an invalid object file
5182 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5183 */dev/null* | *'Invalid file or object type'*)
5184 lt_cv_path_NM="$tmp_nm -B"
5185 break
5186 ;;
5187 *)
5188 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5189 */dev/null*)
5190 lt_cv_path_NM="$tmp_nm -p"
5191 break
5192 ;;
5193 *)
5194 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5195 continue # so that we can try to find one that supports BSD flags
5196 ;;
5197 esac
5198 ;;
5199 esac
5200 fi
5201 done
5202 IFS="$lt_save_ifs"
5203 done
5204 : ${lt_cv_path_NM=no}
5205 fi
5206 fi
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5208 $as_echo "$lt_cv_path_NM" >&6; }
5209 if test "$lt_cv_path_NM" != "no"; then
5210 NM="$lt_cv_path_NM"
5211 else
5212 # Didn't find any BSD compatible name lister, look for dumpbin.
5213 if test -n "$DUMPBIN"; then :
5214 # Let the user override the test.
5215 else
5216 if test -n "$ac_tool_prefix"; then
5217 for ac_prog in dumpbin "link -dump"
5218 do
5219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if ${ac_cv_prog_DUMPBIN+:} false; then :
5224 $as_echo_n "(cached) " >&6
5225 else
5226 if test -n "$DUMPBIN"; then
5227 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5228 else
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 for as_dir in $PATH
5231 do
5232 IFS=$as_save_IFS
5233 test -z "$as_dir" && as_dir=.
5234 for ac_exec_ext in '' $ac_executable_extensions; do
5235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5236 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 break 2
5239 fi
5240 done
5241 done
5242 IFS=$as_save_IFS
5243
5244 fi
5245 fi
5246 DUMPBIN=$ac_cv_prog_DUMPBIN
5247 if test -n "$DUMPBIN"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5249 $as_echo "$DUMPBIN" >&6; }
5250 else
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5253 fi
5254
5255
5256 test -n "$DUMPBIN" && break
5257 done
5258 fi
5259 if test -z "$DUMPBIN"; then
5260 ac_ct_DUMPBIN=$DUMPBIN
5261 for ac_prog in dumpbin "link -dump"
5262 do
5263 # Extract the first word of "$ac_prog", so it can be a program name with args.
5264 set dummy $ac_prog; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$ac_ct_DUMPBIN"; then
5271 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5275 do
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5283 fi
5284 done
5285 done
5286 IFS=$as_save_IFS
5287
5288 fi
5289 fi
5290 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5291 if test -n "$ac_ct_DUMPBIN"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5293 $as_echo "$ac_ct_DUMPBIN" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5297 fi
5298
5299
5300 test -n "$ac_ct_DUMPBIN" && break
5301 done
5302
5303 if test "x$ac_ct_DUMPBIN" = x; then
5304 DUMPBIN=":"
5305 else
5306 case $cross_compiling:$ac_tool_warned in
5307 yes:)
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5311 esac
5312 DUMPBIN=$ac_ct_DUMPBIN
5313 fi
5314 fi
5315
5316 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5317 *COFF*)
5318 DUMPBIN="$DUMPBIN -symbols"
5319 ;;
5320 *)
5321 DUMPBIN=:
5322 ;;
5323 esac
5324 fi
5325
5326 if test "$DUMPBIN" != ":"; then
5327 NM="$DUMPBIN"
5328 fi
5329 fi
5330 test -z "$NM" && NM=nm
5331
5332
5333
5334
5335
5336
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5338 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5339 if ${lt_cv_nm_interface+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 lt_cv_nm_interface="BSD nm"
5343 echo "int some_variable = 0;" > conftest.$ac_ext
5344 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5345 (eval "$ac_compile" 2>conftest.err)
5346 cat conftest.err >&5
5347 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5348 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5349 cat conftest.err >&5
5350 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5351 cat conftest.out >&5
5352 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5353 lt_cv_nm_interface="MS dumpbin"
5354 fi
5355 rm -f conftest*
5356 fi
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5358 $as_echo "$lt_cv_nm_interface" >&6; }
5359
5360 # find the maximum length of command line arguments
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5362 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5363 if ${lt_cv_sys_max_cmd_len+:} false; then :
5364 $as_echo_n "(cached) " >&6
5365 else
5366 i=0
5367 teststring="ABCD"
5368
5369 case $build_os in
5370 msdosdjgpp*)
5371 # On DJGPP, this test can blow up pretty badly due to problems in libc
5372 # (any single argument exceeding 2000 bytes causes a buffer overrun
5373 # during glob expansion). Even if it were fixed, the result of this
5374 # check would be larger than it should be.
5375 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5376 ;;
5377
5378 gnu*)
5379 # Under GNU Hurd, this test is not required because there is
5380 # no limit to the length of command line arguments.
5381 # Libtool will interpret -1 as no limit whatsoever
5382 lt_cv_sys_max_cmd_len=-1;
5383 ;;
5384
5385 cygwin* | mingw* | cegcc*)
5386 # On Win9x/ME, this test blows up -- it succeeds, but takes
5387 # about 5 minutes as the teststring grows exponentially.
5388 # Worse, since 9x/ME are not pre-emptively multitasking,
5389 # you end up with a "frozen" computer, even though with patience
5390 # the test eventually succeeds (with a max line length of 256k).
5391 # Instead, let's just punt: use the minimum linelength reported by
5392 # all of the supported platforms: 8192 (on NT/2K/XP).
5393 lt_cv_sys_max_cmd_len=8192;
5394 ;;
5395
5396 mint*)
5397 # On MiNT this can take a long time and run out of memory.
5398 lt_cv_sys_max_cmd_len=8192;
5399 ;;
5400
5401 amigaos*)
5402 # On AmigaOS with pdksh, this test takes hours, literally.
5403 # So we just punt and use a minimum line length of 8192.
5404 lt_cv_sys_max_cmd_len=8192;
5405 ;;
5406
5407 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5408 # This has been around since 386BSD, at least. Likely further.
5409 if test -x /sbin/sysctl; then
5410 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5411 elif test -x /usr/sbin/sysctl; then
5412 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5413 else
5414 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5415 fi
5416 # And add a safety zone
5417 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5418 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5419 ;;
5420
5421 interix*)
5422 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5423 lt_cv_sys_max_cmd_len=196608
5424 ;;
5425
5426 os2*)
5427 # The test takes a long time on OS/2.
5428 lt_cv_sys_max_cmd_len=8192
5429 ;;
5430
5431 osf*)
5432 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5433 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5434 # nice to cause kernel panics so lets avoid the loop below.
5435 # First set a reasonable default.
5436 lt_cv_sys_max_cmd_len=16384
5437 #
5438 if test -x /sbin/sysconfig; then
5439 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5440 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5441 esac
5442 fi
5443 ;;
5444 sco3.2v5*)
5445 lt_cv_sys_max_cmd_len=102400
5446 ;;
5447 sysv5* | sco5v6* | sysv4.2uw2*)
5448 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5449 if test -n "$kargmax"; then
5450 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5451 else
5452 lt_cv_sys_max_cmd_len=32768
5453 fi
5454 ;;
5455 *)
5456 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5457 if test -n "$lt_cv_sys_max_cmd_len" && \
5458 test undefined != "$lt_cv_sys_max_cmd_len"; then
5459 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5460 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5461 else
5462 # Make teststring a little bigger before we do anything with it.
5463 # a 1K string should be a reasonable start.
5464 for i in 1 2 3 4 5 6 7 8 ; do
5465 teststring=$teststring$teststring
5466 done
5467 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5468 # If test is not a shell built-in, we'll probably end up computing a
5469 # maximum length that is only half of the actual maximum length, but
5470 # we can't tell.
5471 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5472 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5473 test $i != 17 # 1/2 MB should be enough
5474 do
5475 i=`expr $i + 1`
5476 teststring=$teststring$teststring
5477 done
5478 # Only check the string length outside the loop.
5479 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5480 teststring=
5481 # Add a significant safety factor because C++ compilers can tack on
5482 # massive amounts of additional arguments before passing them to the
5483 # linker. It appears as though 1/2 is a usable value.
5484 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5485 fi
5486 ;;
5487 esac
5488
5489 fi
5490
5491 if test -n $lt_cv_sys_max_cmd_len ; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5493 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5494 else
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5496 $as_echo "none" >&6; }
5497 fi
5498 max_cmd_len=$lt_cv_sys_max_cmd_len
5499
5500
5501
5502
5503
5504
5505 : ${CP="cp -f"}
5506 : ${MV="mv -f"}
5507 : ${RM="rm -f"}
5508
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5510 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5511 # Try some XSI features
5512 xsi_shell=no
5513 ( _lt_dummy="a/b/c"
5514 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5515 = c,a/b,b/c, \
5516 && eval 'test $(( 1 + 1 )) -eq 2 \
5517 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5518 && xsi_shell=yes
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5520 $as_echo "$xsi_shell" >&6; }
5521
5522
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5524 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5525 lt_shell_append=no
5526 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5527 >/dev/null 2>&1 \
5528 && lt_shell_append=yes
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5530 $as_echo "$lt_shell_append" >&6; }
5531
5532
5533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5534 lt_unset=unset
5535 else
5536 lt_unset=false
5537 fi
5538
5539
5540
5541
5542
5543 # test EBCDIC or ASCII
5544 case `echo X|tr X '\101'` in
5545 A) # ASCII based system
5546 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5547 lt_SP2NL='tr \040 \012'
5548 lt_NL2SP='tr \015\012 \040\040'
5549 ;;
5550 *) # EBCDIC based system
5551 lt_SP2NL='tr \100 \n'
5552 lt_NL2SP='tr \r\n \100\100'
5553 ;;
5554 esac
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5565 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5566 if ${lt_cv_to_host_file_cmd+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 case $host in
5570 *-*-mingw* )
5571 case $build in
5572 *-*-mingw* ) # actually msys
5573 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5574 ;;
5575 *-*-cygwin* )
5576 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5577 ;;
5578 * ) # otherwise, assume *nix
5579 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5580 ;;
5581 esac
5582 ;;
5583 *-*-cygwin* )
5584 case $build in
5585 *-*-mingw* ) # actually msys
5586 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5587 ;;
5588 *-*-cygwin* )
5589 lt_cv_to_host_file_cmd=func_convert_file_noop
5590 ;;
5591 * ) # otherwise, assume *nix
5592 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5593 ;;
5594 esac
5595 ;;
5596 * ) # unhandled hosts (and "normal" native builds)
5597 lt_cv_to_host_file_cmd=func_convert_file_noop
5598 ;;
5599 esac
5600
5601 fi
5602
5603 to_host_file_cmd=$lt_cv_to_host_file_cmd
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5605 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5606
5607
5608
5609
5610
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5612 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5613 if ${lt_cv_to_tool_file_cmd+:} false; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 #assume ordinary cross tools, or native build.
5617 lt_cv_to_tool_file_cmd=func_convert_file_noop
5618 case $host in
5619 *-*-mingw* )
5620 case $build in
5621 *-*-mingw* ) # actually msys
5622 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5623 ;;
5624 esac
5625 ;;
5626 esac
5627
5628 fi
5629
5630 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5632 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5633
5634
5635
5636
5637
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5639 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5640 if ${lt_cv_ld_reload_flag+:} false; then :
5641 $as_echo_n "(cached) " >&6
5642 else
5643 lt_cv_ld_reload_flag='-r'
5644 fi
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5646 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5647 reload_flag=$lt_cv_ld_reload_flag
5648 case $reload_flag in
5649 "" | " "*) ;;
5650 *) reload_flag=" $reload_flag" ;;
5651 esac
5652 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5653 case $host_os in
5654 cygwin* | mingw* | pw32* | cegcc*)
5655 if test "$GCC" != yes; then
5656 reload_cmds=false
5657 fi
5658 ;;
5659 darwin*)
5660 if test "$GCC" = yes; then
5661 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5662 else
5663 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5664 fi
5665 ;;
5666 esac
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676 if test -n "$ac_tool_prefix"; then
5677 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5678 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_OBJDUMP+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -n "$OBJDUMP"; then
5685 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5689 do
5690 IFS=$as_save_IFS
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 break 2
5697 fi
5698 done
5699 done
5700 IFS=$as_save_IFS
5701
5702 fi
5703 fi
5704 OBJDUMP=$ac_cv_prog_OBJDUMP
5705 if test -n "$OBJDUMP"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5707 $as_echo "$OBJDUMP" >&6; }
5708 else
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5711 fi
5712
5713
5714 fi
5715 if test -z "$ac_cv_prog_OBJDUMP"; then
5716 ac_ct_OBJDUMP=$OBJDUMP
5717 # Extract the first word of "objdump", so it can be a program name with args.
5718 set dummy objdump; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 if test -n "$ac_ct_OBJDUMP"; then
5725 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5729 do
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 break 2
5737 fi
5738 done
5739 done
5740 IFS=$as_save_IFS
5741
5742 fi
5743 fi
5744 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5745 if test -n "$ac_ct_OBJDUMP"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5747 $as_echo "$ac_ct_OBJDUMP" >&6; }
5748 else
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5751 fi
5752
5753 if test "x$ac_ct_OBJDUMP" = x; then
5754 OBJDUMP="false"
5755 else
5756 case $cross_compiling:$ac_tool_warned in
5757 yes:)
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5760 ac_tool_warned=yes ;;
5761 esac
5762 OBJDUMP=$ac_ct_OBJDUMP
5763 fi
5764 else
5765 OBJDUMP="$ac_cv_prog_OBJDUMP"
5766 fi
5767
5768 test -z "$OBJDUMP" && OBJDUMP=objdump
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5779 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5780 if ${lt_cv_deplibs_check_method+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 lt_cv_file_magic_cmd='$MAGIC_CMD'
5784 lt_cv_file_magic_test_file=
5785 lt_cv_deplibs_check_method='unknown'
5786 # Need to set the preceding variable on all platforms that support
5787 # interlibrary dependencies.
5788 # 'none' -- dependencies not supported.
5789 # `unknown' -- same as none, but documents that we really don't know.
5790 # 'pass_all' -- all dependencies passed with no checks.
5791 # 'test_compile' -- check by making test program.
5792 # 'file_magic [[regex]]' -- check by looking for files in library path
5793 # which responds to the $file_magic_cmd with a given extended regex.
5794 # If you have `file' or equivalent on your system and you're not sure
5795 # whether `pass_all' will *always* work, you probably want this one.
5796
5797 case $host_os in
5798 aix[4-9]*)
5799 lt_cv_deplibs_check_method=pass_all
5800 ;;
5801
5802 beos*)
5803 lt_cv_deplibs_check_method=pass_all
5804 ;;
5805
5806 bsdi[45]*)
5807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5808 lt_cv_file_magic_cmd='/usr/bin/file -L'
5809 lt_cv_file_magic_test_file=/shlib/libc.so
5810 ;;
5811
5812 cygwin*)
5813 # func_win32_libid is a shell function defined in ltmain.sh
5814 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5815 lt_cv_file_magic_cmd='func_win32_libid'
5816 ;;
5817
5818 mingw* | pw32*)
5819 # Base MSYS/MinGW do not provide the 'file' command needed by
5820 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5821 # unless we find 'file', for example because we are cross-compiling.
5822 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5823 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5824 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5825 lt_cv_file_magic_cmd='func_win32_libid'
5826 else
5827 # Keep this pattern in sync with the one in func_win32_libid.
5828 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5829 lt_cv_file_magic_cmd='$OBJDUMP -f'
5830 fi
5831 ;;
5832
5833 cegcc*)
5834 # use the weaker test based on 'objdump'. See mingw*.
5835 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5836 lt_cv_file_magic_cmd='$OBJDUMP -f'
5837 ;;
5838
5839 darwin* | rhapsody*)
5840 lt_cv_deplibs_check_method=pass_all
5841 ;;
5842
5843 freebsd* | dragonfly*)
5844 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5845 case $host_cpu in
5846 i*86 )
5847 # Not sure whether the presence of OpenBSD here was a mistake.
5848 # Let's accept both of them until this is cleared up.
5849 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5850 lt_cv_file_magic_cmd=/usr/bin/file
5851 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5852 ;;
5853 esac
5854 else
5855 lt_cv_deplibs_check_method=pass_all
5856 fi
5857 ;;
5858
5859 haiku*)
5860 lt_cv_deplibs_check_method=pass_all
5861 ;;
5862
5863 hpux10.20* | hpux11*)
5864 lt_cv_file_magic_cmd=/usr/bin/file
5865 case $host_cpu in
5866 ia64*)
5867 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5868 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5869 ;;
5870 hppa*64*)
5871 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5872 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5873 ;;
5874 *)
5875 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5876 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5877 ;;
5878 esac
5879 ;;
5880
5881 interix[3-9]*)
5882 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5883 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5884 ;;
5885
5886 irix5* | irix6* | nonstopux*)
5887 case $LD in
5888 *-32|*"-32 ") libmagic=32-bit;;
5889 *-n32|*"-n32 ") libmagic=N32;;
5890 *-64|*"-64 ") libmagic=64-bit;;
5891 *) libmagic=never-match;;
5892 esac
5893 lt_cv_deplibs_check_method=pass_all
5894 ;;
5895
5896 # This must be glibc/ELF.
5897 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5898 lt_cv_deplibs_check_method=pass_all
5899 ;;
5900
5901 netbsd* | netbsdelf*-gnu)
5902 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5903 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5904 else
5905 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5906 fi
5907 ;;
5908
5909 newos6*)
5910 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5911 lt_cv_file_magic_cmd=/usr/bin/file
5912 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5913 ;;
5914
5915 *nto* | *qnx*)
5916 lt_cv_deplibs_check_method=pass_all
5917 ;;
5918
5919 openbsd*)
5920 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5921 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5922 else
5923 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5924 fi
5925 ;;
5926
5927 osf3* | osf4* | osf5*)
5928 lt_cv_deplibs_check_method=pass_all
5929 ;;
5930
5931 rdos*)
5932 lt_cv_deplibs_check_method=pass_all
5933 ;;
5934
5935 solaris*)
5936 lt_cv_deplibs_check_method=pass_all
5937 ;;
5938
5939 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5940 lt_cv_deplibs_check_method=pass_all
5941 ;;
5942
5943 sysv4 | sysv4.3*)
5944 case $host_vendor in
5945 motorola)
5946 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]'
5947 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5948 ;;
5949 ncr)
5950 lt_cv_deplibs_check_method=pass_all
5951 ;;
5952 sequent)
5953 lt_cv_file_magic_cmd='/bin/file'
5954 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5955 ;;
5956 sni)
5957 lt_cv_file_magic_cmd='/bin/file'
5958 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5959 lt_cv_file_magic_test_file=/lib/libc.so
5960 ;;
5961 siemens)
5962 lt_cv_deplibs_check_method=pass_all
5963 ;;
5964 pc)
5965 lt_cv_deplibs_check_method=pass_all
5966 ;;
5967 esac
5968 ;;
5969
5970 tpf*)
5971 lt_cv_deplibs_check_method=pass_all
5972 ;;
5973 esac
5974
5975 fi
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5977 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5978
5979 file_magic_glob=
5980 want_nocaseglob=no
5981 if test "$build" = "$host"; then
5982 case $host_os in
5983 mingw* | pw32*)
5984 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5985 want_nocaseglob=yes
5986 else
5987 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5988 fi
5989 ;;
5990 esac
5991 fi
5992
5993 file_magic_cmd=$lt_cv_file_magic_cmd
5994 deplibs_check_method=$lt_cv_deplibs_check_method
5995 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018 if test -n "$ac_tool_prefix"; then
6019 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6020 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_DLLTOOL+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$DLLTOOL"; then
6027 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6031 do
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6039 fi
6040 done
6041 done
6042 IFS=$as_save_IFS
6043
6044 fi
6045 fi
6046 DLLTOOL=$ac_cv_prog_DLLTOOL
6047 if test -n "$DLLTOOL"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6049 $as_echo "$DLLTOOL" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6053 fi
6054
6055
6056 fi
6057 if test -z "$ac_cv_prog_DLLTOOL"; then
6058 ac_ct_DLLTOOL=$DLLTOOL
6059 # Extract the first word of "dlltool", so it can be a program name with args.
6060 set dummy dlltool; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$ac_ct_DLLTOOL"; then
6067 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6071 do
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6079 fi
6080 done
6081 done
6082 IFS=$as_save_IFS
6083
6084 fi
6085 fi
6086 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6087 if test -n "$ac_ct_DLLTOOL"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6089 $as_echo "$ac_ct_DLLTOOL" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 fi
6094
6095 if test "x$ac_ct_DLLTOOL" = x; then
6096 DLLTOOL="false"
6097 else
6098 case $cross_compiling:$ac_tool_warned in
6099 yes:)
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102 ac_tool_warned=yes ;;
6103 esac
6104 DLLTOOL=$ac_ct_DLLTOOL
6105 fi
6106 else
6107 DLLTOOL="$ac_cv_prog_DLLTOOL"
6108 fi
6109
6110 test -z "$DLLTOOL" && DLLTOOL=dlltool
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6122 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6123 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 lt_cv_sharedlib_from_linklib_cmd='unknown'
6127
6128 case $host_os in
6129 cygwin* | mingw* | pw32* | cegcc*)
6130 # two different shell functions defined in ltmain.sh
6131 # decide which to use based on capabilities of $DLLTOOL
6132 case `$DLLTOOL --help 2>&1` in
6133 *--identify-strict*)
6134 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6135 ;;
6136 *)
6137 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6138 ;;
6139 esac
6140 ;;
6141 *)
6142 # fallback: assume linklib IS sharedlib
6143 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6144 ;;
6145 esac
6146
6147 fi
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6149 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6150 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6151 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6152
6153
6154
6155
6156
6157
6158
6159 if test -n "$ac_tool_prefix"; then
6160 for ac_prog in ar
6161 do
6162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_AR+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 if test -n "$AR"; then
6170 ac_cv_prog_AR="$AR" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6174 do
6175 IFS=$as_save_IFS
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 break 2
6182 fi
6183 done
6184 done
6185 IFS=$as_save_IFS
6186
6187 fi
6188 fi
6189 AR=$ac_cv_prog_AR
6190 if test -n "$AR"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6192 $as_echo "$AR" >&6; }
6193 else
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6196 fi
6197
6198
6199 test -n "$AR" && break
6200 done
6201 fi
6202 if test -z "$AR"; then
6203 ac_ct_AR=$AR
6204 for ac_prog in ar
6205 do
6206 # Extract the first word of "$ac_prog", so it can be a program name with args.
6207 set dummy $ac_prog; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6211 $as_echo_n "(cached) " >&6
6212 else
6213 if test -n "$ac_ct_AR"; then
6214 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6218 do
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_ac_ct_AR="$ac_prog"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6226 fi
6227 done
6228 done
6229 IFS=$as_save_IFS
6230
6231 fi
6232 fi
6233 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6234 if test -n "$ac_ct_AR"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6236 $as_echo "$ac_ct_AR" >&6; }
6237 else
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6240 fi
6241
6242
6243 test -n "$ac_ct_AR" && break
6244 done
6245
6246 if test "x$ac_ct_AR" = x; then
6247 AR="false"
6248 else
6249 case $cross_compiling:$ac_tool_warned in
6250 yes:)
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6253 ac_tool_warned=yes ;;
6254 esac
6255 AR=$ac_ct_AR
6256 fi
6257 fi
6258
6259 : ${AR=ar}
6260 : ${AR_FLAGS=cru}
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6273 $as_echo_n "checking for archiver @FILE support... " >&6; }
6274 if ${lt_cv_ar_at_file+:} false; then :
6275 $as_echo_n "(cached) " >&6
6276 else
6277 lt_cv_ar_at_file=no
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280
6281 int
6282 main ()
6283 {
6284
6285 ;
6286 return 0;
6287 }
6288 _ACEOF
6289 if ac_fn_c_try_compile "$LINENO"; then :
6290 echo conftest.$ac_objext > conftest.lst
6291 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6292 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6293 (eval $lt_ar_try) 2>&5
6294 ac_status=$?
6295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6296 test $ac_status = 0; }
6297 if test "$ac_status" -eq 0; then
6298 # Ensure the archiver fails upon bogus file names.
6299 rm -f conftest.$ac_objext libconftest.a
6300 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6301 (eval $lt_ar_try) 2>&5
6302 ac_status=$?
6303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6304 test $ac_status = 0; }
6305 if test "$ac_status" -ne 0; then
6306 lt_cv_ar_at_file=@
6307 fi
6308 fi
6309 rm -f conftest.* libconftest.a
6310
6311 fi
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6313
6314 fi
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6316 $as_echo "$lt_cv_ar_at_file" >&6; }
6317
6318 if test "x$lt_cv_ar_at_file" = xno; then
6319 archiver_list_spec=
6320 else
6321 archiver_list_spec=$lt_cv_ar_at_file
6322 fi
6323
6324
6325
6326
6327
6328
6329
6330 if test -n "$ac_tool_prefix"; then
6331 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6332 set dummy ${ac_tool_prefix}strip; ac_word=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if ${ac_cv_prog_STRIP+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 if test -n "$STRIP"; then
6339 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6340 else
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in $PATH
6343 do
6344 IFS=$as_save_IFS
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6348 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 break 2
6351 fi
6352 done
6353 done
6354 IFS=$as_save_IFS
6355
6356 fi
6357 fi
6358 STRIP=$ac_cv_prog_STRIP
6359 if test -n "$STRIP"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6361 $as_echo "$STRIP" >&6; }
6362 else
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6365 fi
6366
6367
6368 fi
6369 if test -z "$ac_cv_prog_STRIP"; then
6370 ac_ct_STRIP=$STRIP
6371 # Extract the first word of "strip", so it can be a program name with args.
6372 set dummy strip; ac_word=$2
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374 $as_echo_n "checking for $ac_word... " >&6; }
6375 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6376 $as_echo_n "(cached) " >&6
6377 else
6378 if test -n "$ac_ct_STRIP"; then
6379 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6380 else
6381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 for as_dir in $PATH
6383 do
6384 IFS=$as_save_IFS
6385 test -z "$as_dir" && as_dir=.
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6388 ac_cv_prog_ac_ct_STRIP="strip"
6389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 break 2
6391 fi
6392 done
6393 done
6394 IFS=$as_save_IFS
6395
6396 fi
6397 fi
6398 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6399 if test -n "$ac_ct_STRIP"; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6401 $as_echo "$ac_ct_STRIP" >&6; }
6402 else
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404 $as_echo "no" >&6; }
6405 fi
6406
6407 if test "x$ac_ct_STRIP" = x; then
6408 STRIP=":"
6409 else
6410 case $cross_compiling:$ac_tool_warned in
6411 yes:)
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6414 ac_tool_warned=yes ;;
6415 esac
6416 STRIP=$ac_ct_STRIP
6417 fi
6418 else
6419 STRIP="$ac_cv_prog_STRIP"
6420 fi
6421
6422 test -z "$STRIP" && STRIP=:
6423
6424
6425
6426
6427
6428
6429 if test -n "$ac_tool_prefix"; then
6430 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6431 set dummy ${ac_tool_prefix}ranlib; 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; }
6434 if ${ac_cv_prog_RANLIB+:} false; then :
6435 $as_echo_n "(cached) " >&6
6436 else
6437 if test -n "$RANLIB"; then
6438 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6439 else
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 for as_dir in $PATH
6442 do
6443 IFS=$as_save_IFS
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449 break 2
6450 fi
6451 done
6452 done
6453 IFS=$as_save_IFS
6454
6455 fi
6456 fi
6457 RANLIB=$ac_cv_prog_RANLIB
6458 if test -n "$RANLIB"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6460 $as_echo "$RANLIB" >&6; }
6461 else
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6464 fi
6465
6466
6467 fi
6468 if test -z "$ac_cv_prog_RANLIB"; then
6469 ac_ct_RANLIB=$RANLIB
6470 # Extract the first word of "ranlib", so it can be a program name with args.
6471 set dummy ranlib; 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; }
6474 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6475 $as_echo_n "(cached) " >&6
6476 else
6477 if test -n "$ac_ct_RANLIB"; then
6478 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6482 do
6483 IFS=$as_save_IFS
6484 test -z "$as_dir" && as_dir=.
6485 for ac_exec_ext in '' $ac_executable_extensions; do
6486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6487 ac_cv_prog_ac_ct_RANLIB="ranlib"
6488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489 break 2
6490 fi
6491 done
6492 done
6493 IFS=$as_save_IFS
6494
6495 fi
6496 fi
6497 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6498 if test -n "$ac_ct_RANLIB"; then
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6500 $as_echo "$ac_ct_RANLIB" >&6; }
6501 else
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6504 fi
6505
6506 if test "x$ac_ct_RANLIB" = x; then
6507 RANLIB=":"
6508 else
6509 case $cross_compiling:$ac_tool_warned in
6510 yes:)
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;}
6513 ac_tool_warned=yes ;;
6514 esac
6515 RANLIB=$ac_ct_RANLIB
6516 fi
6517 else
6518 RANLIB="$ac_cv_prog_RANLIB"
6519 fi
6520
6521 test -z "$RANLIB" && RANLIB=:
6522
6523
6524
6525
6526
6527
6528 # Determine commands to create old-style static archives.
6529 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6530 old_postinstall_cmds='chmod 644 $oldlib'
6531 old_postuninstall_cmds=
6532
6533 if test -n "$RANLIB"; then
6534 case $host_os in
6535 openbsd*)
6536 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6537 ;;
6538 *)
6539 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6540 ;;
6541 esac
6542 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6543 fi
6544
6545 case $host_os in
6546 darwin*)
6547 lock_old_archive_extraction=yes ;;
6548 *)
6549 lock_old_archive_extraction=no ;;
6550 esac
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590 # If no C compiler was specified, use CC.
6591 LTCC=${LTCC-"$CC"}
6592
6593 # If no C compiler flags were specified, use CFLAGS.
6594 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6595
6596 # Allow CC to be a program name with arguments.
6597 compiler=$CC
6598
6599
6600 # Check for command to grab the raw symbol name followed by C symbol from nm.
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6602 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6603 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606
6607 # These are sane defaults that work on at least a few old systems.
6608 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6609
6610 # Character class describing NM global symbol codes.
6611 symcode='[BCDEGRST]'
6612
6613 # Regexp to match symbols that can be accessed directly from C.
6614 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6615
6616 # Define system-specific variables.
6617 case $host_os in
6618 aix*)
6619 symcode='[BCDT]'
6620 ;;
6621 cygwin* | mingw* | pw32* | cegcc*)
6622 symcode='[ABCDGISTW]'
6623 ;;
6624 hpux*)
6625 if test "$host_cpu" = ia64; then
6626 symcode='[ABCDEGRST]'
6627 fi
6628 ;;
6629 irix* | nonstopux*)
6630 symcode='[BCDEGRST]'
6631 ;;
6632 osf*)
6633 symcode='[BCDEGQRST]'
6634 ;;
6635 solaris*)
6636 symcode='[BDRT]'
6637 ;;
6638 sco3.2v5*)
6639 symcode='[DT]'
6640 ;;
6641 sysv4.2uw2*)
6642 symcode='[DT]'
6643 ;;
6644 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6645 symcode='[ABDT]'
6646 ;;
6647 sysv4)
6648 symcode='[DFNSTU]'
6649 ;;
6650 esac
6651
6652 # If we're using GNU nm, then use its standard symbol codes.
6653 case `$NM -V 2>&1` in
6654 *GNU* | *'with BFD'*)
6655 symcode='[ABCDGIRSTW]' ;;
6656 esac
6657
6658 # Transform an extracted symbol line into a proper C declaration.
6659 # Some systems (esp. on ia64) link data and code symbols differently,
6660 # so use this general approach.
6661 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6662
6663 # Transform an extracted symbol line into symbol name and symbol address
6664 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6665 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6666
6667 # Handle CRLF in mingw tool chain
6668 opt_cr=
6669 case $build_os in
6670 mingw*)
6671 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6672 ;;
6673 esac
6674
6675 # Try without a prefix underscore, then with it.
6676 for ac_symprfx in "" "_"; do
6677
6678 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6679 symxfrm="\\1 $ac_symprfx\\2 \\2"
6680
6681 # Write the raw and C identifiers.
6682 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6683 # Fake it for dumpbin and say T for any non-static function
6684 # and D for any global variable.
6685 # Also find C++ and __fastcall symbols from MSVC++,
6686 # which start with @ or ?.
6687 lt_cv_sys_global_symbol_pipe="$AWK '"\
6688 " {last_section=section; section=\$ 3};"\
6689 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6690 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6691 " \$ 0!~/External *\|/{next};"\
6692 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6693 " {if(hide[section]) next};"\
6694 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6695 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6696 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6697 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6698 " ' prfx=^$ac_symprfx"
6699 else
6700 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6701 fi
6702 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6703
6704 # Check to see that the pipe works correctly.
6705 pipe_works=no
6706
6707 rm -f conftest*
6708 cat > conftest.$ac_ext <<_LT_EOF
6709 #ifdef __cplusplus
6710 extern "C" {
6711 #endif
6712 char nm_test_var;
6713 void nm_test_func(void);
6714 void nm_test_func(void){}
6715 #ifdef __cplusplus
6716 }
6717 #endif
6718 int main(){nm_test_var='a';nm_test_func();return(0);}
6719 _LT_EOF
6720
6721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6722 (eval $ac_compile) 2>&5
6723 ac_status=$?
6724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6725 test $ac_status = 0; }; then
6726 # Now try to grab the symbols.
6727 nlist=conftest.nm
6728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6729 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6730 ac_status=$?
6731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6732 test $ac_status = 0; } && test -s "$nlist"; then
6733 # Try sorting and uniquifying the output.
6734 if sort "$nlist" | uniq > "$nlist"T; then
6735 mv -f "$nlist"T "$nlist"
6736 else
6737 rm -f "$nlist"T
6738 fi
6739
6740 # Make sure that we snagged all the symbols we need.
6741 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6742 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6743 cat <<_LT_EOF > conftest.$ac_ext
6744 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6745 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6746 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6747 relocations are performed -- see ld's documentation on pseudo-relocs. */
6748 # define LT@&t@_DLSYM_CONST
6749 #elif defined(__osf__)
6750 /* This system does not cope well with relocations in const data. */
6751 # define LT@&t@_DLSYM_CONST
6752 #else
6753 # define LT@&t@_DLSYM_CONST const
6754 #endif
6755
6756 #ifdef __cplusplus
6757 extern "C" {
6758 #endif
6759
6760 _LT_EOF
6761 # Now generate the symbol file.
6762 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6763
6764 cat <<_LT_EOF >> conftest.$ac_ext
6765
6766 /* The mapping between symbol names and symbols. */
6767 LT@&t@_DLSYM_CONST struct {
6768 const char *name;
6769 void *address;
6770 }
6771 lt__PROGRAM__LTX_preloaded_symbols[] =
6772 {
6773 { "@PROGRAM@", (void *) 0 },
6774 _LT_EOF
6775 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6776 cat <<\_LT_EOF >> conftest.$ac_ext
6777 {0, (void *) 0}
6778 };
6779
6780 /* This works around a problem in FreeBSD linker */
6781 #ifdef FREEBSD_WORKAROUND
6782 static const void *lt_preloaded_setup() {
6783 return lt__PROGRAM__LTX_preloaded_symbols;
6784 }
6785 #endif
6786
6787 #ifdef __cplusplus
6788 }
6789 #endif
6790 _LT_EOF
6791 # Now try linking the two files.
6792 mv conftest.$ac_objext conftstm.$ac_objext
6793 lt_globsym_save_LIBS=$LIBS
6794 lt_globsym_save_CFLAGS=$CFLAGS
6795 LIBS="conftstm.$ac_objext"
6796 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6798 (eval $ac_link) 2>&5
6799 ac_status=$?
6800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6801 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6802 pipe_works=yes
6803 fi
6804 LIBS=$lt_globsym_save_LIBS
6805 CFLAGS=$lt_globsym_save_CFLAGS
6806 else
6807 echo "cannot find nm_test_func in $nlist" >&5
6808 fi
6809 else
6810 echo "cannot find nm_test_var in $nlist" >&5
6811 fi
6812 else
6813 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6814 fi
6815 else
6816 echo "$progname: failed program was:" >&5
6817 cat conftest.$ac_ext >&5
6818 fi
6819 rm -rf conftest* conftst*
6820
6821 # Do not use the global_symbol_pipe unless it works.
6822 if test "$pipe_works" = yes; then
6823 break
6824 else
6825 lt_cv_sys_global_symbol_pipe=
6826 fi
6827 done
6828
6829 fi
6830
6831 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6832 lt_cv_sys_global_symbol_to_cdecl=
6833 fi
6834 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6836 $as_echo "failed" >&6; }
6837 else
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6839 $as_echo "ok" >&6; }
6840 fi
6841
6842 # Response file support.
6843 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6844 nm_file_list_spec='@'
6845 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6846 nm_file_list_spec='@'
6847 fi
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6876 $as_echo_n "checking for sysroot... " >&6; }
6877
6878 @%:@ Check whether --with-sysroot was given.
6879 if test "${with_sysroot+set}" = set; then :
6880 withval=$with_sysroot;
6881 else
6882 with_sysroot=no
6883 fi
6884
6885
6886 lt_sysroot=
6887 case ${with_sysroot} in #(
6888 yes)
6889 if test "$GCC" = yes; then
6890 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6891 fi
6892 ;; #(
6893 /*)
6894 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6895 ;; #(
6896 no|'')
6897 ;; #(
6898 *)
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6900 $as_echo "${with_sysroot}" >&6; }
6901 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6902 ;;
6903 esac
6904
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6906 $as_echo "${lt_sysroot:-no}" >&6; }
6907
6908
6909
6910
6911
6912 @%:@ Check whether --enable-libtool-lock was given.
6913 if test "${enable_libtool_lock+set}" = set; then :
6914 enableval=$enable_libtool_lock;
6915 fi
6916
6917 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6918
6919 # Some flags need to be propagated to the compiler or linker for good
6920 # libtool support.
6921 case $host in
6922 ia64-*-hpux*)
6923 # Find out which ABI we are using.
6924 echo 'int i;' > conftest.$ac_ext
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 case `/usr/bin/file conftest.$ac_objext` in
6931 *ELF-32*)
6932 HPUX_IA64_MODE="32"
6933 ;;
6934 *ELF-64*)
6935 HPUX_IA64_MODE="64"
6936 ;;
6937 esac
6938 fi
6939 rm -rf conftest*
6940 ;;
6941 *-*-irix6*)
6942 # Find out which ABI we are using.
6943 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6945 (eval $ac_compile) 2>&5
6946 ac_status=$?
6947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6948 test $ac_status = 0; }; then
6949 if test "$lt_cv_prog_gnu_ld" = yes; then
6950 case `/usr/bin/file conftest.$ac_objext` in
6951 *32-bit*)
6952 LD="${LD-ld} -melf32bsmip"
6953 ;;
6954 *N32*)
6955 LD="${LD-ld} -melf32bmipn32"
6956 ;;
6957 *64-bit*)
6958 LD="${LD-ld} -melf64bmip"
6959 ;;
6960 esac
6961 else
6962 case `/usr/bin/file conftest.$ac_objext` in
6963 *32-bit*)
6964 LD="${LD-ld} -32"
6965 ;;
6966 *N32*)
6967 LD="${LD-ld} -n32"
6968 ;;
6969 *64-bit*)
6970 LD="${LD-ld} -64"
6971 ;;
6972 esac
6973 fi
6974 fi
6975 rm -rf conftest*
6976 ;;
6977
6978 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6979 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6980 # Find out which ABI we are using.
6981 echo 'int i;' > conftest.$ac_ext
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6983 (eval $ac_compile) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; }; then
6987 case `/usr/bin/file conftest.o` in
6988 *32-bit*)
6989 case $host in
6990 x86_64-*kfreebsd*-gnu)
6991 LD="${LD-ld} -m elf_i386_fbsd"
6992 ;;
6993 x86_64-*linux*)
6994 case `/usr/bin/file conftest.o` in
6995 *x86-64*)
6996 LD="${LD-ld} -m elf32_x86_64"
6997 ;;
6998 *)
6999 LD="${LD-ld} -m elf_i386"
7000 ;;
7001 esac
7002 ;;
7003 ppc64-*linux*|powerpc64-*linux*)
7004 LD="${LD-ld} -m elf32ppclinux"
7005 ;;
7006 s390x-*linux*)
7007 LD="${LD-ld} -m elf_s390"
7008 ;;
7009 sparc64-*linux*)
7010 LD="${LD-ld} -m elf32_sparc"
7011 ;;
7012 esac
7013 ;;
7014 *64-bit*)
7015 case $host in
7016 x86_64-*kfreebsd*-gnu)
7017 LD="${LD-ld} -m elf_x86_64_fbsd"
7018 ;;
7019 x86_64-*linux*)
7020 LD="${LD-ld} -m elf_x86_64"
7021 ;;
7022 ppc*-*linux*|powerpc*-*linux*)
7023 LD="${LD-ld} -m elf64ppc"
7024 ;;
7025 s390*-*linux*|s390*-*tpf*)
7026 LD="${LD-ld} -m elf64_s390"
7027 ;;
7028 sparc*-*linux*)
7029 LD="${LD-ld} -m elf64_sparc"
7030 ;;
7031 esac
7032 ;;
7033 esac
7034 fi
7035 rm -rf conftest*
7036 ;;
7037
7038 *-*-sco3.2v5*)
7039 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7040 SAVE_CFLAGS="$CFLAGS"
7041 CFLAGS="$CFLAGS -belf"
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7043 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7044 if ${lt_cv_cc_needs_belf+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 ac_ext=c
7048 ac_cpp='$CPP $CPPFLAGS'
7049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7052
7053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054 /* end confdefs.h. */
7055
7056 int
7057 main ()
7058 {
7059
7060 ;
7061 return 0;
7062 }
7063 _ACEOF
7064 if ac_fn_c_try_link "$LINENO"; then :
7065 lt_cv_cc_needs_belf=yes
7066 else
7067 lt_cv_cc_needs_belf=no
7068 fi
7069 rm -f core conftest.err conftest.$ac_objext \
7070 conftest$ac_exeext conftest.$ac_ext
7071 ac_ext=c
7072 ac_cpp='$CPP $CPPFLAGS'
7073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7076
7077 fi
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7079 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7080 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7081 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7082 CFLAGS="$SAVE_CFLAGS"
7083 fi
7084 ;;
7085 *-*solaris*)
7086 # Find out which ABI we are using.
7087 echo 'int i;' > conftest.$ac_ext
7088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7089 (eval $ac_compile) 2>&5
7090 ac_status=$?
7091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7092 test $ac_status = 0; }; then
7093 case `/usr/bin/file conftest.o` in
7094 *64-bit*)
7095 case $lt_cv_prog_gnu_ld in
7096 yes*)
7097 case $host in
7098 i?86-*-solaris*)
7099 LD="${LD-ld} -m elf_x86_64"
7100 ;;
7101 sparc*-*-solaris*)
7102 LD="${LD-ld} -m elf64_sparc"
7103 ;;
7104 esac
7105 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7106 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7107 LD="${LD-ld}_sol2"
7108 fi
7109 ;;
7110 *)
7111 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7112 LD="${LD-ld} -64"
7113 fi
7114 ;;
7115 esac
7116 ;;
7117 esac
7118 fi
7119 rm -rf conftest*
7120 ;;
7121 esac
7122
7123 need_locks="$enable_libtool_lock"
7124
7125 if test -n "$ac_tool_prefix"; then
7126 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7127 set dummy ${ac_tool_prefix}mt; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 if test -n "$MANIFEST_TOOL"; then
7134 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7138 do
7139 IFS=$as_save_IFS
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 break 2
7146 fi
7147 done
7148 done
7149 IFS=$as_save_IFS
7150
7151 fi
7152 fi
7153 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7154 if test -n "$MANIFEST_TOOL"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7156 $as_echo "$MANIFEST_TOOL" >&6; }
7157 else
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7160 fi
7161
7162
7163 fi
7164 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7165 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7166 # Extract the first word of "mt", so it can be a program name with args.
7167 set dummy mt; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7171 $as_echo_n "(cached) " >&6
7172 else
7173 if test -n "$ac_ct_MANIFEST_TOOL"; then
7174 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7175 else
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 for as_dir in $PATH
7178 do
7179 IFS=$as_save_IFS
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 break 2
7186 fi
7187 done
7188 done
7189 IFS=$as_save_IFS
7190
7191 fi
7192 fi
7193 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7194 if test -n "$ac_ct_MANIFEST_TOOL"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7196 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7197 else
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7200 fi
7201
7202 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7203 MANIFEST_TOOL=":"
7204 else
7205 case $cross_compiling:$ac_tool_warned in
7206 yes:)
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7209 ac_tool_warned=yes ;;
7210 esac
7211 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7212 fi
7213 else
7214 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7215 fi
7216
7217 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7219 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7220 if ${lt_cv_path_mainfest_tool+:} false; then :
7221 $as_echo_n "(cached) " >&6
7222 else
7223 lt_cv_path_mainfest_tool=no
7224 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7225 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7226 cat conftest.err >&5
7227 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7228 lt_cv_path_mainfest_tool=yes
7229 fi
7230 rm -f conftest*
7231 fi
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7233 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7234 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7235 MANIFEST_TOOL=:
7236 fi
7237
7238
7239
7240
7241
7242
7243 case $host_os in
7244 rhapsody* | darwin*)
7245 if test -n "$ac_tool_prefix"; then
7246 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7247 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7251 $as_echo_n "(cached) " >&6
7252 else
7253 if test -n "$DSYMUTIL"; then
7254 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7258 do
7259 IFS=$as_save_IFS
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 break 2
7266 fi
7267 done
7268 done
7269 IFS=$as_save_IFS
7270
7271 fi
7272 fi
7273 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7274 if test -n "$DSYMUTIL"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7276 $as_echo "$DSYMUTIL" >&6; }
7277 else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7280 fi
7281
7282
7283 fi
7284 if test -z "$ac_cv_prog_DSYMUTIL"; then
7285 ac_ct_DSYMUTIL=$DSYMUTIL
7286 # Extract the first word of "dsymutil", so it can be a program name with args.
7287 set dummy dsymutil; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 $as_echo_n "checking for $ac_word... " >&6; }
7290 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7291 $as_echo_n "(cached) " >&6
7292 else
7293 if test -n "$ac_ct_DSYMUTIL"; then
7294 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7295 else
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 for as_dir in $PATH
7298 do
7299 IFS=$as_save_IFS
7300 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 break 2
7306 fi
7307 done
7308 done
7309 IFS=$as_save_IFS
7310
7311 fi
7312 fi
7313 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7314 if test -n "$ac_ct_DSYMUTIL"; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7316 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7317 else
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 $as_echo "no" >&6; }
7320 fi
7321
7322 if test "x$ac_ct_DSYMUTIL" = x; then
7323 DSYMUTIL=":"
7324 else
7325 case $cross_compiling:$ac_tool_warned in
7326 yes:)
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7329 ac_tool_warned=yes ;;
7330 esac
7331 DSYMUTIL=$ac_ct_DSYMUTIL
7332 fi
7333 else
7334 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7335 fi
7336
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if ${ac_cv_prog_NMEDIT+:} false; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$NMEDIT"; then
7346 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7350 do
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7355 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7358 fi
7359 done
7360 done
7361 IFS=$as_save_IFS
7362
7363 fi
7364 fi
7365 NMEDIT=$ac_cv_prog_NMEDIT
7366 if test -n "$NMEDIT"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7368 $as_echo "$NMEDIT" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7372 fi
7373
7374
7375 fi
7376 if test -z "$ac_cv_prog_NMEDIT"; then
7377 ac_ct_NMEDIT=$NMEDIT
7378 # Extract the first word of "nmedit", so it can be a program name with args.
7379 set dummy nmedit; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$ac_ct_NMEDIT"; then
7386 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7390 do
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7395 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7398 fi
7399 done
7400 done
7401 IFS=$as_save_IFS
7402
7403 fi
7404 fi
7405 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7406 if test -n "$ac_ct_NMEDIT"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7408 $as_echo "$ac_ct_NMEDIT" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7412 fi
7413
7414 if test "x$ac_ct_NMEDIT" = x; then
7415 NMEDIT=":"
7416 else
7417 case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423 NMEDIT=$ac_ct_NMEDIT
7424 fi
7425 else
7426 NMEDIT="$ac_cv_prog_NMEDIT"
7427 fi
7428
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if ${ac_cv_prog_LIPO+:} false; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$LIPO"; then
7438 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7442 do
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7447 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7450 fi
7451 done
7452 done
7453 IFS=$as_save_IFS
7454
7455 fi
7456 fi
7457 LIPO=$ac_cv_prog_LIPO
7458 if test -n "$LIPO"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7460 $as_echo "$LIPO" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7464 fi
7465
7466
7467 fi
7468 if test -z "$ac_cv_prog_LIPO"; then
7469 ac_ct_LIPO=$LIPO
7470 # Extract the first word of "lipo", so it can be a program name with args.
7471 set dummy lipo; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_LIPO"; then
7478 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7482 do
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7487 ac_cv_prog_ac_ct_LIPO="lipo"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7490 fi
7491 done
7492 done
7493 IFS=$as_save_IFS
7494
7495 fi
7496 fi
7497 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7498 if test -n "$ac_ct_LIPO"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7500 $as_echo "$ac_ct_LIPO" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7504 fi
7505
7506 if test "x$ac_ct_LIPO" = x; then
7507 LIPO=":"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 LIPO=$ac_ct_LIPO
7516 fi
7517 else
7518 LIPO="$ac_cv_prog_LIPO"
7519 fi
7520
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}otool; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if ${ac_cv_prog_OTOOL+:} false; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$OTOOL"; then
7530 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7534 do
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7539 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7542 fi
7543 done
7544 done
7545 IFS=$as_save_IFS
7546
7547 fi
7548 fi
7549 OTOOL=$ac_cv_prog_OTOOL
7550 if test -n "$OTOOL"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7552 $as_echo "$OTOOL" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7556 fi
7557
7558
7559 fi
7560 if test -z "$ac_cv_prog_OTOOL"; then
7561 ac_ct_OTOOL=$OTOOL
7562 # Extract the first word of "otool", so it can be a program name with args.
7563 set dummy otool; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_OTOOL"; then
7570 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7574 do
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7579 ac_cv_prog_ac_ct_OTOOL="otool"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7582 fi
7583 done
7584 done
7585 IFS=$as_save_IFS
7586
7587 fi
7588 fi
7589 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7590 if test -n "$ac_ct_OTOOL"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7592 $as_echo "$ac_ct_OTOOL" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7596 fi
7597
7598 if test "x$ac_ct_OTOOL" = x; then
7599 OTOOL=":"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 OTOOL=$ac_ct_OTOOL
7608 fi
7609 else
7610 OTOOL="$ac_cv_prog_OTOOL"
7611 fi
7612
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if ${ac_cv_prog_OTOOL64+:} false; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$OTOOL64"; then
7622 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7626 do
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7631 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7634 fi
7635 done
7636 done
7637 IFS=$as_save_IFS
7638
7639 fi
7640 fi
7641 OTOOL64=$ac_cv_prog_OTOOL64
7642 if test -n "$OTOOL64"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7644 $as_echo "$OTOOL64" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7648 fi
7649
7650
7651 fi
7652 if test -z "$ac_cv_prog_OTOOL64"; then
7653 ac_ct_OTOOL64=$OTOOL64
7654 # Extract the first word of "otool64", so it can be a program name with args.
7655 set dummy otool64; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_OTOOL64"; then
7662 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7666 do
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7671 ac_cv_prog_ac_ct_OTOOL64="otool64"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7674 fi
7675 done
7676 done
7677 IFS=$as_save_IFS
7678
7679 fi
7680 fi
7681 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7682 if test -n "$ac_ct_OTOOL64"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7684 $as_echo "$ac_ct_OTOOL64" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7688 fi
7689
7690 if test "x$ac_ct_OTOOL64" = x; then
7691 OTOOL64=":"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 OTOOL64=$ac_ct_OTOOL64
7700 fi
7701 else
7702 OTOOL64="$ac_cv_prog_OTOOL64"
7703 fi
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7732 $as_echo_n "checking for -single_module linker flag... " >&6; }
7733 if ${lt_cv_apple_cc_single_mod+:} false; then :
7734 $as_echo_n "(cached) " >&6
7735 else
7736 lt_cv_apple_cc_single_mod=no
7737 if test -z "${LT_MULTI_MODULE}"; then
7738 # By default we will add the -single_module flag. You can override
7739 # by either setting the environment variable LT_MULTI_MODULE
7740 # non-empty at configure time, or by adding -multi_module to the
7741 # link flags.
7742 rm -rf libconftest.dylib*
7743 echo "int foo(void){return 1;}" > conftest.c
7744 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7745 -dynamiclib -Wl,-single_module conftest.c" >&5
7746 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7747 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7748 _lt_result=$?
7749 # If there is a non-empty error log, and "single_module"
7750 # appears in it, assume the flag caused a linker warning
7751 if test -s conftest.err && $GREP single_module conftest.err; then
7752 cat conftest.err >&5
7753 # Otherwise, if the output was created with a 0 exit code from
7754 # the compiler, it worked.
7755 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7756 lt_cv_apple_cc_single_mod=yes
7757 else
7758 cat conftest.err >&5
7759 fi
7760 rm -rf libconftest.dylib*
7761 rm -f conftest.*
7762 fi
7763 fi
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7765 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7766
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7768 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7769 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7770 $as_echo_n "(cached) " >&6
7771 else
7772 lt_cv_ld_exported_symbols_list=no
7773 save_LDFLAGS=$LDFLAGS
7774 echo "_main" > conftest.sym
7775 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777 /* end confdefs.h. */
7778
7779 int
7780 main ()
7781 {
7782
7783 ;
7784 return 0;
7785 }
7786 _ACEOF
7787 if ac_fn_c_try_link "$LINENO"; then :
7788 lt_cv_ld_exported_symbols_list=yes
7789 else
7790 lt_cv_ld_exported_symbols_list=no
7791 fi
7792 rm -f core conftest.err conftest.$ac_objext \
7793 conftest$ac_exeext conftest.$ac_ext
7794 LDFLAGS="$save_LDFLAGS"
7795
7796 fi
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7798 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7799
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7801 $as_echo_n "checking for -force_load linker flag... " >&6; }
7802 if ${lt_cv_ld_force_load+:} false; then :
7803 $as_echo_n "(cached) " >&6
7804 else
7805 lt_cv_ld_force_load=no
7806 cat > conftest.c << _LT_EOF
7807 int forced_loaded() { return 2;}
7808 _LT_EOF
7809 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7810 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7811 echo "$AR cru libconftest.a conftest.o" >&5
7812 $AR cru libconftest.a conftest.o 2>&5
7813 echo "$RANLIB libconftest.a" >&5
7814 $RANLIB libconftest.a 2>&5
7815 cat > conftest.c << _LT_EOF
7816 int main() { return 0;}
7817 _LT_EOF
7818 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7819 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7820 _lt_result=$?
7821 if test -s conftest.err && $GREP force_load conftest.err; then
7822 cat conftest.err >&5
7823 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7827 fi
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7830
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7851 ;;
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7855 fi
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860 fi
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7865 fi
7866 ;;
7867 esac
7868
7869 ac_ext=c
7870 ac_cpp='$CPP $CPPFLAGS'
7871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7875 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7876 # On Suns, sometimes $CPP names a directory.
7877 if test -n "$CPP" && test -d "$CPP"; then
7878 CPP=
7879 fi
7880 if test -z "$CPP"; then
7881 if ${ac_cv_prog_CPP+:} false; then :
7882 $as_echo_n "(cached) " >&6
7883 else
7884 # Double quotes because CPP needs to be expanded
7885 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7886 do
7887 ac_preproc_ok=false
7888 for ac_c_preproc_warn_flag in '' yes
7889 do
7890 # Use a header file that comes with gcc, so configuring glibc
7891 # with a fresh cross-compiler works.
7892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7893 # <limits.h> exists even on freestanding compilers.
7894 # On the NeXT, cc -E runs the code through the compiler's parser,
7895 # not just through cpp. "Syntax error" is here to catch this case.
7896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7897 /* end confdefs.h. */
7898 @%:@ifdef __STDC__
7899 @%:@ include <limits.h>
7900 @%:@else
7901 @%:@ include <assert.h>
7902 @%:@endif
7903 Syntax error
7904 _ACEOF
7905 if ac_fn_c_try_cpp "$LINENO"; then :
7906
7907 else
7908 # Broken: fails on valid input.
7909 continue
7910 fi
7911 rm -f conftest.err conftest.i conftest.$ac_ext
7912
7913 # OK, works on sane cases. Now check whether nonexistent headers
7914 # can be detected and how.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 @%:@include <ac_nonexistent.h>
7918 _ACEOF
7919 if ac_fn_c_try_cpp "$LINENO"; then :
7920 # Broken: success on invalid input.
7921 continue
7922 else
7923 # Passes both tests.
7924 ac_preproc_ok=:
7925 break
7926 fi
7927 rm -f conftest.err conftest.i conftest.$ac_ext
7928
7929 done
7930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7931 rm -f conftest.i conftest.err conftest.$ac_ext
7932 if $ac_preproc_ok; then :
7933 break
7934 fi
7935
7936 done
7937 ac_cv_prog_CPP=$CPP
7938
7939 fi
7940 CPP=$ac_cv_prog_CPP
7941 else
7942 ac_cv_prog_CPP=$CPP
7943 fi
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7945 $as_echo "$CPP" >&6; }
7946 ac_preproc_ok=false
7947 for ac_c_preproc_warn_flag in '' yes
7948 do
7949 # Use a header file that comes with gcc, so configuring glibc
7950 # with a fresh cross-compiler works.
7951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7952 # <limits.h> exists even on freestanding compilers.
7953 # On the NeXT, cc -E runs the code through the compiler's parser,
7954 # not just through cpp. "Syntax error" is here to catch this case.
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 @%:@ifdef __STDC__
7958 @%:@ include <limits.h>
7959 @%:@else
7960 @%:@ include <assert.h>
7961 @%:@endif
7962 Syntax error
7963 _ACEOF
7964 if ac_fn_c_try_cpp "$LINENO"; then :
7965
7966 else
7967 # Broken: fails on valid input.
7968 continue
7969 fi
7970 rm -f conftest.err conftest.i conftest.$ac_ext
7971
7972 # OK, works on sane cases. Now check whether nonexistent headers
7973 # can be detected and how.
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 @%:@include <ac_nonexistent.h>
7977 _ACEOF
7978 if ac_fn_c_try_cpp "$LINENO"; then :
7979 # Broken: success on invalid input.
7980 continue
7981 else
7982 # Passes both tests.
7983 ac_preproc_ok=:
7984 break
7985 fi
7986 rm -f conftest.err conftest.i conftest.$ac_ext
7987
7988 done
7989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7990 rm -f conftest.i conftest.err conftest.$ac_ext
7991 if $ac_preproc_ok; then :
7992
7993 else
7994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7996 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7997 See \`config.log' for more details" "$LINENO" 5; }
7998 fi
7999
8000 ac_ext=c
8001 ac_cpp='$CPP $CPPFLAGS'
8002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8005
8006
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8008 $as_echo_n "checking for ANSI C header files... " >&6; }
8009 if ${ac_cv_header_stdc+:} false; then :
8010 $as_echo_n "(cached) " >&6
8011 else
8012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8014 #include <stdlib.h>
8015 #include <stdarg.h>
8016 #include <string.h>
8017 #include <float.h>
8018
8019 int
8020 main ()
8021 {
8022
8023 ;
8024 return 0;
8025 }
8026 _ACEOF
8027 if ac_fn_c_try_compile "$LINENO"; then :
8028 ac_cv_header_stdc=yes
8029 else
8030 ac_cv_header_stdc=no
8031 fi
8032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8033
8034 if test $ac_cv_header_stdc = yes; then
8035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8037 /* end confdefs.h. */
8038 #include <string.h>
8039
8040 _ACEOF
8041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8042 $EGREP "memchr" >/dev/null 2>&1; then :
8043
8044 else
8045 ac_cv_header_stdc=no
8046 fi
8047 rm -f conftest*
8048
8049 fi
8050
8051 if test $ac_cv_header_stdc = yes; then
8052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8054 /* end confdefs.h. */
8055 #include <stdlib.h>
8056
8057 _ACEOF
8058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8059 $EGREP "free" >/dev/null 2>&1; then :
8060
8061 else
8062 ac_cv_header_stdc=no
8063 fi
8064 rm -f conftest*
8065
8066 fi
8067
8068 if test $ac_cv_header_stdc = yes; then
8069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8070 if test "$cross_compiling" = yes; then :
8071 :
8072 else
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8075 #include <ctype.h>
8076 #include <stdlib.h>
8077 #if ((' ' & 0x0FF) == 0x020)
8078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8080 #else
8081 # define ISLOWER(c) \
8082 (('a' <= (c) && (c) <= 'i') \
8083 || ('j' <= (c) && (c) <= 'r') \
8084 || ('s' <= (c) && (c) <= 'z'))
8085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8086 #endif
8087
8088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8089 int
8090 main ()
8091 {
8092 int i;
8093 for (i = 0; i < 256; i++)
8094 if (XOR (islower (i), ISLOWER (i))
8095 || toupper (i) != TOUPPER (i))
8096 return 2;
8097 return 0;
8098 }
8099 _ACEOF
8100 if ac_fn_c_try_run "$LINENO"; then :
8101
8102 else
8103 ac_cv_header_stdc=no
8104 fi
8105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8106 conftest.$ac_objext conftest.beam conftest.$ac_ext
8107 fi
8108
8109 fi
8110 fi
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8112 $as_echo "$ac_cv_header_stdc" >&6; }
8113 if test $ac_cv_header_stdc = yes; then
8114
8115 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
8116
8117 fi
8118
8119 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8120 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8121 inttypes.h stdint.h unistd.h
8122 do :
8123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8124 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8125 "
8126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8127 cat >>confdefs.h <<_ACEOF
8128 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8129 _ACEOF
8130
8131 fi
8132
8133 done
8134
8135
8136 for ac_header in dlfcn.h
8137 do :
8138 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8139 "
8140 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8141 cat >>confdefs.h <<_ACEOF
8142 @%:@define HAVE_DLFCN_H 1
8143 _ACEOF
8144
8145 fi
8146
8147 done
8148
8149
8150
8151
8152
8153 # Set options
8154
8155
8156
8157
8158 enable_win32_dll=no
8159
8160
8161 @%:@ Check whether --enable-shared was given.
8162 if test "${enable_shared+set}" = set; then :
8163 enableval=$enable_shared; p=${PACKAGE-default}
8164 case $enableval in
8165 yes) enable_shared=yes ;;
8166 no) enable_shared=no ;;
8167 *)
8168 enable_shared=no
8169 # Look at the argument we got. We use all the common list separators.
8170 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8171 for pkg in $enableval; do
8172 IFS="$lt_save_ifs"
8173 if test "X$pkg" = "X$p"; then
8174 enable_shared=yes
8175 fi
8176 done
8177 IFS="$lt_save_ifs"
8178 ;;
8179 esac
8180 else
8181 enable_shared=yes
8182 fi
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194 @%:@ Check whether --with-pic was given.
8195 if test "${with_pic+set}" = set; then :
8196 withval=$with_pic; lt_p=${PACKAGE-default}
8197 case $withval in
8198 yes|no) pic_mode=$withval ;;
8199 *)
8200 pic_mode=default
8201 # Look at the argument we got. We use all the common list separators.
8202 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8203 for lt_pkg in $withval; do
8204 IFS="$lt_save_ifs"
8205 if test "X$lt_pkg" = "X$lt_p"; then
8206 pic_mode=yes
8207 fi
8208 done
8209 IFS="$lt_save_ifs"
8210 ;;
8211 esac
8212 else
8213 pic_mode=default
8214 fi
8215
8216
8217 test -z "$pic_mode" && pic_mode=default
8218
8219
8220
8221
8222
8223
8224
8225 @%:@ Check whether --enable-fast-install was given.
8226 if test "${enable_fast_install+set}" = set; then :
8227 enableval=$enable_fast_install; p=${PACKAGE-default}
8228 case $enableval in
8229 yes) enable_fast_install=yes ;;
8230 no) enable_fast_install=no ;;
8231 *)
8232 enable_fast_install=no
8233 # Look at the argument we got. We use all the common list separators.
8234 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8235 for pkg in $enableval; do
8236 IFS="$lt_save_ifs"
8237 if test "X$pkg" = "X$p"; then
8238 enable_fast_install=yes
8239 fi
8240 done
8241 IFS="$lt_save_ifs"
8242 ;;
8243 esac
8244 else
8245 enable_fast_install=yes
8246 fi
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258 # This can be used to rebuild libtool when needed
8259 LIBTOOL_DEPS="$ltmain"
8260
8261 # Always use our own libtool.
8262 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293 test -z "$LN_S" && LN_S="ln -s"
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308 if test -n "${ZSH_VERSION+set}" ; then
8309 setopt NO_GLOB_SUBST
8310 fi
8311
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8313 $as_echo_n "checking for objdir... " >&6; }
8314 if ${lt_cv_objdir+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 rm -f .libs 2>/dev/null
8318 mkdir .libs 2>/dev/null
8319 if test -d .libs; then
8320 lt_cv_objdir=.libs
8321 else
8322 # MS-DOS does not allow filenames that begin with a dot.
8323 lt_cv_objdir=_libs
8324 fi
8325 rmdir .libs 2>/dev/null
8326 fi
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8328 $as_echo "$lt_cv_objdir" >&6; }
8329 objdir=$lt_cv_objdir
8330
8331
8332
8333
8334
8335 cat >>confdefs.h <<_ACEOF
8336 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8337 _ACEOF
8338
8339
8340
8341
8342 case $host_os in
8343 aix3*)
8344 # AIX sometimes has problems with the GCC collect2 program. For some
8345 # reason, if we set the COLLECT_NAMES environment variable, the problems
8346 # vanish in a puff of smoke.
8347 if test "X${COLLECT_NAMES+set}" != Xset; then
8348 COLLECT_NAMES=
8349 export COLLECT_NAMES
8350 fi
8351 ;;
8352 esac
8353
8354 # Global variables:
8355 ofile=libtool
8356 can_build_shared=yes
8357
8358 # All known linkers require a `.a' archive for static linking (except MSVC,
8359 # which needs '.lib').
8360 libext=a
8361
8362 with_gnu_ld="$lt_cv_prog_gnu_ld"
8363
8364 old_CC="$CC"
8365 old_CFLAGS="$CFLAGS"
8366
8367 # Set sane defaults for various variables
8368 test -z "$CC" && CC=cc
8369 test -z "$LTCC" && LTCC=$CC
8370 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8371 test -z "$LD" && LD=ld
8372 test -z "$ac_objext" && ac_objext=o
8373
8374 for cc_temp in $compiler""; do
8375 case $cc_temp in
8376 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8377 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8378 \-*) ;;
8379 *) break;;
8380 esac
8381 done
8382 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8383
8384
8385 # Only perform the check for file, if the check method requires it
8386 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8387 case $deplibs_check_method in
8388 file_magic*)
8389 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8391 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8392 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 case $MAGIC_CMD in
8396 [\\/*] | ?:[\\/]*)
8397 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8398 ;;
8399 *)
8400 lt_save_MAGIC_CMD="$MAGIC_CMD"
8401 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8402 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8403 for ac_dir in $ac_dummy; do
8404 IFS="$lt_save_ifs"
8405 test -z "$ac_dir" && ac_dir=.
8406 if test -f $ac_dir/${ac_tool_prefix}file; then
8407 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8408 if test -n "$file_magic_test_file"; then
8409 case $deplibs_check_method in
8410 "file_magic "*)
8411 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8412 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8413 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8414 $EGREP "$file_magic_regex" > /dev/null; then
8415 :
8416 else
8417 cat <<_LT_EOF 1>&2
8418
8419 *** Warning: the command libtool uses to detect shared libraries,
8420 *** $file_magic_cmd, produces output that libtool cannot recognize.
8421 *** The result is that libtool may fail to recognize shared libraries
8422 *** as such. This will affect the creation of libtool libraries that
8423 *** depend on shared libraries, but programs linked with such libtool
8424 *** libraries will work regardless of this problem. Nevertheless, you
8425 *** may want to report the problem to your system manager and/or to
8426 *** bug-libtool@gnu.org
8427
8428 _LT_EOF
8429 fi ;;
8430 esac
8431 fi
8432 break
8433 fi
8434 done
8435 IFS="$lt_save_ifs"
8436 MAGIC_CMD="$lt_save_MAGIC_CMD"
8437 ;;
8438 esac
8439 fi
8440
8441 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8442 if test -n "$MAGIC_CMD"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8444 $as_echo "$MAGIC_CMD" >&6; }
8445 else
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8448 fi
8449
8450
8451
8452
8453
8454 if test -z "$lt_cv_path_MAGIC_CMD"; then
8455 if test -n "$ac_tool_prefix"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8457 $as_echo_n "checking for file... " >&6; }
8458 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 case $MAGIC_CMD in
8462 [\\/*] | ?:[\\/]*)
8463 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8464 ;;
8465 *)
8466 lt_save_MAGIC_CMD="$MAGIC_CMD"
8467 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8468 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8469 for ac_dir in $ac_dummy; do
8470 IFS="$lt_save_ifs"
8471 test -z "$ac_dir" && ac_dir=.
8472 if test -f $ac_dir/file; then
8473 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8474 if test -n "$file_magic_test_file"; then
8475 case $deplibs_check_method in
8476 "file_magic "*)
8477 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8478 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8479 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8480 $EGREP "$file_magic_regex" > /dev/null; then
8481 :
8482 else
8483 cat <<_LT_EOF 1>&2
8484
8485 *** Warning: the command libtool uses to detect shared libraries,
8486 *** $file_magic_cmd, produces output that libtool cannot recognize.
8487 *** The result is that libtool may fail to recognize shared libraries
8488 *** as such. This will affect the creation of libtool libraries that
8489 *** depend on shared libraries, but programs linked with such libtool
8490 *** libraries will work regardless of this problem. Nevertheless, you
8491 *** may want to report the problem to your system manager and/or to
8492 *** bug-libtool@gnu.org
8493
8494 _LT_EOF
8495 fi ;;
8496 esac
8497 fi
8498 break
8499 fi
8500 done
8501 IFS="$lt_save_ifs"
8502 MAGIC_CMD="$lt_save_MAGIC_CMD"
8503 ;;
8504 esac
8505 fi
8506
8507 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8508 if test -n "$MAGIC_CMD"; then
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8510 $as_echo "$MAGIC_CMD" >&6; }
8511 else
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8513 $as_echo "no" >&6; }
8514 fi
8515
8516
8517 else
8518 MAGIC_CMD=:
8519 fi
8520 fi
8521
8522 fi
8523 ;;
8524 esac
8525
8526 # Use C for the default configuration in the libtool script
8527
8528 lt_save_CC="$CC"
8529 ac_ext=c
8530 ac_cpp='$CPP $CPPFLAGS'
8531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8534
8535
8536 # Source file extension for C test sources.
8537 ac_ext=c
8538
8539 # Object file extension for compiled C test sources.
8540 objext=o
8541 objext=$objext
8542
8543 # Code to be used in simple compile tests
8544 lt_simple_compile_test_code="int some_variable = 0;"
8545
8546 # Code to be used in simple link tests
8547 lt_simple_link_test_code='int main(){return(0);}'
8548
8549
8550
8551
8552
8553
8554
8555 # If no C compiler was specified, use CC.
8556 LTCC=${LTCC-"$CC"}
8557
8558 # If no C compiler flags were specified, use CFLAGS.
8559 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8560
8561 # Allow CC to be a program name with arguments.
8562 compiler=$CC
8563
8564 # Save the default compiler, since it gets overwritten when the other
8565 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8566 compiler_DEFAULT=$CC
8567
8568 # save warnings/boilerplate of simple test code
8569 ac_outfile=conftest.$ac_objext
8570 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8571 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8572 _lt_compiler_boilerplate=`cat conftest.err`
8573 $RM conftest*
8574
8575 ac_outfile=conftest.$ac_objext
8576 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8577 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8578 _lt_linker_boilerplate=`cat conftest.err`
8579 $RM -r conftest*
8580
8581
8582 if test -n "$compiler"; then
8583
8584 lt_prog_compiler_no_builtin_flag=
8585
8586 if test "$GCC" = yes; then
8587 case $cc_basename in
8588 nvcc*)
8589 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8590 *)
8591 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8592 esac
8593
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8595 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8596 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 lt_cv_prog_compiler_rtti_exceptions=no
8600 ac_outfile=conftest.$ac_objext
8601 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8602 lt_compiler_flag="-fno-rtti -fno-exceptions"
8603 # Insert the option either (1) after the last *FLAGS variable, or
8604 # (2) before a word containing "conftest.", or (3) at the end.
8605 # Note that $ac_compile itself does not contain backslashes and begins
8606 # with a dollar sign (not a hyphen), so the echo should work correctly.
8607 # The option is referenced via a variable to avoid confusing sed.
8608 lt_compile=`echo "$ac_compile" | $SED \
8609 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8610 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8611 -e 's:$: $lt_compiler_flag:'`
8612 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8613 (eval "$lt_compile" 2>conftest.err)
8614 ac_status=$?
8615 cat conftest.err >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 if (exit $ac_status) && test -s "$ac_outfile"; then
8618 # The compiler can only warn and ignore the option if not recognized
8619 # So say no if there are warnings other than the usual output.
8620 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8621 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8622 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8623 lt_cv_prog_compiler_rtti_exceptions=yes
8624 fi
8625 fi
8626 $RM conftest*
8627
8628 fi
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8630 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8631
8632 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8633 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8634 else
8635 :
8636 fi
8637
8638 fi
8639
8640
8641
8642
8643
8644
8645 lt_prog_compiler_wl=
8646 lt_prog_compiler_pic=
8647 lt_prog_compiler_static=
8648
8649
8650 if test "$GCC" = yes; then
8651 lt_prog_compiler_wl='-Wl,'
8652 lt_prog_compiler_static='-static'
8653
8654 case $host_os in
8655 aix*)
8656 # All AIX code is PIC.
8657 if test "$host_cpu" = ia64; then
8658 # AIX 5 now supports IA64 processor
8659 lt_prog_compiler_static='-Bstatic'
8660 fi
8661 ;;
8662
8663 amigaos*)
8664 case $host_cpu in
8665 powerpc)
8666 # see comment about AmigaOS4 .so support
8667 lt_prog_compiler_pic='-fPIC'
8668 ;;
8669 m68k)
8670 # FIXME: we need at least 68020 code to build shared libraries, but
8671 # adding the `-m68020' flag to GCC prevents building anything better,
8672 # like `-m68040'.
8673 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8674 ;;
8675 esac
8676 ;;
8677
8678 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8679 # PIC is the default for these OSes.
8680 ;;
8681
8682 mingw* | cygwin* | pw32* | os2* | cegcc*)
8683 # This hack is so that the source file can tell whether it is being
8684 # built for inclusion in a dll (and should export symbols for example).
8685 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8686 # (--disable-auto-import) libraries
8687 lt_prog_compiler_pic='-DDLL_EXPORT'
8688 ;;
8689
8690 darwin* | rhapsody*)
8691 # PIC is the default on this platform
8692 # Common symbols not allowed in MH_DYLIB files
8693 lt_prog_compiler_pic='-fno-common'
8694 ;;
8695
8696 haiku*)
8697 # PIC is the default for Haiku.
8698 # The "-static" flag exists, but is broken.
8699 lt_prog_compiler_static=
8700 ;;
8701
8702 hpux*)
8703 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8704 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8705 # sets the default TLS model and affects inlining.
8706 case $host_cpu in
8707 hppa*64*)
8708 # +Z the default
8709 ;;
8710 *)
8711 lt_prog_compiler_pic='-fPIC'
8712 ;;
8713 esac
8714 ;;
8715
8716 interix[3-9]*)
8717 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8718 # Instead, we relocate shared libraries at runtime.
8719 ;;
8720
8721 msdosdjgpp*)
8722 # Just because we use GCC doesn't mean we suddenly get shared libraries
8723 # on systems that don't support them.
8724 lt_prog_compiler_can_build_shared=no
8725 enable_shared=no
8726 ;;
8727
8728 *nto* | *qnx*)
8729 # QNX uses GNU C++, but need to define -shared option too, otherwise
8730 # it will coredump.
8731 lt_prog_compiler_pic='-fPIC -shared'
8732 ;;
8733
8734 sysv4*MP*)
8735 if test -d /usr/nec; then
8736 lt_prog_compiler_pic=-Kconform_pic
8737 fi
8738 ;;
8739
8740 *)
8741 lt_prog_compiler_pic='-fPIC'
8742 ;;
8743 esac
8744
8745 case $cc_basename in
8746 nvcc*) # Cuda Compiler Driver 2.2
8747 lt_prog_compiler_wl='-Xlinker '
8748 if test -n "$lt_prog_compiler_pic"; then
8749 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8750 fi
8751 ;;
8752 esac
8753 else
8754 # PORTME Check for flag to pass linker flags through the system compiler.
8755 case $host_os in
8756 aix*)
8757 lt_prog_compiler_wl='-Wl,'
8758 if test "$host_cpu" = ia64; then
8759 # AIX 5 now supports IA64 processor
8760 lt_prog_compiler_static='-Bstatic'
8761 else
8762 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8763 fi
8764 ;;
8765
8766 mingw* | cygwin* | pw32* | os2* | cegcc*)
8767 # This hack is so that the source file can tell whether it is being
8768 # built for inclusion in a dll (and should export symbols for example).
8769 lt_prog_compiler_pic='-DDLL_EXPORT'
8770 ;;
8771
8772 hpux9* | hpux10* | hpux11*)
8773 lt_prog_compiler_wl='-Wl,'
8774 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8775 # not for PA HP-UX.
8776 case $host_cpu in
8777 hppa*64*|ia64*)
8778 # +Z the default
8779 ;;
8780 *)
8781 lt_prog_compiler_pic='+Z'
8782 ;;
8783 esac
8784 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8785 lt_prog_compiler_static='${wl}-a ${wl}archive'
8786 ;;
8787
8788 irix5* | irix6* | nonstopux*)
8789 lt_prog_compiler_wl='-Wl,'
8790 # PIC (with -KPIC) is the default.
8791 lt_prog_compiler_static='-non_shared'
8792 ;;
8793
8794 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8795 case $cc_basename in
8796 # old Intel for x86_64 which still supported -KPIC.
8797 ecc*)
8798 lt_prog_compiler_wl='-Wl,'
8799 lt_prog_compiler_pic='-KPIC'
8800 lt_prog_compiler_static='-static'
8801 ;;
8802 # icc used to be incompatible with GCC.
8803 # ICC 10 doesn't accept -KPIC any more.
8804 icc* | ifort*)
8805 lt_prog_compiler_wl='-Wl,'
8806 lt_prog_compiler_pic='-fPIC'
8807 lt_prog_compiler_static='-static'
8808 ;;
8809 # Lahey Fortran 8.1.
8810 lf95*)
8811 lt_prog_compiler_wl='-Wl,'
8812 lt_prog_compiler_pic='--shared'
8813 lt_prog_compiler_static='--static'
8814 ;;
8815 nagfor*)
8816 # NAG Fortran compiler
8817 lt_prog_compiler_wl='-Wl,-Wl,,'
8818 lt_prog_compiler_pic='-PIC'
8819 lt_prog_compiler_static='-Bstatic'
8820 ;;
8821 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8822 # Portland Group compilers (*not* the Pentium gcc compiler,
8823 # which looks to be a dead project)
8824 lt_prog_compiler_wl='-Wl,'
8825 lt_prog_compiler_pic='-fpic'
8826 lt_prog_compiler_static='-Bstatic'
8827 ;;
8828 ccc*)
8829 lt_prog_compiler_wl='-Wl,'
8830 # All Alpha code is PIC.
8831 lt_prog_compiler_static='-non_shared'
8832 ;;
8833 xl* | bgxl* | bgf* | mpixl*)
8834 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8835 lt_prog_compiler_wl='-Wl,'
8836 lt_prog_compiler_pic='-qpic'
8837 lt_prog_compiler_static='-qstaticlink'
8838 ;;
8839 *)
8840 case `$CC -V 2>&1 | sed 5q` in
8841 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8842 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8843 lt_prog_compiler_pic='-KPIC'
8844 lt_prog_compiler_static='-Bstatic'
8845 lt_prog_compiler_wl=''
8846 ;;
8847 *Sun\ F* | *Sun*Fortran*)
8848 lt_prog_compiler_pic='-KPIC'
8849 lt_prog_compiler_static='-Bstatic'
8850 lt_prog_compiler_wl='-Qoption ld '
8851 ;;
8852 *Sun\ C*)
8853 # Sun C 5.9
8854 lt_prog_compiler_pic='-KPIC'
8855 lt_prog_compiler_static='-Bstatic'
8856 lt_prog_compiler_wl='-Wl,'
8857 ;;
8858 *Intel*\ [CF]*Compiler*)
8859 lt_prog_compiler_wl='-Wl,'
8860 lt_prog_compiler_pic='-fPIC'
8861 lt_prog_compiler_static='-static'
8862 ;;
8863 *Portland\ Group*)
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_pic='-fpic'
8866 lt_prog_compiler_static='-Bstatic'
8867 ;;
8868 esac
8869 ;;
8870 esac
8871 ;;
8872
8873 newsos6)
8874 lt_prog_compiler_pic='-KPIC'
8875 lt_prog_compiler_static='-Bstatic'
8876 ;;
8877
8878 *nto* | *qnx*)
8879 # QNX uses GNU C++, but need to define -shared option too, otherwise
8880 # it will coredump.
8881 lt_prog_compiler_pic='-fPIC -shared'
8882 ;;
8883
8884 osf3* | osf4* | osf5*)
8885 lt_prog_compiler_wl='-Wl,'
8886 # All OSF/1 code is PIC.
8887 lt_prog_compiler_static='-non_shared'
8888 ;;
8889
8890 rdos*)
8891 lt_prog_compiler_static='-non_shared'
8892 ;;
8893
8894 solaris*)
8895 lt_prog_compiler_pic='-KPIC'
8896 lt_prog_compiler_static='-Bstatic'
8897 case $cc_basename in
8898 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8899 lt_prog_compiler_wl='-Qoption ld ';;
8900 *)
8901 lt_prog_compiler_wl='-Wl,';;
8902 esac
8903 ;;
8904
8905 sunos4*)
8906 lt_prog_compiler_wl='-Qoption ld '
8907 lt_prog_compiler_pic='-PIC'
8908 lt_prog_compiler_static='-Bstatic'
8909 ;;
8910
8911 sysv4 | sysv4.2uw2* | sysv4.3*)
8912 lt_prog_compiler_wl='-Wl,'
8913 lt_prog_compiler_pic='-KPIC'
8914 lt_prog_compiler_static='-Bstatic'
8915 ;;
8916
8917 sysv4*MP*)
8918 if test -d /usr/nec ;then
8919 lt_prog_compiler_pic='-Kconform_pic'
8920 lt_prog_compiler_static='-Bstatic'
8921 fi
8922 ;;
8923
8924 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8925 lt_prog_compiler_wl='-Wl,'
8926 lt_prog_compiler_pic='-KPIC'
8927 lt_prog_compiler_static='-Bstatic'
8928 ;;
8929
8930 unicos*)
8931 lt_prog_compiler_wl='-Wl,'
8932 lt_prog_compiler_can_build_shared=no
8933 ;;
8934
8935 uts4*)
8936 lt_prog_compiler_pic='-pic'
8937 lt_prog_compiler_static='-Bstatic'
8938 ;;
8939
8940 *)
8941 lt_prog_compiler_can_build_shared=no
8942 ;;
8943 esac
8944 fi
8945
8946 case $host_os in
8947 # For platforms which do not support PIC, -DPIC is meaningless:
8948 *djgpp*)
8949 lt_prog_compiler_pic=
8950 ;;
8951 *)
8952 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8953 ;;
8954 esac
8955
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8957 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8958 if ${lt_cv_prog_compiler_pic+:} false; then :
8959 $as_echo_n "(cached) " >&6
8960 else
8961 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8962 fi
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8964 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8965 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8966
8967 #
8968 # Check to make sure the PIC flag actually works.
8969 #
8970 if test -n "$lt_prog_compiler_pic"; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8972 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8973 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8974 $as_echo_n "(cached) " >&6
8975 else
8976 lt_cv_prog_compiler_pic_works=no
8977 ac_outfile=conftest.$ac_objext
8978 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8979 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8980 # Insert the option either (1) after the last *FLAGS variable, or
8981 # (2) before a word containing "conftest.", or (3) at the end.
8982 # Note that $ac_compile itself does not contain backslashes and begins
8983 # with a dollar sign (not a hyphen), so the echo should work correctly.
8984 # The option is referenced via a variable to avoid confusing sed.
8985 lt_compile=`echo "$ac_compile" | $SED \
8986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8988 -e 's:$: $lt_compiler_flag:'`
8989 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8990 (eval "$lt_compile" 2>conftest.err)
8991 ac_status=$?
8992 cat conftest.err >&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 if (exit $ac_status) && test -s "$ac_outfile"; then
8995 # The compiler can only warn and ignore the option if not recognized
8996 # So say no if there are warnings other than the usual output.
8997 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8998 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8999 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9000 lt_cv_prog_compiler_pic_works=yes
9001 fi
9002 fi
9003 $RM conftest*
9004
9005 fi
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9007 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9008
9009 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9010 case $lt_prog_compiler_pic in
9011 "" | " "*) ;;
9012 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9013 esac
9014 else
9015 lt_prog_compiler_pic=
9016 lt_prog_compiler_can_build_shared=no
9017 fi
9018
9019 fi
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031 #
9032 # Check to make sure the static flag actually works.
9033 #
9034 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9036 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9037 if ${lt_cv_prog_compiler_static_works+:} false; then :
9038 $as_echo_n "(cached) " >&6
9039 else
9040 lt_cv_prog_compiler_static_works=no
9041 save_LDFLAGS="$LDFLAGS"
9042 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9043 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9044 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9045 # The linker can only warn and ignore the option if not recognized
9046 # So say no if there are warnings
9047 if test -s conftest.err; then
9048 # Append any errors to the config.log.
9049 cat conftest.err 1>&5
9050 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9051 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9052 if diff conftest.exp conftest.er2 >/dev/null; then
9053 lt_cv_prog_compiler_static_works=yes
9054 fi
9055 else
9056 lt_cv_prog_compiler_static_works=yes
9057 fi
9058 fi
9059 $RM -r conftest*
9060 LDFLAGS="$save_LDFLAGS"
9061
9062 fi
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9064 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9065
9066 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9067 :
9068 else
9069 lt_prog_compiler_static=
9070 fi
9071
9072
9073
9074
9075
9076
9077
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9079 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9080 if ${lt_cv_prog_compiler_c_o+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 lt_cv_prog_compiler_c_o=no
9084 $RM -r conftest 2>/dev/null
9085 mkdir conftest
9086 cd conftest
9087 mkdir out
9088 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9089
9090 lt_compiler_flag="-o out/conftest2.$ac_objext"
9091 # Insert the option either (1) after the last *FLAGS variable, or
9092 # (2) before a word containing "conftest.", or (3) at the end.
9093 # Note that $ac_compile itself does not contain backslashes and begins
9094 # with a dollar sign (not a hyphen), so the echo should work correctly.
9095 lt_compile=`echo "$ac_compile" | $SED \
9096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9098 -e 's:$: $lt_compiler_flag:'`
9099 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9100 (eval "$lt_compile" 2>out/conftest.err)
9101 ac_status=$?
9102 cat out/conftest.err >&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9105 then
9106 # The compiler can only warn and ignore the option if not recognized
9107 # So say no if there are warnings
9108 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9109 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9110 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9111 lt_cv_prog_compiler_c_o=yes
9112 fi
9113 fi
9114 chmod u+w . 2>&5
9115 $RM conftest*
9116 # SGI C++ compiler will create directory out/ii_files/ for
9117 # template instantiation
9118 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9119 $RM out/* && rmdir out
9120 cd ..
9121 $RM -r conftest
9122 $RM conftest*
9123
9124 fi
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9126 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9127
9128
9129
9130
9131
9132
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9134 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9135 if ${lt_cv_prog_compiler_c_o+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 lt_cv_prog_compiler_c_o=no
9139 $RM -r conftest 2>/dev/null
9140 mkdir conftest
9141 cd conftest
9142 mkdir out
9143 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9144
9145 lt_compiler_flag="-o out/conftest2.$ac_objext"
9146 # Insert the option either (1) after the last *FLAGS variable, or
9147 # (2) before a word containing "conftest.", or (3) at the end.
9148 # Note that $ac_compile itself does not contain backslashes and begins
9149 # with a dollar sign (not a hyphen), so the echo should work correctly.
9150 lt_compile=`echo "$ac_compile" | $SED \
9151 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9152 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9153 -e 's:$: $lt_compiler_flag:'`
9154 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9155 (eval "$lt_compile" 2>out/conftest.err)
9156 ac_status=$?
9157 cat out/conftest.err >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9160 then
9161 # The compiler can only warn and ignore the option if not recognized
9162 # So say no if there are warnings
9163 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9164 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9165 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9166 lt_cv_prog_compiler_c_o=yes
9167 fi
9168 fi
9169 chmod u+w . 2>&5
9170 $RM conftest*
9171 # SGI C++ compiler will create directory out/ii_files/ for
9172 # template instantiation
9173 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9174 $RM out/* && rmdir out
9175 cd ..
9176 $RM -r conftest
9177 $RM conftest*
9178
9179 fi
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9181 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9182
9183
9184
9185
9186 hard_links="nottested"
9187 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9188 # do not overwrite the value of need_locks provided by the user
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9190 $as_echo_n "checking if we can lock with hard links... " >&6; }
9191 hard_links=yes
9192 $RM conftest*
9193 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9194 touch conftest.a
9195 ln conftest.a conftest.b 2>&5 || hard_links=no
9196 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9198 $as_echo "$hard_links" >&6; }
9199 if test "$hard_links" = no; then
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9201 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9202 need_locks=warn
9203 fi
9204 else
9205 need_locks=no
9206 fi
9207
9208
9209
9210
9211
9212
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9214 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9215
9216 runpath_var=
9217 allow_undefined_flag=
9218 always_export_symbols=no
9219 archive_cmds=
9220 archive_expsym_cmds=
9221 compiler_needs_object=no
9222 enable_shared_with_static_runtimes=no
9223 export_dynamic_flag_spec=
9224 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9225 hardcode_automatic=no
9226 hardcode_direct=no
9227 hardcode_direct_absolute=no
9228 hardcode_libdir_flag_spec=
9229 hardcode_libdir_separator=
9230 hardcode_minus_L=no
9231 hardcode_shlibpath_var=unsupported
9232 inherit_rpath=no
9233 link_all_deplibs=unknown
9234 module_cmds=
9235 module_expsym_cmds=
9236 old_archive_from_new_cmds=
9237 old_archive_from_expsyms_cmds=
9238 thread_safe_flag_spec=
9239 whole_archive_flag_spec=
9240 # include_expsyms should be a list of space-separated symbols to be *always*
9241 # included in the symbol list
9242 include_expsyms=
9243 # exclude_expsyms can be an extended regexp of symbols to exclude
9244 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9245 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9246 # as well as any symbol that contains `d'.
9247 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9248 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9249 # platforms (ab)use it in PIC code, but their linkers get confused if
9250 # the symbol is explicitly referenced. Since portable code cannot
9251 # rely on this symbol name, it's probably fine to never include it in
9252 # preloaded symbol tables.
9253 # Exclude shared library initialization/finalization symbols.
9254 extract_expsyms_cmds=
9255
9256 case $host_os in
9257 cygwin* | mingw* | pw32* | cegcc*)
9258 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9259 # When not using gcc, we currently assume that we are using
9260 # Microsoft Visual C++.
9261 if test "$GCC" != yes; then
9262 with_gnu_ld=no
9263 fi
9264 ;;
9265 interix*)
9266 # we just hope/assume this is gcc and not c89 (= MSVC++)
9267 with_gnu_ld=yes
9268 ;;
9269 openbsd*)
9270 with_gnu_ld=no
9271 ;;
9272 linux* | k*bsd*-gnu | gnu*)
9273 link_all_deplibs=no
9274 ;;
9275 esac
9276
9277 ld_shlibs=yes
9278
9279 # On some targets, GNU ld is compatible enough with the native linker
9280 # that we're better off using the native interface for both.
9281 lt_use_gnu_ld_interface=no
9282 if test "$with_gnu_ld" = yes; then
9283 case $host_os in
9284 aix*)
9285 # The AIX port of GNU ld has always aspired to compatibility
9286 # with the native linker. However, as the warning in the GNU ld
9287 # block says, versions before 2.19.5* couldn't really create working
9288 # shared libraries, regardless of the interface used.
9289 case `$LD -v 2>&1` in
9290 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9291 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9292 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9293 *)
9294 lt_use_gnu_ld_interface=yes
9295 ;;
9296 esac
9297 ;;
9298 *)
9299 lt_use_gnu_ld_interface=yes
9300 ;;
9301 esac
9302 fi
9303
9304 if test "$lt_use_gnu_ld_interface" = yes; then
9305 # If archive_cmds runs LD, not CC, wlarc should be empty
9306 wlarc='${wl}'
9307
9308 # Set some defaults for GNU ld with shared library support. These
9309 # are reset later if shared libraries are not supported. Putting them
9310 # here allows them to be overridden if necessary.
9311 runpath_var=LD_RUN_PATH
9312 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9313 export_dynamic_flag_spec='${wl}--export-dynamic'
9314 # ancient GNU ld didn't support --whole-archive et. al.
9315 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9316 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9317 else
9318 whole_archive_flag_spec=
9319 fi
9320 supports_anon_versioning=no
9321 case `$LD -v 2>&1` in
9322 *GNU\ gold*) supports_anon_versioning=yes ;;
9323 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9324 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9325 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9326 *\ 2.11.*) ;; # other 2.11 versions
9327 *) supports_anon_versioning=yes ;;
9328 esac
9329
9330 # See if GNU ld supports shared libraries.
9331 case $host_os in
9332 aix[3-9]*)
9333 # On AIX/PPC, the GNU linker is very broken
9334 if test "$host_cpu" != ia64; then
9335 ld_shlibs=no
9336 cat <<_LT_EOF 1>&2
9337
9338 *** Warning: the GNU linker, at least up to release 2.19, is reported
9339 *** to be unable to reliably create shared libraries on AIX.
9340 *** Therefore, libtool is disabling shared libraries support. If you
9341 *** really care for shared libraries, you may want to install binutils
9342 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9343 *** You will then need to restart the configuration process.
9344
9345 _LT_EOF
9346 fi
9347 ;;
9348
9349 amigaos*)
9350 case $host_cpu in
9351 powerpc)
9352 # see comment about AmigaOS4 .so support
9353 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9354 archive_expsym_cmds=''
9355 ;;
9356 m68k)
9357 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)'
9358 hardcode_libdir_flag_spec='-L$libdir'
9359 hardcode_minus_L=yes
9360 ;;
9361 esac
9362 ;;
9363
9364 beos*)
9365 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9366 allow_undefined_flag=unsupported
9367 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9368 # support --undefined. This deserves some investigation. FIXME
9369 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9370 else
9371 ld_shlibs=no
9372 fi
9373 ;;
9374
9375 cygwin* | mingw* | pw32* | cegcc*)
9376 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9377 # as there is no search path for DLLs.
9378 hardcode_libdir_flag_spec='-L$libdir'
9379 export_dynamic_flag_spec='${wl}--export-all-symbols'
9380 allow_undefined_flag=unsupported
9381 always_export_symbols=no
9382 enable_shared_with_static_runtimes=yes
9383 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9384 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9385
9386 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9388 # If the export-symbols file already is a .def file (1st line
9389 # is EXPORTS), use it as is; otherwise, prepend...
9390 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9391 cp $export_symbols $output_objdir/$soname.def;
9392 else
9393 echo EXPORTS > $output_objdir/$soname.def;
9394 cat $export_symbols >> $output_objdir/$soname.def;
9395 fi~
9396 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9397 else
9398 ld_shlibs=no
9399 fi
9400 ;;
9401
9402 haiku*)
9403 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404 link_all_deplibs=yes
9405 ;;
9406
9407 interix[3-9]*)
9408 hardcode_direct=no
9409 hardcode_shlibpath_var=no
9410 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9411 export_dynamic_flag_spec='${wl}-E'
9412 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9413 # Instead, shared libraries are loaded at an image base (0x10000000 by
9414 # default) and relocated if they conflict, which is a slow very memory
9415 # consuming and fragmenting process. To avoid this, we pick a random,
9416 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9417 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9418 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9419 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'
9420 ;;
9421
9422 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9423 tmp_diet=no
9424 if test "$host_os" = linux-dietlibc; then
9425 case $cc_basename in
9426 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9427 esac
9428 fi
9429 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9430 && test "$tmp_diet" = no
9431 then
9432 tmp_addflag=' $pic_flag'
9433 tmp_sharedflag='-shared'
9434 case $cc_basename,$host_cpu in
9435 pgcc*) # Portland Group C compiler
9436 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9437 tmp_addflag=' $pic_flag'
9438 ;;
9439 pgf77* | pgf90* | pgf95* | pgfortran*)
9440 # Portland Group f77 and f90 compilers
9441 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9442 tmp_addflag=' $pic_flag -Mnomain' ;;
9443 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9444 tmp_addflag=' -i_dynamic' ;;
9445 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9446 tmp_addflag=' -i_dynamic -nofor_main' ;;
9447 ifc* | ifort*) # Intel Fortran compiler
9448 tmp_addflag=' -nofor_main' ;;
9449 lf95*) # Lahey Fortran 8.1
9450 whole_archive_flag_spec=
9451 tmp_sharedflag='--shared' ;;
9452 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9453 tmp_sharedflag='-qmkshrobj'
9454 tmp_addflag= ;;
9455 nvcc*) # Cuda Compiler Driver 2.2
9456 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9457 compiler_needs_object=yes
9458 ;;
9459 esac
9460 case `$CC -V 2>&1 | sed 5q` in
9461 *Sun\ C*) # Sun C 5.9
9462 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9463 compiler_needs_object=yes
9464 tmp_sharedflag='-G' ;;
9465 *Sun\ F*) # Sun Fortran 8.3
9466 tmp_sharedflag='-G' ;;
9467 esac
9468 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9469
9470 if test "x$supports_anon_versioning" = xyes; then
9471 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9472 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9473 echo "local: *; };" >> $output_objdir/$libname.ver~
9474 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9475 fi
9476
9477 case $cc_basename in
9478 xlf* | bgf* | bgxlf* | mpixlf*)
9479 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9480 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9481 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9482 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9483 if test "x$supports_anon_versioning" = xyes; then
9484 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9485 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9486 echo "local: *; };" >> $output_objdir/$libname.ver~
9487 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9488 fi
9489 ;;
9490 esac
9491 else
9492 ld_shlibs=no
9493 fi
9494 ;;
9495
9496 netbsd* | netbsdelf*-gnu)
9497 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9498 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9499 wlarc=
9500 else
9501 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9502 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9503 fi
9504 ;;
9505
9506 solaris*)
9507 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9508 ld_shlibs=no
9509 cat <<_LT_EOF 1>&2
9510
9511 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9512 *** create shared libraries on Solaris systems. Therefore, libtool
9513 *** is disabling shared libraries support. We urge you to upgrade GNU
9514 *** binutils to release 2.9.1 or newer. Another option is to modify
9515 *** your PATH or compiler configuration so that the native linker is
9516 *** used, and then restart.
9517
9518 _LT_EOF
9519 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9520 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9521 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9522 else
9523 ld_shlibs=no
9524 fi
9525 ;;
9526
9527 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9528 case `$LD -v 2>&1` in
9529 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9530 ld_shlibs=no
9531 cat <<_LT_EOF 1>&2
9532
9533 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9534 *** reliably create shared libraries on SCO systems. Therefore, libtool
9535 *** is disabling shared libraries support. We urge you to upgrade GNU
9536 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9537 *** your PATH or compiler configuration so that the native linker is
9538 *** used, and then restart.
9539
9540 _LT_EOF
9541 ;;
9542 *)
9543 # For security reasons, it is highly recommended that you always
9544 # use absolute paths for naming shared libraries, and exclude the
9545 # DT_RUNPATH tag from executables and libraries. But doing so
9546 # requires that you compile everything twice, which is a pain.
9547 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9548 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9549 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9551 else
9552 ld_shlibs=no
9553 fi
9554 ;;
9555 esac
9556 ;;
9557
9558 sunos4*)
9559 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9560 wlarc=
9561 hardcode_direct=yes
9562 hardcode_shlibpath_var=no
9563 ;;
9564
9565 *)
9566 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9567 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9568 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9569 else
9570 ld_shlibs=no
9571 fi
9572 ;;
9573 esac
9574
9575 if test "$ld_shlibs" = no; then
9576 runpath_var=
9577 hardcode_libdir_flag_spec=
9578 export_dynamic_flag_spec=
9579 whole_archive_flag_spec=
9580 fi
9581 else
9582 # PORTME fill in a description of your system's linker (not GNU ld)
9583 case $host_os in
9584 aix3*)
9585 allow_undefined_flag=unsupported
9586 always_export_symbols=yes
9587 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'
9588 # Note: this linker hardcodes the directories in LIBPATH if there
9589 # are no directories specified by -L.
9590 hardcode_minus_L=yes
9591 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9592 # Neither direct hardcoding nor static linking is supported with a
9593 # broken collect2.
9594 hardcode_direct=unsupported
9595 fi
9596 ;;
9597
9598 aix[4-9]*)
9599 if test "$host_cpu" = ia64; then
9600 # On IA64, the linker does run time linking by default, so we don't
9601 # have to do anything special.
9602 aix_use_runtimelinking=no
9603 exp_sym_flag='-Bexport'
9604 no_entry_flag=""
9605 else
9606 # If we're using GNU nm, then we don't want the "-C" option.
9607 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9608 # Also, AIX nm treats weak defined symbols like other global
9609 # defined symbols, whereas GNU nm marks them as "W".
9610 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9611 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9612 else
9613 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'
9614 fi
9615 aix_use_runtimelinking=no
9616
9617 # Test if we are trying to use run time linking or normal
9618 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9619 # need to do runtime linking.
9620 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9621 for ld_flag in $LDFLAGS; do
9622 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9623 aix_use_runtimelinking=yes
9624 break
9625 fi
9626 done
9627 ;;
9628 esac
9629
9630 exp_sym_flag='-bexport'
9631 no_entry_flag='-bnoentry'
9632 fi
9633
9634 # When large executables or shared objects are built, AIX ld can
9635 # have problems creating the table of contents. If linking a library
9636 # or program results in "error TOC overflow" add -mminimal-toc to
9637 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9638 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9639
9640 archive_cmds=''
9641 hardcode_direct=yes
9642 hardcode_direct_absolute=yes
9643 hardcode_libdir_separator=':'
9644 link_all_deplibs=yes
9645 file_list_spec='${wl}-f,'
9646
9647 if test "$GCC" = yes; then
9648 case $host_os in aix4.[012]|aix4.[012].*)
9649 # We only want to do this on AIX 4.2 and lower, the check
9650 # below for broken collect2 doesn't work under 4.3+
9651 collect2name=`${CC} -print-prog-name=collect2`
9652 if test -f "$collect2name" &&
9653 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9654 then
9655 # We have reworked collect2
9656 :
9657 else
9658 # We have old collect2
9659 hardcode_direct=unsupported
9660 # It fails to find uninstalled libraries when the uninstalled
9661 # path is not listed in the libpath. Setting hardcode_minus_L
9662 # to unsupported forces relinking
9663 hardcode_minus_L=yes
9664 hardcode_libdir_flag_spec='-L$libdir'
9665 hardcode_libdir_separator=
9666 fi
9667 ;;
9668 esac
9669 shared_flag='-shared'
9670 if test "$aix_use_runtimelinking" = yes; then
9671 shared_flag="$shared_flag "'${wl}-G'
9672 fi
9673 link_all_deplibs=no
9674 else
9675 # not using gcc
9676 if test "$host_cpu" = ia64; then
9677 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9678 # chokes on -Wl,-G. The following line is correct:
9679 shared_flag='-G'
9680 else
9681 if test "$aix_use_runtimelinking" = yes; then
9682 shared_flag='${wl}-G'
9683 else
9684 shared_flag='${wl}-bM:SRE'
9685 fi
9686 fi
9687 fi
9688
9689 export_dynamic_flag_spec='${wl}-bexpall'
9690 # It seems that -bexpall does not export symbols beginning with
9691 # underscore (_), so it is better to generate a list of symbols to export.
9692 always_export_symbols=yes
9693 if test "$aix_use_runtimelinking" = yes; then
9694 # Warning - without using the other runtime loading flags (-brtl),
9695 # -berok will link without error, but may produce a broken library.
9696 allow_undefined_flag='-berok'
9697 # Determine the default libpath from the value encoded in an
9698 # empty executable.
9699 if test "${lt_cv_aix_libpath+set}" = set; then
9700 aix_libpath=$lt_cv_aix_libpath
9701 else
9702 if ${lt_cv_aix_libpath_+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h. */
9707
9708 int
9709 main ()
9710 {
9711
9712 ;
9713 return 0;
9714 }
9715 _ACEOF
9716 if ac_fn_c_try_link "$LINENO"; then :
9717
9718 lt_aix_libpath_sed='
9719 /Import File Strings/,/^$/ {
9720 /^0/ {
9721 s/^0 *\([^ ]*\) *$/\1/
9722 p
9723 }
9724 }'
9725 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9726 # Check for a 64-bit object if we didn't find anything.
9727 if test -z "$lt_cv_aix_libpath_"; then
9728 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9729 fi
9730 fi
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 if test -z "$lt_cv_aix_libpath_"; then
9734 lt_cv_aix_libpath_="/usr/lib:/lib"
9735 fi
9736
9737 fi
9738
9739 aix_libpath=$lt_cv_aix_libpath_
9740 fi
9741
9742 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9743 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9744 else
9745 if test "$host_cpu" = ia64; then
9746 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9747 allow_undefined_flag="-z nodefs"
9748 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"
9749 else
9750 # Determine the default libpath from the value encoded in an
9751 # empty executable.
9752 if test "${lt_cv_aix_libpath+set}" = set; then
9753 aix_libpath=$lt_cv_aix_libpath
9754 else
9755 if ${lt_cv_aix_libpath_+:} false; then :
9756 $as_echo_n "(cached) " >&6
9757 else
9758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9760
9761 int
9762 main ()
9763 {
9764
9765 ;
9766 return 0;
9767 }
9768 _ACEOF
9769 if ac_fn_c_try_link "$LINENO"; then :
9770
9771 lt_aix_libpath_sed='
9772 /Import File Strings/,/^$/ {
9773 /^0/ {
9774 s/^0 *\([^ ]*\) *$/\1/
9775 p
9776 }
9777 }'
9778 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9779 # Check for a 64-bit object if we didn't find anything.
9780 if test -z "$lt_cv_aix_libpath_"; then
9781 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9782 fi
9783 fi
9784 rm -f core conftest.err conftest.$ac_objext \
9785 conftest$ac_exeext conftest.$ac_ext
9786 if test -z "$lt_cv_aix_libpath_"; then
9787 lt_cv_aix_libpath_="/usr/lib:/lib"
9788 fi
9789
9790 fi
9791
9792 aix_libpath=$lt_cv_aix_libpath_
9793 fi
9794
9795 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9796 # Warning - without using the other run time loading flags,
9797 # -berok will link without error, but may produce a broken library.
9798 no_undefined_flag=' ${wl}-bernotok'
9799 allow_undefined_flag=' ${wl}-berok'
9800 if test "$with_gnu_ld" = yes; then
9801 # We only use this code for GNU lds that support --whole-archive.
9802 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9803 else
9804 # Exported symbols can be pulled into shared objects from archives
9805 whole_archive_flag_spec='$convenience'
9806 fi
9807 archive_cmds_need_lc=yes
9808 # This is similar to how AIX traditionally builds its shared libraries.
9809 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'
9810 fi
9811 fi
9812 ;;
9813
9814 amigaos*)
9815 case $host_cpu in
9816 powerpc)
9817 # see comment about AmigaOS4 .so support
9818 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9819 archive_expsym_cmds=''
9820 ;;
9821 m68k)
9822 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)'
9823 hardcode_libdir_flag_spec='-L$libdir'
9824 hardcode_minus_L=yes
9825 ;;
9826 esac
9827 ;;
9828
9829 bsdi[45]*)
9830 export_dynamic_flag_spec=-rdynamic
9831 ;;
9832
9833 cygwin* | mingw* | pw32* | cegcc*)
9834 # When not using gcc, we currently assume that we are using
9835 # Microsoft Visual C++.
9836 # hardcode_libdir_flag_spec is actually meaningless, as there is
9837 # no search path for DLLs.
9838 case $cc_basename in
9839 cl*)
9840 # Native MSVC
9841 hardcode_libdir_flag_spec=' '
9842 allow_undefined_flag=unsupported
9843 always_export_symbols=yes
9844 file_list_spec='@'
9845 # Tell ltmain to make .lib files, not .a files.
9846 libext=lib
9847 # Tell ltmain to make .dll files, not .so files.
9848 shrext_cmds=".dll"
9849 # FIXME: Setting linknames here is a bad hack.
9850 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9851 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9852 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9853 else
9854 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9855 fi~
9856 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9857 linknames='
9858 # The linker will not automatically build a static lib if we build a DLL.
9859 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9860 enable_shared_with_static_runtimes=yes
9861 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9862 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9863 # Don't use ranlib
9864 old_postinstall_cmds='chmod 644 $oldlib'
9865 postlink_cmds='lt_outputfile="@OUTPUT@"~
9866 lt_tool_outputfile="@TOOL_OUTPUT@"~
9867 case $lt_outputfile in
9868 *.exe|*.EXE) ;;
9869 *)
9870 lt_outputfile="$lt_outputfile.exe"
9871 lt_tool_outputfile="$lt_tool_outputfile.exe"
9872 ;;
9873 esac~
9874 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9875 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9876 $RM "$lt_outputfile.manifest";
9877 fi'
9878 ;;
9879 *)
9880 # Assume MSVC wrapper
9881 hardcode_libdir_flag_spec=' '
9882 allow_undefined_flag=unsupported
9883 # Tell ltmain to make .lib files, not .a files.
9884 libext=lib
9885 # Tell ltmain to make .dll files, not .so files.
9886 shrext_cmds=".dll"
9887 # FIXME: Setting linknames here is a bad hack.
9888 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9889 # The linker will automatically build a .lib file if we build a DLL.
9890 old_archive_from_new_cmds='true'
9891 # FIXME: Should let the user specify the lib program.
9892 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9893 enable_shared_with_static_runtimes=yes
9894 ;;
9895 esac
9896 ;;
9897
9898 darwin* | rhapsody*)
9899
9900
9901 archive_cmds_need_lc=no
9902 hardcode_direct=no
9903 hardcode_automatic=yes
9904 hardcode_shlibpath_var=unsupported
9905 if test "$lt_cv_ld_force_load" = "yes"; then
9906 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9907
9908 else
9909 whole_archive_flag_spec=''
9910 fi
9911 link_all_deplibs=yes
9912 allow_undefined_flag="$_lt_dar_allow_undefined"
9913 case $cc_basename in
9914 ifort*) _lt_dar_can_shared=yes ;;
9915 *) _lt_dar_can_shared=$GCC ;;
9916 esac
9917 if test "$_lt_dar_can_shared" = "yes"; then
9918 output_verbose_link_cmd=func_echo_all
9919 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9920 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9921 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}"
9922 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}"
9923
9924 else
9925 ld_shlibs=no
9926 fi
9927
9928 ;;
9929
9930 dgux*)
9931 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9932 hardcode_libdir_flag_spec='-L$libdir'
9933 hardcode_shlibpath_var=no
9934 ;;
9935
9936 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9937 # support. Future versions do this automatically, but an explicit c++rt0.o
9938 # does not break anything, and helps significantly (at the cost of a little
9939 # extra space).
9940 freebsd2.2*)
9941 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9942 hardcode_libdir_flag_spec='-R$libdir'
9943 hardcode_direct=yes
9944 hardcode_shlibpath_var=no
9945 ;;
9946
9947 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9948 freebsd2.*)
9949 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9950 hardcode_direct=yes
9951 hardcode_minus_L=yes
9952 hardcode_shlibpath_var=no
9953 ;;
9954
9955 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9956 freebsd* | dragonfly*)
9957 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9958 hardcode_libdir_flag_spec='-R$libdir'
9959 hardcode_direct=yes
9960 hardcode_shlibpath_var=no
9961 ;;
9962
9963 hpux9*)
9964 if test "$GCC" = yes; then
9965 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9966 else
9967 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'
9968 fi
9969 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9970 hardcode_libdir_separator=:
9971 hardcode_direct=yes
9972
9973 # hardcode_minus_L: Not really in the search PATH,
9974 # but as the default location of the library.
9975 hardcode_minus_L=yes
9976 export_dynamic_flag_spec='${wl}-E'
9977 ;;
9978
9979 hpux10*)
9980 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9981 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9982 else
9983 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9984 fi
9985 if test "$with_gnu_ld" = no; then
9986 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9987 hardcode_libdir_separator=:
9988 hardcode_direct=yes
9989 hardcode_direct_absolute=yes
9990 export_dynamic_flag_spec='${wl}-E'
9991 # hardcode_minus_L: Not really in the search PATH,
9992 # but as the default location of the library.
9993 hardcode_minus_L=yes
9994 fi
9995 ;;
9996
9997 hpux11*)
9998 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9999 case $host_cpu in
10000 hppa*64*)
10001 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10002 ;;
10003 ia64*)
10004 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10005 ;;
10006 *)
10007 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10008 ;;
10009 esac
10010 else
10011 case $host_cpu in
10012 hppa*64*)
10013 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10014 ;;
10015 ia64*)
10016 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10017 ;;
10018 *)
10019
10020 # Older versions of the 11.00 compiler do not understand -b yet
10021 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10023 $as_echo_n "checking if $CC understands -b... " >&6; }
10024 if ${lt_cv_prog_compiler__b+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 lt_cv_prog_compiler__b=no
10028 save_LDFLAGS="$LDFLAGS"
10029 LDFLAGS="$LDFLAGS -b"
10030 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10031 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10032 # The linker can only warn and ignore the option if not recognized
10033 # So say no if there are warnings
10034 if test -s conftest.err; then
10035 # Append any errors to the config.log.
10036 cat conftest.err 1>&5
10037 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10038 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10039 if diff conftest.exp conftest.er2 >/dev/null; then
10040 lt_cv_prog_compiler__b=yes
10041 fi
10042 else
10043 lt_cv_prog_compiler__b=yes
10044 fi
10045 fi
10046 $RM -r conftest*
10047 LDFLAGS="$save_LDFLAGS"
10048
10049 fi
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10051 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10052
10053 if test x"$lt_cv_prog_compiler__b" = xyes; then
10054 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10055 else
10056 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10057 fi
10058
10059 ;;
10060 esac
10061 fi
10062 if test "$with_gnu_ld" = no; then
10063 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10064 hardcode_libdir_separator=:
10065
10066 case $host_cpu in
10067 hppa*64*|ia64*)
10068 hardcode_direct=no
10069 hardcode_shlibpath_var=no
10070 ;;
10071 *)
10072 hardcode_direct=yes
10073 hardcode_direct_absolute=yes
10074 export_dynamic_flag_spec='${wl}-E'
10075
10076 # hardcode_minus_L: Not really in the search PATH,
10077 # but as the default location of the library.
10078 hardcode_minus_L=yes
10079 ;;
10080 esac
10081 fi
10082 ;;
10083
10084 irix5* | irix6* | nonstopux*)
10085 if test "$GCC" = yes; then
10086 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10087 # Try to use the -exported_symbol ld option, if it does not
10088 # work, assume that -exports_file does not work either and
10089 # implicitly export all symbols.
10090 # This should be the same for all languages, so no per-tag cache variable.
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10092 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10093 if ${lt_cv_irix_exported_symbol+:} false; then :
10094 $as_echo_n "(cached) " >&6
10095 else
10096 save_LDFLAGS="$LDFLAGS"
10097 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10100 int foo (void) { return 0; }
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10103 lt_cv_irix_exported_symbol=yes
10104 else
10105 lt_cv_irix_exported_symbol=no
10106 fi
10107 rm -f core conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10109 LDFLAGS="$save_LDFLAGS"
10110 fi
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10112 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10113 if test "$lt_cv_irix_exported_symbol" = yes; then
10114 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10115 fi
10116 else
10117 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10118 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10119 fi
10120 archive_cmds_need_lc='no'
10121 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10122 hardcode_libdir_separator=:
10123 inherit_rpath=yes
10124 link_all_deplibs=yes
10125 ;;
10126
10127 netbsd* | netbsdelf*-gnu)
10128 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10129 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10130 else
10131 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10132 fi
10133 hardcode_libdir_flag_spec='-R$libdir'
10134 hardcode_direct=yes
10135 hardcode_shlibpath_var=no
10136 ;;
10137
10138 newsos6)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=yes
10141 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10142 hardcode_libdir_separator=:
10143 hardcode_shlibpath_var=no
10144 ;;
10145
10146 *nto* | *qnx*)
10147 ;;
10148
10149 openbsd*)
10150 if test -f /usr/libexec/ld.so; then
10151 hardcode_direct=yes
10152 hardcode_shlibpath_var=no
10153 hardcode_direct_absolute=yes
10154 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10155 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10156 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10157 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10158 export_dynamic_flag_spec='${wl}-E'
10159 else
10160 case $host_os in
10161 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10162 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_libdir_flag_spec='-R$libdir'
10164 ;;
10165 *)
10166 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10167 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10168 ;;
10169 esac
10170 fi
10171 else
10172 ld_shlibs=no
10173 fi
10174 ;;
10175
10176 os2*)
10177 hardcode_libdir_flag_spec='-L$libdir'
10178 hardcode_minus_L=yes
10179 allow_undefined_flag=unsupported
10180 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'
10181 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10182 ;;
10183
10184 osf3*)
10185 if test "$GCC" = yes; then
10186 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10187 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10188 else
10189 allow_undefined_flag=' -expect_unresolved \*'
10190 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10191 fi
10192 archive_cmds_need_lc='no'
10193 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10194 hardcode_libdir_separator=:
10195 ;;
10196
10197 osf4* | osf5*) # as osf3* with the addition of -msym flag
10198 if test "$GCC" = yes; then
10199 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10200 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10201 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10202 else
10203 allow_undefined_flag=' -expect_unresolved \*'
10204 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10205 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~
10206 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10207
10208 # Both c and cxx compiler support -rpath directly
10209 hardcode_libdir_flag_spec='-rpath $libdir'
10210 fi
10211 archive_cmds_need_lc='no'
10212 hardcode_libdir_separator=:
10213 ;;
10214
10215 solaris*)
10216 no_undefined_flag=' -z defs'
10217 if test "$GCC" = yes; then
10218 wlarc='${wl}'
10219 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10221 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10222 else
10223 case `$CC -V 2>&1` in
10224 *"Compilers 5.0"*)
10225 wlarc=''
10226 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10227 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10228 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10229 ;;
10230 *)
10231 wlarc='${wl}'
10232 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10233 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10234 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10235 ;;
10236 esac
10237 fi
10238 hardcode_libdir_flag_spec='-R$libdir'
10239 hardcode_shlibpath_var=no
10240 case $host_os in
10241 solaris2.[0-5] | solaris2.[0-5].*) ;;
10242 *)
10243 # The compiler driver will combine and reorder linker options,
10244 # but understands `-z linker_flag'. GCC discards it without `$wl',
10245 # but is careful enough not to reorder.
10246 # Supported since Solaris 2.6 (maybe 2.5.1?)
10247 if test "$GCC" = yes; then
10248 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10249 else
10250 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10251 fi
10252 ;;
10253 esac
10254 link_all_deplibs=yes
10255 ;;
10256
10257 sunos4*)
10258 if test "x$host_vendor" = xsequent; then
10259 # Use $CC to link under sequent, because it throws in some extra .o
10260 # files that make .init and .fini sections work.
10261 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10262 else
10263 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10264 fi
10265 hardcode_libdir_flag_spec='-L$libdir'
10266 hardcode_direct=yes
10267 hardcode_minus_L=yes
10268 hardcode_shlibpath_var=no
10269 ;;
10270
10271 sysv4)
10272 case $host_vendor in
10273 sni)
10274 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10275 hardcode_direct=yes # is this really true???
10276 ;;
10277 siemens)
10278 ## LD is ld it makes a PLAMLIB
10279 ## CC just makes a GrossModule.
10280 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10281 reload_cmds='$CC -r -o $output$reload_objs'
10282 hardcode_direct=no
10283 ;;
10284 motorola)
10285 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10286 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10287 ;;
10288 esac
10289 runpath_var='LD_RUN_PATH'
10290 hardcode_shlibpath_var=no
10291 ;;
10292
10293 sysv4.3*)
10294 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_shlibpath_var=no
10296 export_dynamic_flag_spec='-Bexport'
10297 ;;
10298
10299 sysv4*MP*)
10300 if test -d /usr/nec; then
10301 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10302 hardcode_shlibpath_var=no
10303 runpath_var=LD_RUN_PATH
10304 hardcode_runpath_var=yes
10305 ld_shlibs=yes
10306 fi
10307 ;;
10308
10309 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10310 no_undefined_flag='${wl}-z,text'
10311 archive_cmds_need_lc=no
10312 hardcode_shlibpath_var=no
10313 runpath_var='LD_RUN_PATH'
10314
10315 if test "$GCC" = yes; then
10316 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10317 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10318 else
10319 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10321 fi
10322 ;;
10323
10324 sysv5* | sco3.2v5* | sco5v6*)
10325 # Note: We can NOT use -z defs as we might desire, because we do not
10326 # link with -lc, and that would cause any symbols used from libc to
10327 # always be unresolved, which means just about no library would
10328 # ever link correctly. If we're not using GNU ld we use -z text
10329 # though, which does catch some bad symbols but isn't as heavy-handed
10330 # as -z defs.
10331 no_undefined_flag='${wl}-z,text'
10332 allow_undefined_flag='${wl}-z,nodefs'
10333 archive_cmds_need_lc=no
10334 hardcode_shlibpath_var=no
10335 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10336 hardcode_libdir_separator=':'
10337 link_all_deplibs=yes
10338 export_dynamic_flag_spec='${wl}-Bexport'
10339 runpath_var='LD_RUN_PATH'
10340
10341 if test "$GCC" = yes; then
10342 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10343 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10344 else
10345 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10347 fi
10348 ;;
10349
10350 uts4*)
10351 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10352 hardcode_libdir_flag_spec='-L$libdir'
10353 hardcode_shlibpath_var=no
10354 ;;
10355
10356 *)
10357 ld_shlibs=no
10358 ;;
10359 esac
10360
10361 if test x$host_vendor = xsni; then
10362 case $host in
10363 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10364 export_dynamic_flag_spec='${wl}-Blargedynsym'
10365 ;;
10366 esac
10367 fi
10368 fi
10369
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10371 $as_echo "$ld_shlibs" >&6; }
10372 test "$ld_shlibs" = no && can_build_shared=no
10373
10374 with_gnu_ld=$with_gnu_ld
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390 #
10391 # Do we need to explicitly link libc?
10392 #
10393 case "x$archive_cmds_need_lc" in
10394 x|xyes)
10395 # Assume -lc should be added
10396 archive_cmds_need_lc=yes
10397
10398 if test "$enable_shared" = yes && test "$GCC" = yes; then
10399 case $archive_cmds in
10400 *'~'*)
10401 # FIXME: we may have to deal with multi-command sequences.
10402 ;;
10403 '$CC '*)
10404 # Test whether the compiler implicitly links with -lc since on some
10405 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10406 # to ld, don't add -lc before -lgcc.
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10408 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10409 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10410 $as_echo_n "(cached) " >&6
10411 else
10412 $RM conftest*
10413 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10414
10415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10416 (eval $ac_compile) 2>&5
10417 ac_status=$?
10418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10419 test $ac_status = 0; } 2>conftest.err; then
10420 soname=conftest
10421 lib=conftest
10422 libobjs=conftest.$ac_objext
10423 deplibs=
10424 wl=$lt_prog_compiler_wl
10425 pic_flag=$lt_prog_compiler_pic
10426 compiler_flags=-v
10427 linker_flags=-v
10428 verstring=
10429 output_objdir=.
10430 libname=conftest
10431 lt_save_allow_undefined_flag=$allow_undefined_flag
10432 allow_undefined_flag=
10433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10434 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10435 ac_status=$?
10436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10437 test $ac_status = 0; }
10438 then
10439 lt_cv_archive_cmds_need_lc=no
10440 else
10441 lt_cv_archive_cmds_need_lc=yes
10442 fi
10443 allow_undefined_flag=$lt_save_allow_undefined_flag
10444 else
10445 cat conftest.err 1>&5
10446 fi
10447 $RM conftest*
10448
10449 fi
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10451 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10452 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10453 ;;
10454 esac
10455 fi
10456 ;;
10457 esac
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10611 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10612
10613 if test "$GCC" = yes; then
10614 case $host_os in
10615 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10616 *) lt_awk_arg="/^libraries:/" ;;
10617 esac
10618 case $host_os in
10619 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10620 *) lt_sed_strip_eq="s,=/,/,g" ;;
10621 esac
10622 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10623 case $lt_search_path_spec in
10624 *\;*)
10625 # if the path contains ";" then we assume it to be the separator
10626 # otherwise default to the standard path separator (i.e. ":") - it is
10627 # assumed that no part of a normal pathname contains ";" but that should
10628 # okay in the real world where ";" in dirpaths is itself problematic.
10629 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10630 ;;
10631 *)
10632 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10633 ;;
10634 esac
10635 # Ok, now we have the path, separated by spaces, we can step through it
10636 # and add multilib dir if necessary.
10637 lt_tmp_lt_search_path_spec=
10638 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10639 for lt_sys_path in $lt_search_path_spec; do
10640 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10641 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10642 else
10643 test -d "$lt_sys_path" && \
10644 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10645 fi
10646 done
10647 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10648 BEGIN {RS=" "; FS="/|\n";} {
10649 lt_foo="";
10650 lt_count=0;
10651 for (lt_i = NF; lt_i > 0; lt_i--) {
10652 if ($lt_i != "" && $lt_i != ".") {
10653 if ($lt_i == "..") {
10654 lt_count++;
10655 } else {
10656 if (lt_count == 0) {
10657 lt_foo="/" $lt_i lt_foo;
10658 } else {
10659 lt_count--;
10660 }
10661 }
10662 }
10663 }
10664 if (lt_foo != "") { lt_freq[lt_foo]++; }
10665 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10666 }'`
10667 # AWK program above erroneously prepends '/' to C:/dos/paths
10668 # for these hosts.
10669 case $host_os in
10670 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10671 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10672 esac
10673 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10674 else
10675 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10676 fi
10677 library_names_spec=
10678 libname_spec='lib$name'
10679 soname_spec=
10680 shrext_cmds=".so"
10681 postinstall_cmds=
10682 postuninstall_cmds=
10683 finish_cmds=
10684 finish_eval=
10685 shlibpath_var=
10686 shlibpath_overrides_runpath=unknown
10687 version_type=none
10688 dynamic_linker="$host_os ld.so"
10689 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10690 need_lib_prefix=unknown
10691 hardcode_into_libs=no
10692
10693 # when you set need_version to no, make sure it does not cause -set_version
10694 # flags to be left without arguments
10695 need_version=unknown
10696
10697 case $host_os in
10698 aix3*)
10699 version_type=linux # correct to gnu/linux during the next big refactor
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10701 shlibpath_var=LIBPATH
10702
10703 # AIX 3 has no versioning support, so we append a major version to the name.
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 ;;
10706
10707 aix[4-9]*)
10708 version_type=linux # correct to gnu/linux during the next big refactor
10709 need_lib_prefix=no
10710 need_version=no
10711 hardcode_into_libs=yes
10712 if test "$host_cpu" = ia64; then
10713 # AIX 5 supports IA64
10714 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10715 shlibpath_var=LD_LIBRARY_PATH
10716 else
10717 # With GCC up to 2.95.x, collect2 would create an import file
10718 # for dependence libraries. The import file would start with
10719 # the line `#! .'. This would cause the generated library to
10720 # depend on `.', always an invalid library. This was fixed in
10721 # development snapshots of GCC prior to 3.0.
10722 case $host_os in
10723 aix4 | aix4.[01] | aix4.[01].*)
10724 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10725 echo ' yes '
10726 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10727 :
10728 else
10729 can_build_shared=no
10730 fi
10731 ;;
10732 esac
10733 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10734 # soname into executable. Probably we can add versioning support to
10735 # collect2, so additional links can be useful in future.
10736 if test "$aix_use_runtimelinking" = yes; then
10737 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10738 # instead of lib<name>.a to let people know that these are not
10739 # typical AIX shared libraries.
10740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10741 else
10742 # We preserve .a as extension for shared libraries through AIX4.2
10743 # and later when we are not doing run time linking.
10744 library_names_spec='${libname}${release}.a $libname.a'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 fi
10747 shlibpath_var=LIBPATH
10748 fi
10749 ;;
10750
10751 amigaos*)
10752 case $host_cpu in
10753 powerpc)
10754 # Since July 2007 AmigaOS4 officially supports .so libraries.
10755 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757 ;;
10758 m68k)
10759 library_names_spec='$libname.ixlibrary $libname.a'
10760 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10761 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10762 ;;
10763 esac
10764 ;;
10765
10766 beos*)
10767 library_names_spec='${libname}${shared_ext}'
10768 dynamic_linker="$host_os ld.so"
10769 shlibpath_var=LIBRARY_PATH
10770 ;;
10771
10772 bsdi[45]*)
10773 version_type=linux # correct to gnu/linux during the next big refactor
10774 need_version=no
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10776 soname_spec='${libname}${release}${shared_ext}$major'
10777 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10778 shlibpath_var=LD_LIBRARY_PATH
10779 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10780 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10781 # the default ld.so.conf also contains /usr/contrib/lib and
10782 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10783 # libtool to hard-code these into programs
10784 ;;
10785
10786 cygwin* | mingw* | pw32* | cegcc*)
10787 version_type=windows
10788 shrext_cmds=".dll"
10789 need_version=no
10790 need_lib_prefix=no
10791
10792 case $GCC,$cc_basename in
10793 yes,*)
10794 # gcc
10795 library_names_spec='$libname.dll.a'
10796 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10797 postinstall_cmds='base_file=`basename \${file}`~
10798 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10799 dldir=$destdir/`dirname \$dlpath`~
10800 test -d \$dldir || mkdir -p \$dldir~
10801 $install_prog $dir/$dlname \$dldir/$dlname~
10802 chmod a+x \$dldir/$dlname~
10803 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10804 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10805 fi'
10806 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10807 dlpath=$dir/\$dldll~
10808 $RM \$dlpath'
10809 shlibpath_overrides_runpath=yes
10810
10811 case $host_os in
10812 cygwin*)
10813 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10814 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10815
10816 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10817 ;;
10818 mingw* | cegcc*)
10819 # MinGW DLLs use traditional 'lib' prefix
10820 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10821 ;;
10822 pw32*)
10823 # pw32 DLLs use 'pw' prefix rather than 'lib'
10824 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10825 ;;
10826 esac
10827 dynamic_linker='Win32 ld.exe'
10828 ;;
10829
10830 *,cl*)
10831 # Native MSVC
10832 libname_spec='$name'
10833 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10834 library_names_spec='${libname}.dll.lib'
10835
10836 case $build_os in
10837 mingw*)
10838 sys_lib_search_path_spec=
10839 lt_save_ifs=$IFS
10840 IFS=';'
10841 for lt_path in $LIB
10842 do
10843 IFS=$lt_save_ifs
10844 # Let DOS variable expansion print the short 8.3 style file name.
10845 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10846 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10847 done
10848 IFS=$lt_save_ifs
10849 # Convert to MSYS style.
10850 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10851 ;;
10852 cygwin*)
10853 # Convert to unix form, then to dos form, then back to unix form
10854 # but this time dos style (no spaces!) so that the unix form looks
10855 # like /cygdrive/c/PROGRA~1:/cygdr...
10856 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10857 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10858 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10859 ;;
10860 *)
10861 sys_lib_search_path_spec="$LIB"
10862 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10863 # It is most probably a Windows format PATH.
10864 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10865 else
10866 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10867 fi
10868 # FIXME: find the short name or the path components, as spaces are
10869 # common. (e.g. "Program Files" -> "PROGRA~1")
10870 ;;
10871 esac
10872
10873 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10874 postinstall_cmds='base_file=`basename \${file}`~
10875 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10876 dldir=$destdir/`dirname \$dlpath`~
10877 test -d \$dldir || mkdir -p \$dldir~
10878 $install_prog $dir/$dlname \$dldir/$dlname'
10879 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10880 dlpath=$dir/\$dldll~
10881 $RM \$dlpath'
10882 shlibpath_overrides_runpath=yes
10883 dynamic_linker='Win32 link.exe'
10884 ;;
10885
10886 *)
10887 # Assume MSVC wrapper
10888 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10889 dynamic_linker='Win32 ld.exe'
10890 ;;
10891 esac
10892 # FIXME: first we should search . and the directory the executable is in
10893 shlibpath_var=PATH
10894 ;;
10895
10896 darwin* | rhapsody*)
10897 dynamic_linker="$host_os dyld"
10898 version_type=darwin
10899 need_lib_prefix=no
10900 need_version=no
10901 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10902 soname_spec='${libname}${release}${major}$shared_ext'
10903 shlibpath_overrides_runpath=yes
10904 shlibpath_var=DYLD_LIBRARY_PATH
10905 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10906
10907 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10908 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10909 ;;
10910
10911 dgux*)
10912 version_type=linux # correct to gnu/linux during the next big refactor
10913 need_lib_prefix=no
10914 need_version=no
10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10916 soname_spec='${libname}${release}${shared_ext}$major'
10917 shlibpath_var=LD_LIBRARY_PATH
10918 ;;
10919
10920 freebsd* | dragonfly*)
10921 # DragonFly does not have aout. When/if they implement a new
10922 # versioning mechanism, adjust this.
10923 if test -x /usr/bin/objformat; then
10924 objformat=`/usr/bin/objformat`
10925 else
10926 case $host_os in
10927 freebsd[23].*) objformat=aout ;;
10928 *) objformat=elf ;;
10929 esac
10930 fi
10931 version_type=freebsd-$objformat
10932 case $version_type in
10933 freebsd-elf*)
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10935 need_version=no
10936 need_lib_prefix=no
10937 ;;
10938 freebsd-*)
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10940 need_version=yes
10941 ;;
10942 esac
10943 shlibpath_var=LD_LIBRARY_PATH
10944 case $host_os in
10945 freebsd2.*)
10946 shlibpath_overrides_runpath=yes
10947 ;;
10948 freebsd3.[01]* | freebsdelf3.[01]*)
10949 shlibpath_overrides_runpath=yes
10950 hardcode_into_libs=yes
10951 ;;
10952 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10953 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10954 shlibpath_overrides_runpath=no
10955 hardcode_into_libs=yes
10956 ;;
10957 *) # from 4.6 on, and DragonFly
10958 shlibpath_overrides_runpath=yes
10959 hardcode_into_libs=yes
10960 ;;
10961 esac
10962 ;;
10963
10964 haiku*)
10965 version_type=linux # correct to gnu/linux during the next big refactor
10966 need_lib_prefix=no
10967 need_version=no
10968 dynamic_linker="$host_os runtime_loader"
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 shlibpath_var=LIBRARY_PATH
10972 shlibpath_overrides_runpath=yes
10973 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10974 hardcode_into_libs=yes
10975 ;;
10976
10977 hpux9* | hpux10* | hpux11*)
10978 # Give a soname corresponding to the major version so that dld.sl refuses to
10979 # link against other versions.
10980 version_type=sunos
10981 need_lib_prefix=no
10982 need_version=no
10983 case $host_cpu in
10984 ia64*)
10985 shrext_cmds='.so'
10986 hardcode_into_libs=yes
10987 dynamic_linker="$host_os dld.so"
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 if test "X$HPUX_IA64_MODE" = X32; then
10993 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10994 else
10995 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10996 fi
10997 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10998 ;;
10999 hppa*64*)
11000 shrext_cmds='.sl'
11001 hardcode_into_libs=yes
11002 dynamic_linker="$host_os dld.sl"
11003 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11004 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006 soname_spec='${libname}${release}${shared_ext}$major'
11007 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11008 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11009 ;;
11010 *)
11011 shrext_cmds='.sl'
11012 dynamic_linker="$host_os dld.sl"
11013 shlibpath_var=SHLIB_PATH
11014 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016 soname_spec='${libname}${release}${shared_ext}$major'
11017 ;;
11018 esac
11019 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11020 postinstall_cmds='chmod 555 $lib'
11021 # or fails outright, so override atomically:
11022 install_override_mode=555
11023 ;;
11024
11025 interix[3-9]*)
11026 version_type=linux # correct to gnu/linux during the next big refactor
11027 need_lib_prefix=no
11028 need_version=no
11029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11030 soname_spec='${libname}${release}${shared_ext}$major'
11031 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=no
11034 hardcode_into_libs=yes
11035 ;;
11036
11037 irix5* | irix6* | nonstopux*)
11038 case $host_os in
11039 nonstopux*) version_type=nonstopux ;;
11040 *)
11041 if test "$lt_cv_prog_gnu_ld" = yes; then
11042 version_type=linux # correct to gnu/linux during the next big refactor
11043 else
11044 version_type=irix
11045 fi ;;
11046 esac
11047 need_lib_prefix=no
11048 need_version=no
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11051 case $host_os in
11052 irix5* | nonstopux*)
11053 libsuff= shlibsuff=
11054 ;;
11055 *)
11056 case $LD in # libtool.m4 will add one of these switches to LD
11057 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11058 libsuff= shlibsuff= libmagic=32-bit;;
11059 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11060 libsuff=32 shlibsuff=N32 libmagic=N32;;
11061 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11062 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11063 *) libsuff= shlibsuff= libmagic=never-match;;
11064 esac
11065 ;;
11066 esac
11067 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11068 shlibpath_overrides_runpath=no
11069 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11070 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11071 hardcode_into_libs=yes
11072 ;;
11073
11074 # No shared lib support for Linux oldld, aout, or coff.
11075 linux*oldld* | linux*aout* | linux*coff*)
11076 dynamic_linker=no
11077 ;;
11078
11079 # This must be glibc/ELF.
11080 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11081 version_type=linux # correct to gnu/linux during the next big refactor
11082 need_lib_prefix=no
11083 need_version=no
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11087 shlibpath_var=LD_LIBRARY_PATH
11088 shlibpath_overrides_runpath=no
11089
11090 # Some binutils ld are patched to set DT_RUNPATH
11091 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11092 $as_echo_n "(cached) " >&6
11093 else
11094 lt_cv_shlibpath_overrides_runpath=no
11095 save_LDFLAGS=$LDFLAGS
11096 save_libdir=$libdir
11097 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11098 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11101
11102 int
11103 main ()
11104 {
11105
11106 ;
11107 return 0;
11108 }
11109 _ACEOF
11110 if ac_fn_c_try_link "$LINENO"; then :
11111 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11112 lt_cv_shlibpath_overrides_runpath=yes
11113 fi
11114 fi
11115 rm -f core conftest.err conftest.$ac_objext \
11116 conftest$ac_exeext conftest.$ac_ext
11117 LDFLAGS=$save_LDFLAGS
11118 libdir=$save_libdir
11119
11120 fi
11121
11122 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11123
11124 # This implies no fast_install, which is unacceptable.
11125 # Some rework will be needed to allow for fast_install
11126 # before this can be enabled.
11127 hardcode_into_libs=yes
11128
11129 # Append ld.so.conf contents to the search path
11130 if test -f /etc/ld.so.conf; then
11131 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;s/"//g;/^$/d' | tr '\n' ' '`
11132 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11133 fi
11134
11135 # We used to test for /lib/ld.so.1 and disable shared libraries on
11136 # powerpc, because MkLinux only supported shared libraries with the
11137 # GNU dynamic linker. Since this was broken with cross compilers,
11138 # most powerpc-linux boxes support dynamic linking these days and
11139 # people can always --disable-shared, the test was removed, and we
11140 # assume the GNU/Linux dynamic linker is in use.
11141 dynamic_linker='GNU/Linux ld.so'
11142 ;;
11143
11144 netbsdelf*-gnu)
11145 version_type=linux
11146 need_lib_prefix=no
11147 need_version=no
11148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11149 soname_spec='${libname}${release}${shared_ext}$major'
11150 shlibpath_var=LD_LIBRARY_PATH
11151 shlibpath_overrides_runpath=no
11152 hardcode_into_libs=yes
11153 dynamic_linker='NetBSD ld.elf_so'
11154 ;;
11155
11156 netbsd*)
11157 version_type=sunos
11158 need_lib_prefix=no
11159 need_version=no
11160 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11162 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11163 dynamic_linker='NetBSD (a.out) ld.so'
11164 else
11165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11166 soname_spec='${libname}${release}${shared_ext}$major'
11167 dynamic_linker='NetBSD ld.elf_so'
11168 fi
11169 shlibpath_var=LD_LIBRARY_PATH
11170 shlibpath_overrides_runpath=yes
11171 hardcode_into_libs=yes
11172 ;;
11173
11174 newsos6)
11175 version_type=linux # correct to gnu/linux during the next big refactor
11176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11177 shlibpath_var=LD_LIBRARY_PATH
11178 shlibpath_overrides_runpath=yes
11179 ;;
11180
11181 *nto* | *qnx*)
11182 version_type=qnx
11183 need_lib_prefix=no
11184 need_version=no
11185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11186 soname_spec='${libname}${release}${shared_ext}$major'
11187 shlibpath_var=LD_LIBRARY_PATH
11188 shlibpath_overrides_runpath=no
11189 hardcode_into_libs=yes
11190 dynamic_linker='ldqnx.so'
11191 ;;
11192
11193 openbsd*)
11194 version_type=sunos
11195 sys_lib_dlsearch_path_spec="/usr/lib"
11196 need_lib_prefix=no
11197 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11198 case $host_os in
11199 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11200 *) need_version=no ;;
11201 esac
11202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11203 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11204 shlibpath_var=LD_LIBRARY_PATH
11205 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11206 case $host_os in
11207 openbsd2.[89] | openbsd2.[89].*)
11208 shlibpath_overrides_runpath=no
11209 ;;
11210 *)
11211 shlibpath_overrides_runpath=yes
11212 ;;
11213 esac
11214 else
11215 shlibpath_overrides_runpath=yes
11216 fi
11217 ;;
11218
11219 os2*)
11220 libname_spec='$name'
11221 shrext_cmds=".dll"
11222 need_lib_prefix=no
11223 library_names_spec='$libname${shared_ext} $libname.a'
11224 dynamic_linker='OS/2 ld.exe'
11225 shlibpath_var=LIBPATH
11226 ;;
11227
11228 osf3* | osf4* | osf5*)
11229 version_type=osf
11230 need_lib_prefix=no
11231 need_version=no
11232 soname_spec='${libname}${release}${shared_ext}$major'
11233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11234 shlibpath_var=LD_LIBRARY_PATH
11235 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11236 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11237 ;;
11238
11239 rdos*)
11240 dynamic_linker=no
11241 ;;
11242
11243 solaris*)
11244 version_type=linux # correct to gnu/linux during the next big refactor
11245 need_lib_prefix=no
11246 need_version=no
11247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11248 soname_spec='${libname}${release}${shared_ext}$major'
11249 shlibpath_var=LD_LIBRARY_PATH
11250 shlibpath_overrides_runpath=yes
11251 hardcode_into_libs=yes
11252 # ldd complains unless libraries are executable
11253 postinstall_cmds='chmod +x $lib'
11254 ;;
11255
11256 sunos4*)
11257 version_type=sunos
11258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11259 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11260 shlibpath_var=LD_LIBRARY_PATH
11261 shlibpath_overrides_runpath=yes
11262 if test "$with_gnu_ld" = yes; then
11263 need_lib_prefix=no
11264 fi
11265 need_version=yes
11266 ;;
11267
11268 sysv4 | sysv4.3*)
11269 version_type=linux # correct to gnu/linux during the next big refactor
11270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11271 soname_spec='${libname}${release}${shared_ext}$major'
11272 shlibpath_var=LD_LIBRARY_PATH
11273 case $host_vendor in
11274 sni)
11275 shlibpath_overrides_runpath=no
11276 need_lib_prefix=no
11277 runpath_var=LD_RUN_PATH
11278 ;;
11279 siemens)
11280 need_lib_prefix=no
11281 ;;
11282 motorola)
11283 need_lib_prefix=no
11284 need_version=no
11285 shlibpath_overrides_runpath=no
11286 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11287 ;;
11288 esac
11289 ;;
11290
11291 sysv4*MP*)
11292 if test -d /usr/nec ;then
11293 version_type=linux # correct to gnu/linux during the next big refactor
11294 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11295 soname_spec='$libname${shared_ext}.$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11297 fi
11298 ;;
11299
11300 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11301 version_type=freebsd-elf
11302 need_lib_prefix=no
11303 need_version=no
11304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11305 soname_spec='${libname}${release}${shared_ext}$major'
11306 shlibpath_var=LD_LIBRARY_PATH
11307 shlibpath_overrides_runpath=yes
11308 hardcode_into_libs=yes
11309 if test "$with_gnu_ld" = yes; then
11310 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11311 else
11312 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11313 case $host_os in
11314 sco3.2v5*)
11315 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11316 ;;
11317 esac
11318 fi
11319 sys_lib_dlsearch_path_spec='/usr/lib'
11320 ;;
11321
11322 tpf*)
11323 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11324 version_type=linux # correct to gnu/linux during the next big refactor
11325 need_lib_prefix=no
11326 need_version=no
11327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328 shlibpath_var=LD_LIBRARY_PATH
11329 shlibpath_overrides_runpath=no
11330 hardcode_into_libs=yes
11331 ;;
11332
11333 uts4*)
11334 version_type=linux # correct to gnu/linux during the next big refactor
11335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336 soname_spec='${libname}${release}${shared_ext}$major'
11337 shlibpath_var=LD_LIBRARY_PATH
11338 ;;
11339
11340 *)
11341 dynamic_linker=no
11342 ;;
11343 esac
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11345 $as_echo "$dynamic_linker" >&6; }
11346 test "$dynamic_linker" = no && can_build_shared=no
11347
11348 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11349 if test "$GCC" = yes; then
11350 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11351 fi
11352
11353 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11354 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11355 fi
11356 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11357 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11358 fi
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11452 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11453 hardcode_action=
11454 if test -n "$hardcode_libdir_flag_spec" ||
11455 test -n "$runpath_var" ||
11456 test "X$hardcode_automatic" = "Xyes" ; then
11457
11458 # We can hardcode non-existent directories.
11459 if test "$hardcode_direct" != no &&
11460 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11461 # have to relink, otherwise we might link with an installed library
11462 # when we should be linking with a yet-to-be-installed one
11463 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11464 test "$hardcode_minus_L" != no; then
11465 # Linking always hardcodes the temporary library directory.
11466 hardcode_action=relink
11467 else
11468 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11469 hardcode_action=immediate
11470 fi
11471 else
11472 # We cannot hardcode anything, or else we can only hardcode existing
11473 # directories.
11474 hardcode_action=unsupported
11475 fi
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11477 $as_echo "$hardcode_action" >&6; }
11478
11479 if test "$hardcode_action" = relink ||
11480 test "$inherit_rpath" = yes; then
11481 # Fast installation is not supported
11482 enable_fast_install=no
11483 elif test "$shlibpath_overrides_runpath" = yes ||
11484 test "$enable_shared" = no; then
11485 # Fast installation is not necessary
11486 enable_fast_install=needless
11487 fi
11488
11489
11490
11491
11492
11493
11494 if test "x$enable_dlopen" != xyes; then
11495 enable_dlopen=unknown
11496 enable_dlopen_self=unknown
11497 enable_dlopen_self_static=unknown
11498 else
11499 lt_cv_dlopen=no
11500 lt_cv_dlopen_libs=
11501
11502 case $host_os in
11503 beos*)
11504 lt_cv_dlopen="load_add_on"
11505 lt_cv_dlopen_libs=
11506 lt_cv_dlopen_self=yes
11507 ;;
11508
11509 mingw* | pw32* | cegcc*)
11510 lt_cv_dlopen="LoadLibrary"
11511 lt_cv_dlopen_libs=
11512 ;;
11513
11514 cygwin*)
11515 lt_cv_dlopen="dlopen"
11516 lt_cv_dlopen_libs=
11517 ;;
11518
11519 darwin*)
11520 # if libdl is installed we need to link against it
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11522 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11523 if ${ac_cv_lib_dl_dlopen+:} false; then :
11524 $as_echo_n "(cached) " >&6
11525 else
11526 ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-ldl $LIBS"
11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11530
11531 /* Override any GCC internal prototype to avoid an error.
11532 Use char because int might match the return type of a GCC
11533 builtin and then its argument prototype would still apply. */
11534 #ifdef __cplusplus
11535 extern "C"
11536 #endif
11537 char dlopen ();
11538 int
11539 main ()
11540 {
11541 return dlopen ();
11542 ;
11543 return 0;
11544 }
11545 _ACEOF
11546 if ac_fn_c_try_link "$LINENO"; then :
11547 ac_cv_lib_dl_dlopen=yes
11548 else
11549 ac_cv_lib_dl_dlopen=no
11550 fi
11551 rm -f core conftest.err conftest.$ac_objext \
11552 conftest$ac_exeext conftest.$ac_ext
11553 LIBS=$ac_check_lib_save_LIBS
11554 fi
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11556 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11557 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11558 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11559 else
11560
11561 lt_cv_dlopen="dyld"
11562 lt_cv_dlopen_libs=
11563 lt_cv_dlopen_self=yes
11564
11565 fi
11566
11567 ;;
11568
11569 *)
11570 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11571 if test "x$ac_cv_func_shl_load" = xyes; then :
11572 lt_cv_dlopen="shl_load"
11573 else
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11575 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11576 if ${ac_cv_lib_dld_shl_load+:} false; then :
11577 $as_echo_n "(cached) " >&6
11578 else
11579 ac_check_lib_save_LIBS=$LIBS
11580 LIBS="-ldld $LIBS"
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11583
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11587 #ifdef __cplusplus
11588 extern "C"
11589 #endif
11590 char shl_load ();
11591 int
11592 main ()
11593 {
11594 return shl_load ();
11595 ;
11596 return 0;
11597 }
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"; then :
11600 ac_cv_lib_dld_shl_load=yes
11601 else
11602 ac_cv_lib_dld_shl_load=no
11603 fi
11604 rm -f core conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_lib_save_LIBS
11607 fi
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11609 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11610 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11611 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11612 else
11613 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11614 if test "x$ac_cv_func_dlopen" = xyes; then :
11615 lt_cv_dlopen="dlopen"
11616 else
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11618 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11619 if ${ac_cv_lib_dl_dlopen+:} false; then :
11620 $as_echo_n "(cached) " >&6
11621 else
11622 ac_check_lib_save_LIBS=$LIBS
11623 LIBS="-ldl $LIBS"
11624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11625 /* end confdefs.h. */
11626
11627 /* Override any GCC internal prototype to avoid an error.
11628 Use char because int might match the return type of a GCC
11629 builtin and then its argument prototype would still apply. */
11630 #ifdef __cplusplus
11631 extern "C"
11632 #endif
11633 char dlopen ();
11634 int
11635 main ()
11636 {
11637 return dlopen ();
11638 ;
11639 return 0;
11640 }
11641 _ACEOF
11642 if ac_fn_c_try_link "$LINENO"; then :
11643 ac_cv_lib_dl_dlopen=yes
11644 else
11645 ac_cv_lib_dl_dlopen=no
11646 fi
11647 rm -f core conftest.err conftest.$ac_objext \
11648 conftest$ac_exeext conftest.$ac_ext
11649 LIBS=$ac_check_lib_save_LIBS
11650 fi
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11652 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11653 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11654 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11655 else
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11657 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11658 if ${ac_cv_lib_svld_dlopen+:} false; then :
11659 $as_echo_n "(cached) " >&6
11660 else
11661 ac_check_lib_save_LIBS=$LIBS
11662 LIBS="-lsvld $LIBS"
11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11665
11666 /* Override any GCC internal prototype to avoid an error.
11667 Use char because int might match the return type of a GCC
11668 builtin and then its argument prototype would still apply. */
11669 #ifdef __cplusplus
11670 extern "C"
11671 #endif
11672 char dlopen ();
11673 int
11674 main ()
11675 {
11676 return dlopen ();
11677 ;
11678 return 0;
11679 }
11680 _ACEOF
11681 if ac_fn_c_try_link "$LINENO"; then :
11682 ac_cv_lib_svld_dlopen=yes
11683 else
11684 ac_cv_lib_svld_dlopen=no
11685 fi
11686 rm -f core conftest.err conftest.$ac_objext \
11687 conftest$ac_exeext conftest.$ac_ext
11688 LIBS=$ac_check_lib_save_LIBS
11689 fi
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11691 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11692 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11693 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11694 else
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11696 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11697 if ${ac_cv_lib_dld_dld_link+:} false; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 ac_check_lib_save_LIBS=$LIBS
11701 LIBS="-ldld $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11704
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11708 #ifdef __cplusplus
11709 extern "C"
11710 #endif
11711 char dld_link ();
11712 int
11713 main ()
11714 {
11715 return dld_link ();
11716 ;
11717 return 0;
11718 }
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"; then :
11721 ac_cv_lib_dld_dld_link=yes
11722 else
11723 ac_cv_lib_dld_dld_link=no
11724 fi
11725 rm -f core conftest.err conftest.$ac_objext \
11726 conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_lib_save_LIBS
11728 fi
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11730 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11731 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11732 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11733 fi
11734
11735
11736 fi
11737
11738
11739 fi
11740
11741
11742 fi
11743
11744
11745 fi
11746
11747
11748 fi
11749
11750 ;;
11751 esac
11752
11753 if test "x$lt_cv_dlopen" != xno; then
11754 enable_dlopen=yes
11755 else
11756 enable_dlopen=no
11757 fi
11758
11759 case $lt_cv_dlopen in
11760 dlopen)
11761 save_CPPFLAGS="$CPPFLAGS"
11762 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11763
11764 save_LDFLAGS="$LDFLAGS"
11765 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11766
11767 save_LIBS="$LIBS"
11768 LIBS="$lt_cv_dlopen_libs $LIBS"
11769
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11771 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11772 if ${lt_cv_dlopen_self+:} false; then :
11773 $as_echo_n "(cached) " >&6
11774 else
11775 if test "$cross_compiling" = yes; then :
11776 lt_cv_dlopen_self=cross
11777 else
11778 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11779 lt_status=$lt_dlunknown
11780 cat > conftest.$ac_ext <<_LT_EOF
11781 #line $LINENO "configure"
11782 #include "confdefs.h"
11783
11784 #if HAVE_DLFCN_H
11785 #include <dlfcn.h>
11786 #endif
11787
11788 #include <stdio.h>
11789
11790 #ifdef RTLD_GLOBAL
11791 # define LT_DLGLOBAL RTLD_GLOBAL
11792 #else
11793 # ifdef DL_GLOBAL
11794 # define LT_DLGLOBAL DL_GLOBAL
11795 # else
11796 # define LT_DLGLOBAL 0
11797 # endif
11798 #endif
11799
11800 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11801 find out it does not work in some platform. */
11802 #ifndef LT_DLLAZY_OR_NOW
11803 # ifdef RTLD_LAZY
11804 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11805 # else
11806 # ifdef DL_LAZY
11807 # define LT_DLLAZY_OR_NOW DL_LAZY
11808 # else
11809 # ifdef RTLD_NOW
11810 # define LT_DLLAZY_OR_NOW RTLD_NOW
11811 # else
11812 # ifdef DL_NOW
11813 # define LT_DLLAZY_OR_NOW DL_NOW
11814 # else
11815 # define LT_DLLAZY_OR_NOW 0
11816 # endif
11817 # endif
11818 # endif
11819 # endif
11820 #endif
11821
11822 /* When -fvisbility=hidden is used, assume the code has been annotated
11823 correspondingly for the symbols needed. */
11824 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11825 int fnord () __attribute__((visibility("default")));
11826 #endif
11827
11828 int fnord () { return 42; }
11829 int main ()
11830 {
11831 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11832 int status = $lt_dlunknown;
11833
11834 if (self)
11835 {
11836 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11837 else
11838 {
11839 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11840 else puts (dlerror ());
11841 }
11842 /* dlclose (self); */
11843 }
11844 else
11845 puts (dlerror ());
11846
11847 return status;
11848 }
11849 _LT_EOF
11850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11851 (eval $ac_link) 2>&5
11852 ac_status=$?
11853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11854 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11855 (./conftest; exit; ) >&5 2>/dev/null
11856 lt_status=$?
11857 case x$lt_status in
11858 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11859 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11860 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11861 esac
11862 else :
11863 # compilation failed
11864 lt_cv_dlopen_self=no
11865 fi
11866 fi
11867 rm -fr conftest*
11868
11869
11870 fi
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11872 $as_echo "$lt_cv_dlopen_self" >&6; }
11873
11874 if test "x$lt_cv_dlopen_self" = xyes; then
11875 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11877 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11878 if ${lt_cv_dlopen_self_static+:} false; then :
11879 $as_echo_n "(cached) " >&6
11880 else
11881 if test "$cross_compiling" = yes; then :
11882 lt_cv_dlopen_self_static=cross
11883 else
11884 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11885 lt_status=$lt_dlunknown
11886 cat > conftest.$ac_ext <<_LT_EOF
11887 #line $LINENO "configure"
11888 #include "confdefs.h"
11889
11890 #if HAVE_DLFCN_H
11891 #include <dlfcn.h>
11892 #endif
11893
11894 #include <stdio.h>
11895
11896 #ifdef RTLD_GLOBAL
11897 # define LT_DLGLOBAL RTLD_GLOBAL
11898 #else
11899 # ifdef DL_GLOBAL
11900 # define LT_DLGLOBAL DL_GLOBAL
11901 # else
11902 # define LT_DLGLOBAL 0
11903 # endif
11904 #endif
11905
11906 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11907 find out it does not work in some platform. */
11908 #ifndef LT_DLLAZY_OR_NOW
11909 # ifdef RTLD_LAZY
11910 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11911 # else
11912 # ifdef DL_LAZY
11913 # define LT_DLLAZY_OR_NOW DL_LAZY
11914 # else
11915 # ifdef RTLD_NOW
11916 # define LT_DLLAZY_OR_NOW RTLD_NOW
11917 # else
11918 # ifdef DL_NOW
11919 # define LT_DLLAZY_OR_NOW DL_NOW
11920 # else
11921 # define LT_DLLAZY_OR_NOW 0
11922 # endif
11923 # endif
11924 # endif
11925 # endif
11926 #endif
11927
11928 /* When -fvisbility=hidden is used, assume the code has been annotated
11929 correspondingly for the symbols needed. */
11930 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11931 int fnord () __attribute__((visibility("default")));
11932 #endif
11933
11934 int fnord () { return 42; }
11935 int main ()
11936 {
11937 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11938 int status = $lt_dlunknown;
11939
11940 if (self)
11941 {
11942 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11943 else
11944 {
11945 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11946 else puts (dlerror ());
11947 }
11948 /* dlclose (self); */
11949 }
11950 else
11951 puts (dlerror ());
11952
11953 return status;
11954 }
11955 _LT_EOF
11956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11957 (eval $ac_link) 2>&5
11958 ac_status=$?
11959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11960 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11961 (./conftest; exit; ) >&5 2>/dev/null
11962 lt_status=$?
11963 case x$lt_status in
11964 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11965 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11966 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11967 esac
11968 else :
11969 # compilation failed
11970 lt_cv_dlopen_self_static=no
11971 fi
11972 fi
11973 rm -fr conftest*
11974
11975
11976 fi
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11978 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11979 fi
11980
11981 CPPFLAGS="$save_CPPFLAGS"
11982 LDFLAGS="$save_LDFLAGS"
11983 LIBS="$save_LIBS"
11984 ;;
11985 esac
11986
11987 case $lt_cv_dlopen_self in
11988 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11989 *) enable_dlopen_self=unknown ;;
11990 esac
11991
11992 case $lt_cv_dlopen_self_static in
11993 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11994 *) enable_dlopen_self_static=unknown ;;
11995 esac
11996 fi
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014 striplib=
12015 old_striplib=
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12017 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12018 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12019 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12020 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12022 $as_echo "yes" >&6; }
12023 else
12024 # FIXME - insert some real tests, host_os isn't really good enough
12025 case $host_os in
12026 darwin*)
12027 if test -n "$STRIP" ; then
12028 striplib="$STRIP -x"
12029 old_striplib="$STRIP -S"
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12031 $as_echo "yes" >&6; }
12032 else
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12034 $as_echo "no" >&6; }
12035 fi
12036 ;;
12037 *)
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12039 $as_echo "no" >&6; }
12040 ;;
12041 esac
12042 fi
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055 # Report which library types will actually be built
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12057 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12059 $as_echo "$can_build_shared" >&6; }
12060
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12062 $as_echo_n "checking whether to build shared libraries... " >&6; }
12063 test "$can_build_shared" = "no" && enable_shared=no
12064
12065 # On AIX, shared libraries and static libraries use the same namespace, and
12066 # are all built from PIC.
12067 case $host_os in
12068 aix3*)
12069 test "$enable_shared" = yes && enable_static=no
12070 if test -n "$RANLIB"; then
12071 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12072 postinstall_cmds='$RANLIB $lib'
12073 fi
12074 ;;
12075
12076 aix[4-9]*)
12077 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12078 test "$enable_shared" = yes && enable_static=no
12079 fi
12080 ;;
12081 esac
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12083 $as_echo "$enable_shared" >&6; }
12084
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12086 $as_echo_n "checking whether to build static libraries... " >&6; }
12087 # Make sure either enable_shared or enable_static is yes.
12088 test "$enable_shared" = yes || enable_static=yes
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12090 $as_echo "$enable_static" >&6; }
12091
12092
12093
12094
12095 fi
12096 ac_ext=c
12097 ac_cpp='$CPP $CPPFLAGS'
12098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12101
12102 CC="$lt_save_CC"
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118 ac_config_commands="$ac_config_commands libtool"
12119
12120
12121
12122
12123 # Only expand once:
12124
12125
12126
12127 if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
12128 STATIC="-static"
12129 else
12130 STATIC=
12131 fi
12132
12133
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12135 $as_echo_n "checking for ANSI C header files... " >&6; }
12136 if ${ac_cv_header_stdc+:} false; then :
12137 $as_echo_n "(cached) " >&6
12138 else
12139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12140 /* end confdefs.h. */
12141 #include <stdlib.h>
12142 #include <stdarg.h>
12143 #include <string.h>
12144 #include <float.h>
12145
12146 int
12147 main ()
12148 {
12149
12150 ;
12151 return 0;
12152 }
12153 _ACEOF
12154 if ac_fn_c_try_compile "$LINENO"; then :
12155 ac_cv_header_stdc=yes
12156 else
12157 ac_cv_header_stdc=no
12158 fi
12159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12160
12161 if test $ac_cv_header_stdc = yes; then
12162 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12165 #include <string.h>
12166
12167 _ACEOF
12168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12169 $EGREP "memchr" >/dev/null 2>&1; then :
12170
12171 else
12172 ac_cv_header_stdc=no
12173 fi
12174 rm -f conftest*
12175
12176 fi
12177
12178 if test $ac_cv_header_stdc = yes; then
12179 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12182 #include <stdlib.h>
12183
12184 _ACEOF
12185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12186 $EGREP "free" >/dev/null 2>&1; then :
12187
12188 else
12189 ac_cv_header_stdc=no
12190 fi
12191 rm -f conftest*
12192
12193 fi
12194
12195 if test $ac_cv_header_stdc = yes; then
12196 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12197 if test "$cross_compiling" = yes; then :
12198 :
12199 else
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #include <ctype.h>
12203 #include <stdlib.h>
12204 #if ((' ' & 0x0FF) == 0x020)
12205 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12206 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12207 #else
12208 # define ISLOWER(c) \
12209 (('a' <= (c) && (c) <= 'i') \
12210 || ('j' <= (c) && (c) <= 'r') \
12211 || ('s' <= (c) && (c) <= 'z'))
12212 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12213 #endif
12214
12215 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12216 int
12217 main ()
12218 {
12219 int i;
12220 for (i = 0; i < 256; i++)
12221 if (XOR (islower (i), ISLOWER (i))
12222 || toupper (i) != TOUPPER (i))
12223 return 2;
12224 return 0;
12225 }
12226 _ACEOF
12227 if ac_fn_c_try_run "$LINENO"; then :
12228
12229 else
12230 ac_cv_header_stdc=no
12231 fi
12232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12233 conftest.$ac_objext conftest.beam conftest.$ac_ext
12234 fi
12235
12236 fi
12237 fi
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12239 $as_echo "$ac_cv_header_stdc" >&6; }
12240 if test $ac_cv_header_stdc = yes; then
12241
12242 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
12243
12244 fi
12245
12246 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12247 if test "x$ac_cv_header_unistd_h" = xyes; then :
12248
12249 fi
12250
12251
12252 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12253 if test "x$ac_cv_header_string_h" = xyes; then :
12254
12255 fi
12256
12257
12258
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12260 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12261 if ${ac_cv_c_const+:} false; then :
12262 $as_echo_n "(cached) " >&6
12263 else
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12266
12267 int
12268 main ()
12269 {
12270
12271 #ifndef __cplusplus
12272 /* Ultrix mips cc rejects this sort of thing. */
12273 typedef int charset[2];
12274 const charset cs = { 0, 0 };
12275 /* SunOS 4.1.1 cc rejects this. */
12276 char const *const *pcpcc;
12277 char **ppc;
12278 /* NEC SVR4.0.2 mips cc rejects this. */
12279 struct point {int x, y;};
12280 static struct point const zero = {0,0};
12281 /* AIX XL C 1.02.0.0 rejects this.
12282 It does not let you subtract one const X* pointer from another in
12283 an arm of an if-expression whose if-part is not a constant
12284 expression */
12285 const char *g = "string";
12286 pcpcc = &g + (g ? g-g : 0);
12287 /* HPUX 7.0 cc rejects these. */
12288 ++pcpcc;
12289 ppc = (char**) pcpcc;
12290 pcpcc = (char const *const *) ppc;
12291 { /* SCO 3.2v4 cc rejects this sort of thing. */
12292 char tx;
12293 char *t = &tx;
12294 char const *s = 0 ? (char *) 0 : (char const *) 0;
12295
12296 *t++ = 0;
12297 if (s) return 0;
12298 }
12299 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12300 int x[] = {25, 17};
12301 const int *foo = &x[0];
12302 ++foo;
12303 }
12304 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12305 typedef const int *iptr;
12306 iptr p = 0;
12307 ++p;
12308 }
12309 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12310 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12311 struct s { int j; const int *ap[3]; } bx;
12312 struct s *b = &bx; b->j = 5;
12313 }
12314 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12315 const int foo = 10;
12316 if (!foo) return 0;
12317 }
12318 return !cs[0] && !zero.x;
12319 #endif
12320
12321 ;
12322 return 0;
12323 }
12324 _ACEOF
12325 if ac_fn_c_try_compile "$LINENO"; then :
12326 ac_cv_c_const=yes
12327 else
12328 ac_cv_c_const=no
12329 fi
12330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12331 fi
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12333 $as_echo "$ac_cv_c_const" >&6; }
12334 if test $ac_cv_c_const = no; then
12335
12336 $as_echo "@%:@define const /**/" >>confdefs.h
12337
12338 fi
12339
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12341 $as_echo_n "checking for inline... " >&6; }
12342 if ${ac_cv_c_inline+:} false; then :
12343 $as_echo_n "(cached) " >&6
12344 else
12345 ac_cv_c_inline=no
12346 for ac_kw in inline __inline__ __inline; do
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12349 #ifndef __cplusplus
12350 typedef int foo_t;
12351 static $ac_kw foo_t static_foo () {return 0; }
12352 $ac_kw foo_t foo () {return 0; }
12353 #endif
12354
12355 _ACEOF
12356 if ac_fn_c_try_compile "$LINENO"; then :
12357 ac_cv_c_inline=$ac_kw
12358 fi
12359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12360 test "$ac_cv_c_inline" != no && break
12361 done
12362
12363 fi
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12365 $as_echo "$ac_cv_c_inline" >&6; }
12366
12367 case $ac_cv_c_inline in
12368 inline | yes) ;;
12369 *)
12370 case $ac_cv_c_inline in
12371 no) ac_val=;;
12372 *) ac_val=$ac_cv_c_inline;;
12373 esac
12374 cat >>confdefs.h <<_ACEOF
12375 #ifndef __cplusplus
12376 #define inline $ac_val
12377 #endif
12378 _ACEOF
12379 ;;
12380 esac
12381
12382 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12383 if test "x$ac_cv_type_off_t" = xyes; then :
12384
12385 else
12386
12387 cat >>confdefs.h <<_ACEOF
12388 @%:@define off_t long int
12389 _ACEOF
12390
12391 fi
12392
12393 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12394 if test "x$ac_cv_type_size_t" = xyes; then :
12395
12396 else
12397
12398 cat >>confdefs.h <<_ACEOF
12399 @%:@define size_t unsigned int
12400 _ACEOF
12401
12402 fi
12403
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12405 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12406 if ${ac_cv_c_bigendian+:} false; then :
12407 $as_echo_n "(cached) " >&6
12408 else
12409 ac_cv_c_bigendian=unknown
12410 # See if we're dealing with a universal compiler.
12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12413 #ifndef __APPLE_CC__
12414 not a universal capable compiler
12415 #endif
12416 typedef int dummy;
12417
12418 _ACEOF
12419 if ac_fn_c_try_compile "$LINENO"; then :
12420
12421 # Check for potential -arch flags. It is not universal unless
12422 # there are at least two -arch flags with different values.
12423 ac_arch=
12424 ac_prev=
12425 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12426 if test -n "$ac_prev"; then
12427 case $ac_word in
12428 i?86 | x86_64 | ppc | ppc64)
12429 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12430 ac_arch=$ac_word
12431 else
12432 ac_cv_c_bigendian=universal
12433 break
12434 fi
12435 ;;
12436 esac
12437 ac_prev=
12438 elif test "x$ac_word" = "x-arch"; then
12439 ac_prev=arch
12440 fi
12441 done
12442 fi
12443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12444 if test $ac_cv_c_bigendian = unknown; then
12445 # See if sys/param.h defines the BYTE_ORDER macro.
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12448 #include <sys/types.h>
12449 #include <sys/param.h>
12450
12451 int
12452 main ()
12453 {
12454 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12455 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12456 && LITTLE_ENDIAN)
12457 bogus endian macros
12458 #endif
12459
12460 ;
12461 return 0;
12462 }
12463 _ACEOF
12464 if ac_fn_c_try_compile "$LINENO"; then :
12465 # It does; now see whether it defined to BIG_ENDIAN or not.
12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12468 #include <sys/types.h>
12469 #include <sys/param.h>
12470
12471 int
12472 main ()
12473 {
12474 #if BYTE_ORDER != BIG_ENDIAN
12475 not big endian
12476 #endif
12477
12478 ;
12479 return 0;
12480 }
12481 _ACEOF
12482 if ac_fn_c_try_compile "$LINENO"; then :
12483 ac_cv_c_bigendian=yes
12484 else
12485 ac_cv_c_bigendian=no
12486 fi
12487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12488 fi
12489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12490 fi
12491 if test $ac_cv_c_bigendian = unknown; then
12492 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12495 #include <limits.h>
12496
12497 int
12498 main ()
12499 {
12500 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12501 bogus endian macros
12502 #endif
12503
12504 ;
12505 return 0;
12506 }
12507 _ACEOF
12508 if ac_fn_c_try_compile "$LINENO"; then :
12509 # It does; now see whether it defined to _BIG_ENDIAN or not.
12510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12511 /* end confdefs.h. */
12512 #include <limits.h>
12513
12514 int
12515 main ()
12516 {
12517 #ifndef _BIG_ENDIAN
12518 not big endian
12519 #endif
12520
12521 ;
12522 return 0;
12523 }
12524 _ACEOF
12525 if ac_fn_c_try_compile "$LINENO"; then :
12526 ac_cv_c_bigendian=yes
12527 else
12528 ac_cv_c_bigendian=no
12529 fi
12530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12531 fi
12532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12533 fi
12534 if test $ac_cv_c_bigendian = unknown; then
12535 # Compile a test program.
12536 if test "$cross_compiling" = yes; then :
12537 # Try to guess by grepping values from an object file.
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12540 short int ascii_mm[] =
12541 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12542 short int ascii_ii[] =
12543 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12544 int use_ascii (int i) {
12545 return ascii_mm[i] + ascii_ii[i];
12546 }
12547 short int ebcdic_ii[] =
12548 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12549 short int ebcdic_mm[] =
12550 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12551 int use_ebcdic (int i) {
12552 return ebcdic_mm[i] + ebcdic_ii[i];
12553 }
12554 extern int foo;
12555
12556 int
12557 main ()
12558 {
12559 return use_ascii (foo) == use_ebcdic (foo);
12560 ;
12561 return 0;
12562 }
12563 _ACEOF
12564 if ac_fn_c_try_compile "$LINENO"; then :
12565 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12566 ac_cv_c_bigendian=yes
12567 fi
12568 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12569 if test "$ac_cv_c_bigendian" = unknown; then
12570 ac_cv_c_bigendian=no
12571 else
12572 # finding both strings is unlikely to happen, but who knows?
12573 ac_cv_c_bigendian=unknown
12574 fi
12575 fi
12576 fi
12577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578 else
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12581 $ac_includes_default
12582 int
12583 main ()
12584 {
12585
12586 /* Are we little or big endian? From Harbison&Steele. */
12587 union
12588 {
12589 long int l;
12590 char c[sizeof (long int)];
12591 } u;
12592 u.l = 1;
12593 return u.c[sizeof (long int) - 1] == 1;
12594
12595 ;
12596 return 0;
12597 }
12598 _ACEOF
12599 if ac_fn_c_try_run "$LINENO"; then :
12600 ac_cv_c_bigendian=no
12601 else
12602 ac_cv_c_bigendian=yes
12603 fi
12604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12605 conftest.$ac_objext conftest.beam conftest.$ac_ext
12606 fi
12607
12608 fi
12609 fi
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12611 $as_echo "$ac_cv_c_bigendian" >&6; }
12612 case $ac_cv_c_bigendian in #(
12613 yes)
12614 $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
12615 ;; #(
12616 no)
12617 ;; #(
12618 universal)
12619
12620 $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12621
12622 ;; #(
12623 *)
12624 as_fn_error $? "unknown endianness
12625 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12626 esac
12627
12628
12629 case $host in
12630 *mingw32* | *cygwin*)
12631 for ac_func in gettimeofday
12632 do :
12633 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
12634 if test "x$ac_cv_func_gettimeofday" = xyes; then :
12635 cat >>confdefs.h <<_ACEOF
12636 @%:@define HAVE_GETTIMEOFDAY 1
12637 _ACEOF
12638
12639 fi
12640 done
12641
12642 ;;
12643 *)
12644 ;;
12645 esac
12646
12647 @%:@ Check whether --enable-libdvdcss was given.
12648 if test "${enable_libdvdcss+set}" = set; then :
12649 enableval=$enable_libdvdcss;
12650 fi
12651
12652
12653 @%:@ Check whether --enable-dlfcn was given.
12654 if test "${enable_dlfcn+set}" = set; then :
12655 enableval=$enable_dlfcn; use_builtin_dlfcn=$enableval
12656 else
12657 use_builtin_dlfcn=no
12658 fi
12659
12660
12661 if [ $use_builtin_dlfcn = "yes" ]; then
12662
12663 $as_echo "@%:@define USING_BUILTIN_DLFCN 1" >>confdefs.h
12664
12665 fi
12666
12667 CSS_LIBS=""
12668 if test x"$enable_libdvdcss" != xyes; then
12669 case $host in
12670 *mingw32*)
12671 if [ $use_builtin_dlfcn = "no" ]; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
12673 $as_echo_n "checking for dlopen in -lc... " >&6; }
12674 if ${ac_cv_lib_c_dlopen+:} false; then :
12675 $as_echo_n "(cached) " >&6
12676 else
12677 ac_check_lib_save_LIBS=$LIBS
12678 LIBS="-lc $LIBS"
12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12681
12682 /* Override any GCC internal prototype to avoid an error.
12683 Use char because int might match the return type of a GCC
12684 builtin and then its argument prototype would still apply. */
12685 #ifdef __cplusplus
12686 extern "C"
12687 #endif
12688 char dlopen ();
12689 int
12690 main ()
12691 {
12692 return dlopen ();
12693 ;
12694 return 0;
12695 }
12696 _ACEOF
12697 if ac_fn_c_try_link "$LINENO"; then :
12698 ac_cv_lib_c_dlopen=yes
12699 else
12700 ac_cv_lib_c_dlopen=no
12701 fi
12702 rm -f core conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_lib_save_LIBS
12705 fi
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
12707 $as_echo "$ac_cv_lib_c_dlopen" >&6; }
12708 if test "x$ac_cv_lib_c_dlopen" = xyes; then :
12709 DYNAMIC_LD_LIBS=""
12710 else
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12712 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12713 if ${ac_cv_lib_dl_dlopen+:} false; then :
12714 $as_echo_n "(cached) " >&6
12715 else
12716 ac_check_lib_save_LIBS=$LIBS
12717 LIBS="-ldl $LIBS"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12720
12721 /* Override any GCC internal prototype to avoid an error.
12722 Use char because int might match the return type of a GCC
12723 builtin and then its argument prototype would still apply. */
12724 #ifdef __cplusplus
12725 extern "C"
12726 #endif
12727 char dlopen ();
12728 int
12729 main ()
12730 {
12731 return dlopen ();
12732 ;
12733 return 0;
12734 }
12735 _ACEOF
12736 if ac_fn_c_try_link "$LINENO"; then :
12737 ac_cv_lib_dl_dlopen=yes
12738 else
12739 ac_cv_lib_dl_dlopen=no
12740 fi
12741 rm -f core conftest.err conftest.$ac_objext \
12742 conftest$ac_exeext conftest.$ac_ext
12743 LIBS=$ac_check_lib_save_LIBS
12744 fi
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12746 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12747 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12748 DYNAMIC_LD_LIBS="-ldl"
12749 else
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using builtin dlopen" >&5
12751 $as_echo "$as_me: WARNING: Using builtin dlopen" >&2;}
12752 fi
12753
12754 fi
12755
12756
12757 fi
12758 LDFLAGS="-no-undefined $LDFLAGS"
12759 ;;
12760 *cygwin*)
12761 LDFLAGS="-no-undefined $LDFLAGS"
12762 ;;
12763 *os2*)
12764 LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
12765 ;;
12766 *)
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
12768 $as_echo_n "checking for dlopen in -lc... " >&6; }
12769 if ${ac_cv_lib_c_dlopen+:} false; then :
12770 $as_echo_n "(cached) " >&6
12771 else
12772 ac_check_lib_save_LIBS=$LIBS
12773 LIBS="-lc $LIBS"
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12776
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12780 #ifdef __cplusplus
12781 extern "C"
12782 #endif
12783 char dlopen ();
12784 int
12785 main ()
12786 {
12787 return dlopen ();
12788 ;
12789 return 0;
12790 }
12791 _ACEOF
12792 if ac_fn_c_try_link "$LINENO"; then :
12793 ac_cv_lib_c_dlopen=yes
12794 else
12795 ac_cv_lib_c_dlopen=no
12796 fi
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 LIBS=$ac_check_lib_save_LIBS
12800 fi
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
12802 $as_echo "$ac_cv_lib_c_dlopen" >&6; }
12803 if test "x$ac_cv_lib_c_dlopen" = xyes; then :
12804 DYNAMIC_LD_LIBS=""
12805 else
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12807 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12808 if ${ac_cv_lib_dl_dlopen+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 ac_check_lib_save_LIBS=$LIBS
12812 LIBS="-ldl $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12815
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 #ifdef __cplusplus
12820 extern "C"
12821 #endif
12822 char dlopen ();
12823 int
12824 main ()
12825 {
12826 return dlopen ();
12827 ;
12828 return 0;
12829 }
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 ac_cv_lib_dl_dlopen=yes
12833 else
12834 ac_cv_lib_dl_dlopen=no
12835 fi
12836 rm -f core conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 LIBS=$ac_check_lib_save_LIBS
12839 fi
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12841 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12842 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12843 DYNAMIC_LD_LIBS="-ldl"
12844 else
12845 as_fn_error $? "dynamic linker needed" "$LINENO" 5
12846 fi
12847
12848 fi
12849
12850
12851 ;;
12852 esac
12853 else
12854 CSS_LIBS=-ldvdcss
12855 case "${host}" in
12856 *darwin*) CSS_LIBS="${CSS_LIBS} -Wl,-framework,CoreFoundation -Wl,-framework,IOKit"
12857 ;;
12858 esac
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dvdcss_interface_2 in -ldvdcss" >&5
12860 $as_echo_n "checking for dvdcss_interface_2 in -ldvdcss... " >&6; }
12861 if ${ac_cv_lib_dvdcss_dvdcss_interface_2+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_lib_save_LIBS=$LIBS
12865 LIBS="-ldvdcss $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12868
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char dvdcss_interface_2 ();
12876 int
12877 main ()
12878 {
12879 return dvdcss_interface_2 ();
12880 ;
12881 return 0;
12882 }
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 ac_cv_lib_dvdcss_dvdcss_interface_2=yes
12886 else
12887 ac_cv_lib_dvdcss_dvdcss_interface_2=no
12888 fi
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_lib_save_LIBS
12892 fi
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dvdcss_dvdcss_interface_2" >&5
12894 $as_echo "$ac_cv_lib_dvdcss_dvdcss_interface_2" >&6; }
12895 if test "x$ac_cv_lib_dvdcss_dvdcss_interface_2" = xyes; then :
12896 cat >>confdefs.h <<_ACEOF
12897 @%:@define HAVE_LIBDVDCSS 1
12898 _ACEOF
12899
12900 LIBS="-ldvdcss $LIBS"
12901
12902 else
12903 as_fn_error $? "You need libdvdcss.so.2 or later" "$LINENO" 5
12904 fi
12905
12906 for ac_header in dvdcss/dvdcss.h
12907 do :
12908 ac_fn_c_check_header_mongrel "$LINENO" "dvdcss/dvdcss.h" "ac_cv_header_dvdcss_dvdcss_h" "$ac_includes_default"
12909 if test "x$ac_cv_header_dvdcss_dvdcss_h" = xyes; then :
12910 cat >>confdefs.h <<_ACEOF
12911 @%:@define HAVE_DVDCSS_DVDCSS_H 1
12912 _ACEOF
12913
12914 else
12915 as_fn_error $? "You need libdvdcss (dvdcss.h)" "$LINENO" 5
12916 fi
12917
12918 done
12919
12920 fi
12921
12922
12923
12924
12925 CFLAGS="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $CFLAGS"
12926 DEBUG_CFLAGS="-g -DDEBUG $CFLAGS"
12927
12928
12929
12930 # Extract the first word of "doxygen", so it can be a program name with args.
12931 set dummy doxygen; ac_word=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12933 $as_echo_n "checking for $ac_word... " >&6; }
12934 if ${ac_cv_prog_DOXYGEN+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 if test -n "$DOXYGEN"; then
12938 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
12939 else
12940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12941 for as_dir in $PATH
12942 do
12943 IFS=$as_save_IFS
12944 test -z "$as_dir" && as_dir=.
12945 for ac_exec_ext in '' $ac_executable_extensions; do
12946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12947 ac_cv_prog_DOXYGEN="doxygen"
12948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12949 break 2
12950 fi
12951 done
12952 done
12953 IFS=$as_save_IFS
12954
12955 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
12956 fi
12957 fi
12958 DOXYGEN=$ac_cv_prog_DOXYGEN
12959 if test -n "$DOXYGEN"; then
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
12961 $as_echo "$DOXYGEN" >&6; }
12962 else
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964 $as_echo "no" >&6; }
12965 fi
12966
12967
12968
12969 INCLUDES='-I$(top_srcdir) $(DVDREAD_CFLAGS)'
12970
12971
12972 ac_config_files="$ac_config_files Makefile src/Makefile misc/Makefile misc/dvdread-config misc/dvdread.pc misc/libdvdread.spec misc/relchk.sh m4/Makefile"
12973
12974 cat >confcache <<\_ACEOF
12975 # This file is a shell script that caches the results of configure
12976 # tests run on this system so they can be shared between configure
12977 # scripts and configure runs, see configure's option --config-cache.
12978 # It is not useful on other systems. If it contains results you don't
12979 # want to keep, you may remove or edit it.
12980 #
12981 # config.status only pays attention to the cache file if you give it
12982 # the --recheck option to rerun configure.
12983 #
12984 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12985 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12986 # following values.
12987
12988 _ACEOF
12989
12990 # The following way of writing the cache mishandles newlines in values,
12991 # but we know of no workaround that is simple, portable, and efficient.
12992 # So, we kill variables containing newlines.
12993 # Ultrix sh set writes to stderr and can't be redirected directly,
12994 # and sets the high bit in the cache file unless we assign to the vars.
12995 (
12996 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12997 eval ac_val=\$$ac_var
12998 case $ac_val in #(
12999 *${as_nl}*)
13000 case $ac_var in #(
13001 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13002 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13003 esac
13004 case $ac_var in #(
13005 _ | IFS | as_nl) ;; #(
13006 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13007 *) { eval $ac_var=; unset $ac_var;} ;;
13008 esac ;;
13009 esac
13010 done
13011
13012 (set) 2>&1 |
13013 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13014 *${as_nl}ac_space=\ *)
13015 # `set' does not quote correctly, so add quotes: double-quote
13016 # substitution turns \\\\ into \\, and sed turns \\ into \.
13017 sed -n \
13018 "s/'/'\\\\''/g;
13019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13020 ;; #(
13021 *)
13022 # `set' quotes correctly as required by POSIX, so do not add quotes.
13023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13024 ;;
13025 esac |
13026 sort
13027 ) |
13028 sed '
13029 /^ac_cv_env_/b end
13030 t clear
13031 :clear
13032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13033 t end
13034 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13035 :end' >>confcache
13036 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13037 if test -w "$cache_file"; then
13038 if test "x$cache_file" != "x/dev/null"; then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13040 $as_echo "$as_me: updating cache $cache_file" >&6;}
13041 if test ! -f "$cache_file" || test -h "$cache_file"; then
13042 cat confcache >"$cache_file"
13043 else
13044 case $cache_file in #(
13045 */* | ?:*)
13046 mv -f confcache "$cache_file"$$ &&
13047 mv -f "$cache_file"$$ "$cache_file" ;; #(
13048 *)
13049 mv -f confcache "$cache_file" ;;
13050 esac
13051 fi
13052 fi
13053 else
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13055 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13056 fi
13057 fi
13058 rm -f confcache
13059
13060 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13061 # Let make expand exec_prefix.
13062 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13063
13064 DEFS=-DHAVE_CONFIG_H
13065
13066 ac_libobjs=
13067 ac_ltlibobjs=
13068 U=
13069 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
13070 # 1. Remove the extension, and $U if already installed.
13071 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13072 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13073 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13074 # will be set to the directory where LIBOBJS objects are built.
13075 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13076 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13077 done
13078 LIB@&t@OBJS=$ac_libobjs
13079
13080 LTLIBOBJS=$ac_ltlibobjs
13081
13082
13083 if test -n "$EXEEXT"; then
13084 am__EXEEXT_TRUE=
13085 am__EXEEXT_FALSE='#'
13086 else
13087 am__EXEEXT_TRUE='#'
13088 am__EXEEXT_FALSE=
13089 fi
13090
13091 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13092 as_fn_error $? "conditional \"AMDEP\" was never defined.
13093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13094 fi
13095 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13096 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13098 fi
13099 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13100 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13102 fi
13103
13104
13105 : "${CONFIG_STATUS=./config.status}"
13106 ac_write_fail=0
13107 ac_clean_files_save=$ac_clean_files
13108 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13110 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13111 as_write_fail=0
13112 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13113 #! $SHELL
13114 # Generated by $as_me.
13115 # Run this file to recreate the current configuration.
13116 # Compiler output produced by configure, useful for debugging
13117 # configure, is in config.log if it exists.
13118
13119 debug=false
13120 ac_cs_recheck=false
13121 ac_cs_silent=false
13122
13123 SHELL=\${CONFIG_SHELL-$SHELL}
13124 export SHELL
13125 _ASEOF
13126 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13127 ## -------------------- ##
13128 ## M4sh Initialization. ##
13129 ## -------------------- ##
13130
13131 # Be more Bourne compatible
13132 DUALCASE=1; export DUALCASE # for MKS sh
13133 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13134 emulate sh
13135 NULLCMD=:
13136 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13137 # is contrary to our usage. Disable this feature.
13138 alias -g '${1+"$@"}'='"$@"'
13139 setopt NO_GLOB_SUBST
13140 else
13141 case `(set -o) 2>/dev/null` in @%:@(
13142 *posix*) :
13143 set -o posix ;; @%:@(
13144 *) :
13145 ;;
13146 esac
13147 fi
13148
13149
13150 as_nl='
13151 '
13152 export as_nl
13153 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13154 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13155 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13157 # Prefer a ksh shell builtin over an external printf program on Solaris,
13158 # but without wasting forks for bash or zsh.
13159 if test -z "$BASH_VERSION$ZSH_VERSION" \
13160 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13161 as_echo='print -r --'
13162 as_echo_n='print -rn --'
13163 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13164 as_echo='printf %s\n'
13165 as_echo_n='printf %s'
13166 else
13167 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13168 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13169 as_echo_n='/usr/ucb/echo -n'
13170 else
13171 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13172 as_echo_n_body='eval
13173 arg=$1;
13174 case $arg in @%:@(
13175 *"$as_nl"*)
13176 expr "X$arg" : "X\\(.*\\)$as_nl";
13177 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13178 esac;
13179 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13180 '
13181 export as_echo_n_body
13182 as_echo_n='sh -c $as_echo_n_body as_echo'
13183 fi
13184 export as_echo_body
13185 as_echo='sh -c $as_echo_body as_echo'
13186 fi
13187
13188 # The user is always right.
13189 if test "${PATH_SEPARATOR+set}" != set; then
13190 PATH_SEPARATOR=:
13191 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13192 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13193 PATH_SEPARATOR=';'
13194 }
13195 fi
13196
13197
13198 # IFS
13199 # We need space, tab and new line, in precisely that order. Quoting is
13200 # there to prevent editors from complaining about space-tab.
13201 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13202 # splitting by setting IFS to empty value.)
13203 IFS=" "" $as_nl"
13204
13205 # Find who we are. Look in the path if we contain no directory separator.
13206 as_myself=
13207 case $0 in @%:@((
13208 *[\\/]* ) as_myself=$0 ;;
13209 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13210 for as_dir in $PATH
13211 do
13212 IFS=$as_save_IFS
13213 test -z "$as_dir" && as_dir=.
13214 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13215 done
13216 IFS=$as_save_IFS
13217
13218 ;;
13219 esac
13220 # We did not find ourselves, most probably we were run as `sh COMMAND'
13221 # in which case we are not to be found in the path.
13222 if test "x$as_myself" = x; then
13223 as_myself=$0
13224 fi
13225 if test ! -f "$as_myself"; then
13226 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13227 exit 1
13228 fi
13229
13230 # Unset variables that we do not need and which cause bugs (e.g. in
13231 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13232 # suppresses any "Segmentation fault" message there. '((' could
13233 # trigger a bug in pdksh 5.2.14.
13234 for as_var in BASH_ENV ENV MAIL MAILPATH
13235 do eval test x\${$as_var+set} = xset \
13236 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13237 done
13238 PS1='$ '
13239 PS2='> '
13240 PS4='+ '
13241
13242 # NLS nuisances.
13243 LC_ALL=C
13244 export LC_ALL
13245 LANGUAGE=C
13246 export LANGUAGE
13247
13248 # CDPATH.
13249 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13250
13251
13252 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
13253 @%:@ ----------------------------------------
13254 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13255 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13256 @%:@ script with STATUS, using 1 if that was 0.
13257 as_fn_error ()
13258 {
13259 as_status=$1; test $as_status -eq 0 && as_status=1
13260 if test "$4"; then
13261 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13262 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13263 fi
13264 $as_echo "$as_me: error: $2" >&2
13265 as_fn_exit $as_status
13266 } @%:@ as_fn_error
13267
13268
13269 @%:@ as_fn_set_status STATUS
13270 @%:@ -----------------------
13271 @%:@ Set @S|@? to STATUS, without forking.
13272 as_fn_set_status ()
13273 {
13274 return $1
13275 } @%:@ as_fn_set_status
13276
13277 @%:@ as_fn_exit STATUS
13278 @%:@ -----------------
13279 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13280 as_fn_exit ()
13281 {
13282 set +e
13283 as_fn_set_status $1
13284 exit $1
13285 } @%:@ as_fn_exit
13286
13287 @%:@ as_fn_unset VAR
13288 @%:@ ---------------
13289 @%:@ Portably unset VAR.
13290 as_fn_unset ()
13291 {
13292 { eval $1=; unset $1;}
13293 }
13294 as_unset=as_fn_unset
13295 @%:@ as_fn_append VAR VALUE
13296 @%:@ ----------------------
13297 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
13298 @%:@ advantage of any shell optimizations that allow amortized linear growth over
13299 @%:@ repeated appends, instead of the typical quadratic growth present in naive
13300 @%:@ implementations.
13301 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13302 eval 'as_fn_append ()
13303 {
13304 eval $1+=\$2
13305 }'
13306 else
13307 as_fn_append ()
13308 {
13309 eval $1=\$$1\$2
13310 }
13311 fi # as_fn_append
13312
13313 @%:@ as_fn_arith ARG...
13314 @%:@ ------------------
13315 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
13316 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
13317 @%:@ must be portable across @S|@(()) and expr.
13318 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13319 eval 'as_fn_arith ()
13320 {
13321 as_val=$(( $* ))
13322 }'
13323 else
13324 as_fn_arith ()
13325 {
13326 as_val=`expr "$@" || test $? -eq 1`
13327 }
13328 fi # as_fn_arith
13329
13330
13331 if expr a : '\(a\)' >/dev/null 2>&1 &&
13332 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13333 as_expr=expr
13334 else
13335 as_expr=false
13336 fi
13337
13338 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13339 as_basename=basename
13340 else
13341 as_basename=false
13342 fi
13343
13344 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13345 as_dirname=dirname
13346 else
13347 as_dirname=false
13348 fi
13349
13350 as_me=`$as_basename -- "$0" ||
13351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13352 X"$0" : 'X\(//\)$' \| \
13353 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13354 $as_echo X/"$0" |
13355 sed '/^.*\/\([^/][^/]*\)\/*$/{
13356 s//\1/
13357 q
13358 }
13359 /^X\/\(\/\/\)$/{
13360 s//\1/
13361 q
13362 }
13363 /^X\/\(\/\).*/{
13364 s//\1/
13365 q
13366 }
13367 s/.*/./; q'`
13368
13369 # Avoid depending upon Character Ranges.
13370 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13371 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13372 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13373 as_cr_digits='0123456789'
13374 as_cr_alnum=$as_cr_Letters$as_cr_digits
13375
13376 ECHO_C= ECHO_N= ECHO_T=
13377 case `echo -n x` in @%:@(((((
13378 -n*)
13379 case `echo 'xy\c'` in
13380 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13381 xy) ECHO_C='\c';;
13382 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13383 ECHO_T=' ';;
13384 esac;;
13385 *)
13386 ECHO_N='-n';;
13387 esac
13388
13389 rm -f conf$$ conf$$.exe conf$$.file
13390 if test -d conf$$.dir; then
13391 rm -f conf$$.dir/conf$$.file
13392 else
13393 rm -f conf$$.dir
13394 mkdir conf$$.dir 2>/dev/null
13395 fi
13396 if (echo >conf$$.file) 2>/dev/null; then
13397 if ln -s conf$$.file conf$$ 2>/dev/null; then
13398 as_ln_s='ln -s'
13399 # ... but there are two gotchas:
13400 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13401 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13402 # In both cases, we have to default to `cp -pR'.
13403 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13404 as_ln_s='cp -pR'
13405 elif ln conf$$.file conf$$ 2>/dev/null; then
13406 as_ln_s=ln
13407 else
13408 as_ln_s='cp -pR'
13409 fi
13410 else
13411 as_ln_s='cp -pR'
13412 fi
13413 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13414 rmdir conf$$.dir 2>/dev/null
13415
13416
13417 @%:@ as_fn_mkdir_p
13418 @%:@ -------------
13419 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
13420 as_fn_mkdir_p ()
13421 {
13422
13423 case $as_dir in #(
13424 -*) as_dir=./$as_dir;;
13425 esac
13426 test -d "$as_dir" || eval $as_mkdir_p || {
13427 as_dirs=
13428 while :; do
13429 case $as_dir in #(
13430 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13431 *) as_qdir=$as_dir;;
13432 esac
13433 as_dirs="'$as_qdir' $as_dirs"
13434 as_dir=`$as_dirname -- "$as_dir" ||
13435 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13436 X"$as_dir" : 'X\(//\)[^/]' \| \
13437 X"$as_dir" : 'X\(//\)$' \| \
13438 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13439 $as_echo X"$as_dir" |
13440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13441 s//\1/
13442 q
13443 }
13444 /^X\(\/\/\)[^/].*/{
13445 s//\1/
13446 q
13447 }
13448 /^X\(\/\/\)$/{
13449 s//\1/
13450 q
13451 }
13452 /^X\(\/\).*/{
13453 s//\1/
13454 q
13455 }
13456 s/.*/./; q'`
13457 test -d "$as_dir" && break
13458 done
13459 test -z "$as_dirs" || eval "mkdir $as_dirs"
13460 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13461
13462
13463 } @%:@ as_fn_mkdir_p
13464 if mkdir -p . 2>/dev/null; then
13465 as_mkdir_p='mkdir -p "$as_dir"'
13466 else
13467 test -d ./-p && rmdir ./-p
13468 as_mkdir_p=false
13469 fi
13470
13471
13472 @%:@ as_fn_executable_p FILE
13473 @%:@ -----------------------
13474 @%:@ Test if FILE is an executable regular file.
13475 as_fn_executable_p ()
13476 {
13477 test -f "$1" && test -x "$1"
13478 } @%:@ as_fn_executable_p
13479 as_test_x='test -x'
13480 as_executable_p=as_fn_executable_p
13481
13482 # Sed expression to map a string onto a valid CPP name.
13483 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13484
13485 # Sed expression to map a string onto a valid variable name.
13486 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13487
13488
13489 exec 6>&1
13490 ## ----------------------------------- ##
13491 ## Main body of $CONFIG_STATUS script. ##
13492 ## ----------------------------------- ##
13493 _ASEOF
13494 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13495
13496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13497 # Save the log message, to keep $0 and so on meaningful, and to
13498 # report actual input values of CONFIG_FILES etc. instead of their
13499 # values after options handling.
13500 ac_log="
13501 This file was extended by libdvdread $as_me 4.2.0, which was
13502 generated by GNU Autoconf 2.69. Invocation command line was
13503
13504 CONFIG_FILES = $CONFIG_FILES
13505 CONFIG_HEADERS = $CONFIG_HEADERS
13506 CONFIG_LINKS = $CONFIG_LINKS
13507 CONFIG_COMMANDS = $CONFIG_COMMANDS
13508 $ $0 $@
13509
13510 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13511 "
13512
13513 _ACEOF
13514
13515 case $ac_config_files in *"
13516 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13517 esac
13518
13519 case $ac_config_headers in *"
13520 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13521 esac
13522
13523
13524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13525 # Files that config.status was made for.
13526 config_files="$ac_config_files"
13527 config_headers="$ac_config_headers"
13528 config_commands="$ac_config_commands"
13529
13530 _ACEOF
13531
13532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13533 ac_cs_usage="\
13534 \`$as_me' instantiates files and other configuration actions
13535 from templates according to the current configuration. Unless the files
13536 and actions are specified as TAGs, all are instantiated by default.
13537
13538 Usage: $0 [OPTION]... [TAG]...
13539
13540 -h, --help print this help, then exit
13541 -V, --version print version number and configuration settings, then exit
13542 --config print configuration, then exit
13543 -q, --quiet, --silent
13544 do not print progress messages
13545 -d, --debug don't remove temporary files
13546 --recheck update $as_me by reconfiguring in the same conditions
13547 --file=FILE[:TEMPLATE]
13548 instantiate the configuration file FILE
13549 --header=FILE[:TEMPLATE]
13550 instantiate the configuration header FILE
13551
13552 Configuration files:
13553 $config_files
13554
13555 Configuration headers:
13556 $config_headers
13557
13558 Configuration commands:
13559 $config_commands
13560
13561 Report bugs to the package provider."
13562
13563 _ACEOF
13564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13565 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13566 ac_cs_version="\\
13567 libdvdread config.status 4.2.0
13568 configured by $0, generated by GNU Autoconf 2.69,
13569 with options \\"\$ac_cs_config\\"
13570
13571 Copyright (C) 2012 Free Software Foundation, Inc.
13572 This config.status script is free software; the Free Software Foundation
13573 gives unlimited permission to copy, distribute and modify it."
13574
13575 ac_pwd='$ac_pwd'
13576 srcdir='$srcdir'
13577 INSTALL='$INSTALL'
13578 MKDIR_P='$MKDIR_P'
13579 AWK='$AWK'
13580 test -n "\$AWK" || AWK=awk
13581 _ACEOF
13582
13583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13584 # The default lists apply if the user does not specify any file.
13585 ac_need_defaults=:
13586 while test $# != 0
13587 do
13588 case $1 in
13589 --*=?*)
13590 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13591 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13592 ac_shift=:
13593 ;;
13594 --*=)
13595 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13596 ac_optarg=
13597 ac_shift=:
13598 ;;
13599 *)
13600 ac_option=$1
13601 ac_optarg=$2
13602 ac_shift=shift
13603 ;;
13604 esac
13605
13606 case $ac_option in
13607 # Handling of the options.
13608 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13609 ac_cs_recheck=: ;;
13610 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13611 $as_echo "$ac_cs_version"; exit ;;
13612 --config | --confi | --conf | --con | --co | --c )
13613 $as_echo "$ac_cs_config"; exit ;;
13614 --debug | --debu | --deb | --de | --d | -d )
13615 debug=: ;;
13616 --file | --fil | --fi | --f )
13617 $ac_shift
13618 case $ac_optarg in
13619 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13620 '') as_fn_error $? "missing file argument" ;;
13621 esac
13622 as_fn_append CONFIG_FILES " '$ac_optarg'"
13623 ac_need_defaults=false;;
13624 --header | --heade | --head | --hea )
13625 $ac_shift
13626 case $ac_optarg in
13627 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13628 esac
13629 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13630 ac_need_defaults=false;;
13631 --he | --h)
13632 # Conflict between --help and --header
13633 as_fn_error $? "ambiguous option: \`$1'
13634 Try \`$0 --help' for more information.";;
13635 --help | --hel | -h )
13636 $as_echo "$ac_cs_usage"; exit ;;
13637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13638 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13639 ac_cs_silent=: ;;
13640
13641 # This is an error.
13642 -*) as_fn_error $? "unrecognized option: \`$1'
13643 Try \`$0 --help' for more information." ;;
13644
13645 *) as_fn_append ac_config_targets " $1"
13646 ac_need_defaults=false ;;
13647
13648 esac
13649 shift
13650 done
13651
13652 ac_configure_extra_args=
13653
13654 if $ac_cs_silent; then
13655 exec 6>/dev/null
13656 ac_configure_extra_args="$ac_configure_extra_args --silent"
13657 fi
13658
13659 _ACEOF
13660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13661 if \$ac_cs_recheck; then
13662 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13663 shift
13664 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13665 CONFIG_SHELL='$SHELL'
13666 export CONFIG_SHELL
13667 exec "\$@"
13668 fi
13669
13670 _ACEOF
13671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13672 exec 5>>config.log
13673 {
13674 echo
13675 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
13676 @%:@@%:@ Running $as_me. @%:@@%:@
13677 _ASBOX
13678 $as_echo "$ac_log"
13679 } >&5
13680
13681 _ACEOF
13682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13683 #
13684 # INIT-COMMANDS
13685 #
13686 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13687
13688
13689 # The HP-UX ksh and POSIX shell print the target directory to stdout
13690 # if CDPATH is set.
13691 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13692
13693 sed_quote_subst='$sed_quote_subst'
13694 double_quote_subst='$double_quote_subst'
13695 delay_variable_subst='$delay_variable_subst'
13696 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13697 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13698 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13699 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13700 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13701 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13702 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13703 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13704 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13705 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13706 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13707 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13708 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13709 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13710 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13711 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13712 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13713 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13714 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13715 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13716 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13717 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13718 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13719 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13720 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13721 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13722 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13723 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13724 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13725 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13726 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13727 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13728 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13729 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13730 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13731 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13732 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13733 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13734 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13735 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13736 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13737 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13738 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13739 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13740 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13741 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13742 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13743 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13744 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13745 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13746 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13747 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13748 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13749 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13750 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13751 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13752 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13753 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13754 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13755 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13756 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13757 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13758 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13759 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13760 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13761 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13762 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13763 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13764 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13765 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13766 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13767 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13768 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13769 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13770 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13771 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13772 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13773 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13774 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13775 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13776 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13777 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13778 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13779 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13780 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13781 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13782 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13783 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13784 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13785 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13786 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13787 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13788 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13789 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13790 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13791 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13792 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13793 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13794 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13795 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13796 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13797 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13798 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13799 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13800 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13801 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13802 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13803 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13804 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13805 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13806 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13807 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13808 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13809 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13810 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13811 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13812 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13813 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13814 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13815 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13816 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13817 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13818 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13819 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13820 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13821 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13822 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13823 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13824 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13825 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13826
13827 LTCC='$LTCC'
13828 LTCFLAGS='$LTCFLAGS'
13829 compiler='$compiler_DEFAULT'
13830
13831 # A function that is used when there is no print builtin or printf.
13832 func_fallback_echo ()
13833 {
13834 eval 'cat <<_LTECHO_EOF
13835 \$1
13836 _LTECHO_EOF'
13837 }
13838
13839 # Quote evaled strings.
13840 for var in SHELL \
13841 ECHO \
13842 PATH_SEPARATOR \
13843 SED \
13844 GREP \
13845 EGREP \
13846 FGREP \
13847 LD \
13848 NM \
13849 LN_S \
13850 lt_SP2NL \
13851 lt_NL2SP \
13852 reload_flag \
13853 OBJDUMP \
13854 deplibs_check_method \
13855 file_magic_cmd \
13856 file_magic_glob \
13857 want_nocaseglob \
13858 DLLTOOL \
13859 sharedlib_from_linklib_cmd \
13860 AR \
13861 AR_FLAGS \
13862 archiver_list_spec \
13863 STRIP \
13864 RANLIB \
13865 CC \
13866 CFLAGS \
13867 compiler \
13868 lt_cv_sys_global_symbol_pipe \
13869 lt_cv_sys_global_symbol_to_cdecl \
13870 lt_cv_sys_global_symbol_to_c_name_address \
13871 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13872 nm_file_list_spec \
13873 lt_prog_compiler_no_builtin_flag \
13874 lt_prog_compiler_pic \
13875 lt_prog_compiler_wl \
13876 lt_prog_compiler_static \
13877 lt_cv_prog_compiler_c_o \
13878 need_locks \
13879 MANIFEST_TOOL \
13880 DSYMUTIL \
13881 NMEDIT \
13882 LIPO \
13883 OTOOL \
13884 OTOOL64 \
13885 shrext_cmds \
13886 export_dynamic_flag_spec \
13887 whole_archive_flag_spec \
13888 compiler_needs_object \
13889 with_gnu_ld \
13890 allow_undefined_flag \
13891 no_undefined_flag \
13892 hardcode_libdir_flag_spec \
13893 hardcode_libdir_separator \
13894 exclude_expsyms \
13895 include_expsyms \
13896 file_list_spec \
13897 variables_saved_for_relink \
13898 libname_spec \
13899 library_names_spec \
13900 soname_spec \
13901 install_override_mode \
13902 finish_eval \
13903 old_striplib \
13904 striplib; do
13905 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13906 *[\\\\\\\`\\"\\\$]*)
13907 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13908 ;;
13909 *)
13910 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13911 ;;
13912 esac
13913 done
13914
13915 # Double-quote double-evaled strings.
13916 for var in reload_cmds \
13917 old_postinstall_cmds \
13918 old_postuninstall_cmds \
13919 old_archive_cmds \
13920 extract_expsyms_cmds \
13921 old_archive_from_new_cmds \
13922 old_archive_from_expsyms_cmds \
13923 archive_cmds \
13924 archive_expsym_cmds \
13925 module_cmds \
13926 module_expsym_cmds \
13927 export_symbols_cmds \
13928 prelink_cmds \
13929 postlink_cmds \
13930 postinstall_cmds \
13931 postuninstall_cmds \
13932 finish_cmds \
13933 sys_lib_search_path_spec \
13934 sys_lib_dlsearch_path_spec; do
13935 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13936 *[\\\\\\\`\\"\\\$]*)
13937 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13938 ;;
13939 *)
13940 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13941 ;;
13942 esac
13943 done
13944
13945 ac_aux_dir='$ac_aux_dir'
13946 xsi_shell='$xsi_shell'
13947 lt_shell_append='$lt_shell_append'
13948
13949 # See if we are running on zsh, and set the options which allow our
13950 # commands through without removal of \ escapes INIT.
13951 if test -n "\${ZSH_VERSION+set}" ; then
13952 setopt NO_GLOB_SUBST
13953 fi
13954
13955
13956 PACKAGE='$PACKAGE'
13957 VERSION='$VERSION'
13958 TIMESTAMP='$TIMESTAMP'
13959 RM='$RM'
13960 ofile='$ofile'
13961
13962
13963
13964
13965 _ACEOF
13966
13967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13968
13969 # Handling of arguments.
13970 for ac_config_target in $ac_config_targets
13971 do
13972 case $ac_config_target in
13973 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13974 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13975 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13976 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13977 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13978 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;;
13979 "misc/dvdread-config") CONFIG_FILES="$CONFIG_FILES misc/dvdread-config" ;;
13980 "misc/dvdread.pc") CONFIG_FILES="$CONFIG_FILES misc/dvdread.pc" ;;
13981 "misc/libdvdread.spec") CONFIG_FILES="$CONFIG_FILES misc/libdvdread.spec" ;;
13982 "misc/relchk.sh") CONFIG_FILES="$CONFIG_FILES misc/relchk.sh" ;;
13983 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
13984
13985 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13986 esac
13987 done
13988
13989
13990 # If the user did not use the arguments to specify the items to instantiate,
13991 # then the envvar interface is used. Set only those that are not.
13992 # We use the long form for the default assignment because of an extremely
13993 # bizarre bug on SunOS 4.1.3.
13994 if $ac_need_defaults; then
13995 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13996 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13997 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13998 fi
13999
14000 # Have a temporary directory for convenience. Make it in the build tree
14001 # simply because there is no reason against having it here, and in addition,
14002 # creating and moving files from /tmp can sometimes cause problems.
14003 # Hook for its removal unless debugging.
14004 # Note that there is a small window in which the directory will not be cleaned:
14005 # after its creation but before its name has been assigned to `$tmp'.
14006 $debug ||
14007 {
14008 tmp= ac_tmp=
14009 trap 'exit_status=$?
14010 : "${ac_tmp:=$tmp}"
14011 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14012 ' 0
14013 trap 'as_fn_exit 1' 1 2 13 15
14014 }
14015 # Create a (secure) tmp directory for tmp files.
14016
14017 {
14018 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14019 test -d "$tmp"
14020 } ||
14021 {
14022 tmp=./conf$$-$RANDOM
14023 (umask 077 && mkdir "$tmp")
14024 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14025 ac_tmp=$tmp
14026
14027 # Set up the scripts for CONFIG_FILES section.
14028 # No need to generate them if there are no CONFIG_FILES.
14029 # This happens for instance with `./config.status config.h'.
14030 if test -n "$CONFIG_FILES"; then
14031
14032
14033 ac_cr=`echo X | tr X '\015'`
14034 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14035 # But we know of no other shell where ac_cr would be empty at this
14036 # point, so we can use a bashism as a fallback.
14037 if test "x$ac_cr" = x; then
14038 eval ac_cr=\$\'\\r\'
14039 fi
14040 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14041 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14042 ac_cs_awk_cr='\\r'
14043 else
14044 ac_cs_awk_cr=$ac_cr
14045 fi
14046
14047 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14048 _ACEOF
14049
14050
14051 {
14052 echo "cat >conf$$subs.awk <<_ACEOF" &&
14053 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14054 echo "_ACEOF"
14055 } >conf$$subs.sh ||
14056 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14057 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14058 ac_delim='%!_!# '
14059 for ac_last_try in false false false false false :; do
14060 . ./conf$$subs.sh ||
14061 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14062
14063 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14064 if test $ac_delim_n = $ac_delim_num; then
14065 break
14066 elif $ac_last_try; then
14067 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14068 else
14069 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14070 fi
14071 done
14072 rm -f conf$$subs.sh
14073
14074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14075 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14076 _ACEOF
14077 sed -n '
14078 h
14079 s/^/S["/; s/!.*/"]=/
14080 p
14081 g
14082 s/^[^!]*!//
14083 :repl
14084 t repl
14085 s/'"$ac_delim"'$//
14086 t delim
14087 :nl
14088 h
14089 s/\(.\{148\}\)..*/\1/
14090 t more1
14091 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14092 p
14093 n
14094 b repl
14095 :more1
14096 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14097 p
14098 g
14099 s/.\{148\}//
14100 t nl
14101 :delim
14102 h
14103 s/\(.\{148\}\)..*/\1/
14104 t more2
14105 s/["\\]/\\&/g; s/^/"/; s/$/"/
14106 p
14107 b
14108 :more2
14109 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14110 p
14111 g
14112 s/.\{148\}//
14113 t delim
14114 ' <conf$$subs.awk | sed '
14115 /^[^""]/{
14116 N
14117 s/\n//
14118 }
14119 ' >>$CONFIG_STATUS || ac_write_fail=1
14120 rm -f conf$$subs.awk
14121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14122 _ACAWK
14123 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14124 for (key in S) S_is_set[key] = 1
14125 FS = ""
14126
14127 }
14128 {
14129 line = $ 0
14130 nfields = split(line, field, "@")
14131 substed = 0
14132 len = length(field[1])
14133 for (i = 2; i < nfields; i++) {
14134 key = field[i]
14135 keylen = length(key)
14136 if (S_is_set[key]) {
14137 value = S[key]
14138 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14139 len += length(value) + length(field[++i])
14140 substed = 1
14141 } else
14142 len += 1 + keylen
14143 }
14144
14145 print line
14146 }
14147
14148 _ACAWK
14149 _ACEOF
14150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14151 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14152 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14153 else
14154 cat
14155 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14156 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14157 _ACEOF
14158
14159 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14160 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14161 # trailing colons and then remove the whole line if VPATH becomes empty
14162 # (actually we leave an empty line to preserve line numbers).
14163 if test "x$srcdir" = x.; then
14164 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14165 h
14166 s///
14167 s/^/:/
14168 s/[ ]*$/:/
14169 s/:\$(srcdir):/:/g
14170 s/:\${srcdir}:/:/g
14171 s/:@srcdir@:/:/g
14172 s/^:*//
14173 s/:*$//
14174 x
14175 s/\(=[ ]*\).*/\1/
14176 G
14177 s/\n//
14178 s/^[^=]*=[ ]*$//
14179 }'
14180 fi
14181
14182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14183 fi # test -n "$CONFIG_FILES"
14184
14185 # Set up the scripts for CONFIG_HEADERS section.
14186 # No need to generate them if there are no CONFIG_HEADERS.
14187 # This happens for instance with `./config.status Makefile'.
14188 if test -n "$CONFIG_HEADERS"; then
14189 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14190 BEGIN {
14191 _ACEOF
14192
14193 # Transform confdefs.h into an awk script `defines.awk', embedded as
14194 # here-document in config.status, that substitutes the proper values into
14195 # config.h.in to produce config.h.
14196
14197 # Create a delimiter string that does not exist in confdefs.h, to ease
14198 # handling of long lines.
14199 ac_delim='%!_!# '
14200 for ac_last_try in false false :; do
14201 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14202 if test -z "$ac_tt"; then
14203 break
14204 elif $ac_last_try; then
14205 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14206 else
14207 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14208 fi
14209 done
14210
14211 # For the awk script, D is an array of macro values keyed by name,
14212 # likewise P contains macro parameters if any. Preserve backslash
14213 # newline sequences.
14214
14215 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14216 sed -n '
14217 s/.\{148\}/&'"$ac_delim"'/g
14218 t rset
14219 :rset
14220 s/^[ ]*#[ ]*define[ ][ ]*/ /
14221 t def
14222 d
14223 :def
14224 s/\\$//
14225 t bsnl
14226 s/["\\]/\\&/g
14227 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14228 D["\1"]=" \3"/p
14229 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14230 d
14231 :bsnl
14232 s/["\\]/\\&/g
14233 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14234 D["\1"]=" \3\\\\\\n"\\/p
14235 t cont
14236 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14237 t cont
14238 d
14239 :cont
14240 n
14241 s/.\{148\}/&'"$ac_delim"'/g
14242 t clear
14243 :clear
14244 s/\\$//
14245 t bsnlc
14246 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14247 d
14248 :bsnlc
14249 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14250 b cont
14251 ' <confdefs.h | sed '
14252 s/'"$ac_delim"'/"\\\
14253 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14254
14255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14256 for (key in D) D_is_set[key] = 1
14257 FS = ""
14258 }
14259 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14260 line = \$ 0
14261 split(line, arg, " ")
14262 if (arg[1] == "#") {
14263 defundef = arg[2]
14264 mac1 = arg[3]
14265 } else {
14266 defundef = substr(arg[1], 2)
14267 mac1 = arg[2]
14268 }
14269 split(mac1, mac2, "(") #)
14270 macro = mac2[1]
14271 prefix = substr(line, 1, index(line, defundef) - 1)
14272 if (D_is_set[macro]) {
14273 # Preserve the white space surrounding the "#".
14274 print prefix "define", macro P[macro] D[macro]
14275 next
14276 } else {
14277 # Replace #undef with comments. This is necessary, for example,
14278 # in the case of _POSIX_SOURCE, which is predefined and required
14279 # on some systems where configure will not decide to define it.
14280 if (defundef == "undef") {
14281 print "/*", prefix defundef, macro, "*/"
14282 next
14283 }
14284 }
14285 }
14286 { print }
14287 _ACAWK
14288 _ACEOF
14289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14290 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14291 fi # test -n "$CONFIG_HEADERS"
14292
14293
14294 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14295 shift
14296 for ac_tag
14297 do
14298 case $ac_tag in
14299 :[FHLC]) ac_mode=$ac_tag; continue;;
14300 esac
14301 case $ac_mode$ac_tag in
14302 :[FHL]*:*);;
14303 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14304 :[FH]-) ac_tag=-:-;;
14305 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14306 esac
14307 ac_save_IFS=$IFS
14308 IFS=:
14309 set x $ac_tag
14310 IFS=$ac_save_IFS
14311 shift
14312 ac_file=$1
14313 shift
14314
14315 case $ac_mode in
14316 :L) ac_source=$1;;
14317 :[FH])
14318 ac_file_inputs=
14319 for ac_f
14320 do
14321 case $ac_f in
14322 -) ac_f="$ac_tmp/stdin";;
14323 *) # Look for the file first in the build tree, then in the source tree
14324 # (if the path is not absolute). The absolute path cannot be DOS-style,
14325 # because $ac_f cannot contain `:'.
14326 test -f "$ac_f" ||
14327 case $ac_f in
14328 [\\/$]*) false;;
14329 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14330 esac ||
14331 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14332 esac
14333 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14334 as_fn_append ac_file_inputs " '$ac_f'"
14335 done
14336
14337 # Let's still pretend it is `configure' which instantiates (i.e., don't
14338 # use $as_me), people would be surprised to read:
14339 # /* config.h. Generated by config.status. */
14340 configure_input='Generated from '`
14341 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14342 `' by configure.'
14343 if test x"$ac_file" != x-; then
14344 configure_input="$ac_file. $configure_input"
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14346 $as_echo "$as_me: creating $ac_file" >&6;}
14347 fi
14348 # Neutralize special characters interpreted by sed in replacement strings.
14349 case $configure_input in #(
14350 *\&* | *\|* | *\\* )
14351 ac_sed_conf_input=`$as_echo "$configure_input" |
14352 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14353 *) ac_sed_conf_input=$configure_input;;
14354 esac
14355
14356 case $ac_tag in
14357 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14358 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14359 esac
14360 ;;
14361 esac
14362
14363 ac_dir=`$as_dirname -- "$ac_file" ||
14364 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14365 X"$ac_file" : 'X\(//\)[^/]' \| \
14366 X"$ac_file" : 'X\(//\)$' \| \
14367 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14368 $as_echo X"$ac_file" |
14369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14370 s//\1/
14371 q
14372 }
14373 /^X\(\/\/\)[^/].*/{
14374 s//\1/
14375 q
14376 }
14377 /^X\(\/\/\)$/{
14378 s//\1/
14379 q
14380 }
14381 /^X\(\/\).*/{
14382 s//\1/
14383 q
14384 }
14385 s/.*/./; q'`
14386 as_dir="$ac_dir"; as_fn_mkdir_p
14387 ac_builddir=.
14388
14389 case "$ac_dir" in
14390 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14391 *)
14392 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14393 # A ".." for each directory in $ac_dir_suffix.
14394 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14395 case $ac_top_builddir_sub in
14396 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14397 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14398 esac ;;
14399 esac
14400 ac_abs_top_builddir=$ac_pwd
14401 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14402 # for backward compatibility:
14403 ac_top_builddir=$ac_top_build_prefix
14404
14405 case $srcdir in
14406 .) # We are building in place.
14407 ac_srcdir=.
14408 ac_top_srcdir=$ac_top_builddir_sub
14409 ac_abs_top_srcdir=$ac_pwd ;;
14410 [\\/]* | ?:[\\/]* ) # Absolute name.
14411 ac_srcdir=$srcdir$ac_dir_suffix;
14412 ac_top_srcdir=$srcdir
14413 ac_abs_top_srcdir=$srcdir ;;
14414 *) # Relative name.
14415 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14416 ac_top_srcdir=$ac_top_build_prefix$srcdir
14417 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14418 esac
14419 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14420
14421
14422 case $ac_mode in
14423 :F)
14424 #
14425 # CONFIG_FILE
14426 #
14427
14428 case $INSTALL in
14429 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14430 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14431 esac
14432 ac_MKDIR_P=$MKDIR_P
14433 case $MKDIR_P in
14434 [\\/$]* | ?:[\\/]* ) ;;
14435 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14436 esac
14437 _ACEOF
14438
14439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14440 # If the template does not know about datarootdir, expand it.
14441 # FIXME: This hack should be removed a few years after 2.60.
14442 ac_datarootdir_hack=; ac_datarootdir_seen=
14443 ac_sed_dataroot='
14444 /datarootdir/ {
14445 p
14446 q
14447 }
14448 /@datadir@/p
14449 /@docdir@/p
14450 /@infodir@/p
14451 /@localedir@/p
14452 /@mandir@/p'
14453 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14454 *datarootdir*) ac_datarootdir_seen=yes;;
14455 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14457 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14458 _ACEOF
14459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14460 ac_datarootdir_hack='
14461 s&@datadir@&$datadir&g
14462 s&@docdir@&$docdir&g
14463 s&@infodir@&$infodir&g
14464 s&@localedir@&$localedir&g
14465 s&@mandir@&$mandir&g
14466 s&\\\${datarootdir}&$datarootdir&g' ;;
14467 esac
14468 _ACEOF
14469
14470 # Neutralize VPATH when `$srcdir' = `.'.
14471 # Shell code in configure.ac might set extrasub.
14472 # FIXME: do we really want to maintain this feature?
14473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14474 ac_sed_extra="$ac_vpsub
14475 $extrasub
14476 _ACEOF
14477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14478 :t
14479 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14480 s|@configure_input@|$ac_sed_conf_input|;t t
14481 s&@top_builddir@&$ac_top_builddir_sub&;t t
14482 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14483 s&@srcdir@&$ac_srcdir&;t t
14484 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14485 s&@top_srcdir@&$ac_top_srcdir&;t t
14486 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14487 s&@builddir@&$ac_builddir&;t t
14488 s&@abs_builddir@&$ac_abs_builddir&;t t
14489 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14490 s&@INSTALL@&$ac_INSTALL&;t t
14491 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14492 $ac_datarootdir_hack
14493 "
14494 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14495 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14496
14497 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14498 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14499 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14500 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14502 which seems to be undefined. Please make sure it is defined" >&5
14503 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14504 which seems to be undefined. Please make sure it is defined" >&2;}
14505
14506 rm -f "$ac_tmp/stdin"
14507 case $ac_file in
14508 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14509 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14510 esac \
14511 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14512 ;;
14513 :H)
14514 #
14515 # CONFIG_HEADER
14516 #
14517 if test x"$ac_file" != x-; then
14518 {
14519 $as_echo "/* $configure_input */" \
14520 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14521 } >"$ac_tmp/config.h" \
14522 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14523 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14525 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14526 else
14527 rm -f "$ac_file"
14528 mv "$ac_tmp/config.h" "$ac_file" \
14529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14530 fi
14531 else
14532 $as_echo "/* $configure_input */" \
14533 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14534 || as_fn_error $? "could not create -" "$LINENO" 5
14535 fi
14536 # Compute "$ac_file"'s index in $config_headers.
14537 _am_arg="$ac_file"
14538 _am_stamp_count=1
14539 for _am_header in $config_headers :; do
14540 case $_am_header in
14541 $_am_arg | $_am_arg:* )
14542 break ;;
14543 * )
14544 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14545 esac
14546 done
14547 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14548 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14549 X"$_am_arg" : 'X\(//\)[^/]' \| \
14550 X"$_am_arg" : 'X\(//\)$' \| \
14551 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14552 $as_echo X"$_am_arg" |
14553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14554 s//\1/
14555 q
14556 }
14557 /^X\(\/\/\)[^/].*/{
14558 s//\1/
14559 q
14560 }
14561 /^X\(\/\/\)$/{
14562 s//\1/
14563 q
14564 }
14565 /^X\(\/\).*/{
14566 s//\1/
14567 q
14568 }
14569 s/.*/./; q'`/stamp-h$_am_stamp_count
14570 ;;
14571
14572 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14573 $as_echo "$as_me: executing $ac_file commands" >&6;}
14574 ;;
14575 esac
14576
14577
14578 case $ac_file$ac_mode in
14579 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14580 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14581 # are listed without --file. Let's play safe and only enable the eval
14582 # if we detect the quoting.
14583 case $CONFIG_FILES in
14584 *\'*) eval set x "$CONFIG_FILES" ;;
14585 *) set x $CONFIG_FILES ;;
14586 esac
14587 shift
14588 for mf
14589 do
14590 # Strip MF so we end up with the name of the file.
14591 mf=`echo "$mf" | sed -e 's/:.*$//'`
14592 # Check whether this is an Automake generated Makefile or not.
14593 # We used to match only the files named `Makefile.in', but
14594 # some people rename them; so instead we look at the file content.
14595 # Grep'ing the first line is not enough: some people post-process
14596 # each Makefile.in and add a new line on top of each file to say so.
14597 # Grep'ing the whole file is not good either: AIX grep has a line
14598 # limit of 2048, but all sed's we know have understand at least 4000.
14599 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14600 dirpart=`$as_dirname -- "$mf" ||
14601 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14602 X"$mf" : 'X\(//\)[^/]' \| \
14603 X"$mf" : 'X\(//\)$' \| \
14604 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14605 $as_echo X"$mf" |
14606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14607 s//\1/
14608 q
14609 }
14610 /^X\(\/\/\)[^/].*/{
14611 s//\1/
14612 q
14613 }
14614 /^X\(\/\/\)$/{
14615 s//\1/
14616 q
14617 }
14618 /^X\(\/\).*/{
14619 s//\1/
14620 q
14621 }
14622 s/.*/./; q'`
14623 else
14624 continue
14625 fi
14626 # Extract the definition of DEPDIR, am__include, and am__quote
14627 # from the Makefile without running `make'.
14628 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14629 test -z "$DEPDIR" && continue
14630 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14631 test -z "am__include" && continue
14632 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14633 # When using ansi2knr, U may be empty or an underscore; expand it
14634 U=`sed -n 's/^U = //p' < "$mf"`
14635 # Find all dependency output files, they are included files with
14636 # $(DEPDIR) in their names. We invoke sed twice because it is the
14637 # simplest approach to changing $(DEPDIR) to its actual value in the
14638 # expansion.
14639 for file in `sed -n "
14640 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14641 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14642 # Make sure the directory exists.
14643 test -f "$dirpart/$file" && continue
14644 fdir=`$as_dirname -- "$file" ||
14645 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14646 X"$file" : 'X\(//\)[^/]' \| \
14647 X"$file" : 'X\(//\)$' \| \
14648 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14649 $as_echo X"$file" |
14650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14651 s//\1/
14652 q
14653 }
14654 /^X\(\/\/\)[^/].*/{
14655 s//\1/
14656 q
14657 }
14658 /^X\(\/\/\)$/{
14659 s//\1/
14660 q
14661 }
14662 /^X\(\/\).*/{
14663 s//\1/
14664 q
14665 }
14666 s/.*/./; q'`
14667 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14668 # echo "creating $dirpart/$file"
14669 echo '# dummy' > "$dirpart/$file"
14670 done
14671 done
14672 }
14673 ;;
14674 "libtool":C)
14675
14676 # See if we are running on zsh, and set the options which allow our
14677 # commands through without removal of \ escapes.
14678 if test -n "${ZSH_VERSION+set}" ; then
14679 setopt NO_GLOB_SUBST
14680 fi
14681
14682 cfgfile="${ofile}T"
14683 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14684 $RM "$cfgfile"
14685
14686 cat <<_LT_EOF >> "$cfgfile"
14687 #! $SHELL
14688
14689 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14690 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14691 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14692 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14693 #
14694 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14695 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14696 # Foundation, Inc.
14697 # Written by Gordon Matzigkeit, 1996
14698 #
14699 # This file is part of GNU Libtool.
14700 #
14701 # GNU Libtool is free software; you can redistribute it and/or
14702 # modify it under the terms of the GNU General Public License as
14703 # published by the Free Software Foundation; either version 2 of
14704 # the License, or (at your option) any later version.
14705 #
14706 # As a special exception to the GNU General Public License,
14707 # if you distribute this file as part of a program or library that
14708 # is built using GNU Libtool, you may include this file under the
14709 # same distribution terms that you use for the rest of that program.
14710 #
14711 # GNU Libtool is distributed in the hope that it will be useful,
14712 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14713 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14714 # GNU General Public License for more details.
14715 #
14716 # You should have received a copy of the GNU General Public License
14717 # along with GNU Libtool; see the file COPYING. If not, a copy
14718 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14719 # obtained by writing to the Free Software Foundation, Inc.,
14720 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14721
14722
14723 # The names of the tagged configurations supported by this script.
14724 available_tags=""
14725
14726 # ### BEGIN LIBTOOL CONFIG
14727
14728 # Whether or not to build static libraries.
14729 build_old_libs=$enable_static
14730
14731 # Which release of libtool.m4 was used?
14732 macro_version=$macro_version
14733 macro_revision=$macro_revision
14734
14735 # Whether or not to build shared libraries.
14736 build_libtool_libs=$enable_shared
14737
14738 # What type of objects to build.
14739 pic_mode=$pic_mode
14740
14741 # Whether or not to optimize for fast installation.
14742 fast_install=$enable_fast_install
14743
14744 # Shell to use when invoking shell scripts.
14745 SHELL=$lt_SHELL
14746
14747 # An echo program that protects backslashes.
14748 ECHO=$lt_ECHO
14749
14750 # The PATH separator for the build system.
14751 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14752
14753 # The host system.
14754 host_alias=$host_alias
14755 host=$host
14756 host_os=$host_os
14757
14758 # The build system.
14759 build_alias=$build_alias
14760 build=$build
14761 build_os=$build_os
14762
14763 # A sed program that does not truncate output.
14764 SED=$lt_SED
14765
14766 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14767 Xsed="\$SED -e 1s/^X//"
14768
14769 # A grep program that handles long lines.
14770 GREP=$lt_GREP
14771
14772 # An ERE matcher.
14773 EGREP=$lt_EGREP
14774
14775 # A literal string matcher.
14776 FGREP=$lt_FGREP
14777
14778 # A BSD- or MS-compatible name lister.
14779 NM=$lt_NM
14780
14781 # Whether we need soft or hard links.
14782 LN_S=$lt_LN_S
14783
14784 # What is the maximum length of a command?
14785 max_cmd_len=$max_cmd_len
14786
14787 # Object file suffix (normally "o").
14788 objext=$ac_objext
14789
14790 # Executable file suffix (normally "").
14791 exeext=$exeext
14792
14793 # whether the shell understands "unset".
14794 lt_unset=$lt_unset
14795
14796 # turn spaces into newlines.
14797 SP2NL=$lt_lt_SP2NL
14798
14799 # turn newlines into spaces.
14800 NL2SP=$lt_lt_NL2SP
14801
14802 # convert \$build file names to \$host format.
14803 to_host_file_cmd=$lt_cv_to_host_file_cmd
14804
14805 # convert \$build files to toolchain format.
14806 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14807
14808 # An object symbol dumper.
14809 OBJDUMP=$lt_OBJDUMP
14810
14811 # Method to check whether dependent libraries are shared objects.
14812 deplibs_check_method=$lt_deplibs_check_method
14813
14814 # Command to use when deplibs_check_method = "file_magic".
14815 file_magic_cmd=$lt_file_magic_cmd
14816
14817 # How to find potential files when deplibs_check_method = "file_magic".
14818 file_magic_glob=$lt_file_magic_glob
14819
14820 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14821 want_nocaseglob=$lt_want_nocaseglob
14822
14823 # DLL creation program.
14824 DLLTOOL=$lt_DLLTOOL
14825
14826 # Command to associate shared and link libraries.
14827 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14828
14829 # The archiver.
14830 AR=$lt_AR
14831
14832 # Flags to create an archive.
14833 AR_FLAGS=$lt_AR_FLAGS
14834
14835 # How to feed a file listing to the archiver.
14836 archiver_list_spec=$lt_archiver_list_spec
14837
14838 # A symbol stripping program.
14839 STRIP=$lt_STRIP
14840
14841 # Commands used to install an old-style archive.
14842 RANLIB=$lt_RANLIB
14843 old_postinstall_cmds=$lt_old_postinstall_cmds
14844 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14845
14846 # Whether to use a lock for old archive extraction.
14847 lock_old_archive_extraction=$lock_old_archive_extraction
14848
14849 # A C compiler.
14850 LTCC=$lt_CC
14851
14852 # LTCC compiler flags.
14853 LTCFLAGS=$lt_CFLAGS
14854
14855 # Take the output of nm and produce a listing of raw symbols and C names.
14856 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14857
14858 # Transform the output of nm in a proper C declaration.
14859 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14860
14861 # Transform the output of nm in a C name address pair.
14862 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14863
14864 # Transform the output of nm in a C name address pair when lib prefix is needed.
14865 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14866
14867 # Specify filename containing input files for \$NM.
14868 nm_file_list_spec=$lt_nm_file_list_spec
14869
14870 # The root where to search for dependent libraries,and in which our libraries should be installed.
14871 lt_sysroot=$lt_sysroot
14872
14873 # The name of the directory that contains temporary libtool files.
14874 objdir=$objdir
14875
14876 # Used to examine libraries when file_magic_cmd begins with "file".
14877 MAGIC_CMD=$MAGIC_CMD
14878
14879 # Must we lock files when doing compilation?
14880 need_locks=$lt_need_locks
14881
14882 # Manifest tool.
14883 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14884
14885 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14886 DSYMUTIL=$lt_DSYMUTIL
14887
14888 # Tool to change global to local symbols on Mac OS X.
14889 NMEDIT=$lt_NMEDIT
14890
14891 # Tool to manipulate fat objects and archives on Mac OS X.
14892 LIPO=$lt_LIPO
14893
14894 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14895 OTOOL=$lt_OTOOL
14896
14897 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14898 OTOOL64=$lt_OTOOL64
14899
14900 # Old archive suffix (normally "a").
14901 libext=$libext
14902
14903 # Shared library suffix (normally ".so").
14904 shrext_cmds=$lt_shrext_cmds
14905
14906 # The commands to extract the exported symbol list from a shared archive.
14907 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14908
14909 # Variables whose values should be saved in libtool wrapper scripts and
14910 # restored at link time.
14911 variables_saved_for_relink=$lt_variables_saved_for_relink
14912
14913 # Do we need the "lib" prefix for modules?
14914 need_lib_prefix=$need_lib_prefix
14915
14916 # Do we need a version for libraries?
14917 need_version=$need_version
14918
14919 # Library versioning type.
14920 version_type=$version_type
14921
14922 # Shared library runtime path variable.
14923 runpath_var=$runpath_var
14924
14925 # Shared library path variable.
14926 shlibpath_var=$shlibpath_var
14927
14928 # Is shlibpath searched before the hard-coded library search path?
14929 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14930
14931 # Format of library name prefix.
14932 libname_spec=$lt_libname_spec
14933
14934 # List of archive names. First name is the real one, the rest are links.
14935 # The last name is the one that the linker finds with -lNAME
14936 library_names_spec=$lt_library_names_spec
14937
14938 # The coded name of the library, if different from the real name.
14939 soname_spec=$lt_soname_spec
14940
14941 # Permission mode override for installation of shared libraries.
14942 install_override_mode=$lt_install_override_mode
14943
14944 # Command to use after installation of a shared archive.
14945 postinstall_cmds=$lt_postinstall_cmds
14946
14947 # Command to use after uninstallation of a shared archive.
14948 postuninstall_cmds=$lt_postuninstall_cmds
14949
14950 # Commands used to finish a libtool library installation in a directory.
14951 finish_cmds=$lt_finish_cmds
14952
14953 # As "finish_cmds", except a single script fragment to be evaled but
14954 # not shown.
14955 finish_eval=$lt_finish_eval
14956
14957 # Whether we should hardcode library paths into libraries.
14958 hardcode_into_libs=$hardcode_into_libs
14959
14960 # Compile-time system search path for libraries.
14961 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14962
14963 # Run-time system search path for libraries.
14964 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14965
14966 # Whether dlopen is supported.
14967 dlopen_support=$enable_dlopen
14968
14969 # Whether dlopen of programs is supported.
14970 dlopen_self=$enable_dlopen_self
14971
14972 # Whether dlopen of statically linked programs is supported.
14973 dlopen_self_static=$enable_dlopen_self_static
14974
14975 # Commands to strip libraries.
14976 old_striplib=$lt_old_striplib
14977 striplib=$lt_striplib
14978
14979
14980 # The linker used to build libraries.
14981 LD=$lt_LD
14982
14983 # How to create reloadable object files.
14984 reload_flag=$lt_reload_flag
14985 reload_cmds=$lt_reload_cmds
14986
14987 # Commands used to build an old-style archive.
14988 old_archive_cmds=$lt_old_archive_cmds
14989
14990 # A language specific compiler.
14991 CC=$lt_compiler
14992
14993 # Is the compiler the GNU compiler?
14994 with_gcc=$GCC
14995
14996 # Compiler flag to turn off builtin functions.
14997 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14998
14999 # Additional compiler flags for building library objects.
15000 pic_flag=$lt_lt_prog_compiler_pic
15001
15002 # How to pass a linker flag through the compiler.
15003 wl=$lt_lt_prog_compiler_wl
15004
15005 # Compiler flag to prevent dynamic linking.
15006 link_static_flag=$lt_lt_prog_compiler_static
15007
15008 # Does compiler simultaneously support -c and -o options?
15009 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15010
15011 # Whether or not to add -lc for building shared libraries.
15012 build_libtool_need_lc=$archive_cmds_need_lc
15013
15014 # Whether or not to disallow shared libs when runtime libs are static.
15015 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15016
15017 # Compiler flag to allow reflexive dlopens.
15018 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15019
15020 # Compiler flag to generate shared objects directly from archives.
15021 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15022
15023 # Whether the compiler copes with passing no objects directly.
15024 compiler_needs_object=$lt_compiler_needs_object
15025
15026 # Create an old-style archive from a shared archive.
15027 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15028
15029 # Create a temporary old-style archive to link instead of a shared archive.
15030 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15031
15032 # Commands used to build a shared archive.
15033 archive_cmds=$lt_archive_cmds
15034 archive_expsym_cmds=$lt_archive_expsym_cmds
15035
15036 # Commands used to build a loadable module if different from building
15037 # a shared archive.
15038 module_cmds=$lt_module_cmds
15039 module_expsym_cmds=$lt_module_expsym_cmds
15040
15041 # Whether we are building with GNU ld or not.
15042 with_gnu_ld=$lt_with_gnu_ld
15043
15044 # Flag that allows shared libraries with undefined symbols to be built.
15045 allow_undefined_flag=$lt_allow_undefined_flag
15046
15047 # Flag that enforces no undefined symbols.
15048 no_undefined_flag=$lt_no_undefined_flag
15049
15050 # Flag to hardcode \$libdir into a binary during linking.
15051 # This must work even if \$libdir does not exist
15052 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15053
15054 # Whether we need a single "-rpath" flag with a separated argument.
15055 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15056
15057 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15058 # DIR into the resulting binary.
15059 hardcode_direct=$hardcode_direct
15060
15061 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15062 # DIR into the resulting binary and the resulting library dependency is
15063 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15064 # library is relocated.
15065 hardcode_direct_absolute=$hardcode_direct_absolute
15066
15067 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15068 # into the resulting binary.
15069 hardcode_minus_L=$hardcode_minus_L
15070
15071 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15072 # into the resulting binary.
15073 hardcode_shlibpath_var=$hardcode_shlibpath_var
15074
15075 # Set to "yes" if building a shared library automatically hardcodes DIR
15076 # into the library and all subsequent libraries and executables linked
15077 # against it.
15078 hardcode_automatic=$hardcode_automatic
15079
15080 # Set to yes if linker adds runtime paths of dependent libraries
15081 # to runtime path list.
15082 inherit_rpath=$inherit_rpath
15083
15084 # Whether libtool must link a program against all its dependency libraries.
15085 link_all_deplibs=$link_all_deplibs
15086
15087 # Set to "yes" if exported symbols are required.
15088 always_export_symbols=$always_export_symbols
15089
15090 # The commands to list exported symbols.
15091 export_symbols_cmds=$lt_export_symbols_cmds
15092
15093 # Symbols that should not be listed in the preloaded symbols.
15094 exclude_expsyms=$lt_exclude_expsyms
15095
15096 # Symbols that must always be exported.
15097 include_expsyms=$lt_include_expsyms
15098
15099 # Commands necessary for linking programs (against libraries) with templates.
15100 prelink_cmds=$lt_prelink_cmds
15101
15102 # Commands necessary for finishing linking programs.
15103 postlink_cmds=$lt_postlink_cmds
15104
15105 # Specify filename containing input files.
15106 file_list_spec=$lt_file_list_spec
15107
15108 # How to hardcode a shared library path into an executable.
15109 hardcode_action=$hardcode_action
15110
15111 # ### END LIBTOOL CONFIG
15112
15113 _LT_EOF
15114
15115 case $host_os in
15116 aix3*)
15117 cat <<\_LT_EOF >> "$cfgfile"
15118 # AIX sometimes has problems with the GCC collect2 program. For some
15119 # reason, if we set the COLLECT_NAMES environment variable, the problems
15120 # vanish in a puff of smoke.
15121 if test "X${COLLECT_NAMES+set}" != Xset; then
15122 COLLECT_NAMES=
15123 export COLLECT_NAMES
15124 fi
15125 _LT_EOF
15126 ;;
15127 esac
15128
15129
15130 ltmain="$ac_aux_dir/ltmain.sh"
15131
15132
15133 # We use sed instead of cat because bash on DJGPP gets confused if
15134 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15135 # text mode, it properly converts lines to CR/LF. This bash problem
15136 # is reportedly fixed, but why not run on old versions too?
15137 sed '$q' "$ltmain" >> "$cfgfile" \
15138 || (rm -f "$cfgfile"; exit 1)
15139
15140 if test x"$xsi_shell" = xyes; then
15141 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15142 func_dirname ()\
15143 {\
15144 \ case ${1} in\
15145 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15146 \ * ) func_dirname_result="${3}" ;;\
15147 \ esac\
15148 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15149 && mv -f "$cfgfile.tmp" "$cfgfile" \
15150 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15151 test 0 -eq $? || _lt_function_replace_fail=:
15152
15153
15154 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15155 func_basename ()\
15156 {\
15157 \ func_basename_result="${1##*/}"\
15158 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15159 && mv -f "$cfgfile.tmp" "$cfgfile" \
15160 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15161 test 0 -eq $? || _lt_function_replace_fail=:
15162
15163
15164 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15165 func_dirname_and_basename ()\
15166 {\
15167 \ case ${1} in\
15168 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15169 \ * ) func_dirname_result="${3}" ;;\
15170 \ esac\
15171 \ func_basename_result="${1##*/}"\
15172 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15173 && mv -f "$cfgfile.tmp" "$cfgfile" \
15174 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15175 test 0 -eq $? || _lt_function_replace_fail=:
15176
15177
15178 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15179 func_stripname ()\
15180 {\
15181 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15182 \ # positional parameters, so assign one to ordinary parameter first.\
15183 \ func_stripname_result=${3}\
15184 \ func_stripname_result=${func_stripname_result#"${1}"}\
15185 \ func_stripname_result=${func_stripname_result%"${2}"}\
15186 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15187 && mv -f "$cfgfile.tmp" "$cfgfile" \
15188 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15189 test 0 -eq $? || _lt_function_replace_fail=:
15190
15191
15192 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15193 func_split_long_opt ()\
15194 {\
15195 \ func_split_long_opt_name=${1%%=*}\
15196 \ func_split_long_opt_arg=${1#*=}\
15197 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15198 && mv -f "$cfgfile.tmp" "$cfgfile" \
15199 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15200 test 0 -eq $? || _lt_function_replace_fail=:
15201
15202
15203 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15204 func_split_short_opt ()\
15205 {\
15206 \ func_split_short_opt_arg=${1#??}\
15207 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15208 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15209 && mv -f "$cfgfile.tmp" "$cfgfile" \
15210 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15211 test 0 -eq $? || _lt_function_replace_fail=:
15212
15213
15214 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15215 func_lo2o ()\
15216 {\
15217 \ case ${1} in\
15218 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15219 \ *) func_lo2o_result=${1} ;;\
15220 \ esac\
15221 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15222 && mv -f "$cfgfile.tmp" "$cfgfile" \
15223 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15224 test 0 -eq $? || _lt_function_replace_fail=:
15225
15226
15227 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15228 func_xform ()\
15229 {\
15230 func_xform_result=${1%.*}.lo\
15231 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15232 && mv -f "$cfgfile.tmp" "$cfgfile" \
15233 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15234 test 0 -eq $? || _lt_function_replace_fail=:
15235
15236
15237 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15238 func_arith ()\
15239 {\
15240 func_arith_result=$(( $* ))\
15241 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15242 && mv -f "$cfgfile.tmp" "$cfgfile" \
15243 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15244 test 0 -eq $? || _lt_function_replace_fail=:
15245
15246
15247 sed -e '/^func_len ()$/,/^} # func_len /c\
15248 func_len ()\
15249 {\
15250 func_len_result=${#1}\
15251 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15252 && mv -f "$cfgfile.tmp" "$cfgfile" \
15253 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15254 test 0 -eq $? || _lt_function_replace_fail=:
15255
15256 fi
15257
15258 if test x"$lt_shell_append" = xyes; then
15259 sed -e '/^func_append ()$/,/^} # func_append /c\
15260 func_append ()\
15261 {\
15262 eval "${1}+=\\${2}"\
15263 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15264 && mv -f "$cfgfile.tmp" "$cfgfile" \
15265 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15266 test 0 -eq $? || _lt_function_replace_fail=:
15267
15268
15269 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15270 func_append_quoted ()\
15271 {\
15272 \ func_quote_for_eval "${2}"\
15273 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15274 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15275 && mv -f "$cfgfile.tmp" "$cfgfile" \
15276 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15277 test 0 -eq $? || _lt_function_replace_fail=:
15278
15279
15280 # Save a `func_append' function call where possible by direct use of '+='
15281 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15282 && mv -f "$cfgfile.tmp" "$cfgfile" \
15283 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15284 test 0 -eq $? || _lt_function_replace_fail=:
15285 else
15286 # Save a `func_append' function call even when '+=' is not available
15287 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15288 && mv -f "$cfgfile.tmp" "$cfgfile" \
15289 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15290 test 0 -eq $? || _lt_function_replace_fail=:
15291 fi
15292
15293 if test x"$_lt_function_replace_fail" = x":"; then
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15295 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15296 fi
15297
15298
15299 mv -f "$cfgfile" "$ofile" ||
15300 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15301 chmod +x "$ofile"
15302
15303 ;;
15304
15305 esac
15306 done # for ac_tag
15307
15308
15309 as_fn_exit 0
15310 _ACEOF
15311 ac_clean_files=$ac_clean_files_save
15312
15313 test $ac_write_fail = 0 ||
15314 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15315
15316
15317 # configure is writing to config.log, and then calls config.status.
15318 # config.status does its own redirection, appending to config.log.
15319 # Unfortunately, on DOS this fails, as config.log is still kept open
15320 # by configure, so config.status won't be able to write to it; its
15321 # output is simply discarded. So we exec the FD to /dev/null,
15322 # effectively closing config.log, so it can be properly (re)opened and
15323 # appended to by config.status. When coming back to configure, we
15324 # need to make the FD available again.
15325 if test "$no_create" != yes; then
15326 ac_cs_success=:
15327 ac_config_status_args=
15328 test "$silent" = yes &&
15329 ac_config_status_args="$ac_config_status_args --quiet"
15330 exec 5>/dev/null
15331 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15332 exec 5>>config.log
15333 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15334 # would make configure fail if this is the last instruction.
15335 $ac_cs_success || as_fn_exit 1
15336 fi
15337 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15339 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15340 fi
15341
+0
-262
autom4te.cache/requests less more
0 # This file was generated by Autom4te Sun Apr 29 21:48:16 UTC 2012.
1 # It contains the lists of macros which have been traced.
2 # It can be safely removed.
3
4 @request = (
5 bless( [
6 '0',
7 1,
8 [
9 '/usr/share/autoconf'
10 ],
11 [
12 '/usr/share/autoconf/autoconf/autoconf.m4f',
13 '/usr/share/aclocal/libtool.m4',
14 '/usr/share/aclocal/ltoptions.m4',
15 '/usr/share/aclocal/ltsugar.m4',
16 '/usr/share/aclocal/ltversion.m4',
17 '/usr/share/aclocal/lt~obsolete.m4',
18 '/usr/share/aclocal-1.11/amversion.m4',
19 '/usr/share/aclocal-1.11/auxdir.m4',
20 '/usr/share/aclocal-1.11/cond.m4',
21 '/usr/share/aclocal-1.11/depend.m4',
22 '/usr/share/aclocal-1.11/depout.m4',
23 '/usr/share/aclocal-1.11/init.m4',
24 '/usr/share/aclocal-1.11/install-sh.m4',
25 '/usr/share/aclocal-1.11/lead-dot.m4',
26 '/usr/share/aclocal-1.11/make.m4',
27 '/usr/share/aclocal-1.11/missing.m4',
28 '/usr/share/aclocal-1.11/mkdirp.m4',
29 '/usr/share/aclocal-1.11/options.m4',
30 '/usr/share/aclocal-1.11/runlog.m4',
31 '/usr/share/aclocal-1.11/sanity.m4',
32 '/usr/share/aclocal-1.11/silent.m4',
33 '/usr/share/aclocal-1.11/strip.m4',
34 '/usr/share/aclocal-1.11/substnot.m4',
35 '/usr/share/aclocal-1.11/tar.m4',
36 'configure.ac'
37 ],
38 {
39 'AM_ENABLE_STATIC' => 1,
40 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
41 '_LT_AC_SHELL_INIT' => 1,
42 'AC_DEFUN' => 1,
43 '_LT_AC_LANG_CXX_CONFIG' => 1,
44 'AC_PROG_LIBTOOL' => 1,
45 'AM_PROG_MKDIR_P' => 1,
46 'AM_AUTOMAKE_VERSION' => 1,
47 'AM_SUBST_NOTMAKE' => 1,
48 'AM_MISSING_PROG' => 1,
49 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
50 '_LT_AC_LANG_C_CONFIG' => 1,
51 'AM_PROG_INSTALL_STRIP' => 1,
52 '_m4_warn' => 1,
53 'AC_LIBTOOL_OBJDIR' => 1,
54 'AM_SANITY_CHECK' => 1,
55 'LTOBSOLETE_VERSION' => 1,
56 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
57 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
58 'LT_LIB_M' => 1,
59 '_LT_AC_CHECK_DLFCN' => 1,
60 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
61 'LTSUGAR_VERSION' => 1,
62 '_LT_PROG_LTMAIN' => 1,
63 '_AM_PROG_TAR' => 1,
64 'AC_LIBTOOL_GCJ' => 1,
65 '_LT_WITH_SYSROOT' => 1,
66 'AC_LIBTOOL_CONFIG' => 1,
67 '_LT_AC_LANG_F77' => 1,
68 '_AM_SUBST_NOTMAKE' => 1,
69 '_AM_AUTOCONF_VERSION' => 1,
70 'AM_DISABLE_SHARED' => 1,
71 '_LT_PROG_ECHO_BACKSLASH' => 1,
72 '_LT_AC_LANG_CXX' => 1,
73 'AM_PROG_LIBTOOL' => 1,
74 '_LT_AC_FILE_LTDLL_C' => 1,
75 'AM_PROG_LD' => 1,
76 'AU_DEFUN' => 1,
77 'AC_PROG_NM' => 1,
78 'AC_LIBTOOL_DLOPEN' => 1,
79 'AC_PROG_LD' => 1,
80 'AC_ENABLE_FAST_INSTALL' => 1,
81 'AC_PROG_LD_GNU' => 1,
82 'AC_LIBTOOL_FC' => 1,
83 '_AM_SET_OPTION' => 1,
84 'AC_LTDL_PREOPEN' => 1,
85 '_LT_LINKER_BOILERPLATE' => 1,
86 '_LT_PREPARE_SED_QUOTE_VARS' => 1,
87 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
88 'AC_LIBTOOL_PROG_CC_C_O' => 1,
89 'LT_SUPPORTED_TAG' => 1,
90 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
91 'LT_PROG_RC' => 1,
92 'AC_DEFUN_ONCE' => 1,
93 '_LT_AC_LANG_GCJ' => 1,
94 'AC_LTDL_OBJDIR' => 1,
95 '_LT_PATH_TOOL_PREFIX' => 1,
96 'AC_LIBTOOL_RC' => 1,
97 'AC_DISABLE_FAST_INSTALL' => 1,
98 'AM_SILENT_RULES' => 1,
99 '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
100 'include' => 1,
101 '_LT_AC_SYS_LIBPATH_AIX' => 1,
102 '_LT_AC_TRY_DLOPEN_SELF' => 1,
103 'LT_AC_PROG_SED' => 1,
104 'AM_ENABLE_SHARED' => 1,
105 '_LT_AC_LANG_GCJ_CONFIG' => 1,
106 'AC_ENABLE_SHARED' => 1,
107 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
108 '_LT_REQUIRED_DARWIN_CHECKS' => 1,
109 'AC_ENABLE_STATIC' => 1,
110 '_LT_AC_TAGVAR' => 1,
111 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
112 'AM_CONDITIONAL' => 1,
113 'LTVERSION_VERSION' => 1,
114 '_LT_PROG_F77' => 1,
115 '_LT_PROG_CXX' => 1,
116 'AM_PROG_INSTALL_SH' => 1,
117 'm4_include' => 1,
118 'AC_PROG_EGREP' => 1,
119 'AC_PATH_MAGIC' => 1,
120 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
121 'AM_MAKE_INCLUDE' => 1,
122 '_LT_AC_TAGCONFIG' => 1,
123 'LT_CMD_MAX_LEN' => 1,
124 'm4_pattern_forbid' => 1,
125 '_LT_LINKER_OPTION' => 1,
126 'AC_LIBTOOL_COMPILER_OPTION' => 1,
127 'AC_DISABLE_SHARED' => 1,
128 '_LT_COMPILER_BOILERPLATE' => 1,
129 'AC_LIBTOOL_WIN32_DLL' => 1,
130 'AC_LIBTOOL_SETUP' => 1,
131 'AC_PROG_LD_RELOAD_FLAG' => 1,
132 'AM_MISSING_HAS_RUN' => 1,
133 'LT_LANG' => 1,
134 'LT_OUTPUT' => 1,
135 'AC_LIBTOOL_DLOPEN_SELF' => 1,
136 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
137 'AC_LIBTOOL_LINKER_OPTION' => 1,
138 'AC_LIBTOOL_CXX' => 1,
139 'LT_AC_PROG_RC' => 1,
140 'LT_INIT' => 1,
141 'LT_SYS_DLOPEN_SELF' => 1,
142 'LT_AC_PROG_GCJ' => 1,
143 'AM_DISABLE_STATIC' => 1,
144 'AM_DEP_TRACK' => 1,
145 '_LT_AC_PROG_CXXCPP' => 1,
146 '_AC_PROG_LIBTOOL' => 1,
147 '_AM_IF_OPTION' => 1,
148 'AC_PATH_TOOL_PREFIX' => 1,
149 'm4_pattern_allow' => 1,
150 'AC_LIBTOOL_F77' => 1,
151 'AM_SET_LEADING_DOT' => 1,
152 'LT_AC_PROG_EGREP' => 1,
153 '_LT_PROG_FC' => 1,
154 '_AM_DEPENDENCIES' => 1,
155 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
156 'LTOPTIONS_VERSION' => 1,
157 '_LT_AC_SYS_COMPILER' => 1,
158 'AM_PROG_NM' => 1,
159 'AC_DEPLIBS_CHECK_METHOD' => 1,
160 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
161 'AC_LTDL_ENABLE_INSTALL' => 1,
162 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
163 'LT_PROG_GCJ' => 1,
164 'AM_INIT_AUTOMAKE' => 1,
165 'AC_DISABLE_STATIC' => 1,
166 'LT_PATH_NM' => 1,
167 '_LT_AC_LOCK' => 1,
168 '_LT_AC_LANG_RC_CONFIG' => 1,
169 'LT_PROG_GO' => 1,
170 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
171 'AM_AUX_DIR_EXPAND' => 1,
172 '_LT_AC_LANG_F77_CONFIG' => 1,
173 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
174 '_LT_COMPILER_OPTION' => 1,
175 '_AM_SET_OPTIONS' => 1,
176 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
177 'AM_RUN_LOG' => 1,
178 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
179 'AC_LIBTOOL_PICMODE' => 1,
180 'AC_CHECK_LIBM' => 1,
181 'LT_PATH_LD' => 1,
182 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
183 '_AM_MANGLE_OPTION' => 1,
184 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
185 'AM_SET_DEPDIR' => 1,
186 '_LT_CC_BASENAME' => 1
187 }
188 ], 'Autom4te::Request' ),
189 bless( [
190 '1',
191 1,
192 [
193 '/usr/share/autoconf'
194 ],
195 [
196 '/usr/share/autoconf/autoconf/autoconf.m4f',
197 'aclocal.m4',
198 'configure.ac'
199 ],
200 {
201 '_LT_AC_TAGCONFIG' => 1,
202 'AM_PROG_F77_C_O' => 1,
203 'm4_pattern_forbid' => 1,
204 'AC_INIT' => 1,
205 '_AM_COND_IF' => 1,
206 'AC_CANONICAL_TARGET' => 1,
207 'AC_SUBST' => 1,
208 'AC_CONFIG_LIBOBJ_DIR' => 1,
209 'AC_FC_SRCEXT' => 1,
210 'AC_CANONICAL_HOST' => 1,
211 'AC_PROG_LIBTOOL' => 1,
212 'AM_INIT_AUTOMAKE' => 1,
213 'AM_PATH_GUILE' => 1,
214 'AC_CONFIG_SUBDIRS' => 1,
215 'AM_AUTOMAKE_VERSION' => 1,
216 'LT_CONFIG_LTDL_DIR' => 1,
217 'AC_REQUIRE_AUX_FILE' => 1,
218 'AC_CONFIG_LINKS' => 1,
219 'm4_sinclude' => 1,
220 'LT_SUPPORTED_TAG' => 1,
221 'AM_MAINTAINER_MODE' => 1,
222 'AM_NLS' => 1,
223 'AC_FC_PP_DEFINE' => 1,
224 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
225 'AM_MAKEFILE_INCLUDE' => 1,
226 '_m4_warn' => 1,
227 'AM_PROG_CXX_C_O' => 1,
228 '_AM_COND_ENDIF' => 1,
229 '_AM_MAKEFILE_INCLUDE' => 1,
230 'AM_ENABLE_MULTILIB' => 1,
231 'AM_SILENT_RULES' => 1,
232 'AM_PROG_MOC' => 1,
233 'AC_CONFIG_FILES' => 1,
234 'LT_INIT' => 1,
235 'include' => 1,
236 'AM_PROG_AR' => 1,
237 'AM_GNU_GETTEXT' => 1,
238 'AC_LIBSOURCE' => 1,
239 'AM_PROG_FC_C_O' => 1,
240 'AC_CANONICAL_BUILD' => 1,
241 'AC_FC_FREEFORM' => 1,
242 'AH_OUTPUT' => 1,
243 'AC_FC_PP_SRCEXT' => 1,
244 '_AM_SUBST_NOTMAKE' => 1,
245 'AC_CONFIG_AUX_DIR' => 1,
246 'sinclude' => 1,
247 'AM_PROG_CC_C_O' => 1,
248 'm4_pattern_allow' => 1,
249 'AM_XGETTEXT_OPTION' => 1,
250 'AC_CANONICAL_SYSTEM' => 1,
251 'AM_CONDITIONAL' => 1,
252 'AC_CONFIG_HEADERS' => 1,
253 'AC_DEFINE_TRACE_LITERAL' => 1,
254 'AM_POT_TOOLS' => 1,
255 'm4_include' => 1,
256 '_AM_COND_ELSE' => 1,
257 'AC_SUBST_TRACE' => 1
258 }
259 ], 'Autom4te::Request' )
260 );
261
+0
-1879
autom4te.cache/traces.0 less more
0 m4trace:/usr/share/aclocal/libtool.m4:69: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
1 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
2 AC_BEFORE([$0], [LT_LANG])dnl
3 AC_BEFORE([$0], [LT_OUTPUT])dnl
4 AC_BEFORE([$0], [LTDL_INIT])dnl
5 m4_require([_LT_CHECK_BUILDDIR])dnl
6
7 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
8 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
9 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
10 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
11 dnl unless we require an AC_DEFUNed macro:
12 AC_REQUIRE([LTOPTIONS_VERSION])dnl
13 AC_REQUIRE([LTSUGAR_VERSION])dnl
14 AC_REQUIRE([LTVERSION_VERSION])dnl
15 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
16 m4_require([_LT_PROG_LTMAIN])dnl
17
18 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
19
20 dnl Parse OPTIONS
21 _LT_SET_OPTIONS([$0], [$1])
22
23 # This can be used to rebuild libtool when needed
24 LIBTOOL_DEPS="$ltmain"
25
26 # Always use our own libtool.
27 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
28 AC_SUBST(LIBTOOL)dnl
29
30 _LT_SETUP
31
32 # Only expand once:
33 m4_define([LT_INIT])
34 ])
35 m4trace:/usr/share/aclocal/libtool.m4:107: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
36 m4trace:/usr/share/aclocal/libtool.m4:107: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
37 You should run autoupdate.])dnl
38 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
39 m4trace:/usr/share/aclocal/libtool.m4:108: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
40 m4trace:/usr/share/aclocal/libtool.m4:108: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
41 You should run autoupdate.])dnl
42 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
43 m4trace:/usr/share/aclocal/libtool.m4:609: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
44 AC_MSG_NOTICE([creating $CONFIG_LT])
45 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
46 [# Run this file to recreate a libtool stub with the current configuration.])
47
48 cat >>"$CONFIG_LT" <<\_LTEOF
49 lt_cl_silent=false
50 exec AS_MESSAGE_LOG_FD>>config.log
51 {
52 echo
53 AS_BOX([Running $as_me.])
54 } >&AS_MESSAGE_LOG_FD
55
56 lt_cl_help="\
57 \`$as_me' creates a local libtool stub from the current configuration,
58 for use in further configure time tests before the real libtool is
59 generated.
60
61 Usage: $[0] [[OPTIONS]]
62
63 -h, --help print this help, then exit
64 -V, --version print version number, then exit
65 -q, --quiet do not print progress messages
66 -d, --debug don't remove temporary files
67
68 Report bugs to <bug-libtool@gnu.org>."
69
70 lt_cl_version="\
71 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
72 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
73 configured by $[0], generated by m4_PACKAGE_STRING.
74
75 Copyright (C) 2011 Free Software Foundation, Inc.
76 This config.lt script is free software; the Free Software Foundation
77 gives unlimited permision to copy, distribute and modify it."
78
79 while test $[#] != 0
80 do
81 case $[1] in
82 --version | --v* | -V )
83 echo "$lt_cl_version"; exit 0 ;;
84 --help | --h* | -h )
85 echo "$lt_cl_help"; exit 0 ;;
86 --debug | --d* | -d )
87 debug=: ;;
88 --quiet | --q* | --silent | --s* | -q )
89 lt_cl_silent=: ;;
90
91 -*) AC_MSG_ERROR([unrecognized option: $[1]
92 Try \`$[0] --help' for more information.]) ;;
93
94 *) AC_MSG_ERROR([unrecognized argument: $[1]
95 Try \`$[0] --help' for more information.]) ;;
96 esac
97 shift
98 done
99
100 if $lt_cl_silent; then
101 exec AS_MESSAGE_FD>/dev/null
102 fi
103 _LTEOF
104
105 cat >>"$CONFIG_LT" <<_LTEOF
106 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
107 _LTEOF
108
109 cat >>"$CONFIG_LT" <<\_LTEOF
110 AC_MSG_NOTICE([creating $ofile])
111 _LT_OUTPUT_LIBTOOL_COMMANDS
112 AS_EXIT(0)
113 _LTEOF
114 chmod +x "$CONFIG_LT"
115
116 # configure is writing to config.log, but config.lt does its own redirection,
117 # appending to config.log, which fails on DOS, as config.log is still kept
118 # open by configure. Here we exec the FD to /dev/null, effectively closing
119 # config.log, so it can be properly (re)opened and appended to by config.lt.
120 lt_cl_success=:
121 test "$silent" = yes &&
122 lt_config_lt_args="$lt_config_lt_args --quiet"
123 exec AS_MESSAGE_LOG_FD>/dev/null
124 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
125 exec AS_MESSAGE_LOG_FD>>config.log
126 $lt_cl_success || AS_EXIT(1)
127 ])
128 m4trace:/usr/share/aclocal/libtool.m4:790: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
129 m4trace:/usr/share/aclocal/libtool.m4:801: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
130 m4_case([$1],
131 [C], [_LT_LANG(C)],
132 [C++], [_LT_LANG(CXX)],
133 [Go], [_LT_LANG(GO)],
134 [Java], [_LT_LANG(GCJ)],
135 [Fortran 77], [_LT_LANG(F77)],
136 [Fortran], [_LT_LANG(FC)],
137 [Windows Resource], [_LT_LANG(RC)],
138 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
139 [_LT_LANG($1)],
140 [m4_fatal([$0: unsupported language: "$1"])])])dnl
141 ])
142 m4trace:/usr/share/aclocal/libtool.m4:893: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
143 m4trace:/usr/share/aclocal/libtool.m4:893: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
144 You should run autoupdate.])dnl
145 LT_LANG(C++)])
146 m4trace:/usr/share/aclocal/libtool.m4:894: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
147 m4trace:/usr/share/aclocal/libtool.m4:894: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
148 You should run autoupdate.])dnl
149 LT_LANG(Fortran 77)])
150 m4trace:/usr/share/aclocal/libtool.m4:895: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
151 m4trace:/usr/share/aclocal/libtool.m4:895: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
152 You should run autoupdate.])dnl
153 LT_LANG(Fortran)])
154 m4trace:/usr/share/aclocal/libtool.m4:896: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
155 m4trace:/usr/share/aclocal/libtool.m4:896: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
156 You should run autoupdate.])dnl
157 LT_LANG(Java)])
158 m4trace:/usr/share/aclocal/libtool.m4:897: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
159 m4trace:/usr/share/aclocal/libtool.m4:897: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
160 You should run autoupdate.])dnl
161 LT_LANG(Windows Resource)])
162 m4trace:/usr/share/aclocal/libtool.m4:1225: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
163 AC_ARG_WITH([sysroot],
164 [ --with-sysroot[=DIR] Search for dependent libraries within DIR
165 (or the compiler's sysroot if not specified).],
166 [], [with_sysroot=no])
167
168 dnl lt_sysroot will always be passed unquoted. We quote it here
169 dnl in case the user passed a directory name.
170 lt_sysroot=
171 case ${with_sysroot} in #(
172 yes)
173 if test "$GCC" = yes; then
174 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
175 fi
176 ;; #(
177 /*)
178 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
179 ;; #(
180 no|'')
181 ;; #(
182 *)
183 AC_MSG_RESULT([${with_sysroot}])
184 AC_MSG_ERROR([The sysroot must be an absolute path.])
185 ;;
186 esac
187
188 AC_MSG_RESULT([${lt_sysroot:-no}])
189 _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
190 [dependent libraries, and in which our libraries should be installed.])])
191 m4trace:/usr/share/aclocal/libtool.m4:1509: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
192 m4_require([_LT_DECL_SED])dnl
193 AC_CACHE_CHECK([$1], [$2],
194 [$2=no
195 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
196 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
197 lt_compiler_flag="$3"
198 # Insert the option either (1) after the last *FLAGS variable, or
199 # (2) before a word containing "conftest.", or (3) at the end.
200 # Note that $ac_compile itself does not contain backslashes and begins
201 # with a dollar sign (not a hyphen), so the echo should work correctly.
202 # The option is referenced via a variable to avoid confusing sed.
203 lt_compile=`echo "$ac_compile" | $SED \
204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
205 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
206 -e 's:$: $lt_compiler_flag:'`
207 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
208 (eval "$lt_compile" 2>conftest.err)
209 ac_status=$?
210 cat conftest.err >&AS_MESSAGE_LOG_FD
211 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
212 if (exit $ac_status) && test -s "$ac_outfile"; then
213 # The compiler can only warn and ignore the option if not recognized
214 # So say no if there are warnings other than the usual output.
215 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
216 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
217 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
218 $2=yes
219 fi
220 fi
221 $RM conftest*
222 ])
223
224 if test x"[$]$2" = xyes; then
225 m4_if([$5], , :, [$5])
226 else
227 m4_if([$6], , :, [$6])
228 fi
229 ])
230 m4trace:/usr/share/aclocal/libtool.m4:1551: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
231 m4trace:/usr/share/aclocal/libtool.m4:1551: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
232 You should run autoupdate.])dnl
233 m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
234 m4trace:/usr/share/aclocal/libtool.m4:1560: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
235 m4_require([_LT_DECL_SED])dnl
236 AC_CACHE_CHECK([$1], [$2],
237 [$2=no
238 save_LDFLAGS="$LDFLAGS"
239 LDFLAGS="$LDFLAGS $3"
240 echo "$lt_simple_link_test_code" > conftest.$ac_ext
241 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
242 # The linker can only warn and ignore the option if not recognized
243 # So say no if there are warnings
244 if test -s conftest.err; then
245 # Append any errors to the config.log.
246 cat conftest.err 1>&AS_MESSAGE_LOG_FD
247 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
248 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
249 if diff conftest.exp conftest.er2 >/dev/null; then
250 $2=yes
251 fi
252 else
253 $2=yes
254 fi
255 fi
256 $RM -r conftest*
257 LDFLAGS="$save_LDFLAGS"
258 ])
259
260 if test x"[$]$2" = xyes; then
261 m4_if([$4], , :, [$4])
262 else
263 m4_if([$5], , :, [$5])
264 fi
265 ])
266 m4trace:/usr/share/aclocal/libtool.m4:1595: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
267 m4trace:/usr/share/aclocal/libtool.m4:1595: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
268 You should run autoupdate.])dnl
269 m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
270 m4trace:/usr/share/aclocal/libtool.m4:1602: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
271 # find the maximum length of command line arguments
272 AC_MSG_CHECKING([the maximum length of command line arguments])
273 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
274 i=0
275 teststring="ABCD"
276
277 case $build_os in
278 msdosdjgpp*)
279 # On DJGPP, this test can blow up pretty badly due to problems in libc
280 # (any single argument exceeding 2000 bytes causes a buffer overrun
281 # during glob expansion). Even if it were fixed, the result of this
282 # check would be larger than it should be.
283 lt_cv_sys_max_cmd_len=12288; # 12K is about right
284 ;;
285
286 gnu*)
287 # Under GNU Hurd, this test is not required because there is
288 # no limit to the length of command line arguments.
289 # Libtool will interpret -1 as no limit whatsoever
290 lt_cv_sys_max_cmd_len=-1;
291 ;;
292
293 cygwin* | mingw* | cegcc*)
294 # On Win9x/ME, this test blows up -- it succeeds, but takes
295 # about 5 minutes as the teststring grows exponentially.
296 # Worse, since 9x/ME are not pre-emptively multitasking,
297 # you end up with a "frozen" computer, even though with patience
298 # the test eventually succeeds (with a max line length of 256k).
299 # Instead, let's just punt: use the minimum linelength reported by
300 # all of the supported platforms: 8192 (on NT/2K/XP).
301 lt_cv_sys_max_cmd_len=8192;
302 ;;
303
304 mint*)
305 # On MiNT this can take a long time and run out of memory.
306 lt_cv_sys_max_cmd_len=8192;
307 ;;
308
309 amigaos*)
310 # On AmigaOS with pdksh, this test takes hours, literally.
311 # So we just punt and use a minimum line length of 8192.
312 lt_cv_sys_max_cmd_len=8192;
313 ;;
314
315 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
316 # This has been around since 386BSD, at least. Likely further.
317 if test -x /sbin/sysctl; then
318 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
319 elif test -x /usr/sbin/sysctl; then
320 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
321 else
322 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
323 fi
324 # And add a safety zone
325 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
327 ;;
328
329 interix*)
330 # We know the value 262144 and hardcode it with a safety zone (like BSD)
331 lt_cv_sys_max_cmd_len=196608
332 ;;
333
334 os2*)
335 # The test takes a long time on OS/2.
336 lt_cv_sys_max_cmd_len=8192
337 ;;
338
339 osf*)
340 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
341 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
342 # nice to cause kernel panics so lets avoid the loop below.
343 # First set a reasonable default.
344 lt_cv_sys_max_cmd_len=16384
345 #
346 if test -x /sbin/sysconfig; then
347 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
348 *1*) lt_cv_sys_max_cmd_len=-1 ;;
349 esac
350 fi
351 ;;
352 sco3.2v5*)
353 lt_cv_sys_max_cmd_len=102400
354 ;;
355 sysv5* | sco5v6* | sysv4.2uw2*)
356 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
357 if test -n "$kargmax"; then
358 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
359 else
360 lt_cv_sys_max_cmd_len=32768
361 fi
362 ;;
363 *)
364 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
365 if test -n "$lt_cv_sys_max_cmd_len" && \
366 test undefined != "$lt_cv_sys_max_cmd_len"; then
367 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
368 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
369 else
370 # Make teststring a little bigger before we do anything with it.
371 # a 1K string should be a reasonable start.
372 for i in 1 2 3 4 5 6 7 8 ; do
373 teststring=$teststring$teststring
374 done
375 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
376 # If test is not a shell built-in, we'll probably end up computing a
377 # maximum length that is only half of the actual maximum length, but
378 # we can't tell.
379 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
380 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
381 test $i != 17 # 1/2 MB should be enough
382 do
383 i=`expr $i + 1`
384 teststring=$teststring$teststring
385 done
386 # Only check the string length outside the loop.
387 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
388 teststring=
389 # Add a significant safety factor because C++ compilers can tack on
390 # massive amounts of additional arguments before passing them to the
391 # linker. It appears as though 1/2 is a usable value.
392 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
393 fi
394 ;;
395 esac
396 ])
397 if test -n $lt_cv_sys_max_cmd_len ; then
398 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
399 else
400 AC_MSG_RESULT(none)
401 fi
402 max_cmd_len=$lt_cv_sys_max_cmd_len
403 _LT_DECL([], [max_cmd_len], [0],
404 [What is the maximum length of a command?])
405 ])
406 m4trace:/usr/share/aclocal/libtool.m4:1741: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
407 m4trace:/usr/share/aclocal/libtool.m4:1741: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
408 You should run autoupdate.])dnl
409 m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
410 m4trace:/usr/share/aclocal/libtool.m4:1852: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
411 if test "x$enable_dlopen" != xyes; then
412 enable_dlopen=unknown
413 enable_dlopen_self=unknown
414 enable_dlopen_self_static=unknown
415 else
416 lt_cv_dlopen=no
417 lt_cv_dlopen_libs=
418
419 case $host_os in
420 beos*)
421 lt_cv_dlopen="load_add_on"
422 lt_cv_dlopen_libs=
423 lt_cv_dlopen_self=yes
424 ;;
425
426 mingw* | pw32* | cegcc*)
427 lt_cv_dlopen="LoadLibrary"
428 lt_cv_dlopen_libs=
429 ;;
430
431 cygwin*)
432 lt_cv_dlopen="dlopen"
433 lt_cv_dlopen_libs=
434 ;;
435
436 darwin*)
437 # if libdl is installed we need to link against it
438 AC_CHECK_LIB([dl], [dlopen],
439 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
440 lt_cv_dlopen="dyld"
441 lt_cv_dlopen_libs=
442 lt_cv_dlopen_self=yes
443 ])
444 ;;
445
446 *)
447 AC_CHECK_FUNC([shl_load],
448 [lt_cv_dlopen="shl_load"],
449 [AC_CHECK_LIB([dld], [shl_load],
450 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
451 [AC_CHECK_FUNC([dlopen],
452 [lt_cv_dlopen="dlopen"],
453 [AC_CHECK_LIB([dl], [dlopen],
454 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
455 [AC_CHECK_LIB([svld], [dlopen],
456 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
457 [AC_CHECK_LIB([dld], [dld_link],
458 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
459 ])
460 ])
461 ])
462 ])
463 ])
464 ;;
465 esac
466
467 if test "x$lt_cv_dlopen" != xno; then
468 enable_dlopen=yes
469 else
470 enable_dlopen=no
471 fi
472
473 case $lt_cv_dlopen in
474 dlopen)
475 save_CPPFLAGS="$CPPFLAGS"
476 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
477
478 save_LDFLAGS="$LDFLAGS"
479 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
480
481 save_LIBS="$LIBS"
482 LIBS="$lt_cv_dlopen_libs $LIBS"
483
484 AC_CACHE_CHECK([whether a program can dlopen itself],
485 lt_cv_dlopen_self, [dnl
486 _LT_TRY_DLOPEN_SELF(
487 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
488 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
489 ])
490
491 if test "x$lt_cv_dlopen_self" = xyes; then
492 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
493 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
494 lt_cv_dlopen_self_static, [dnl
495 _LT_TRY_DLOPEN_SELF(
496 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
497 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
498 ])
499 fi
500
501 CPPFLAGS="$save_CPPFLAGS"
502 LDFLAGS="$save_LDFLAGS"
503 LIBS="$save_LIBS"
504 ;;
505 esac
506
507 case $lt_cv_dlopen_self in
508 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
509 *) enable_dlopen_self=unknown ;;
510 esac
511
512 case $lt_cv_dlopen_self_static in
513 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
514 *) enable_dlopen_self_static=unknown ;;
515 esac
516 fi
517 _LT_DECL([dlopen_support], [enable_dlopen], [0],
518 [Whether dlopen is supported])
519 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
520 [Whether dlopen of programs is supported])
521 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
522 [Whether dlopen of statically linked programs is supported])
523 ])
524 m4trace:/usr/share/aclocal/libtool.m4:1969: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
525 m4trace:/usr/share/aclocal/libtool.m4:1969: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
526 You should run autoupdate.])dnl
527 m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
528 m4trace:/usr/share/aclocal/libtool.m4:2939: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
529 AC_MSG_CHECKING([for $1])
530 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
531 [case $MAGIC_CMD in
532 [[\\/*] | ?:[\\/]*])
533 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
534 ;;
535 *)
536 lt_save_MAGIC_CMD="$MAGIC_CMD"
537 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
538 dnl $ac_dummy forces splitting on constant user-supplied paths.
539 dnl POSIX.2 word splitting is done only on the output of word expansions,
540 dnl not every word. This closes a longstanding sh security hole.
541 ac_dummy="m4_if([$2], , $PATH, [$2])"
542 for ac_dir in $ac_dummy; do
543 IFS="$lt_save_ifs"
544 test -z "$ac_dir" && ac_dir=.
545 if test -f $ac_dir/$1; then
546 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
547 if test -n "$file_magic_test_file"; then
548 case $deplibs_check_method in
549 "file_magic "*)
550 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
551 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
552 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
553 $EGREP "$file_magic_regex" > /dev/null; then
554 :
555 else
556 cat <<_LT_EOF 1>&2
557
558 *** Warning: the command libtool uses to detect shared libraries,
559 *** $file_magic_cmd, produces output that libtool cannot recognize.
560 *** The result is that libtool may fail to recognize shared libraries
561 *** as such. This will affect the creation of libtool libraries that
562 *** depend on shared libraries, but programs linked with such libtool
563 *** libraries will work regardless of this problem. Nevertheless, you
564 *** may want to report the problem to your system manager and/or to
565 *** bug-libtool@gnu.org
566
567 _LT_EOF
568 fi ;;
569 esac
570 fi
571 break
572 fi
573 done
574 IFS="$lt_save_ifs"
575 MAGIC_CMD="$lt_save_MAGIC_CMD"
576 ;;
577 esac])
578 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
579 if test -n "$MAGIC_CMD"; then
580 AC_MSG_RESULT($MAGIC_CMD)
581 else
582 AC_MSG_RESULT(no)
583 fi
584 _LT_DECL([], [MAGIC_CMD], [0],
585 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
586 ])
587 m4trace:/usr/share/aclocal/libtool.m4:3001: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
588 m4trace:/usr/share/aclocal/libtool.m4:3001: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
589 You should run autoupdate.])dnl
590 m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
591 m4trace:/usr/share/aclocal/libtool.m4:3024: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
592 AC_REQUIRE([AC_CANONICAL_HOST])dnl
593 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
594 m4_require([_LT_DECL_SED])dnl
595 m4_require([_LT_DECL_EGREP])dnl
596 m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
597
598 AC_ARG_WITH([gnu-ld],
599 [AS_HELP_STRING([--with-gnu-ld],
600 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
601 [test "$withval" = no || with_gnu_ld=yes],
602 [with_gnu_ld=no])dnl
603
604 ac_prog=ld
605 if test "$GCC" = yes; then
606 # Check if gcc -print-prog-name=ld gives a path.
607 AC_MSG_CHECKING([for ld used by $CC])
608 case $host in
609 *-*-mingw*)
610 # gcc leaves a trailing carriage return which upsets mingw
611 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
612 *)
613 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
614 esac
615 case $ac_prog in
616 # Accept absolute paths.
617 [[\\/]]* | ?:[[\\/]]*)
618 re_direlt='/[[^/]][[^/]]*/\.\./'
619 # Canonicalize the pathname of ld
620 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
621 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
622 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
623 done
624 test -z "$LD" && LD="$ac_prog"
625 ;;
626 "")
627 # If it fails, then pretend we aren't using GCC.
628 ac_prog=ld
629 ;;
630 *)
631 # If it is relative, then search for the first ld in PATH.
632 with_gnu_ld=unknown
633 ;;
634 esac
635 elif test "$with_gnu_ld" = yes; then
636 AC_MSG_CHECKING([for GNU ld])
637 else
638 AC_MSG_CHECKING([for non-GNU ld])
639 fi
640 AC_CACHE_VAL(lt_cv_path_LD,
641 [if test -z "$LD"; then
642 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
643 for ac_dir in $PATH; do
644 IFS="$lt_save_ifs"
645 test -z "$ac_dir" && ac_dir=.
646 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
647 lt_cv_path_LD="$ac_dir/$ac_prog"
648 # Check to see if the program is GNU ld. I'd rather use --version,
649 # but apparently some variants of GNU ld only accept -v.
650 # Break only if it was the GNU/non-GNU ld that we prefer.
651 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
652 *GNU* | *'with BFD'*)
653 test "$with_gnu_ld" != no && break
654 ;;
655 *)
656 test "$with_gnu_ld" != yes && break
657 ;;
658 esac
659 fi
660 done
661 IFS="$lt_save_ifs"
662 else
663 lt_cv_path_LD="$LD" # Let the user override the test with a path.
664 fi])
665 LD="$lt_cv_path_LD"
666 if test -n "$LD"; then
667 AC_MSG_RESULT($LD)
668 else
669 AC_MSG_RESULT(no)
670 fi
671 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
672 _LT_PATH_LD_GNU
673 AC_SUBST([LD])
674
675 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
676 ])
677 m4trace:/usr/share/aclocal/libtool.m4:3113: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
678 m4trace:/usr/share/aclocal/libtool.m4:3113: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
679 You should run autoupdate.])dnl
680 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
681 m4trace:/usr/share/aclocal/libtool.m4:3114: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
682 m4trace:/usr/share/aclocal/libtool.m4:3114: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
683 You should run autoupdate.])dnl
684 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
685 m4trace:/usr/share/aclocal/libtool.m4:3404: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
686 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
687 [if test -n "$NM"; then
688 # Let the user override the test.
689 lt_cv_path_NM="$NM"
690 else
691 lt_nm_to_check="${ac_tool_prefix}nm"
692 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
693 lt_nm_to_check="$lt_nm_to_check nm"
694 fi
695 for lt_tmp_nm in $lt_nm_to_check; do
696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
697 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
698 IFS="$lt_save_ifs"
699 test -z "$ac_dir" && ac_dir=.
700 tmp_nm="$ac_dir/$lt_tmp_nm"
701 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
702 # Check to see if the nm accepts a BSD-compat flag.
703 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
704 # nm: unknown option "B" ignored
705 # Tru64's nm complains that /dev/null is an invalid object file
706 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
707 */dev/null* | *'Invalid file or object type'*)
708 lt_cv_path_NM="$tmp_nm -B"
709 break
710 ;;
711 *)
712 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
713 */dev/null*)
714 lt_cv_path_NM="$tmp_nm -p"
715 break
716 ;;
717 *)
718 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
719 continue # so that we can try to find one that supports BSD flags
720 ;;
721 esac
722 ;;
723 esac
724 fi
725 done
726 IFS="$lt_save_ifs"
727 done
728 : ${lt_cv_path_NM=no}
729 fi])
730 if test "$lt_cv_path_NM" != "no"; then
731 NM="$lt_cv_path_NM"
732 else
733 # Didn't find any BSD compatible name lister, look for dumpbin.
734 if test -n "$DUMPBIN"; then :
735 # Let the user override the test.
736 else
737 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
738 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
739 *COFF*)
740 DUMPBIN="$DUMPBIN -symbols"
741 ;;
742 *)
743 DUMPBIN=:
744 ;;
745 esac
746 fi
747 AC_SUBST([DUMPBIN])
748 if test "$DUMPBIN" != ":"; then
749 NM="$DUMPBIN"
750 fi
751 fi
752 test -z "$NM" && NM=nm
753 AC_SUBST([NM])
754 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
755
756 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
757 [lt_cv_nm_interface="BSD nm"
758 echo "int some_variable = 0;" > conftest.$ac_ext
759 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
760 (eval "$ac_compile" 2>conftest.err)
761 cat conftest.err >&AS_MESSAGE_LOG_FD
762 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
763 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
764 cat conftest.err >&AS_MESSAGE_LOG_FD
765 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
766 cat conftest.out >&AS_MESSAGE_LOG_FD
767 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
768 lt_cv_nm_interface="MS dumpbin"
769 fi
770 rm -f conftest*])
771 ])
772 m4trace:/usr/share/aclocal/libtool.m4:3494: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
773 m4trace:/usr/share/aclocal/libtool.m4:3494: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
774 You should run autoupdate.])dnl
775 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
776 m4trace:/usr/share/aclocal/libtool.m4:3495: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
777 m4trace:/usr/share/aclocal/libtool.m4:3495: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
778 You should run autoupdate.])dnl
779 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
780 m4trace:/usr/share/aclocal/libtool.m4:3565: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
781 LIBM=
782 case $host in
783 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
784 # These system don't have libm, or don't need it
785 ;;
786 *-ncr-sysv4.3*)
787 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
788 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
789 ;;
790 *)
791 AC_CHECK_LIB(m, cos, LIBM="-lm")
792 ;;
793 esac
794 AC_SUBST([LIBM])
795 ])
796 m4trace:/usr/share/aclocal/libtool.m4:3584: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
797 m4trace:/usr/share/aclocal/libtool.m4:3584: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
798 You should run autoupdate.])dnl
799 m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
800 m4trace:/usr/share/aclocal/libtool.m4:7631: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
801 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
802 [AC_CHECK_TOOL(GCJ, gcj,)
803 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
804 AC_SUBST(GCJFLAGS)])])[]dnl
805 ])
806 m4trace:/usr/share/aclocal/libtool.m4:7640: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
807 m4trace:/usr/share/aclocal/libtool.m4:7640: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
808 You should run autoupdate.])dnl
809 m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
810 m4trace:/usr/share/aclocal/libtool.m4:7647: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
811 ])
812 m4trace:/usr/share/aclocal/libtool.m4:7654: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
813 ])
814 m4trace:/usr/share/aclocal/libtool.m4:7659: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
815 m4trace:/usr/share/aclocal/libtool.m4:7659: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
816 You should run autoupdate.])dnl
817 m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
818 m4trace:/usr/share/aclocal/libtool.m4:7779: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
819 m4trace:/usr/share/aclocal/libtool.m4:7779: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
820 You should run autoupdate.])dnl
821 m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
822 m4trace:/usr/share/aclocal/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
823 m4trace:/usr/share/aclocal/ltoptions.m4:111: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
824 AC_DIAGNOSE([obsolete],
825 [$0: Remove this warning and the call to _LT_SET_OPTION when you
826 put the `dlopen' option into LT_INIT's first parameter.])
827 ])
828 m4trace:/usr/share/aclocal/ltoptions.m4:111: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
829 You should run autoupdate.])dnl
830 _LT_SET_OPTION([LT_INIT], [dlopen])
831 AC_DIAGNOSE([obsolete],
832 [$0: Remove this warning and the call to _LT_SET_OPTION when you
833 put the `dlopen' option into LT_INIT's first parameter.])
834 ])
835 m4trace:/usr/share/aclocal/ltoptions.m4:146: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
836 _LT_SET_OPTION([LT_INIT], [win32-dll])
837 AC_DIAGNOSE([obsolete],
838 [$0: Remove this warning and the call to _LT_SET_OPTION when you
839 put the `win32-dll' option into LT_INIT's first parameter.])
840 ])
841 m4trace:/usr/share/aclocal/ltoptions.m4:146: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
842 You should run autoupdate.])dnl
843 AC_REQUIRE([AC_CANONICAL_HOST])dnl
844 _LT_SET_OPTION([LT_INIT], [win32-dll])
845 AC_DIAGNOSE([obsolete],
846 [$0: Remove this warning and the call to _LT_SET_OPTION when you
847 put the `win32-dll' option into LT_INIT's first parameter.])
848 ])
849 m4trace:/usr/share/aclocal/ltoptions.m4:195: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
850 ])
851 m4trace:/usr/share/aclocal/ltoptions.m4:199: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
852 ])
853 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
854 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
855 You should run autoupdate.])dnl
856 AC_ENABLE_SHARED($@)])
857 m4trace:/usr/share/aclocal/ltoptions.m4:204: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
858 m4trace:/usr/share/aclocal/ltoptions.m4:204: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
859 You should run autoupdate.])dnl
860 AC_DISABLE_SHARED($@)])
861 m4trace:/usr/share/aclocal/ltoptions.m4:249: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
862 ])
863 m4trace:/usr/share/aclocal/ltoptions.m4:253: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
864 ])
865 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
866 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
867 You should run autoupdate.])dnl
868 AC_ENABLE_STATIC($@)])
869 m4trace:/usr/share/aclocal/ltoptions.m4:258: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
870 m4trace:/usr/share/aclocal/ltoptions.m4:258: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
871 You should run autoupdate.])dnl
872 AC_DISABLE_STATIC($@)])
873 m4trace:/usr/share/aclocal/ltoptions.m4:303: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
874 AC_DIAGNOSE([obsolete],
875 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
876 the `fast-install' option into LT_INIT's first parameter.])
877 ])
878 m4trace:/usr/share/aclocal/ltoptions.m4:303: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
879 You should run autoupdate.])dnl
880 _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
881 AC_DIAGNOSE([obsolete],
882 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
883 the `fast-install' option into LT_INIT's first parameter.])
884 ])
885 m4trace:/usr/share/aclocal/ltoptions.m4:310: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
886 AC_DIAGNOSE([obsolete],
887 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
888 the `disable-fast-install' option into LT_INIT's first parameter.])
889 ])
890 m4trace:/usr/share/aclocal/ltoptions.m4:310: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
891 You should run autoupdate.])dnl
892 _LT_SET_OPTION([LT_INIT], [disable-fast-install])
893 AC_DIAGNOSE([obsolete],
894 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
895 the `disable-fast-install' option into LT_INIT's first parameter.])
896 ])
897 m4trace:/usr/share/aclocal/ltoptions.m4:358: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
898 AC_DIAGNOSE([obsolete],
899 [$0: Remove this warning and the call to _LT_SET_OPTION when you
900 put the `pic-only' option into LT_INIT's first parameter.])
901 ])
902 m4trace:/usr/share/aclocal/ltoptions.m4:358: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
903 You should run autoupdate.])dnl
904 _LT_SET_OPTION([LT_INIT], [pic-only])
905 AC_DIAGNOSE([obsolete],
906 [$0: Remove this warning and the call to _LT_SET_OPTION when you
907 put the `pic-only' option into LT_INIT's first parameter.])
908 ])
909 m4trace:/usr/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
910 m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2'
911 macro_revision='1.3337'
912 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
913 _LT_DECL(, macro_revision, 0)
914 ])
915 m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
916 m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
917 m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
918 m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
919 m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
920 m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
921 m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
922 m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
923 m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
924 m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
925 m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
926 m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
927 m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
928 m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
929 m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
930 m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
931 m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
932 m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
933 m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
934 m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
935 m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
936 m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
937 m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
938 m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
939 m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
940 m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
941 m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
942 m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
943 m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
944 m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
945 m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
946 m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
947 m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
948 m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
949 m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
950 m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
951 m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
952 m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
953 m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
954 m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
955 m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
956 m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
957 m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
958 m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
959 m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
960 m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
961 m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
962 m4trace:/usr/share/aclocal/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
963 m4trace:/usr/share/aclocal/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77])
964 m4trace:/usr/share/aclocal/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC])
965 m4trace:/usr/share/aclocal/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX])
966 m4trace:/usr/share/aclocal-1.11/amversion.m4:17: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
967 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
968 dnl require some minimum version. Point them to the right macro.
969 m4_if([$1], [1.11.6], [],
970 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
971 ])
972 m4trace:/usr/share/aclocal-1.11/amversion.m4:36: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.6])dnl
973 m4_ifndef([AC_AUTOCONF_VERSION],
974 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
975 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
976 m4trace:/usr/share/aclocal-1.11/auxdir.m4:49: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
977 AC_PREREQ([2.50])dnl
978 # expand $ac_aux_dir to an absolute path
979 am_aux_dir=`cd $ac_aux_dir && pwd`
980 ])
981 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
982 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
983 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
984 AC_SUBST([$1_TRUE])dnl
985 AC_SUBST([$1_FALSE])dnl
986 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
987 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
988 m4_define([_AM_COND_VALUE_$1], [$2])dnl
989 if $2; then
990 $1_TRUE=
991 $1_FALSE='#'
992 else
993 $1_TRUE='#'
994 $1_FALSE=
995 fi
996 AC_CONFIG_COMMANDS_PRE(
997 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
998 AC_MSG_ERROR([[conditional "$1" was never defined.
999 Usually this means the macro was only invoked conditionally.]])
1000 fi])])
1001 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1002 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1003 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1004 AC_REQUIRE([AM_DEP_TRACK])dnl
1005
1006 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1007 [$1], CXX, [depcc="$CXX" am_compiler_list=],
1008 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1009 [$1], UPC, [depcc="$UPC" am_compiler_list=],
1010 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1011 [depcc="$$1" am_compiler_list=])
1012
1013 AC_CACHE_CHECK([dependency style of $depcc],
1014 [am_cv_$1_dependencies_compiler_type],
1015 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1016 # We make a subdir and do the tests there. Otherwise we can end up
1017 # making bogus files that we don't know about and never remove. For
1018 # instance it was reported that on HP-UX the gcc test will end up
1019 # making a dummy file named `D' -- because `-MD' means `put the output
1020 # in D'.
1021 rm -rf conftest.dir
1022 mkdir conftest.dir
1023 # Copy depcomp to subdir because otherwise we won't find it if we're
1024 # using a relative directory.
1025 cp "$am_depcomp" conftest.dir
1026 cd conftest.dir
1027 # We will build objects and dependencies in a subdirectory because
1028 # it helps to detect inapplicable dependency modes. For instance
1029 # both Tru64's cc and ICC support -MD to output dependencies as a
1030 # side effect of compilation, but ICC will put the dependencies in
1031 # the current directory while Tru64 will put them in the object
1032 # directory.
1033 mkdir sub
1034
1035 am_cv_$1_dependencies_compiler_type=none
1036 if test "$am_compiler_list" = ""; then
1037 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1038 fi
1039 am__universal=false
1040 m4_case([$1], [CC],
1041 [case " $depcc " in #(
1042 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1043 esac],
1044 [CXX],
1045 [case " $depcc " in #(
1046 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1047 esac])
1048
1049 for depmode in $am_compiler_list; do
1050 # Setup a source with many dependencies, because some compilers
1051 # like to wrap large dependency lists on column 80 (with \), and
1052 # we should not choose a depcomp mode which is confused by this.
1053 #
1054 # We need to recreate these files for each test, as the compiler may
1055 # overwrite some of them when testing with obscure command lines.
1056 # This happens at least with the AIX C compiler.
1057 : > sub/conftest.c
1058 for i in 1 2 3 4 5 6; do
1059 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1060 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1061 # Solaris 8's {/usr,}/bin/sh.
1062 touch sub/conftst$i.h
1063 done
1064 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1065
1066 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1067 # mode. It turns out that the SunPro C++ compiler does not properly
1068 # handle `-M -o', and we need to detect this. Also, some Intel
1069 # versions had trouble with output in subdirs
1070 am__obj=sub/conftest.${OBJEXT-o}
1071 am__minus_obj="-o $am__obj"
1072 case $depmode in
1073 gcc)
1074 # This depmode causes a compiler race in universal mode.
1075 test "$am__universal" = false || continue
1076 ;;
1077 nosideeffect)
1078 # after this tag, mechanisms are not by side-effect, so they'll
1079 # only be used when explicitly requested
1080 if test "x$enable_dependency_tracking" = xyes; then
1081 continue
1082 else
1083 break
1084 fi
1085 ;;
1086 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1087 # This compiler won't grok `-c -o', but also, the minuso test has
1088 # not run yet. These depmodes are late enough in the game, and
1089 # so weak that their functioning should not be impacted.
1090 am__obj=conftest.${OBJEXT-o}
1091 am__minus_obj=
1092 ;;
1093 none) break ;;
1094 esac
1095 if depmode=$depmode \
1096 source=sub/conftest.c object=$am__obj \
1097 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1098 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1099 >/dev/null 2>conftest.err &&
1100 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1101 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1102 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1103 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1104 # icc doesn't choke on unknown options, it will just issue warnings
1105 # or remarks (even with -Werror). So we grep stderr for any message
1106 # that says an option was ignored or not supported.
1107 # When given -MP, icc 7.0 and 7.1 complain thusly:
1108 # icc: Command line warning: ignoring option '-M'; no argument required
1109 # The diagnosis changed in icc 8.0:
1110 # icc: Command line remark: option '-MP' not supported
1111 if (grep 'ignoring option' conftest.err ||
1112 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1113 am_cv_$1_dependencies_compiler_type=$depmode
1114 break
1115 fi
1116 fi
1117 done
1118
1119 cd ..
1120 rm -rf conftest.dir
1121 else
1122 am_cv_$1_dependencies_compiler_type=none
1123 fi
1124 ])
1125 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1126 AM_CONDITIONAL([am__fastdep$1], [
1127 test "x$enable_dependency_tracking" != xno \
1128 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1129 ])
1130 m4trace:/usr/share/aclocal-1.11/depend.m4:164: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1131 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1132 ])
1133 m4trace:/usr/share/aclocal-1.11/depend.m4:172: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
1134 [ --disable-dependency-tracking speeds up one-time build
1135 --enable-dependency-tracking do not reject slow dependency extractors])
1136 if test "x$enable_dependency_tracking" != xno; then
1137 am_depcomp="$ac_aux_dir/depcomp"
1138 AMDEPBACKSLASH='\'
1139 am__nodep='_no'
1140 fi
1141 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1142 AC_SUBST([AMDEPBACKSLASH])dnl
1143 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1144 AC_SUBST([am__nodep])dnl
1145 _AM_SUBST_NOTMAKE([am__nodep])dnl
1146 ])
1147 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1148 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1149 # are listed without --file. Let's play safe and only enable the eval
1150 # if we detect the quoting.
1151 case $CONFIG_FILES in
1152 *\'*) eval set x "$CONFIG_FILES" ;;
1153 *) set x $CONFIG_FILES ;;
1154 esac
1155 shift
1156 for mf
1157 do
1158 # Strip MF so we end up with the name of the file.
1159 mf=`echo "$mf" | sed -e 's/:.*$//'`
1160 # Check whether this is an Automake generated Makefile or not.
1161 # We used to match only the files named `Makefile.in', but
1162 # some people rename them; so instead we look at the file content.
1163 # Grep'ing the first line is not enough: some people post-process
1164 # each Makefile.in and add a new line on top of each file to say so.
1165 # Grep'ing the whole file is not good either: AIX grep has a line
1166 # limit of 2048, but all sed's we know have understand at least 4000.
1167 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1168 dirpart=`AS_DIRNAME("$mf")`
1169 else
1170 continue
1171 fi
1172 # Extract the definition of DEPDIR, am__include, and am__quote
1173 # from the Makefile without running `make'.
1174 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1175 test -z "$DEPDIR" && continue
1176 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1177 test -z "am__include" && continue
1178 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1179 # When using ansi2knr, U may be empty or an underscore; expand it
1180 U=`sed -n 's/^U = //p' < "$mf"`
1181 # Find all dependency output files, they are included files with
1182 # $(DEPDIR) in their names. We invoke sed twice because it is the
1183 # simplest approach to changing $(DEPDIR) to its actual value in the
1184 # expansion.
1185 for file in `sed -n "
1186 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1187 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1188 # Make sure the directory exists.
1189 test -f "$dirpart/$file" && continue
1190 fdir=`AS_DIRNAME(["$file"])`
1191 AS_MKDIR_P([$dirpart/$fdir])
1192 # echo "creating $dirpart/$file"
1193 echo '# dummy' > "$dirpart/$file"
1194 done
1195 done
1196 }
1197 ])
1198 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1199 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1200 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1201 ])
1202 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
1203 dnl Autoconf wants to disallow AM_ names. We explicitly allow
1204 dnl the ones we care about.
1205 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1206 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1207 AC_REQUIRE([AC_PROG_INSTALL])dnl
1208 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1209 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1210 # is not polluted with repeated "-I."
1211 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1212 # test to see if srcdir already configured
1213 if test -f $srcdir/config.status; then
1214 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1215 fi
1216 fi
1217
1218 # test whether we have cygpath
1219 if test -z "$CYGPATH_W"; then
1220 if (cygpath --version) >/dev/null 2>/dev/null; then
1221 CYGPATH_W='cygpath -w'
1222 else
1223 CYGPATH_W=echo
1224 fi
1225 fi
1226 AC_SUBST([CYGPATH_W])
1227
1228 # Define the identity of the package.
1229 dnl Distinguish between old-style and new-style calls.
1230 m4_ifval([$2],
1231 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1232 AC_SUBST([PACKAGE], [$1])dnl
1233 AC_SUBST([VERSION], [$2])],
1234 [_AM_SET_OPTIONS([$1])dnl
1235 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1236 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1237 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1238 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1239 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1240
1241 _AM_IF_OPTION([no-define],,
1242 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1243 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1244
1245 # Some tools Automake needs.
1246 AC_REQUIRE([AM_SANITY_CHECK])dnl
1247 AC_REQUIRE([AC_ARG_PROGRAM])dnl
1248 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1249 AM_MISSING_PROG(AUTOCONF, autoconf)
1250 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1251 AM_MISSING_PROG(AUTOHEADER, autoheader)
1252 AM_MISSING_PROG(MAKEINFO, makeinfo)
1253 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1254 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1255 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1256 # We need awk for the "check" target. The system "awk" is bad on
1257 # some platforms.
1258 AC_REQUIRE([AC_PROG_AWK])dnl
1259 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1260 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1261 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1262 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1263 [_AM_PROG_TAR([v7])])])
1264 _AM_IF_OPTION([no-dependencies],,
1265 [AC_PROVIDE_IFELSE([AC_PROG_CC],
1266 [_AM_DEPENDENCIES(CC)],
1267 [define([AC_PROG_CC],
1268 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1269 AC_PROVIDE_IFELSE([AC_PROG_CXX],
1270 [_AM_DEPENDENCIES(CXX)],
1271 [define([AC_PROG_CXX],
1272 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1273 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1274 [_AM_DEPENDENCIES(OBJC)],
1275 [define([AC_PROG_OBJC],
1276 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1277 ])
1278 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1279 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1280 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1281 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1282 AC_CONFIG_COMMANDS_PRE(dnl
1283 [m4_provide_if([_AM_COMPILER_EXEEXT],
1284 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1285 ])
1286 m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1287 _am_arg=$1
1288 _am_stamp_count=1
1289 for _am_header in $config_headers :; do
1290 case $_am_header in
1291 $_am_arg | $_am_arg:* )
1292 break ;;
1293 * )
1294 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1295 esac
1296 done
1297 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1298 m4trace:/usr/share/aclocal-1.11/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1299 if test x"${install_sh}" != xset; then
1300 case $am_aux_dir in
1301 *\ * | *\ *)
1302 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1303 *)
1304 install_sh="\${SHELL} $am_aux_dir/install-sh"
1305 esac
1306 fi
1307 AC_SUBST(install_sh)])
1308 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1309 mkdir .tst 2>/dev/null
1310 if test -d .tst; then
1311 am__leading_dot=.
1312 else
1313 am__leading_dot=_
1314 fi
1315 rmdir .tst 2>/dev/null
1316 AC_SUBST([am__leading_dot])])
1317 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1318 cat > confinc << 'END'
1319 am__doit:
1320 @echo this is the am__doit target
1321 .PHONY: am__doit
1322 END
1323 # If we don't find an include directive, just comment out the code.
1324 AC_MSG_CHECKING([for style of include used by $am_make])
1325 am__include="#"
1326 am__quote=
1327 _am_result=none
1328 # First try GNU make style include.
1329 echo "include confinc" > confmf
1330 # Ignore all kinds of additional output from `make'.
1331 case `$am_make -s -f confmf 2> /dev/null` in #(
1332 *the\ am__doit\ target*)
1333 am__include=include
1334 am__quote=
1335 _am_result=GNU
1336 ;;
1337 esac
1338 # Now try BSD make style include.
1339 if test "$am__include" = "#"; then
1340 echo '.include "confinc"' > confmf
1341 case `$am_make -s -f confmf 2> /dev/null` in #(
1342 *the\ am__doit\ target*)
1343 am__include=.include
1344 am__quote="\""
1345 _am_result=BSD
1346 ;;
1347 esac
1348 fi
1349 AC_SUBST([am__include])
1350 AC_SUBST([am__quote])
1351 AC_MSG_RESULT([$_am_result])
1352 rm -f confinc confmf
1353 ])
1354 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1355 $1=${$1-"${am_missing_run}$2"}
1356 AC_SUBST($1)])
1357 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1358 AC_REQUIRE_AUX_FILE([missing])dnl
1359 if test x"${MISSING+set}" != xset; then
1360 case $am_aux_dir in
1361 *\ * | *\ *)
1362 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1363 *)
1364 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1365 esac
1366 fi
1367 # Use eval to expand $SHELL
1368 if eval "$MISSING --run true"; then
1369 am_missing_run="$MISSING --run "
1370 else
1371 am_missing_run=
1372 AC_MSG_WARN([`missing' script is too old or missing])
1373 fi
1374 ])
1375 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:14: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1376 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1377 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1378 dnl while keeping a definition of mkdir_p for backward compatibility.
1379 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1380 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1381 dnl Makefile.ins that do not define MKDIR_P, so we do our own
1382 dnl adjustment using top_builddir (which is defined more often than
1383 dnl MKDIR_P).
1384 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1385 case $mkdir_p in
1386 [[\\/$]]* | ?:[[\\/]]*) ;;
1387 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1388 esac
1389 ])
1390 m4trace:/usr/share/aclocal-1.11/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1391 m4trace:/usr/share/aclocal-1.11/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1392 m4trace:/usr/share/aclocal-1.11/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1393 m4trace:/usr/share/aclocal-1.11/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1394 m4trace:/usr/share/aclocal-1.11/runlog.m4:14: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1395 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1396 ac_status=$?
1397 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1398 (exit $ac_status); }])
1399 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1400 # Just in case
1401 sleep 1
1402 echo timestamp > conftest.file
1403 # Reject unsafe characters in $srcdir or the absolute working directory
1404 # name. Accept space and tab only in the latter.
1405 am_lf='
1406 '
1407 case `pwd` in
1408 *[[\\\"\#\$\&\'\`$am_lf]]*)
1409 AC_MSG_ERROR([unsafe absolute working directory name]);;
1410 esac
1411 case $srcdir in
1412 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1413 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1414 esac
1415
1416 # Do `set' in a subshell so we don't clobber the current shell's
1417 # arguments. Must try -L first in case configure is actually a
1418 # symlink; some systems play weird games with the mod time of symlinks
1419 # (eg FreeBSD returns the mod time of the symlink's containing
1420 # directory).
1421 if (
1422 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1423 if test "$[*]" = "X"; then
1424 # -L didn't work.
1425 set X `ls -t "$srcdir/configure" conftest.file`
1426 fi
1427 rm -f conftest.file
1428 if test "$[*]" != "X $srcdir/configure conftest.file" \
1429 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1430
1431 # If neither matched, then we have a broken ls. This can happen
1432 # if, for instance, CONFIG_SHELL is bash and it inherits a
1433 # broken ls alias from the environment. This has actually
1434 # happened. Such a system could not be considered "sane".
1435 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1436 alias in your environment])
1437 fi
1438
1439 test "$[2]" = conftest.file
1440 )
1441 then
1442 # Ok.
1443 :
1444 else
1445 AC_MSG_ERROR([newly created file is older than distributed files!
1446 Check your system clock])
1447 fi
1448 AC_MSG_RESULT(yes)])
1449 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
1450 [ --enable-silent-rules less verbose build output (undo: `make V=1')
1451 --disable-silent-rules verbose build output (undo: `make V=0')])
1452 case $enable_silent_rules in
1453 yes) AM_DEFAULT_VERBOSITY=0;;
1454 no) AM_DEFAULT_VERBOSITY=1;;
1455 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1456 esac
1457 dnl
1458 dnl A few `make' implementations (e.g., NonStop OS and NextStep)
1459 dnl do not support nested variable expansions.
1460 dnl See automake bug#9928 and bug#10237.
1461 am_make=${MAKE-make}
1462 AC_CACHE_CHECK([whether $am_make supports nested variables],
1463 [am_cv_make_support_nested_variables],
1464 [if AS_ECHO([['TRUE=$(BAR$(V))
1465 BAR0=false
1466 BAR1=true
1467 V=1
1468 am__doit:
1469 @$(TRUE)
1470 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1471 am_cv_make_support_nested_variables=yes
1472 else
1473 am_cv_make_support_nested_variables=no
1474 fi])
1475 if test $am_cv_make_support_nested_variables = yes; then
1476 dnl Using `$V' instead of `$(V)' breaks IRIX make.
1477 AM_V='$(V)'
1478 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1479 else
1480 AM_V=$AM_DEFAULT_VERBOSITY
1481 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1482 fi
1483 AC_SUBST([AM_V])dnl
1484 AM_SUBST_NOTMAKE([AM_V])dnl
1485 AC_SUBST([AM_DEFAULT_V])dnl
1486 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1487 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1488 AM_BACKSLASH='\'
1489 AC_SUBST([AM_BACKSLASH])dnl
1490 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1491 ])
1492 m4trace:/usr/share/aclocal-1.11/strip.m4:19: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1493 # Installed binaries are usually stripped using `strip' when the user
1494 # run `make install-strip'. However `strip' might not be the right
1495 # tool to use in cross-compilation environments, therefore Automake
1496 # will honor the `STRIP' environment variable to overrule this program.
1497 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1498 if test "$cross_compiling" != no; then
1499 AC_CHECK_TOOL([STRIP], [strip], :)
1500 fi
1501 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1502 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1503 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1504 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1505 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
1506 # in the wild :-( We should find a proper way to deprecate it ...
1507 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1508 m4_if([$1], [v7],
1509 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1510 [m4_case([$1], [ustar],, [pax],,
1511 [m4_fatal([Unknown tar format])])
1512 AC_MSG_CHECKING([how to create a $1 tar archive])
1513 # Loop over all known methods to create a tar archive until one works.
1514 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1515 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1516 # Do not fold the above two line into one, because Tru64 sh and
1517 # Solaris sh will not grok spaces in the rhs of `-'.
1518 for _am_tool in $_am_tools
1519 do
1520 case $_am_tool in
1521 gnutar)
1522 for _am_tar in tar gnutar gtar;
1523 do
1524 AM_RUN_LOG([$_am_tar --version]) && break
1525 done
1526 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1527 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1528 am__untar="$_am_tar -xf -"
1529 ;;
1530 plaintar)
1531 # Must skip GNU tar: if it does not support --format= it doesn't create
1532 # ustar tarball either.
1533 (tar --version) >/dev/null 2>&1 && continue
1534 am__tar='tar chf - "$$tardir"'
1535 am__tar_='tar chf - "$tardir"'
1536 am__untar='tar xf -'
1537 ;;
1538 pax)
1539 am__tar='pax -L -x $1 -w "$$tardir"'
1540 am__tar_='pax -L -x $1 -w "$tardir"'
1541 am__untar='pax -r'
1542 ;;
1543 cpio)
1544 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1545 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1546 am__untar='cpio -i -H $1 -d'
1547 ;;
1548 none)
1549 am__tar=false
1550 am__tar_=false
1551 am__untar=false
1552 ;;
1553 esac
1554
1555 # If the value was cached, stop now. We just wanted to have am__tar
1556 # and am__untar set.
1557 test -n "${am_cv_prog_tar_$1}" && break
1558
1559 # tar/untar a dummy directory, and stop if the command works
1560 rm -rf conftest.dir
1561 mkdir conftest.dir
1562 echo GrepMe > conftest.dir/file
1563 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1564 rm -rf conftest.dir
1565 if test -s conftest.tar; then
1566 AM_RUN_LOG([$am__untar <conftest.tar])
1567 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1568 fi
1569 done
1570 rm -rf conftest.dir
1571
1572 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1573 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1574 AC_SUBST([am__tar])
1575 AC_SUBST([am__untar])
1576 ])
1577 m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?A[CHUM]_])
1578 m4trace:configure.ac:20: -1- m4_pattern_forbid([_AC_])
1579 m4trace:configure.ac:20: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
1580 m4trace:configure.ac:20: -1- m4_pattern_allow([^AS_FLAGS$])
1581 m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?m4_])
1582 m4trace:configure.ac:20: -1- m4_pattern_forbid([^dnl$])
1583 m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?AS_])
1584 m4trace:configure.ac:20: -1- m4_pattern_allow([^SHELL$])
1585 m4trace:configure.ac:20: -1- m4_pattern_allow([^PATH_SEPARATOR$])
1586 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_NAME$])
1587 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
1588 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_VERSION$])
1589 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_STRING$])
1590 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
1591 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_URL$])
1592 m4trace:configure.ac:20: -1- m4_pattern_allow([^exec_prefix$])
1593 m4trace:configure.ac:20: -1- m4_pattern_allow([^prefix$])
1594 m4trace:configure.ac:20: -1- m4_pattern_allow([^program_transform_name$])
1595 m4trace:configure.ac:20: -1- m4_pattern_allow([^bindir$])
1596 m4trace:configure.ac:20: -1- m4_pattern_allow([^sbindir$])
1597 m4trace:configure.ac:20: -1- m4_pattern_allow([^libexecdir$])
1598 m4trace:configure.ac:20: -1- m4_pattern_allow([^datarootdir$])
1599 m4trace:configure.ac:20: -1- m4_pattern_allow([^datadir$])
1600 m4trace:configure.ac:20: -1- m4_pattern_allow([^sysconfdir$])
1601 m4trace:configure.ac:20: -1- m4_pattern_allow([^sharedstatedir$])
1602 m4trace:configure.ac:20: -1- m4_pattern_allow([^localstatedir$])
1603 m4trace:configure.ac:20: -1- m4_pattern_allow([^includedir$])
1604 m4trace:configure.ac:20: -1- m4_pattern_allow([^oldincludedir$])
1605 m4trace:configure.ac:20: -1- m4_pattern_allow([^docdir$])
1606 m4trace:configure.ac:20: -1- m4_pattern_allow([^infodir$])
1607 m4trace:configure.ac:20: -1- m4_pattern_allow([^htmldir$])
1608 m4trace:configure.ac:20: -1- m4_pattern_allow([^dvidir$])
1609 m4trace:configure.ac:20: -1- m4_pattern_allow([^pdfdir$])
1610 m4trace:configure.ac:20: -1- m4_pattern_allow([^psdir$])
1611 m4trace:configure.ac:20: -1- m4_pattern_allow([^libdir$])
1612 m4trace:configure.ac:20: -1- m4_pattern_allow([^localedir$])
1613 m4trace:configure.ac:20: -1- m4_pattern_allow([^mandir$])
1614 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_NAME$])
1615 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
1616 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_VERSION$])
1617 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_STRING$])
1618 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
1619 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_URL$])
1620 m4trace:configure.ac:20: -1- m4_pattern_allow([^DEFS$])
1621 m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_C$])
1622 m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_N$])
1623 m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_T$])
1624 m4trace:configure.ac:20: -1- m4_pattern_allow([^LIBS$])
1625 m4trace:configure.ac:20: -1- m4_pattern_allow([^build_alias$])
1626 m4trace:configure.ac:20: -1- m4_pattern_allow([^host_alias$])
1627 m4trace:configure.ac:20: -1- m4_pattern_allow([^target_alias$])
1628 m4trace:configure.ac:22: -1- AM_INIT_AUTOMAKE([1.6])
1629 m4trace:configure.ac:22: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
1630 m4trace:configure.ac:22: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
1631 m4trace:configure.ac:22: -1- AM_AUTOMAKE_VERSION([1.11.6])
1632 m4trace:configure.ac:22: -1- _AM_AUTOCONF_VERSION([2.69])
1633 m4trace:configure.ac:22: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
1634 m4trace:configure.ac:22: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
1635 m4trace:configure.ac:22: -1- m4_pattern_allow([^INSTALL_DATA$])
1636 m4trace:configure.ac:22: -1- m4_pattern_allow([^am__isrc$])
1637 m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__isrc])
1638 m4trace:configure.ac:22: -1- m4_pattern_allow([^CYGPATH_W$])
1639 m4trace:configure.ac:22: -1- _AM_SET_OPTIONS([1.6])
1640 m4trace:configure.ac:22: -1- _AM_SET_OPTION([1.6])
1641 m4trace:configure.ac:22: -2- _AM_MANGLE_OPTION([1.6])
1642 m4trace:configure.ac:22: -1- m4_pattern_allow([^PACKAGE$])
1643 m4trace:configure.ac:22: -1- m4_pattern_allow([^VERSION$])
1644 m4trace:configure.ac:22: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1645 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
1646 m4trace:configure.ac:22: -2- _AM_MANGLE_OPTION([no-define])
1647 m4trace:configure.ac:22: -1- m4_pattern_allow([^PACKAGE$])
1648 m4trace:configure.ac:22: -1- m4_pattern_allow([^VERSION$])
1649 m4trace:configure.ac:22: -1- AM_SANITY_CHECK
1650 m4trace:configure.ac:22: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
1651 m4trace:configure.ac:22: -1- AM_MISSING_HAS_RUN
1652 m4trace:configure.ac:22: -1- AM_AUX_DIR_EXPAND
1653 m4trace:configure.ac:22: -1- m4_pattern_allow([^ACLOCAL$])
1654 m4trace:configure.ac:22: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
1655 m4trace:configure.ac:22: -1- m4_pattern_allow([^AUTOCONF$])
1656 m4trace:configure.ac:22: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
1657 m4trace:configure.ac:22: -1- m4_pattern_allow([^AUTOMAKE$])
1658 m4trace:configure.ac:22: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
1659 m4trace:configure.ac:22: -1- m4_pattern_allow([^AUTOHEADER$])
1660 m4trace:configure.ac:22: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
1661 m4trace:configure.ac:22: -1- m4_pattern_allow([^MAKEINFO$])
1662 m4trace:configure.ac:22: -1- AM_PROG_INSTALL_SH
1663 m4trace:configure.ac:22: -1- m4_pattern_allow([^install_sh$])
1664 m4trace:configure.ac:22: -1- AM_PROG_INSTALL_STRIP
1665 m4trace:configure.ac:22: -1- m4_pattern_allow([^STRIP$])
1666 m4trace:configure.ac:22: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
1667 m4trace:configure.ac:22: -1- AM_PROG_MKDIR_P
1668 m4trace:configure.ac:22: -1- m4_pattern_allow([^MKDIR_P$])
1669 m4trace:configure.ac:22: -1- m4_pattern_allow([^mkdir_p$])
1670 m4trace:configure.ac:22: -1- m4_pattern_allow([^AWK$])
1671 m4trace:configure.ac:22: -1- m4_pattern_allow([^SET_MAKE$])
1672 m4trace:configure.ac:22: -1- AM_SET_LEADING_DOT
1673 m4trace:configure.ac:22: -1- m4_pattern_allow([^am__leading_dot$])
1674 m4trace:configure.ac:22: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1675 [_AM_PROG_TAR([v7])])])
1676 m4trace:configure.ac:22: -2- _AM_MANGLE_OPTION([tar-ustar])
1677 m4trace:configure.ac:22: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
1678 m4trace:configure.ac:22: -2- _AM_MANGLE_OPTION([tar-pax])
1679 m4trace:configure.ac:22: -1- _AM_PROG_TAR([v7])
1680 m4trace:configure.ac:22: -1- m4_pattern_allow([^AMTAR$])
1681 m4trace:configure.ac:22: -1- m4_pattern_allow([^am__tar$])
1682 m4trace:configure.ac:22: -1- m4_pattern_allow([^am__untar$])
1683 m4trace:configure.ac:22: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
1684 [_AM_DEPENDENCIES(CC)],
1685 [define([AC_PROG_CC],
1686 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1687 AC_PROVIDE_IFELSE([AC_PROG_CXX],
1688 [_AM_DEPENDENCIES(CXX)],
1689 [define([AC_PROG_CXX],
1690 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1691 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1692 [_AM_DEPENDENCIES(OBJC)],
1693 [define([AC_PROG_OBJC],
1694 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1695 ])
1696 m4trace:configure.ac:22: -2- _AM_MANGLE_OPTION([no-dependencies])
1697 m4trace:configure.ac:22: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
1698 m4trace:configure.ac:22: -2- _AM_MANGLE_OPTION([silent-rules])
1699 m4trace:configure.ac:26: -1- m4_pattern_allow([^build$])
1700 m4trace:configure.ac:26: -1- m4_pattern_allow([^build_cpu$])
1701 m4trace:configure.ac:26: -1- m4_pattern_allow([^build_vendor$])
1702 m4trace:configure.ac:26: -1- m4_pattern_allow([^build_os$])
1703 m4trace:configure.ac:26: -1- m4_pattern_allow([^host$])
1704 m4trace:configure.ac:26: -1- m4_pattern_allow([^host_cpu$])
1705 m4trace:configure.ac:26: -1- m4_pattern_allow([^host_vendor$])
1706 m4trace:configure.ac:26: -1- m4_pattern_allow([^host_os$])
1707 m4trace:configure.ac:33: -1- m4_pattern_allow([^DVDREAD_MAJOR$])
1708 m4trace:configure.ac:34: -1- m4_pattern_allow([^DVDREAD_MINOR$])
1709 m4trace:configure.ac:35: -1- m4_pattern_allow([^DVDREAD_SUB$])
1710 m4trace:configure.ac:66: -1- m4_pattern_allow([^DVDREAD_LT_CURRENT$])
1711 m4trace:configure.ac:67: -1- m4_pattern_allow([^DVDREAD_LT_AGE$])
1712 m4trace:configure.ac:68: -1- m4_pattern_allow([^DVDREAD_LT_REVISION$])
1713 m4trace:configure.ac:86: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
1714 You should run autoupdate.], [../../lib/autoconf/specific.m4:446: AC_ISC_POSIX is expanded from...
1715 configure.ac:86: the top level])
1716 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
1717 m4trace:configure.ac:86: -1- m4_pattern_allow([^CFLAGS$])
1718 m4trace:configure.ac:86: -1- m4_pattern_allow([^LDFLAGS$])
1719 m4trace:configure.ac:86: -1- m4_pattern_allow([^LIBS$])
1720 m4trace:configure.ac:86: -1- m4_pattern_allow([^CPPFLAGS$])
1721 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
1722 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
1723 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
1724 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
1725 m4trace:configure.ac:86: -1- m4_pattern_allow([^ac_ct_CC$])
1726 m4trace:configure.ac:86: -1- m4_pattern_allow([^EXEEXT$])
1727 m4trace:configure.ac:86: -1- m4_pattern_allow([^OBJEXT$])
1728 m4trace:configure.ac:86: -1- _AM_DEPENDENCIES([CC])
1729 m4trace:configure.ac:86: -1- AM_SET_DEPDIR
1730 m4trace:configure.ac:86: -1- m4_pattern_allow([^DEPDIR$])
1731 m4trace:configure.ac:86: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
1732 m4trace:configure.ac:86: -1- AM_MAKE_INCLUDE
1733 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__include$])
1734 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__quote$])
1735 m4trace:configure.ac:86: -1- AM_DEP_TRACK
1736 m4trace:configure.ac:86: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1737 m4trace:configure.ac:86: -1- m4_pattern_allow([^AMDEP_TRUE$])
1738 m4trace:configure.ac:86: -1- m4_pattern_allow([^AMDEP_FALSE$])
1739 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
1740 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
1741 m4trace:configure.ac:86: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
1742 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
1743 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__nodep$])
1744 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__nodep])
1745 m4trace:configure.ac:86: -1- m4_pattern_allow([^CCDEPMODE$])
1746 m4trace:configure.ac:86: -1- AM_CONDITIONAL([am__fastdepCC], [
1747 test "x$enable_dependency_tracking" != xno \
1748 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
1749 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
1750 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
1751 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
1752 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
1753 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
1754 m4trace:configure.ac:88: -1- m4_pattern_allow([^CFLAGS$])
1755 m4trace:configure.ac:88: -1- m4_pattern_allow([^LDFLAGS$])
1756 m4trace:configure.ac:88: -1- m4_pattern_allow([^LIBS$])
1757 m4trace:configure.ac:88: -1- m4_pattern_allow([^CPPFLAGS$])
1758 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
1759 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
1760 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
1761 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
1762 m4trace:configure.ac:88: -1- m4_pattern_allow([^ac_ct_CC$])
1763 m4trace:configure.ac:88: -1- _AM_DEPENDENCIES([CC])
1764 m4trace:configure.ac:88: -1- m4_pattern_allow([^CCDEPMODE$])
1765 m4trace:configure.ac:88: -1- AM_CONDITIONAL([am__fastdepCC], [
1766 test "x$enable_dependency_tracking" != xno \
1767 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
1768 m4trace:configure.ac:88: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
1769 m4trace:configure.ac:88: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
1770 m4trace:configure.ac:88: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
1771 m4trace:configure.ac:88: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
1772 m4trace:configure.ac:89: -1- m4_pattern_allow([^SET_MAKE$])
1773 m4trace:configure.ac:91: -1- m4_pattern_allow([^LN_S$])
1774 m4trace:configure.ac:98: -1- AC_LIBTOOL_DLOPEN
1775 m4trace:configure.ac:98: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
1776 You should run autoupdate.], [/usr/share/aclocal/ltoptions.m4:111: AC_LIBTOOL_DLOPEN is expanded from...
1777 configure.ac:98: the top level])
1778 m4trace:configure.ac:98: -1- _m4_warn([obsolete], [AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
1779 put the `dlopen' option into LT_INIT's first parameter.], [/usr/share/aclocal/ltoptions.m4:111: AC_LIBTOOL_DLOPEN is expanded from...
1780 configure.ac:98: the top level])
1781 m4trace:configure.ac:99: -1- AC_DISABLE_STATIC
1782 m4trace:configure.ac:100: -1- AC_PROG_LIBTOOL
1783 m4trace:configure.ac:100: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
1784 You should run autoupdate.], [/usr/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
1785 configure.ac:100: the top level])
1786 m4trace:configure.ac:100: -1- LT_INIT
1787 m4trace:configure.ac:100: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
1788 m4trace:configure.ac:100: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
1789 m4trace:configure.ac:100: -1- LTOPTIONS_VERSION
1790 m4trace:configure.ac:100: -1- LTSUGAR_VERSION
1791 m4trace:configure.ac:100: -1- LTVERSION_VERSION
1792 m4trace:configure.ac:100: -1- LTOBSOLETE_VERSION
1793 m4trace:configure.ac:100: -1- _LT_PROG_LTMAIN
1794 m4trace:configure.ac:100: -1- m4_pattern_allow([^LIBTOOL$])
1795 m4trace:configure.ac:100: -1- _LT_PREPARE_SED_QUOTE_VARS
1796 m4trace:configure.ac:100: -1- _LT_PROG_ECHO_BACKSLASH
1797 m4trace:configure.ac:100: -1- LT_PATH_LD
1798 m4trace:configure.ac:100: -1- m4_pattern_allow([^SED$])
1799 m4trace:configure.ac:100: -1- AC_PROG_EGREP
1800 m4trace:configure.ac:100: -1- m4_pattern_allow([^GREP$])
1801 m4trace:configure.ac:100: -1- m4_pattern_allow([^EGREP$])
1802 m4trace:configure.ac:100: -1- m4_pattern_allow([^FGREP$])
1803 m4trace:configure.ac:100: -1- m4_pattern_allow([^GREP$])
1804 m4trace:configure.ac:100: -1- m4_pattern_allow([^LD$])
1805 m4trace:configure.ac:100: -1- LT_PATH_NM
1806 m4trace:configure.ac:100: -1- m4_pattern_allow([^DUMPBIN$])
1807 m4trace:configure.ac:100: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
1808 m4trace:configure.ac:100: -1- m4_pattern_allow([^DUMPBIN$])
1809 m4trace:configure.ac:100: -1- m4_pattern_allow([^NM$])
1810 m4trace:configure.ac:100: -1- LT_CMD_MAX_LEN
1811 m4trace:configure.ac:100: -1- m4_pattern_allow([^OBJDUMP$])
1812 m4trace:configure.ac:100: -1- m4_pattern_allow([^OBJDUMP$])
1813 m4trace:configure.ac:100: -1- m4_pattern_allow([^DLLTOOL$])
1814 m4trace:configure.ac:100: -1- m4_pattern_allow([^DLLTOOL$])
1815 m4trace:configure.ac:100: -1- m4_pattern_allow([^AR$])
1816 m4trace:configure.ac:100: -1- m4_pattern_allow([^ac_ct_AR$])
1817 m4trace:configure.ac:100: -1- m4_pattern_allow([^STRIP$])
1818 m4trace:configure.ac:100: -1- m4_pattern_allow([^RANLIB$])
1819 m4trace:configure.ac:100: -1- _LT_WITH_SYSROOT
1820 m4trace:configure.ac:100: -1- m4_pattern_allow([LT_OBJDIR])
1821 m4trace:configure.ac:100: -1- m4_pattern_allow([^LT_OBJDIR$])
1822 m4trace:configure.ac:100: -1- _LT_CC_BASENAME([$compiler])
1823 m4trace:configure.ac:100: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
1824 m4trace:configure.ac:100: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
1825 m4trace:configure.ac:100: -1- LT_SUPPORTED_TAG([CC])
1826 m4trace:configure.ac:100: -1- _LT_COMPILER_BOILERPLATE
1827 m4trace:configure.ac:100: -1- _LT_LINKER_BOILERPLATE
1828 m4trace:configure.ac:100: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
1829 m4trace:configure.ac:100: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
1830 "" | " "*) ;;
1831 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
1832 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
1833 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
1834 m4trace:configure.ac:100: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
1835 m4trace:configure.ac:100: -1- m4_pattern_allow([^MANIFEST_TOOL$])
1836 m4trace:configure.ac:100: -1- _LT_REQUIRED_DARWIN_CHECKS
1837 m4trace:configure.ac:100: -1- m4_pattern_allow([^DSYMUTIL$])
1838 m4trace:configure.ac:100: -1- m4_pattern_allow([^NMEDIT$])
1839 m4trace:configure.ac:100: -1- m4_pattern_allow([^LIPO$])
1840 m4trace:configure.ac:100: -1- m4_pattern_allow([^OTOOL$])
1841 m4trace:configure.ac:100: -1- m4_pattern_allow([^OTOOL64$])
1842 m4trace:configure.ac:100: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
1843 m4trace:configure.ac:100: -1- LT_SYS_DLOPEN_SELF
1844 m4trace:configure.ac:100: -1- m4_pattern_allow([^CPP$])
1845 m4trace:configure.ac:100: -1- m4_pattern_allow([^CPPFLAGS$])
1846 m4trace:configure.ac:100: -1- m4_pattern_allow([^CPP$])
1847 m4trace:configure.ac:100: -1- m4_pattern_allow([^STDC_HEADERS$])
1848 m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
1849 m4trace:configure.ac:101: -1- m4_pattern_allow([^LIBTOOL_DEPS$])
1850 m4trace:configure.ac:107: -1- m4_pattern_allow([^STATIC$])
1851 m4trace:configure.ac:112: -1- m4_pattern_allow([^STDC_HEADERS$])
1852 m4trace:configure.ac:119: -1- m4_pattern_allow([^const$])
1853 m4trace:configure.ac:121: -1- m4_pattern_allow([^off_t$])
1854 m4trace:configure.ac:122: -1- m4_pattern_allow([^size_t$])
1855 m4trace:configure.ac:124: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
1856 m4trace:configure.ac:124: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
1857 m4trace:configure.ac:131: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
1858 m4trace:configure.ac:149: -1- m4_pattern_allow([^USING_BUILTIN_DLFCN$])
1859 m4trace:configure.ac:163: -1- m4_pattern_allow([^DYNAMIC_LD_LIBS$])
1860 m4trace:configure.ac:179: -1- m4_pattern_allow([^DYNAMIC_LD_LIBS$])
1861 m4trace:configure.ac:189: -1- m4_pattern_allow([^HAVE_LIBDVDCSS$])
1862 m4trace:configure.ac:190: -1- m4_pattern_allow([^HAVE_DVDCSS_DVDCSS_H$])
1863 m4trace:configure.ac:193: -1- m4_pattern_allow([^CSS_LIBS$])
1864 m4trace:configure.ac:203: -1- m4_pattern_allow([^DEBUG_CFLAGS$])
1865 m4trace:configure.ac:208: -1- m4_pattern_allow([^DOXYGEN$])
1866 m4trace:configure.ac:214: -1- m4_pattern_allow([^INCLUDES$])
1867 m4trace:configure.ac:219: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
1868 You should run autoupdate.], [])
1869 m4trace:configure.ac:219: -1- m4_pattern_allow([^LIB@&t@OBJS$])
1870 m4trace:configure.ac:219: -1- m4_pattern_allow([^LTLIBOBJS$])
1871 m4trace:configure.ac:219: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
1872 m4trace:configure.ac:219: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
1873 m4trace:configure.ac:219: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
1874 m4trace:configure.ac:219: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
1875 m4trace:configure.ac:219: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
1876 m4trace:configure.ac:219: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
1877 m4trace:configure.ac:219: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
1878 m4trace:configure.ac:219: -1- _LT_PROG_LTMAIN
+0
-656
autom4te.cache/traces.1 less more
0 m4trace:configure.ac:20: -1- AC_INIT([libdvdread], [dvdread_major.dvdread_minor.dvdread_sub[]dvdread_pre])
1 m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?A[CHUM]_])
2 m4trace:configure.ac:20: -1- m4_pattern_forbid([_AC_])
3 m4trace:configure.ac:20: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
4 m4trace:configure.ac:20: -1- m4_pattern_allow([^AS_FLAGS$])
5 m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?m4_])
6 m4trace:configure.ac:20: -1- m4_pattern_forbid([^dnl$])
7 m4trace:configure.ac:20: -1- m4_pattern_forbid([^_?AS_])
8 m4trace:configure.ac:20: -1- AC_SUBST([SHELL])
9 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([SHELL])
10 m4trace:configure.ac:20: -1- m4_pattern_allow([^SHELL$])
11 m4trace:configure.ac:20: -1- AC_SUBST([PATH_SEPARATOR])
12 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
13 m4trace:configure.ac:20: -1- m4_pattern_allow([^PATH_SEPARATOR$])
14 m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
15 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_NAME])
16 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_NAME$])
17 m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
18 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
19 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
20 m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
21 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
22 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_VERSION$])
23 m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
24 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_STRING])
25 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_STRING$])
26 m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
27 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
28 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
29 m4trace:configure.ac:20: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
30 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([PACKAGE_URL])
31 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_URL$])
32 m4trace:configure.ac:20: -1- AC_SUBST([exec_prefix], [NONE])
33 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([exec_prefix])
34 m4trace:configure.ac:20: -1- m4_pattern_allow([^exec_prefix$])
35 m4trace:configure.ac:20: -1- AC_SUBST([prefix], [NONE])
36 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([prefix])
37 m4trace:configure.ac:20: -1- m4_pattern_allow([^prefix$])
38 m4trace:configure.ac:20: -1- AC_SUBST([program_transform_name], [s,x,x,])
39 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([program_transform_name])
40 m4trace:configure.ac:20: -1- m4_pattern_allow([^program_transform_name$])
41 m4trace:configure.ac:20: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
42 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([bindir])
43 m4trace:configure.ac:20: -1- m4_pattern_allow([^bindir$])
44 m4trace:configure.ac:20: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
45 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sbindir])
46 m4trace:configure.ac:20: -1- m4_pattern_allow([^sbindir$])
47 m4trace:configure.ac:20: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
48 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([libexecdir])
49 m4trace:configure.ac:20: -1- m4_pattern_allow([^libexecdir$])
50 m4trace:configure.ac:20: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
51 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([datarootdir])
52 m4trace:configure.ac:20: -1- m4_pattern_allow([^datarootdir$])
53 m4trace:configure.ac:20: -1- AC_SUBST([datadir], ['${datarootdir}'])
54 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([datadir])
55 m4trace:configure.ac:20: -1- m4_pattern_allow([^datadir$])
56 m4trace:configure.ac:20: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
57 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sysconfdir])
58 m4trace:configure.ac:20: -1- m4_pattern_allow([^sysconfdir$])
59 m4trace:configure.ac:20: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
60 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([sharedstatedir])
61 m4trace:configure.ac:20: -1- m4_pattern_allow([^sharedstatedir$])
62 m4trace:configure.ac:20: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
63 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([localstatedir])
64 m4trace:configure.ac:20: -1- m4_pattern_allow([^localstatedir$])
65 m4trace:configure.ac:20: -1- AC_SUBST([includedir], ['${prefix}/include'])
66 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([includedir])
67 m4trace:configure.ac:20: -1- m4_pattern_allow([^includedir$])
68 m4trace:configure.ac:20: -1- AC_SUBST([oldincludedir], ['/usr/include'])
69 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([oldincludedir])
70 m4trace:configure.ac:20: -1- m4_pattern_allow([^oldincludedir$])
71 m4trace:configure.ac:20: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
72 ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
73 ['${datarootdir}/doc/${PACKAGE}'])])
74 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([docdir])
75 m4trace:configure.ac:20: -1- m4_pattern_allow([^docdir$])
76 m4trace:configure.ac:20: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
77 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([infodir])
78 m4trace:configure.ac:20: -1- m4_pattern_allow([^infodir$])
79 m4trace:configure.ac:20: -1- AC_SUBST([htmldir], ['${docdir}'])
80 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([htmldir])
81 m4trace:configure.ac:20: -1- m4_pattern_allow([^htmldir$])
82 m4trace:configure.ac:20: -1- AC_SUBST([dvidir], ['${docdir}'])
83 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([dvidir])
84 m4trace:configure.ac:20: -1- m4_pattern_allow([^dvidir$])
85 m4trace:configure.ac:20: -1- AC_SUBST([pdfdir], ['${docdir}'])
86 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([pdfdir])
87 m4trace:configure.ac:20: -1- m4_pattern_allow([^pdfdir$])
88 m4trace:configure.ac:20: -1- AC_SUBST([psdir], ['${docdir}'])
89 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([psdir])
90 m4trace:configure.ac:20: -1- m4_pattern_allow([^psdir$])
91 m4trace:configure.ac:20: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
92 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([libdir])
93 m4trace:configure.ac:20: -1- m4_pattern_allow([^libdir$])
94 m4trace:configure.ac:20: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
95 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([localedir])
96 m4trace:configure.ac:20: -1- m4_pattern_allow([^localedir$])
97 m4trace:configure.ac:20: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
98 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([mandir])
99 m4trace:configure.ac:20: -1- m4_pattern_allow([^mandir$])
100 m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
101 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_NAME$])
102 m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
103 @%:@undef PACKAGE_NAME])
104 m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
105 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
106 m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
107 @%:@undef PACKAGE_TARNAME])
108 m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
109 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_VERSION$])
110 m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
111 @%:@undef PACKAGE_VERSION])
112 m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
113 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_STRING$])
114 m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
115 @%:@undef PACKAGE_STRING])
116 m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
117 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
118 m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
119 @%:@undef PACKAGE_BUGREPORT])
120 m4trace:configure.ac:20: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
121 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE_URL$])
122 m4trace:configure.ac:20: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
123 @%:@undef PACKAGE_URL])
124 m4trace:configure.ac:20: -1- AC_SUBST([DEFS])
125 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([DEFS])
126 m4trace:configure.ac:20: -1- m4_pattern_allow([^DEFS$])
127 m4trace:configure.ac:20: -1- AC_SUBST([ECHO_C])
128 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_C])
129 m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_C$])
130 m4trace:configure.ac:20: -1- AC_SUBST([ECHO_N])
131 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_N])
132 m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_N$])
133 m4trace:configure.ac:20: -1- AC_SUBST([ECHO_T])
134 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([ECHO_T])
135 m4trace:configure.ac:20: -1- m4_pattern_allow([^ECHO_T$])
136 m4trace:configure.ac:20: -1- AC_SUBST([LIBS])
137 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([LIBS])
138 m4trace:configure.ac:20: -1- m4_pattern_allow([^LIBS$])
139 m4trace:configure.ac:20: -1- AC_SUBST([build_alias])
140 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([build_alias])
141 m4trace:configure.ac:20: -1- m4_pattern_allow([^build_alias$])
142 m4trace:configure.ac:20: -1- AC_SUBST([host_alias])
143 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([host_alias])
144 m4trace:configure.ac:20: -1- m4_pattern_allow([^host_alias$])
145 m4trace:configure.ac:20: -1- AC_SUBST([target_alias])
146 m4trace:configure.ac:20: -1- AC_SUBST_TRACE([target_alias])
147 m4trace:configure.ac:20: -1- m4_pattern_allow([^target_alias$])
148 m4trace:configure.ac:22: -1- AM_INIT_AUTOMAKE([1.6])
149 m4trace:configure.ac:22: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
150 m4trace:configure.ac:22: -1- AM_AUTOMAKE_VERSION([1.11.6])
151 m4trace:configure.ac:22: -1- AC_REQUIRE_AUX_FILE([install-sh])
152 m4trace:configure.ac:22: -1- AC_SUBST([INSTALL_PROGRAM])
153 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
154 m4trace:configure.ac:22: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
155 m4trace:configure.ac:22: -1- AC_SUBST([INSTALL_SCRIPT])
156 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
157 m4trace:configure.ac:22: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
158 m4trace:configure.ac:22: -1- AC_SUBST([INSTALL_DATA])
159 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([INSTALL_DATA])
160 m4trace:configure.ac:22: -1- m4_pattern_allow([^INSTALL_DATA$])
161 m4trace:configure.ac:22: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
162 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__isrc])
163 m4trace:configure.ac:22: -1- m4_pattern_allow([^am__isrc$])
164 m4trace:configure.ac:22: -1- _AM_SUBST_NOTMAKE([am__isrc])
165 m4trace:configure.ac:22: -1- AC_SUBST([CYGPATH_W])
166 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([CYGPATH_W])
167 m4trace:configure.ac:22: -1- m4_pattern_allow([^CYGPATH_W$])
168 m4trace:configure.ac:22: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
169 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([PACKAGE])
170 m4trace:configure.ac:22: -1- m4_pattern_allow([^PACKAGE$])
171 m4trace:configure.ac:22: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
172 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([VERSION])
173 m4trace:configure.ac:22: -1- m4_pattern_allow([^VERSION$])
174 m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
175 m4trace:configure.ac:22: -1- m4_pattern_allow([^PACKAGE$])
176 m4trace:configure.ac:22: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
177 @%:@undef PACKAGE])
178 m4trace:configure.ac:22: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
179 m4trace:configure.ac:22: -1- m4_pattern_allow([^VERSION$])
180 m4trace:configure.ac:22: -1- AH_OUTPUT([VERSION], [/* Version number of package */
181 @%:@undef VERSION])
182 m4trace:configure.ac:22: -1- AC_REQUIRE_AUX_FILE([missing])
183 m4trace:configure.ac:22: -1- AC_SUBST([ACLOCAL])
184 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([ACLOCAL])
185 m4trace:configure.ac:22: -1- m4_pattern_allow([^ACLOCAL$])
186 m4trace:configure.ac:22: -1- AC_SUBST([AUTOCONF])
187 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AUTOCONF])
188 m4trace:configure.ac:22: -1- m4_pattern_allow([^AUTOCONF$])
189 m4trace:configure.ac:22: -1- AC_SUBST([AUTOMAKE])
190 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AUTOMAKE])
191 m4trace:configure.ac:22: -1- m4_pattern_allow([^AUTOMAKE$])
192 m4trace:configure.ac:22: -1- AC_SUBST([AUTOHEADER])
193 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AUTOHEADER])
194 m4trace:configure.ac:22: -1- m4_pattern_allow([^AUTOHEADER$])
195 m4trace:configure.ac:22: -1- AC_SUBST([MAKEINFO])
196 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([MAKEINFO])
197 m4trace:configure.ac:22: -1- m4_pattern_allow([^MAKEINFO$])
198 m4trace:configure.ac:22: -1- AC_SUBST([install_sh])
199 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([install_sh])
200 m4trace:configure.ac:22: -1- m4_pattern_allow([^install_sh$])
201 m4trace:configure.ac:22: -1- AC_SUBST([STRIP])
202 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([STRIP])
203 m4trace:configure.ac:22: -1- m4_pattern_allow([^STRIP$])
204 m4trace:configure.ac:22: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
205 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
206 m4trace:configure.ac:22: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
207 m4trace:configure.ac:22: -1- AC_REQUIRE_AUX_FILE([install-sh])
208 m4trace:configure.ac:22: -1- AC_SUBST([MKDIR_P])
209 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([MKDIR_P])
210 m4trace:configure.ac:22: -1- m4_pattern_allow([^MKDIR_P$])
211 m4trace:configure.ac:22: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
212 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([mkdir_p])
213 m4trace:configure.ac:22: -1- m4_pattern_allow([^mkdir_p$])
214 m4trace:configure.ac:22: -1- AC_SUBST([AWK])
215 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AWK])
216 m4trace:configure.ac:22: -1- m4_pattern_allow([^AWK$])
217 m4trace:configure.ac:22: -1- AC_SUBST([SET_MAKE])
218 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([SET_MAKE])
219 m4trace:configure.ac:22: -1- m4_pattern_allow([^SET_MAKE$])
220 m4trace:configure.ac:22: -1- AC_SUBST([am__leading_dot])
221 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__leading_dot])
222 m4trace:configure.ac:22: -1- m4_pattern_allow([^am__leading_dot$])
223 m4trace:configure.ac:22: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
224 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([AMTAR])
225 m4trace:configure.ac:22: -1- m4_pattern_allow([^AMTAR$])
226 m4trace:configure.ac:22: -1- AC_SUBST([am__tar])
227 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__tar])
228 m4trace:configure.ac:22: -1- m4_pattern_allow([^am__tar$])
229 m4trace:configure.ac:22: -1- AC_SUBST([am__untar])
230 m4trace:configure.ac:22: -1- AC_SUBST_TRACE([am__untar])
231 m4trace:configure.ac:22: -1- m4_pattern_allow([^am__untar$])
232 m4trace:configure.ac:25: -1- AC_CONFIG_HEADERS([config.h])
233 m4trace:configure.ac:26: -1- AC_CANONICAL_HOST
234 m4trace:configure.ac:26: -1- AC_CANONICAL_BUILD
235 m4trace:configure.ac:26: -1- AC_REQUIRE_AUX_FILE([config.sub])
236 m4trace:configure.ac:26: -1- AC_REQUIRE_AUX_FILE([config.guess])
237 m4trace:configure.ac:26: -1- AC_SUBST([build], [$ac_cv_build])
238 m4trace:configure.ac:26: -1- AC_SUBST_TRACE([build])
239 m4trace:configure.ac:26: -1- m4_pattern_allow([^build$])
240 m4trace:configure.ac:26: -1- AC_SUBST([build_cpu], [$[1]])
241 m4trace:configure.ac:26: -1- AC_SUBST_TRACE([build_cpu])
242 m4trace:configure.ac:26: -1- m4_pattern_allow([^build_cpu$])
243 m4trace:configure.ac:26: -1- AC_SUBST([build_vendor], [$[2]])
244 m4trace:configure.ac:26: -1- AC_SUBST_TRACE([build_vendor])
245 m4trace:configure.ac:26: -1- m4_pattern_allow([^build_vendor$])
246 m4trace:configure.ac:26: -1- AC_SUBST([build_os])
247 m4trace:configure.ac:26: -1- AC_SUBST_TRACE([build_os])
248 m4trace:configure.ac:26: -1- m4_pattern_allow([^build_os$])
249 m4trace:configure.ac:26: -1- AC_SUBST([host], [$ac_cv_host])
250 m4trace:configure.ac:26: -1- AC_SUBST_TRACE([host])
251 m4trace:configure.ac:26: -1- m4_pattern_allow([^host$])
252 m4trace:configure.ac:26: -1- AC_SUBST([host_cpu], [$[1]])
253 m4trace:configure.ac:26: -1- AC_SUBST_TRACE([host_cpu])
254 m4trace:configure.ac:26: -1- m4_pattern_allow([^host_cpu$])
255 m4trace:configure.ac:26: -1- AC_SUBST([host_vendor], [$[2]])
256 m4trace:configure.ac:26: -1- AC_SUBST_TRACE([host_vendor])
257 m4trace:configure.ac:26: -1- m4_pattern_allow([^host_vendor$])
258 m4trace:configure.ac:26: -1- AC_SUBST([host_os])
259 m4trace:configure.ac:26: -1- AC_SUBST_TRACE([host_os])
260 m4trace:configure.ac:26: -1- m4_pattern_allow([^host_os$])
261 m4trace:configure.ac:33: -1- AC_SUBST([DVDREAD_MAJOR])
262 m4trace:configure.ac:33: -1- AC_SUBST_TRACE([DVDREAD_MAJOR])
263 m4trace:configure.ac:33: -1- m4_pattern_allow([^DVDREAD_MAJOR$])
264 m4trace:configure.ac:34: -1- AC_SUBST([DVDREAD_MINOR])
265 m4trace:configure.ac:34: -1- AC_SUBST_TRACE([DVDREAD_MINOR])
266 m4trace:configure.ac:34: -1- m4_pattern_allow([^DVDREAD_MINOR$])
267 m4trace:configure.ac:35: -1- AC_SUBST([DVDREAD_SUB])
268 m4trace:configure.ac:35: -1- AC_SUBST_TRACE([DVDREAD_SUB])
269 m4trace:configure.ac:35: -1- m4_pattern_allow([^DVDREAD_SUB$])
270 m4trace:configure.ac:66: -1- AC_SUBST([DVDREAD_LT_CURRENT])
271 m4trace:configure.ac:66: -1- AC_SUBST_TRACE([DVDREAD_LT_CURRENT])
272 m4trace:configure.ac:66: -1- m4_pattern_allow([^DVDREAD_LT_CURRENT$])
273 m4trace:configure.ac:67: -1- AC_SUBST([DVDREAD_LT_AGE])
274 m4trace:configure.ac:67: -1- AC_SUBST_TRACE([DVDREAD_LT_AGE])
275 m4trace:configure.ac:67: -1- m4_pattern_allow([^DVDREAD_LT_AGE$])
276 m4trace:configure.ac:68: -1- AC_SUBST([DVDREAD_LT_REVISION])
277 m4trace:configure.ac:68: -1- AC_SUBST_TRACE([DVDREAD_LT_REVISION])
278 m4trace:configure.ac:68: -1- m4_pattern_allow([^DVDREAD_LT_REVISION$])
279 m4trace:configure.ac:86: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
280 You should run autoupdate.], [../../lib/autoconf/specific.m4:446: AC_ISC_POSIX is expanded from...
281 configure.ac:86: the top level])
282 m4trace:configure.ac:86: -1- AC_SUBST([CC])
283 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([CC])
284 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
285 m4trace:configure.ac:86: -1- AC_SUBST([CFLAGS])
286 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([CFLAGS])
287 m4trace:configure.ac:86: -1- m4_pattern_allow([^CFLAGS$])
288 m4trace:configure.ac:86: -1- AC_SUBST([LDFLAGS])
289 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([LDFLAGS])
290 m4trace:configure.ac:86: -1- m4_pattern_allow([^LDFLAGS$])
291 m4trace:configure.ac:86: -1- AC_SUBST([LIBS])
292 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([LIBS])
293 m4trace:configure.ac:86: -1- m4_pattern_allow([^LIBS$])
294 m4trace:configure.ac:86: -1- AC_SUBST([CPPFLAGS])
295 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([CPPFLAGS])
296 m4trace:configure.ac:86: -1- m4_pattern_allow([^CPPFLAGS$])
297 m4trace:configure.ac:86: -1- AC_SUBST([CC])
298 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([CC])
299 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
300 m4trace:configure.ac:86: -1- AC_SUBST([CC])
301 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([CC])
302 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
303 m4trace:configure.ac:86: -1- AC_SUBST([CC])
304 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([CC])
305 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
306 m4trace:configure.ac:86: -1- AC_SUBST([CC])
307 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([CC])
308 m4trace:configure.ac:86: -1- m4_pattern_allow([^CC$])
309 m4trace:configure.ac:86: -1- AC_SUBST([ac_ct_CC])
310 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([ac_ct_CC])
311 m4trace:configure.ac:86: -1- m4_pattern_allow([^ac_ct_CC$])
312 m4trace:configure.ac:86: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
313 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([EXEEXT])
314 m4trace:configure.ac:86: -1- m4_pattern_allow([^EXEEXT$])
315 m4trace:configure.ac:86: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
316 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([OBJEXT])
317 m4trace:configure.ac:86: -1- m4_pattern_allow([^OBJEXT$])
318 m4trace:configure.ac:86: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
319 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([DEPDIR])
320 m4trace:configure.ac:86: -1- m4_pattern_allow([^DEPDIR$])
321 m4trace:configure.ac:86: -1- AC_SUBST([am__include])
322 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([am__include])
323 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__include$])
324 m4trace:configure.ac:86: -1- AC_SUBST([am__quote])
325 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([am__quote])
326 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__quote$])
327 m4trace:configure.ac:86: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
328 m4trace:configure.ac:86: -1- AC_SUBST([AMDEP_TRUE])
329 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([AMDEP_TRUE])
330 m4trace:configure.ac:86: -1- m4_pattern_allow([^AMDEP_TRUE$])
331 m4trace:configure.ac:86: -1- AC_SUBST([AMDEP_FALSE])
332 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([AMDEP_FALSE])
333 m4trace:configure.ac:86: -1- m4_pattern_allow([^AMDEP_FALSE$])
334 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
335 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
336 m4trace:configure.ac:86: -1- AC_SUBST([AMDEPBACKSLASH])
337 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
338 m4trace:configure.ac:86: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
339 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
340 m4trace:configure.ac:86: -1- AC_SUBST([am__nodep])
341 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([am__nodep])
342 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__nodep$])
343 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__nodep])
344 m4trace:configure.ac:86: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
345 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([CCDEPMODE])
346 m4trace:configure.ac:86: -1- m4_pattern_allow([^CCDEPMODE$])
347 m4trace:configure.ac:86: -1- AM_CONDITIONAL([am__fastdepCC], [
348 test "x$enable_dependency_tracking" != xno \
349 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
350 m4trace:configure.ac:86: -1- AC_SUBST([am__fastdepCC_TRUE])
351 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
352 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
353 m4trace:configure.ac:86: -1- AC_SUBST([am__fastdepCC_FALSE])
354 m4trace:configure.ac:86: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
355 m4trace:configure.ac:86: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
356 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
357 m4trace:configure.ac:86: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
358 m4trace:configure.ac:88: -1- AC_SUBST([CC])
359 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([CC])
360 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
361 m4trace:configure.ac:88: -1- AC_SUBST([CFLAGS])
362 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([CFLAGS])
363 m4trace:configure.ac:88: -1- m4_pattern_allow([^CFLAGS$])
364 m4trace:configure.ac:88: -1- AC_SUBST([LDFLAGS])
365 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([LDFLAGS])
366 m4trace:configure.ac:88: -1- m4_pattern_allow([^LDFLAGS$])
367 m4trace:configure.ac:88: -1- AC_SUBST([LIBS])
368 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([LIBS])
369 m4trace:configure.ac:88: -1- m4_pattern_allow([^LIBS$])
370 m4trace:configure.ac:88: -1- AC_SUBST([CPPFLAGS])
371 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([CPPFLAGS])
372 m4trace:configure.ac:88: -1- m4_pattern_allow([^CPPFLAGS$])
373 m4trace:configure.ac:88: -1- AC_SUBST([CC])
374 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([CC])
375 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
376 m4trace:configure.ac:88: -1- AC_SUBST([CC])
377 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([CC])
378 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
379 m4trace:configure.ac:88: -1- AC_SUBST([CC])
380 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([CC])
381 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
382 m4trace:configure.ac:88: -1- AC_SUBST([CC])
383 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([CC])
384 m4trace:configure.ac:88: -1- m4_pattern_allow([^CC$])
385 m4trace:configure.ac:88: -1- AC_SUBST([ac_ct_CC])
386 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([ac_ct_CC])
387 m4trace:configure.ac:88: -1- m4_pattern_allow([^ac_ct_CC$])
388 m4trace:configure.ac:88: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
389 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([CCDEPMODE])
390 m4trace:configure.ac:88: -1- m4_pattern_allow([^CCDEPMODE$])
391 m4trace:configure.ac:88: -1- AM_CONDITIONAL([am__fastdepCC], [
392 test "x$enable_dependency_tracking" != xno \
393 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
394 m4trace:configure.ac:88: -1- AC_SUBST([am__fastdepCC_TRUE])
395 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
396 m4trace:configure.ac:88: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
397 m4trace:configure.ac:88: -1- AC_SUBST([am__fastdepCC_FALSE])
398 m4trace:configure.ac:88: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
399 m4trace:configure.ac:88: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
400 m4trace:configure.ac:88: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
401 m4trace:configure.ac:88: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
402 m4trace:configure.ac:89: -1- AC_SUBST([SET_MAKE])
403 m4trace:configure.ac:89: -1- AC_SUBST_TRACE([SET_MAKE])
404 m4trace:configure.ac:89: -1- m4_pattern_allow([^SET_MAKE$])
405 m4trace:configure.ac:91: -1- AC_SUBST([LN_S], [$as_ln_s])
406 m4trace:configure.ac:91: -1- AC_SUBST_TRACE([LN_S])
407 m4trace:configure.ac:91: -1- m4_pattern_allow([^LN_S$])
408 m4trace:configure.ac:98: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
409 You should run autoupdate.], [aclocal.m4:8100: AC_LIBTOOL_DLOPEN is expanded from...
410 configure.ac:98: the top level])
411 m4trace:configure.ac:98: -1- _m4_warn([obsolete], [AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
412 put the `dlopen' option into LT_INIT's first parameter.], [aclocal.m4:8100: AC_LIBTOOL_DLOPEN is expanded from...
413 configure.ac:98: the top level])
414 m4trace:configure.ac:100: -1- AC_PROG_LIBTOOL
415 m4trace:configure.ac:100: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
416 You should run autoupdate.], [aclocal.m4:129: AC_PROG_LIBTOOL is expanded from...
417 configure.ac:100: the top level])
418 m4trace:configure.ac:100: -1- LT_INIT
419 m4trace:configure.ac:100: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
420 m4trace:configure.ac:100: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
421 m4trace:configure.ac:100: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
422 m4trace:configure.ac:100: -1- AC_SUBST([LIBTOOL])
423 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([LIBTOOL])
424 m4trace:configure.ac:100: -1- m4_pattern_allow([^LIBTOOL$])
425 m4trace:configure.ac:100: -1- AC_SUBST([SED])
426 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([SED])
427 m4trace:configure.ac:100: -1- m4_pattern_allow([^SED$])
428 m4trace:configure.ac:100: -1- AC_SUBST([GREP])
429 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([GREP])
430 m4trace:configure.ac:100: -1- m4_pattern_allow([^GREP$])
431 m4trace:configure.ac:100: -1- AC_SUBST([EGREP])
432 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([EGREP])
433 m4trace:configure.ac:100: -1- m4_pattern_allow([^EGREP$])
434 m4trace:configure.ac:100: -1- AC_SUBST([FGREP])
435 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([FGREP])
436 m4trace:configure.ac:100: -1- m4_pattern_allow([^FGREP$])
437 m4trace:configure.ac:100: -1- AC_SUBST([GREP])
438 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([GREP])
439 m4trace:configure.ac:100: -1- m4_pattern_allow([^GREP$])
440 m4trace:configure.ac:100: -1- AC_SUBST([LD])
441 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([LD])
442 m4trace:configure.ac:100: -1- m4_pattern_allow([^LD$])
443 m4trace:configure.ac:100: -1- AC_SUBST([DUMPBIN])
444 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([DUMPBIN])
445 m4trace:configure.ac:100: -1- m4_pattern_allow([^DUMPBIN$])
446 m4trace:configure.ac:100: -1- AC_SUBST([ac_ct_DUMPBIN])
447 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
448 m4trace:configure.ac:100: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
449 m4trace:configure.ac:100: -1- AC_SUBST([DUMPBIN])
450 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([DUMPBIN])
451 m4trace:configure.ac:100: -1- m4_pattern_allow([^DUMPBIN$])
452 m4trace:configure.ac:100: -1- AC_SUBST([NM])
453 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([NM])
454 m4trace:configure.ac:100: -1- m4_pattern_allow([^NM$])
455 m4trace:configure.ac:100: -1- AC_SUBST([OBJDUMP])
456 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([OBJDUMP])
457 m4trace:configure.ac:100: -1- m4_pattern_allow([^OBJDUMP$])
458 m4trace:configure.ac:100: -1- AC_SUBST([OBJDUMP])
459 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([OBJDUMP])
460 m4trace:configure.ac:100: -1- m4_pattern_allow([^OBJDUMP$])
461 m4trace:configure.ac:100: -1- AC_SUBST([DLLTOOL])
462 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([DLLTOOL])
463 m4trace:configure.ac:100: -1- m4_pattern_allow([^DLLTOOL$])
464 m4trace:configure.ac:100: -1- AC_SUBST([DLLTOOL])
465 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([DLLTOOL])
466 m4trace:configure.ac:100: -1- m4_pattern_allow([^DLLTOOL$])
467 m4trace:configure.ac:100: -1- AC_SUBST([AR])
468 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([AR])
469 m4trace:configure.ac:100: -1- m4_pattern_allow([^AR$])
470 m4trace:configure.ac:100: -1- AC_SUBST([ac_ct_AR])
471 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([ac_ct_AR])
472 m4trace:configure.ac:100: -1- m4_pattern_allow([^ac_ct_AR$])
473 m4trace:configure.ac:100: -1- AC_SUBST([STRIP])
474 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([STRIP])
475 m4trace:configure.ac:100: -1- m4_pattern_allow([^STRIP$])
476 m4trace:configure.ac:100: -1- AC_SUBST([RANLIB])
477 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([RANLIB])
478 m4trace:configure.ac:100: -1- m4_pattern_allow([^RANLIB$])
479 m4trace:configure.ac:100: -1- m4_pattern_allow([LT_OBJDIR])
480 m4trace:configure.ac:100: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
481 m4trace:configure.ac:100: -1- m4_pattern_allow([^LT_OBJDIR$])
482 m4trace:configure.ac:100: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
483 */
484 @%:@undef LT_OBJDIR])
485 m4trace:configure.ac:100: -1- LT_SUPPORTED_TAG([CC])
486 m4trace:configure.ac:100: -1- AC_SUBST([MANIFEST_TOOL])
487 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([MANIFEST_TOOL])
488 m4trace:configure.ac:100: -1- m4_pattern_allow([^MANIFEST_TOOL$])
489 m4trace:configure.ac:100: -1- AC_SUBST([DSYMUTIL])
490 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([DSYMUTIL])
491 m4trace:configure.ac:100: -1- m4_pattern_allow([^DSYMUTIL$])
492 m4trace:configure.ac:100: -1- AC_SUBST([NMEDIT])
493 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([NMEDIT])
494 m4trace:configure.ac:100: -1- m4_pattern_allow([^NMEDIT$])
495 m4trace:configure.ac:100: -1- AC_SUBST([LIPO])
496 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([LIPO])
497 m4trace:configure.ac:100: -1- m4_pattern_allow([^LIPO$])
498 m4trace:configure.ac:100: -1- AC_SUBST([OTOOL])
499 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([OTOOL])
500 m4trace:configure.ac:100: -1- m4_pattern_allow([^OTOOL$])
501 m4trace:configure.ac:100: -1- AC_SUBST([OTOOL64])
502 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([OTOOL64])
503 m4trace:configure.ac:100: -1- m4_pattern_allow([^OTOOL64$])
504 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
505 @%:@undef HAVE_DLFCN_H])
506 m4trace:configure.ac:100: -1- AC_SUBST([CPP])
507 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([CPP])
508 m4trace:configure.ac:100: -1- m4_pattern_allow([^CPP$])
509 m4trace:configure.ac:100: -1- AC_SUBST([CPPFLAGS])
510 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([CPPFLAGS])
511 m4trace:configure.ac:100: -1- m4_pattern_allow([^CPPFLAGS$])
512 m4trace:configure.ac:100: -1- AC_SUBST([CPP])
513 m4trace:configure.ac:100: -1- AC_SUBST_TRACE([CPP])
514 m4trace:configure.ac:100: -1- m4_pattern_allow([^CPP$])
515 m4trace:configure.ac:100: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
516 m4trace:configure.ac:100: -1- m4_pattern_allow([^STDC_HEADERS$])
517 m4trace:configure.ac:100: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
518 @%:@undef STDC_HEADERS])
519 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
520 @%:@undef HAVE_SYS_TYPES_H])
521 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
522 @%:@undef HAVE_SYS_STAT_H])
523 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
524 @%:@undef HAVE_STDLIB_H])
525 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
526 @%:@undef HAVE_STRING_H])
527 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
528 @%:@undef HAVE_MEMORY_H])
529 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
530 @%:@undef HAVE_STRINGS_H])
531 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
532 @%:@undef HAVE_INTTYPES_H])
533 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
534 @%:@undef HAVE_STDINT_H])
535 m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
536 @%:@undef HAVE_UNISTD_H])
537 m4trace:configure.ac:100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
538 m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
539 m4trace:configure.ac:101: -1- AC_SUBST([LIBTOOL_DEPS])
540 m4trace:configure.ac:101: -1- AC_SUBST_TRACE([LIBTOOL_DEPS])
541 m4trace:configure.ac:101: -1- m4_pattern_allow([^LIBTOOL_DEPS$])
542 m4trace:configure.ac:107: -1- AC_SUBST([STATIC])
543 m4trace:configure.ac:107: -1- AC_SUBST_TRACE([STATIC])
544 m4trace:configure.ac:107: -1- m4_pattern_allow([^STATIC$])
545 m4trace:configure.ac:112: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
546 m4trace:configure.ac:112: -1- m4_pattern_allow([^STDC_HEADERS$])
547 m4trace:configure.ac:112: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
548 @%:@undef STDC_HEADERS])
549 m4trace:configure.ac:119: -1- AC_DEFINE_TRACE_LITERAL([const])
550 m4trace:configure.ac:119: -1- m4_pattern_allow([^const$])
551 m4trace:configure.ac:119: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
552 @%:@undef const])
553 m4trace:configure.ac:120: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
554 calls it, or to nothing if \'inline\' is not supported under any name. */
555 #ifndef __cplusplus
556 #undef inline
557 #endif])
558 m4trace:configure.ac:121: -1- AC_DEFINE_TRACE_LITERAL([off_t])
559 m4trace:configure.ac:121: -1- m4_pattern_allow([^off_t$])
560 m4trace:configure.ac:121: -1- AH_OUTPUT([off_t], [/* Define to `long int\' if <sys/types.h> does not define. */
561 @%:@undef off_t])
562 m4trace:configure.ac:122: -1- AC_DEFINE_TRACE_LITERAL([size_t])
563 m4trace:configure.ac:122: -1- m4_pattern_allow([^size_t$])
564 m4trace:configure.ac:122: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
565 @%:@undef size_t])
566 m4trace:configure.ac:124: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
567 significant byte first (like Motorola and SPARC, unlike Intel). */
568 #if defined AC_APPLE_UNIVERSAL_BUILD
569 # if defined __BIG_ENDIAN__
570 # define WORDS_BIGENDIAN 1
571 # endif
572 #else
573 # ifndef WORDS_BIGENDIAN
574 # undef WORDS_BIGENDIAN
575 # endif
576 #endif])
577 m4trace:configure.ac:124: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
578 m4trace:configure.ac:124: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
579 m4trace:configure.ac:124: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
580 m4trace:configure.ac:124: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
581 m4trace:configure.ac:124: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
582 @%:@undef AC_APPLE_UNIVERSAL_BUILD])
583 m4trace:configure.ac:131: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
584 @%:@undef HAVE_GETTIMEOFDAY])
585 m4trace:configure.ac:131: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETTIMEOFDAY])
586 m4trace:configure.ac:131: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
587 m4trace:configure.ac:149: -1- AC_DEFINE_TRACE_LITERAL([USING_BUILTIN_DLFCN])
588 m4trace:configure.ac:149: -1- m4_pattern_allow([^USING_BUILTIN_DLFCN$])
589 m4trace:configure.ac:149: -1- AH_OUTPUT([USING_BUILTIN_DLFCN], [/* "Define to 1 to use builtin dlfcn" */
590 @%:@undef USING_BUILTIN_DLFCN])
591 m4trace:configure.ac:163: -1- AC_SUBST([DYNAMIC_LD_LIBS])
592 m4trace:configure.ac:163: -1- AC_SUBST_TRACE([DYNAMIC_LD_LIBS])
593 m4trace:configure.ac:163: -1- m4_pattern_allow([^DYNAMIC_LD_LIBS$])
594 m4trace:configure.ac:179: -1- AC_SUBST([DYNAMIC_LD_LIBS])
595 m4trace:configure.ac:179: -1- AC_SUBST_TRACE([DYNAMIC_LD_LIBS])
596 m4trace:configure.ac:179: -1- m4_pattern_allow([^DYNAMIC_LD_LIBS$])
597 m4trace:configure.ac:189: -1- AH_OUTPUT([HAVE_LIBDVDCSS], [/* Define to 1 if you have the `dvdcss\' library (-ldvdcss). */
598 @%:@undef HAVE_LIBDVDCSS])
599 m4trace:configure.ac:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDVDCSS])
600 m4trace:configure.ac:189: -1- m4_pattern_allow([^HAVE_LIBDVDCSS$])
601 m4trace:configure.ac:190: -1- AH_OUTPUT([HAVE_DVDCSS_DVDCSS_H], [/* Define to 1 if you have the <dvdcss/dvdcss.h> header file. */
602 @%:@undef HAVE_DVDCSS_DVDCSS_H])
603 m4trace:configure.ac:190: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DVDCSS_DVDCSS_H])
604 m4trace:configure.ac:190: -1- m4_pattern_allow([^HAVE_DVDCSS_DVDCSS_H$])
605 m4trace:configure.ac:193: -1- AC_SUBST([CSS_LIBS])
606 m4trace:configure.ac:193: -1- AC_SUBST_TRACE([CSS_LIBS])
607 m4trace:configure.ac:193: -1- m4_pattern_allow([^CSS_LIBS$])
608 m4trace:configure.ac:203: -1- AC_SUBST([DEBUG_CFLAGS])
609 m4trace:configure.ac:203: -1- AC_SUBST_TRACE([DEBUG_CFLAGS])
610 m4trace:configure.ac:203: -1- m4_pattern_allow([^DEBUG_CFLAGS$])
611 m4trace:configure.ac:208: -1- AC_SUBST([DOXYGEN])
612 m4trace:configure.ac:208: -1- AC_SUBST_TRACE([DOXYGEN])
613 m4trace:configure.ac:208: -1- m4_pattern_allow([^DOXYGEN$])
614 m4trace:configure.ac:214: -1- AC_SUBST([INCLUDES])
615 m4trace:configure.ac:214: -1- AC_SUBST_TRACE([INCLUDES])
616 m4trace:configure.ac:214: -1- m4_pattern_allow([^INCLUDES$])
617 m4trace:configure.ac:219: -1- AC_CONFIG_FILES([
618 Makefile
619 src/Makefile
620 misc/Makefile
621 misc/dvdread-config
622 misc/dvdread.pc
623 misc/libdvdread.spec
624 misc/relchk.sh
625 m4/Makefile
626 ])
627 m4trace:configure.ac:219: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
628 You should run autoupdate.], [])
629 m4trace:configure.ac:219: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
630 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
631 m4trace:configure.ac:219: -1- m4_pattern_allow([^LIB@&t@OBJS$])
632 m4trace:configure.ac:219: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
633 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([LTLIBOBJS])
634 m4trace:configure.ac:219: -1- m4_pattern_allow([^LTLIBOBJS$])
635 m4trace:configure.ac:219: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
636 m4trace:configure.ac:219: -1- AC_SUBST([am__EXEEXT_TRUE])
637 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
638 m4trace:configure.ac:219: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
639 m4trace:configure.ac:219: -1- AC_SUBST([am__EXEEXT_FALSE])
640 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
641 m4trace:configure.ac:219: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
642 m4trace:configure.ac:219: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
643 m4trace:configure.ac:219: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
644 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([top_builddir])
645 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([top_build_prefix])
646 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([srcdir])
647 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([abs_srcdir])
648 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([top_srcdir])
649 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([abs_top_srcdir])
650 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([builddir])
651 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([abs_builddir])
652 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([abs_top_builddir])
653 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([INSTALL])
654 m4trace:configure.ac:219: -1- AC_SUBST_TRACE([MKDIR_P])
655 m4trace:configure.ac:219: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
99 ## Platform. ##
1010 ## --------- ##
1111
12 hostname = notebook
12 hostname = laptop.127011.internal
1313 uname -m = i686
14 uname -r = 3.6-trunk-amd64
14 uname -r = 3.8-0baureo1-amd64
1515 uname -s = Linux
16 uname -v = #1 SMP Debian 3.6.9-1~experimental.1
16 uname -v = #1 SMP Debian 3.8.2-1~experimental.1~baureo1
1717
1818 /usr/bin/uname -p = unknown
1919 /bin/uname -X = unknown
3737 ## Core tests. ##
3838 ## ----------- ##
3939
40 configure:2306: checking for a BSD-compatible install
41 configure:2374: result: /usr/bin/install -c
42 configure:2385: checking whether build environment is sane
43 configure:2435: result: yes
44 configure:2576: checking for a thread-safe mkdir -p
45 configure:2615: result: /bin/mkdir -p
46 configure:2628: checking for gawk
47 configure:2658: result: no
48 configure:2628: checking for mawk
49 configure:2644: found /usr/bin/mawk
50 configure:2655: result: mawk
51 configure:2666: checking whether make sets $(MAKE)
52 configure:2688: result: yes
53 configure:2775: checking build system type
54 configure:2789: result: i686-pc-linux-gnu
55 configure:2809: checking host system type
56 configure:2822: result: i686-pc-linux-gnu
57 configure:2883: checking for style of include used by make
58 configure:2911: result: GNU
59 configure:2982: checking for gcc
60 configure:2998: found /usr/bin/gcc
61 configure:3009: result: gcc
62 configure:3238: checking for C compiler version
63 configure:3247: gcc --version >&5
64 gcc (Debian 4.7.2-4) 4.7.2
40 configure:2364: checking for a BSD-compatible install
41 configure:2432: result: /usr/bin/install -c
42 configure:2443: checking whether build environment is sane
43 configure:2493: result: yes
44 configure:2634: checking for a thread-safe mkdir -p
45 configure:2673: result: /bin/mkdir -p
46 configure:2686: checking for gawk
47 configure:2716: result: no
48 configure:2686: checking for mawk
49 configure:2702: found /usr/bin/mawk
50 configure:2713: result: mawk
51 configure:2724: checking whether make sets $(MAKE)
52 configure:2746: result: yes
53 configure:2833: checking build system type
54 configure:2847: result: i686-pc-linux-gnu
55 configure:2867: checking host system type
56 configure:2880: result: i686-pc-linux-gnu
57 configure:2941: checking for style of include used by make
58 configure:2969: result: GNU
59 configure:3040: checking for gcc
60 configure:3056: found /usr/bin/gcc
61 configure:3067: result: gcc
62 configure:3296: checking for C compiler version
63 configure:3305: gcc --version >&5
64 gcc (Debian 4.7.2-5) 4.7.2
6565 Copyright (C) 2012 Free Software Foundation, Inc.
6666 This is free software; see the source for copying conditions. There is NO
6767 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
6868
69 configure:3258: $? = 0
70 configure:3247: gcc -v >&5
69 configure:3316: $? = 0
70 configure:3305: gcc -v >&5
7171 Using built-in specs.
7272 COLLECT_GCC=gcc
7373 COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.7/lto-wrapper
7474 Target: i486-linux-gnu
75 Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-4' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
75 Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
7676 Thread model: posix
77 gcc version 4.7.2 (Debian 4.7.2-4)
78 configure:3258: $? = 0
79 configure:3247: gcc -V >&5
77 gcc version 4.7.2 (Debian 4.7.2-5)
78 configure:3316: $? = 0
79 configure:3305: gcc -V >&5
8080 gcc: error: unrecognized command line option '-V'
8181 gcc: fatal error: no input files
8282 compilation terminated.
83 configure:3258: $? = 4
84 configure:3247: gcc -qversion >&5
83 configure:3316: $? = 4
84 configure:3305: gcc -qversion >&5
8585 gcc: error: unrecognized command line option '-qversion'
8686 gcc: fatal error: no input files
8787 compilation terminated.
88 configure:3258: $? = 4
89 configure:3278: checking whether the C compiler works
90 configure:3300: gcc conftest.c >&5
91 configure:3304: $? = 0
92 configure:3352: result: yes
93 configure:3355: checking for C compiler default output file name
94 configure:3357: result: a.out
95 configure:3363: checking for suffix of executables
96 configure:3370: gcc -o conftest conftest.c >&5
97 configure:3374: $? = 0
98 configure:3396: result:
99 configure:3418: checking whether we are cross compiling
100 configure:3426: gcc -o conftest conftest.c >&5
101 configure:3430: $? = 0
102 configure:3437: ./conftest
103 configure:3441: $? = 0
104 configure:3456: result: no
105 configure:3461: checking for suffix of object files
106 configure:3483: gcc -c conftest.c >&5
107 configure:3487: $? = 0
108 configure:3508: result: o
109 configure:3512: checking whether we are using the GNU C compiler
110 configure:3531: gcc -c conftest.c >&5
111 configure:3531: $? = 0
112 configure:3540: result: yes
113 configure:3549: checking whether gcc accepts -g
114 configure:3569: gcc -c -g conftest.c >&5
115 configure:3569: $? = 0
116 configure:3610: result: yes
117 configure:3627: checking for gcc option to accept ISO C89
118 configure:3690: gcc -c -g -O2 conftest.c >&5
119 configure:3690: $? = 0
120 configure:3703: result: none needed
121 configure:3725: checking dependency style of gcc
122 configure:3836: result: gcc3
123 configure:3852: checking for library containing strerror
124 configure:3883: gcc -o conftest -g -O2 conftest.c >&5
125 configure:3883: $? = 0
126 configure:3900: result: none required
127 configure:3957: checking for gcc
128 configure:3984: result: gcc
129 configure:4213: checking for C compiler version
130 configure:4222: gcc --version >&5
131 gcc (Debian 4.7.2-4) 4.7.2
88 configure:3316: $? = 4
89 configure:3336: checking whether the C compiler works
90 configure:3358: gcc conftest.c >&5
91 configure:3362: $? = 0
92 configure:3410: result: yes
93 configure:3413: checking for C compiler default output file name
94 configure:3415: result: a.out
95 configure:3421: checking for suffix of executables
96 configure:3428: gcc -o conftest conftest.c >&5
97 configure:3432: $? = 0
98 configure:3454: result:
99 configure:3476: checking whether we are cross compiling
100 configure:3484: gcc -o conftest conftest.c >&5
101 configure:3488: $? = 0
102 configure:3495: ./conftest
103 configure:3499: $? = 0
104 configure:3514: result: no
105 configure:3519: checking for suffix of object files
106 configure:3541: gcc -c conftest.c >&5
107 configure:3545: $? = 0
108 configure:3566: result: o
109 configure:3570: checking whether we are using the GNU C compiler
110 configure:3589: gcc -c conftest.c >&5
111 configure:3589: $? = 0
112 configure:3598: result: yes
113 configure:3607: checking whether gcc accepts -g
114 configure:3627: gcc -c -g conftest.c >&5
115 configure:3627: $? = 0
116 configure:3668: result: yes
117 configure:3685: checking for gcc option to accept ISO C89
118 configure:3748: gcc -c -g -O2 conftest.c >&5
119 configure:3748: $? = 0
120 configure:3761: result: none needed
121 configure:3783: checking dependency style of gcc
122 configure:3894: result: gcc3
123 configure:3910: checking for library containing strerror
124 configure:3941: gcc -o conftest -g -O2 conftest.c >&5
125 configure:3941: $? = 0
126 configure:3958: result: none required
127 configure:4015: checking for gcc
128 configure:4042: result: gcc
129 configure:4271: checking for C compiler version
130 configure:4280: gcc --version >&5
131 gcc (Debian 4.7.2-5) 4.7.2
132132 Copyright (C) 2012 Free Software Foundation, Inc.
133133 This is free software; see the source for copying conditions. There is NO
134134 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
135135
136 configure:4233: $? = 0
137 configure:4222: gcc -v >&5
136 configure:4291: $? = 0
137 configure:4280: gcc -v >&5
138138 Using built-in specs.
139139 COLLECT_GCC=gcc
140140 COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.7/lto-wrapper
141141 Target: i486-linux-gnu
142 Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-4' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
142 Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
143143 Thread model: posix
144 gcc version 4.7.2 (Debian 4.7.2-4)
145 configure:4233: $? = 0
146 configure:4222: gcc -V >&5
144 gcc version 4.7.2 (Debian 4.7.2-5)
145 configure:4291: $? = 0
146 configure:4280: gcc -V >&5
147147 gcc: error: unrecognized command line option '-V'
148148 gcc: fatal error: no input files
149149 compilation terminated.
150 configure:4233: $? = 4
151 configure:4222: gcc -qversion >&5
150 configure:4291: $? = 4
151 configure:4280: gcc -qversion >&5
152152 gcc: error: unrecognized command line option '-qversion'
153153 gcc: fatal error: no input files
154154 compilation terminated.
155 configure:4233: $? = 4
156 configure:4237: checking whether we are using the GNU C compiler
157 configure:4265: result: yes
158 configure:4274: checking whether gcc accepts -g
159 configure:4335: result: yes
160 configure:4352: checking for gcc option to accept ISO C89
161 configure:4428: result: none needed
162 configure:4450: checking dependency style of gcc
163 configure:4561: result: gcc3
164 configure:4576: checking whether make sets $(MAKE)
165 configure:4598: result: yes
166 configure:4608: checking whether ln -s works
167 configure:4612: result: yes
168 configure:4701: checking how to print strings
169 configure:4728: result: printf
170 configure:4749: checking for a sed that does not truncate output
171 configure:4813: result: /bin/sed
172 configure:4831: checking for grep that handles long lines and -e
173 configure:4889: result: /bin/grep
174 configure:4894: checking for egrep
175 configure:4956: result: /bin/grep -E
176 configure:4961: checking for fgrep
177 configure:5023: result: /bin/grep -F
178 configure:5058: checking for ld used by gcc
179 configure:5125: result: /usr/bin/ld
180 configure:5132: checking if the linker (/usr/bin/ld) is GNU ld
181 configure:5147: result: yes
182 configure:5159: checking for BSD- or MS-compatible name lister (nm)
183 configure:5208: result: /usr/bin/nm -B
184 configure:5338: checking the name lister (/usr/bin/nm -B) interface
185 configure:5345: gcc -c conftest.c >&5
186 configure:5348: /usr/bin/nm -B "conftest.o"
187 configure:5351: output
155 configure:4291: $? = 4
156 configure:4295: checking whether we are using the GNU C compiler
157 configure:4323: result: yes
158 configure:4332: checking whether gcc accepts -g
159 configure:4393: result: yes
160 configure:4410: checking for gcc option to accept ISO C89
161 configure:4486: result: none needed
162 configure:4508: checking dependency style of gcc
163 configure:4619: result: gcc3
164 configure:4634: checking whether make sets $(MAKE)
165 configure:4656: result: yes
166 configure:4666: checking whether ln -s works
167 configure:4670: result: yes
168 configure:4759: checking how to print strings
169 configure:4786: result: printf
170 configure:4807: checking for a sed that does not truncate output
171 configure:4871: result: /bin/sed
172 configure:4889: checking for grep that handles long lines and -e
173 configure:4947: result: /bin/grep
174 configure:4952: checking for egrep
175 configure:5014: result: /bin/grep -E
176 configure:5019: checking for fgrep
177 configure:5081: result: /bin/grep -F
178 configure:5116: checking for ld used by gcc
179 configure:5183: result: /usr/bin/ld
180 configure:5190: checking if the linker (/usr/bin/ld) is GNU ld
181 configure:5205: result: yes
182 configure:5217: checking for BSD- or MS-compatible name lister (nm)
183 configure:5266: result: /usr/bin/nm -B
184 configure:5396: checking the name lister (/usr/bin/nm -B) interface
185 configure:5403: gcc -c conftest.c >&5
186 configure:5406: /usr/bin/nm -B "conftest.o"
187 configure:5409: output
188188 00000000 B some_variable
189 configure:5358: result: BSD nm
190 configure:5362: checking the maximum length of command line arguments
191 configure:5493: result: 1572864
192 configure:5510: checking whether the shell understands some XSI constructs
193 configure:5520: result: yes
194 configure:5524: checking whether the shell understands "+="
195 configure:5530: result: yes
196 configure:5565: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
197 configure:5605: result: func_convert_file_noop
198 configure:5612: checking how to convert i686-pc-linux-gnu file names to toolchain format
199 configure:5632: result: func_convert_file_noop
200 configure:5639: checking for /usr/bin/ld option to reload object files
201 configure:5646: result: -r
202 configure:5720: checking for objdump
203 configure:5736: found /usr/bin/objdump
204 configure:5747: result: objdump
205 configure:5779: checking how to recognize dependent libraries
206 configure:5977: result: pass_all
207 configure:6062: checking for dlltool
208 configure:6092: result: no
209 configure:6122: checking how to associate runtime and link libraries
210 configure:6149: result: printf %s\n
211 configure:6209: checking for ar
212 configure:6225: found /usr/bin/ar
213 configure:6236: result: ar
214 configure:6273: checking for archiver @FILE support
215 configure:6290: gcc -c conftest.c >&5
216 configure:6290: $? = 0
217 configure:6293: ar cru libconftest.a @conftest.lst >&5
218 configure:6296: $? = 0
219 configure:6301: ar cru libconftest.a @conftest.lst >&5
189 configure:5416: result: BSD nm
190 configure:5420: checking the maximum length of command line arguments
191 configure:5551: result: 1572864
192 configure:5568: checking whether the shell understands some XSI constructs
193 configure:5578: result: yes
194 configure:5582: checking whether the shell understands "+="
195 configure:5588: result: yes
196 configure:5623: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
197 configure:5663: result: func_convert_file_noop
198 configure:5670: checking how to convert i686-pc-linux-gnu file names to toolchain format
199 configure:5690: result: func_convert_file_noop
200 configure:5697: checking for /usr/bin/ld option to reload object files
201 configure:5704: result: -r
202 configure:5778: checking for objdump
203 configure:5794: found /usr/bin/objdump
204 configure:5805: result: objdump
205 configure:5837: checking how to recognize dependent libraries
206 configure:6035: result: pass_all
207 configure:6120: checking for dlltool
208 configure:6150: result: no
209 configure:6180: checking how to associate runtime and link libraries
210 configure:6207: result: printf %s\n
211 configure:6267: checking for ar
212 configure:6283: found /usr/bin/ar
213 configure:6294: result: ar
214 configure:6331: checking for archiver @FILE support
215 configure:6348: gcc -c conftest.c >&5
216 configure:6348: $? = 0
217 configure:6351: ar cru libconftest.a @conftest.lst >&5
218 configure:6354: $? = 0
219 configure:6359: ar cru libconftest.a @conftest.lst >&5
220220 ar: conftest.o: No such file or directory
221 configure:6304: $? = 1
222 configure:6316: result: @
223 configure:6374: checking for strip
224 configure:6390: found /usr/bin/strip
225 configure:6401: result: strip
226 configure:6473: checking for ranlib
227 configure:6489: found /usr/bin/ranlib
228 configure:6500: result: ranlib
229 configure:6602: checking command to parse /usr/bin/nm -B output from gcc object
230 configure:6722: gcc -c conftest.c >&5
231 configure:6725: $? = 0
232 configure:6729: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
233 configure:6732: $? = 0
234 configure:6798: gcc -o conftest conftest.c conftstm.o >&5
235 configure:6801: $? = 0
236 configure:6839: result: ok
237 configure:6876: checking for sysroot
238 configure:6906: result: no
239 configure:7169: checking for mt
240 configure:7185: found /bin/mt
241 configure:7196: result: mt
242 configure:7219: checking if mt is a manifest tool
243 configure:7225: mt '-?'
244 configure:7233: result: no
245 configure:7875: checking how to run the C preprocessor
246 configure:7906: gcc -E conftest.c
247 configure:7906: $? = 0
248 configure:7920: gcc -E conftest.c
221 configure:6362: $? = 1
222 configure:6374: result: @
223 configure:6432: checking for strip
224 configure:6448: found /usr/bin/strip
225 configure:6459: result: strip
226 configure:6531: checking for ranlib
227 configure:6547: found /usr/bin/ranlib
228 configure:6558: result: ranlib
229 configure:6660: checking command to parse /usr/bin/nm -B output from gcc object
230 configure:6780: gcc -c conftest.c >&5
231 configure:6783: $? = 0
232 configure:6787: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
233 configure:6790: $? = 0
234 configure:6856: gcc -o conftest conftest.c conftstm.o >&5
235 configure:6859: $? = 0
236 configure:6897: result: ok
237 configure:6934: checking for sysroot
238 configure:6964: result: no
239 configure:7227: checking for mt
240 configure:7243: found /bin/mt
241 configure:7254: result: mt
242 configure:7277: checking if mt is a manifest tool
243 configure:7283: mt '-?'
244 configure:7291: result: no
245 configure:7933: checking how to run the C preprocessor
246 configure:7964: gcc -E conftest.c
247 configure:7964: $? = 0
248 configure:7978: gcc -E conftest.c
249249 conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
250250 compilation terminated.
251 configure:7920: $? = 1
251 configure:7978: $? = 1
252252 configure: failed program was:
253253 | /* confdefs.h */
254254 | #define PACKAGE_NAME "libdvdread"
261261 | #define VERSION "4.2.0"
262262 | /* end confdefs.h. */
263263 | #include <ac_nonexistent.h>
264 configure:7945: result: gcc -E
265 configure:7965: gcc -E conftest.c
266 configure:7965: $? = 0
267 configure:7979: gcc -E conftest.c
264 configure:8003: result: gcc -E
265 configure:8023: gcc -E conftest.c
266 configure:8023: $? = 0
267 configure:8037: gcc -E conftest.c
268268 conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
269269 compilation terminated.
270 configure:7979: $? = 1
270 configure:8037: $? = 1
271271 configure: failed program was:
272272 | /* confdefs.h */
273273 | #define PACKAGE_NAME "libdvdread"
280280 | #define VERSION "4.2.0"
281281 | /* end confdefs.h. */
282282 | #include <ac_nonexistent.h>
283 configure:8008: checking for ANSI C header files
284 configure:8028: gcc -c conftest.c >&5
285 configure:8028: $? = 0
286 configure:8101: gcc -o conftest conftest.c >&5
287 configure:8101: $? = 0
288 configure:8101: ./conftest
289 configure:8101: $? = 0
290 configure:8112: result: yes
291 configure:8125: checking for sys/types.h
292 configure:8125: gcc -c conftest.c >&5
293 configure:8125: $? = 0
294 configure:8125: result: yes
295 configure:8125: checking for sys/stat.h
296 configure:8125: gcc -c conftest.c >&5
297 configure:8125: $? = 0
298 configure:8125: result: yes
299 configure:8125: checking for stdlib.h
300 configure:8125: gcc -c conftest.c >&5
301 configure:8125: $? = 0
302 configure:8125: result: yes
303 configure:8125: checking for string.h
304 configure:8125: gcc -c conftest.c >&5
305 configure:8125: $? = 0
306 configure:8125: result: yes
307 configure:8125: checking for memory.h
308 configure:8125: gcc -c conftest.c >&5
309 configure:8125: $? = 0
310 configure:8125: result: yes
311 configure:8125: checking for strings.h
312 configure:8125: gcc -c conftest.c >&5
313 configure:8125: $? = 0
314 configure:8125: result: yes
315 configure:8125: checking for inttypes.h
316 configure:8125: gcc -c conftest.c >&5
317 configure:8125: $? = 0
318 configure:8125: result: yes
319 configure:8125: checking for stdint.h
320 configure:8125: gcc -c conftest.c >&5
321 configure:8125: $? = 0
322 configure:8125: result: yes
323 configure:8125: checking for unistd.h
324 configure:8125: gcc -c conftest.c >&5
325 configure:8125: $? = 0
326 configure:8125: result: yes
327 configure:8139: checking for dlfcn.h
328 configure:8139: gcc -c conftest.c >&5
329 configure:8139: $? = 0
330 configure:8139: result: yes
331 configure:8313: checking for objdir
332 configure:8328: result: .libs
333 configure:8595: checking if gcc supports -fno-rtti -fno-exceptions
334 configure:8613: gcc -c -fno-rtti -fno-exceptions conftest.c >&5
283 configure:8066: checking for ANSI C header files
284 configure:8086: gcc -c conftest.c >&5
285 configure:8086: $? = 0
286 configure:8159: gcc -o conftest conftest.c >&5
287 configure:8159: $? = 0
288 configure:8159: ./conftest
289 configure:8159: $? = 0
290 configure:8170: result: yes
291 configure:8183: checking for sys/types.h
292 configure:8183: gcc -c conftest.c >&5
293 configure:8183: $? = 0
294 configure:8183: result: yes
295 configure:8183: checking for sys/stat.h
296 configure:8183: gcc -c conftest.c >&5
297 configure:8183: $? = 0
298 configure:8183: result: yes
299 configure:8183: checking for stdlib.h
300 configure:8183: gcc -c conftest.c >&5
301 configure:8183: $? = 0
302 configure:8183: result: yes
303 configure:8183: checking for string.h
304 configure:8183: gcc -c conftest.c >&5
305 configure:8183: $? = 0
306 configure:8183: result: yes
307 configure:8183: checking for memory.h
308 configure:8183: gcc -c conftest.c >&5
309 configure:8183: $? = 0
310 configure:8183: result: yes
311 configure:8183: checking for strings.h
312 configure:8183: gcc -c conftest.c >&5
313 configure:8183: $? = 0
314 configure:8183: result: yes
315 configure:8183: checking for inttypes.h
316 configure:8183: gcc -c conftest.c >&5
317 configure:8183: $? = 0
318 configure:8183: result: yes
319 configure:8183: checking for stdint.h
320 configure:8183: gcc -c conftest.c >&5
321 configure:8183: $? = 0
322 configure:8183: result: yes
323 configure:8183: checking for unistd.h
324 configure:8183: gcc -c conftest.c >&5
325 configure:8183: $? = 0
326 configure:8183: result: yes
327 configure:8197: checking for dlfcn.h
328 configure:8197: gcc -c conftest.c >&5
329 configure:8197: $? = 0
330 configure:8197: result: yes
331 configure:8371: checking for objdir
332 configure:8386: result: .libs
333 configure:8653: checking if gcc supports -fno-rtti -fno-exceptions
334 configure:8671: gcc -c -fno-rtti -fno-exceptions conftest.c >&5
335335 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
336 configure:8617: $? = 0
337 configure:8630: result: no
338 configure:8957: checking for gcc option to produce PIC
339 configure:8964: result: -fPIC -DPIC
340 configure:8972: checking if gcc PIC flag -fPIC -DPIC works
341 configure:8990: gcc -c -fPIC -DPIC -DPIC conftest.c >&5
342 configure:8994: $? = 0
343 configure:9007: result: yes
344 configure:9036: checking if gcc static flag -static works
345 configure:9064: result: yes
346 configure:9079: checking if gcc supports -c -o file.o
347 configure:9100: gcc -c -o out/conftest2.o conftest.c >&5
348 configure:9104: $? = 0
349 configure:9126: result: yes
350 configure:9134: checking if gcc supports -c -o file.o
351 configure:9181: result: yes
352 configure:9214: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
353 configure:10371: result: yes
354 configure:10408: checking whether -lc should be explicitly linked in
355 configure:10416: gcc -c conftest.c >&5
356 configure:10419: $? = 0
357 configure:10434: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
358 configure:10437: $? = 0
359 configure:10451: result: no
360 configure:10611: checking dynamic linker characteristics
361 configure:11111: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
362 configure:11111: $? = 0
363 configure:11345: result: GNU/Linux ld.so
364 configure:11452: checking how to hardcode library paths into programs
365 configure:11477: result: immediate
366 configure:11571: checking for shl_load
367 configure:11571: gcc -o conftest conftest.c >&5
368 /tmp/ccyPI4Ti.o: In function `main':
336 configure:8675: $? = 0
337 configure:8688: result: no
338 configure:9015: checking for gcc option to produce PIC
339 configure:9022: result: -fPIC -DPIC
340 configure:9030: checking if gcc PIC flag -fPIC -DPIC works
341 configure:9048: gcc -c -fPIC -DPIC -DPIC conftest.c >&5
342 configure:9052: $? = 0
343 configure:9065: result: yes
344 configure:9094: checking if gcc static flag -static works
345 configure:9122: result: yes
346 configure:9137: checking if gcc supports -c -o file.o
347 configure:9158: gcc -c -o out/conftest2.o conftest.c >&5
348 configure:9162: $? = 0
349 configure:9184: result: yes
350 configure:9192: checking if gcc supports -c -o file.o
351 configure:9239: result: yes
352 configure:9272: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
353 configure:10429: result: yes
354 configure:10466: checking whether -lc should be explicitly linked in
355 configure:10474: gcc -c conftest.c >&5
356 configure:10477: $? = 0
357 configure:10492: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
358 configure:10495: $? = 0
359 configure:10509: result: no
360 configure:10669: checking dynamic linker characteristics
361 configure:11169: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
362 configure:11169: $? = 0
363 configure:11403: result: GNU/Linux ld.so
364 configure:11510: checking how to hardcode library paths into programs
365 configure:11535: result: immediate
366 configure:11629: checking for shl_load
367 configure:11629: gcc -o conftest conftest.c >&5
368 /tmp/ccCsiiFV.o: In function `main':
369369 conftest.c:(.text+0x7): undefined reference to `shl_load'
370370 collect2: error: ld returned 1 exit status
371 configure:11571: $? = 1
371 configure:11629: $? = 1
372372 configure: failed program was:
373373 | /* confdefs.h */
374374 | #define PACKAGE_NAME "libdvdread"
430430 | ;
431431 | return 0;
432432 | }
433 configure:11571: result: no
434 configure:11575: checking for shl_load in -ldld
435 configure:11600: gcc -o conftest conftest.c -ldld >&5
433 configure:11629: result: no
434 configure:11633: checking for shl_load in -ldld
435 configure:11658: gcc -o conftest conftest.c -ldld >&5
436436 /usr/bin/ld: cannot find -ldld
437437 collect2: error: ld returned 1 exit status
438 configure:11600: $? = 1
438 configure:11658: $? = 1
439439 configure: failed program was:
440440 | /* confdefs.h */
441441 | #define PACKAGE_NAME "libdvdread"
474474 | ;
475475 | return 0;
476476 | }
477 configure:11609: result: no
478 configure:11614: checking for dlopen
479 configure:11614: gcc -o conftest conftest.c >&5
480 /tmp/ccoya5lz.o: In function `main':
477 configure:11667: result: no
478 configure:11672: checking for dlopen
479 configure:11672: gcc -o conftest conftest.c >&5
480 /tmp/ccegoqxc.o: In function `main':
481481 conftest.c:(.text+0x7): undefined reference to `dlopen'
482482 collect2: error: ld returned 1 exit status
483 configure:11614: $? = 1
483 configure:11672: $? = 1
484484 configure: failed program was:
485485 | /* confdefs.h */
486486 | #define PACKAGE_NAME "libdvdread"
542542 | ;
543543 | return 0;
544544 | }
545 configure:11614: result: no
546 configure:11618: checking for dlopen in -ldl
547 configure:11643: gcc -o conftest conftest.c -ldl >&5
548 configure:11643: $? = 0
549 configure:11652: result: yes
550 configure:11771: checking whether a program can dlopen itself
551 configure:11851: gcc -o conftest -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl >&5
552 configure:11854: $? = 0
553 configure:11872: result: yes
554 configure:11877: checking whether a statically linked program can dlopen itself
555 configure:11957: gcc -o conftest -DHAVE_DLFCN_H -Wl,--export-dynamic -static conftest.c -ldl >&5
556 /tmp/ccSYKsjU.o: In function `main':
545 configure:11672: result: no
546 configure:11676: checking for dlopen in -ldl
547 configure:11701: gcc -o conftest conftest.c -ldl >&5
548 configure:11701: $? = 0
549 configure:11710: result: yes
550 configure:11829: checking whether a program can dlopen itself
551 configure:11909: gcc -o conftest -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl >&5
552 configure:11912: $? = 0
553 configure:11930: result: yes
554 configure:11935: checking whether a statically linked program can dlopen itself
555 configure:12015: gcc -o conftest -DHAVE_DLFCN_H -Wl,--export-dynamic -static conftest.c -ldl >&5
556 /tmp/ccYHu69l.o: In function `main':
557557 conftest.c:(.text+0x23): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
558 configure:11960: $? = 0
558 configure:12018: $? = 0
559559 /lib/i386-linux-gnu/: cannot read file data: Is a directory
560 configure:11978: result: no
561 configure:12017: checking whether stripping libraries is possible
562 configure:12022: result: yes
563 configure:12057: checking if libtool supports shared libraries
564 configure:12059: result: yes
565 configure:12062: checking whether to build shared libraries
566 configure:12083: result: yes
567 configure:12086: checking whether to build static libraries
568 configure:12090: result: no
569 configure:12135: checking for ANSI C header files
570 configure:12239: result: yes
571 configure:12247: checking for unistd.h
572 configure:12247: result: yes
573 configure:12253: checking for string.h
574 configure:12253: result: yes
575 configure:12260: checking for an ANSI C-conforming const
576 configure:12326: gcc -c conftest.c >&5
577 configure:12326: $? = 0
578 configure:12333: result: yes
579 configure:12341: checking for inline
580 configure:12357: gcc -c conftest.c >&5
581 configure:12357: $? = 0
582 configure:12365: result: inline
583 configure:12383: checking for off_t
584 configure:12383: gcc -c conftest.c >&5
585 configure:12383: $? = 0
586 configure:12383: gcc -c conftest.c >&5
560 configure:12036: result: no
561 configure:12075: checking whether stripping libraries is possible
562 configure:12080: result: yes
563 configure:12115: checking if libtool supports shared libraries
564 configure:12117: result: yes
565 configure:12120: checking whether to build shared libraries
566 configure:12141: result: yes
567 configure:12144: checking whether to build static libraries
568 configure:12148: result: no
569 configure:12193: checking for ANSI C header files
570 configure:12297: result: yes
571 configure:12305: checking for unistd.h
572 configure:12305: result: yes
573 configure:12311: checking for string.h
574 configure:12311: result: yes
575 configure:12318: checking for an ANSI C-conforming const
576 configure:12384: gcc -c conftest.c >&5
577 configure:12384: $? = 0
578 configure:12391: result: yes
579 configure:12399: checking for inline
580 configure:12415: gcc -c conftest.c >&5
581 configure:12415: $? = 0
582 configure:12423: result: inline
583 configure:12441: checking for off_t
584 configure:12441: gcc -c conftest.c >&5
585 configure:12441: $? = 0
586 configure:12441: gcc -c conftest.c >&5
587587 conftest.c: In function 'main':
588588 conftest.c:60:20: error: expected expression before ')' token
589 configure:12383: $? = 1
589 configure:12441: $? = 1
590590 configure: failed program was:
591591 | /* confdefs.h */
592592 | #define PACKAGE_NAME "libdvdread"
652652 | ;
653653 | return 0;
654654 | }
655 configure:12383: result: yes
656 configure:12394: checking for size_t
657 configure:12394: gcc -c conftest.c >&5
658 configure:12394: $? = 0
659 configure:12394: gcc -c conftest.c >&5
655 configure:12441: result: yes
656 configure:12452: checking for size_t
657 configure:12452: gcc -c conftest.c >&5
658 configure:12452: $? = 0
659 configure:12452: gcc -c conftest.c >&5
660660 conftest.c: In function 'main':
661661 conftest.c:60:21: error: expected expression before ')' token
662 configure:12394: $? = 1
662 configure:12452: $? = 1
663663 configure: failed program was:
664664 | /* confdefs.h */
665665 | #define PACKAGE_NAME "libdvdread"
725725 | ;
726726 | return 0;
727727 | }
728 configure:12394: result: yes
729 configure:12405: checking whether byte ordering is bigendian
730 configure:12420: gcc -c conftest.c >&5
728 configure:12452: result: yes
729 configure:12463: checking whether byte ordering is bigendian
730 configure:12478: gcc -c conftest.c >&5
731731 conftest.c:25:9: error: unknown type name 'not'
732732 conftest.c:25:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
733733 conftest.c:25:15: error: unknown type name 'universal'
734 configure:12420: $? = 1
734 configure:12478: $? = 1
735735 configure: failed program was:
736736 | /* confdefs.h */
737737 | #define PACKAGE_NAME "libdvdread"
761761 | #endif
762762 | typedef int dummy;
763763 |
764 configure:12465: gcc -c conftest.c >&5
765 configure:12465: $? = 0
766 configure:12483: gcc -c conftest.c >&5
764 configure:12523: gcc -c conftest.c >&5
765 configure:12523: $? = 0
766 configure:12541: gcc -c conftest.c >&5
767767 conftest.c: In function 'main':
768768 conftest.c:31:4: error: unknown type name 'not'
769769 conftest.c:31:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
770 configure:12483: $? = 1
770 configure:12541: $? = 1
771771 configure: failed program was:
772772 | /* confdefs.h */
773773 | #define PACKAGE_NAME "libdvdread"
805805 | ;
806806 | return 0;
807807 | }
808 configure:12611: result: no
809 configure:12768: checking for dlopen in -lc
810 configure:12793: gcc -o conftest conftest.c -lc >&5
811 /tmp/ccseLWHA.o: In function `main':
808 configure:12669: result: no
809 configure:12826: checking for dlopen in -lc
810 configure:12851: gcc -o conftest conftest.c -lc >&5
811 /tmp/ccYJUmHm.o: In function `main':
812812 conftest.c:(.text+0x7): undefined reference to `dlopen'
813813 collect2: error: ld returned 1 exit status
814 configure:12793: $? = 1
814 configure:12851: $? = 1
815815 configure: failed program was:
816816 | /* confdefs.h */
817817 | #define PACKAGE_NAME "libdvdread"
851851 | ;
852852 | return 0;
853853 | }
854 configure:12802: result: no
855 configure:12807: checking for dlopen in -ldl
856 configure:12841: result: yes
857 configure:12933: checking for doxygen
858 configure:12961: result: no
859 configure:13110: creating ./config.status
854 configure:12860: result: no
855 configure:12865: checking for dlopen in -ldl
856 configure:12899: result: yes
857 configure:12989: checking whether C compiler accepts -mno-ms-bitfields
858 configure:13008: gcc -c -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mno-ms-bitfields conftest.c >&5
859 configure:13008: $? = 0
860 configure:13016: result: yes
861 configure:13027: checking for doxygen
862 configure:13055: result: no
863 configure:13204: creating ./config.status
860864
861865 ## ---------------------- ##
862866 ## Running config.status. ##
871875 CONFIG_COMMANDS =
872876 $ ./config.status
873877
874 on notebook
878 on laptop.127011.internal
875879
876880 config.status:1097: creating Makefile
877881 config.status:1097: creating src/Makefile
952956 ac_cv_type_off_t=yes
953957 ac_cv_type_size_t=yes
954958 am_cv_CC_dependencies_compiler_type=gcc3
959 ax_cv_check_cflags___mno_ms_bitfields=yes
955960 lt_cv_ar_at_file=@
956961 lt_cv_archive_cmds_need_lc=no
957962 lt_cv_deplibs_check_method=pass_all
987992 ## Output variables. ##
988993 ## ----------------- ##
989994
990 ACLOCAL='${SHELL} /home/user/libdvdread/missing --run aclocal-1.11'
995 ACLOCAL='${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11'
991996 AMDEPBACKSLASH='\'
992997 AMDEP_FALSE='#'
993998 AMDEP_TRUE=''
994999 AMTAR='$${TAR-tar}'
9951000 AR='ar'
996 AUTOCONF='${SHELL} /home/user/libdvdread/missing --run autoconf'
997 AUTOHEADER='${SHELL} /home/user/libdvdread/missing --run autoheader'
998 AUTOMAKE='${SHELL} /home/user/libdvdread/missing --run automake-1.11'
1001 AUTOCONF='${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf'
1002 AUTOHEADER='${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader'
1003 AUTOMAKE='${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11'
9991004 AWK='mawk'
10001005 CC='gcc'
10011006 CCDEPMODE='depmode=gcc3'
1002 CFLAGS='-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE '
1007 CFLAGS='-mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE '
10031008 CPP='gcc -E'
10041009 CPPFLAGS=''
10051010 CSS_LIBS=''
10391044 LIPO=''
10401045 LN_S='ln -s'
10411046 LTLIBOBJS=''
1042 MAKEINFO='${SHELL} /home/user/libdvdread/missing --run makeinfo'
1047 MAKEINFO='${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo'
10431048 MANIFEST_TOOL=':'
10441049 MKDIR_P='/bin/mkdir -p'
10451050 NM='/usr/bin/nm -B'
10961101 htmldir='${docdir}'
10971102 includedir='${prefix}/include'
10981103 infodir='${datarootdir}/info'
1099 install_sh='${SHELL} /home/user/libdvdread/install-sh'
1104 install_sh='${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh'
11001105 libdir='${exec_prefix}/lib'
11011106 libexecdir='${exec_prefix}/libexec'
11021107 localedir='${datarootdir}/locale'
436436 This config.status script is free software; the Free Software Foundation
437437 gives unlimited permission to copy, distribute and modify it."
438438
439 ac_pwd='/home/user/libdvdread'
439 ac_pwd='/home/user/libdvdread-4.2.0+20130219'
440440 srcdir='.'
441441 INSTALL='/usr/bin/install -c'
442442 MKDIR_P='/bin/mkdir -p'
598598 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
599599 lock_old_archive_extraction='no'
600600 CC='gcc'
601 CFLAGS='-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE '
601 CFLAGS='-mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE '
602602 compiler='gcc'
603603 GCC='yes'
604604 lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
674674 finish_eval=''
675675 hardcode_into_libs='yes'
676676 sys_lib_search_path_spec='/usr/lib/gcc/i486-linux-gnu/4.7 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib '
677 sys_lib_dlsearch_path_spec='/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib '
677 sys_lib_dlsearch_path_spec='/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib64 /usr/lib64 '
678678 hardcode_action='immediate'
679679 enable_dlopen='yes'
680680 enable_dlopen_self='yes'
867867 S["ac_ct_CC"]="gcc"
868868 S["CPPFLAGS"]=""
869869 S["LDFLAGS"]=""
870 S["CFLAGS"]="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
870 S["CFLAGS"]="-mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
871871 S["CC"]="gcc"
872872 S["DVDREAD_LT_REVISION"]="2"
873873 S["DVDREAD_LT_AGE"]="1"
893893 S["MKDIR_P"]="/bin/mkdir -p"
894894 S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
895895 S["STRIP"]="strip"
896 S["install_sh"]="${SHELL} /home/user/libdvdread/install-sh"
897 S["MAKEINFO"]="${SHELL} /home/user/libdvdread/missing --run makeinfo"
898 S["AUTOHEADER"]="${SHELL} /home/user/libdvdread/missing --run autoheader"
899 S["AUTOMAKE"]="${SHELL} /home/user/libdvdread/missing --run automake-1.11"
900 S["AUTOCONF"]="${SHELL} /home/user/libdvdread/missing --run autoconf"
901 S["ACLOCAL"]="${SHELL} /home/user/libdvdread/missing --run aclocal-1.11"
896 S["install_sh"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh"
897 S["MAKEINFO"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo"
898 S["AUTOHEADER"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader"
899 S["AUTOMAKE"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11"
900 S["AUTOCONF"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf"
901 S["ACLOCAL"]="${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11"
902902 S["VERSION"]="4.2.0"
903903 S["PACKAGE"]="libdvdread"
904904 S["CYGPATH_W"]="echo"
22572257
22582258
22592259
2260 # ===========================================================================
2261 # http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
2262 # ===========================================================================
2263 #
2264 # SYNOPSIS
2265 #
2266 # AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS])
2267 #
2268 # DESCRIPTION
2269 #
2270 # Check whether the given FLAG works with the current language's compiler
2271 # or gives an error. (Warnings, however, are ignored)
2272 #
2273 # ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
2274 # success/failure.
2275 #
2276 # If EXTRA-FLAGS is defined, it is added to the current language's default
2277 # flags (e.g. CFLAGS) when the check is done. The check is thus made with
2278 # the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
2279 # force the compiler to issue an error when a bad flag is given.
2280 #
2281 # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
2282 # macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
2283 #
2284 # LICENSE
2285 #
2286 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
2287 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
2288 #
2289 # This program is free software: you can redistribute it and/or modify it
2290 # under the terms of the GNU General Public License as published by the
2291 # Free Software Foundation, either version 3 of the License, or (at your
2292 # option) any later version.
2293 #
2294 # This program is distributed in the hope that it will be useful, but
2295 # WITHOUT ANY WARRANTY; without even the implied warranty of
2296 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2297 # Public License for more details.
2298 #
2299 # You should have received a copy of the GNU General Public License along
2300 # with this program. If not, see <http://www.gnu.org/licenses/>.
2301 #
2302 # As a special exception, the respective Autoconf Macro's copyright owner
2303 # gives unlimited permission to copy, distribute and modify the configure
2304 # scripts that are the output of Autoconf when processing the Macro. You
2305 # need not follow the terms of the GNU General Public License when using
2306 # or distributing such scripts, even though portions of the text of the
2307 # Macro appear in them. The GNU General Public License (GPL) does govern
2308 # all other use of the material that constitutes the Autoconf Macro.
2309 #
2310 # This special exception to the GPL applies to versions of the Autoconf
2311 # Macro released by the Autoconf Archive. When you make and distribute a
2312 # modified version of the Autoconf Macro, you may extend this special
2313 # exception to the GPL to apply to your modified version as well.
2314
2315 #serial 2
2316
2317
22602318 am__api_version='1.11'
22612319
22622320 ac_aux_dir=
1292512983 CFLAGS="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $CFLAGS"
1292612984 DEBUG_CFLAGS="-g -DDEBUG $CFLAGS"
1292712985
12986
12987
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mno-ms-bitfields" >&5
12989 $as_echo_n "checking whether C compiler accepts -mno-ms-bitfields... " >&6; }
12990 if ${ax_cv_check_cflags___mno_ms_bitfields+:} false; then :
12991 $as_echo_n "(cached) " >&6
12992 else
12993
12994 ax_check_save_flags=$CFLAGS
12995 CFLAGS="$CFLAGS -mno-ms-bitfields"
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12998
12999 int
13000 main ()
13001 {
13002
13003 ;
13004 return 0;
13005 }
13006 _ACEOF
13007 if ac_fn_c_try_compile "$LINENO"; then :
13008 ax_cv_check_cflags___mno_ms_bitfields=yes
13009 else
13010 ax_cv_check_cflags___mno_ms_bitfields=no
13011 fi
13012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13013 CFLAGS=$ax_check_save_flags
13014 fi
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mno_ms_bitfields" >&5
13016 $as_echo "$ax_cv_check_cflags___mno_ms_bitfields" >&6; }
13017 if test x"$ax_cv_check_cflags___mno_ms_bitfields" = xyes; then :
13018 CFLAGS="-mno-ms-bitfields $CFLAGS"
13019 else
13020 :
13021 fi
1292813022
1292913023
1293013024 # Extract the first word of "doxygen", so it can be a program name with args.
1818
1919 AC_INIT([libdvdread], [dvdread_major.dvdread_minor.dvdread_sub[]dvdread_pre])
2020 AC_CONFIG_SRCDIR([src/dvdread/dvd_reader.h])
21 m4_include([m4/ax_check_compile_flag.m4])
2122 AM_INIT_AUTOMAKE([1.6])
2223
2324 dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
202203 AC_SUBST(DEBUG_CFLAGS)
203204
204205 dnl ---------------------------------------------
206 dnl Check for bitfield compiler flag
207 dnl ---------------------------------------------
208 AX_CHECK_COMPILE_FLAG([-mno-ms-bitfields], [CFLAGS="-mno-ms-bitfields $CFLAGS"])
209
210 dnl ---------------------------------------------
205211 dnl Check for doxygen (dynamic documentation generator)
206212 dnl ---------------------------------------------
207213 AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, no)
0 libdvdread (4.2.0+20130219-1) experimental; urgency=low
1
2 * Merging upstream version 4.2.0+20130219.
3 * Dropping dpkg-source compression levels.
4 * Adding dpkg-source local options.
5 * Prefixing patches with four digits.
6 * Trimming diff headers in patches.
7 * Updating year in copyright file.
8 * Adding multi-arch field for libdvdread4 (Closes: #697388).
9 * Refreshing md5-symbols.patch.
10
11 -- Daniel Baumann <mail@daniel-baumann.ch> Wed, 13 Mar 2013 19:01:11 +0100
12
013 libdvdread (4.2.0+20121016-2) unstable; urgency=low
114
215 * Removing all references to my old email address.
88 Package: libdvdread4
99 Section: libs
1010 Architecture: any
11 Multi-Arch: same
1112 Pre-Depends: multiarch-support
1213 Depends: ${misc:Depends}, ${shlibs:Depends}
1314 Recommends: libdvdnav4
1010 License: GPL-2+
1111
1212 Files: debian/*
13 Copyright: 2006-2012 Daniel Baumann <mail@daniel-baumann.ch>
13 Copyright: 2006-2013 Daniel Baumann <mail@daniel-baumann.ch>
1414 License: GPL-2+
1515
1616 License: GPL-2+
0 Author: Daniel Baumann <mail@daniel-baumann.ch>
1 Description: Print information about the CSS README.
2
3 diff -Naurp libdvdread.orig/src/dvd_input.c libdvdread/src/dvd_input.c
4 --- libdvdread.orig/src/dvd_input.c
5 +++ libdvdread/src/dvd_input.c
6 @@ -351,7 +351,14 @@ int dvdinput_setup(void)
7 return 1;
8
9 } else {
10 - fprintf(stderr, "libdvdread: Encrypted DVD support unavailable.\n");
11 + fprintf(stderr, "libdvdread: Encrypted DVD support unavailable.\n"
12 + "************************************************\n"
13 + "** **\n"
14 + "** No css library available. See **\n"
15 + "** /usr/share/doc/libdvdread4/README.css **\n"
16 + "** for more information. **\n"
17 + "** **\n"
18 + "************************************************\n");
19
20 /* libdvdcss replacement functions */
21 dvdinput_open = file_open;
0 Author: Daniel Baumann <mail@daniel-baumann.ch>
1 Description:
2 Fixing symbol conflicts with other MD5 implementations (Closes: #522512).
3
4 diff -Naurp libdvdread.orig/src/md5.h libdvdread/src/md5.h
5 --- libdvdread.orig/src/md5.h
6 +++ libdvdread/src/md5.h
7 @@ -21,6 +21,15 @@
8 #ifndef LIBDVDREAD_MD5_H
9 #define LIBDVDREAD_MD5_H
10
11 +/* Change function names to prevent symbol conflicts */
12 +#define md5_init_ctx _DVD_md5_init_ctx
13 +#define md5_process_block _DVD_md5_process_block
14 +#define md5_process_bytes _DVD_md5_process_bytes
15 +#define md5_finish_ctx _DVD_md5_finish_ctx
16 +#define md5_read_ctx _DVD_md5_read_ctx
17 +#define md5_stream _DVD_md5_stream
18 +#define md5_buffer _DVD_md5_buffer
19 +
20 #include <stdio.h>
21
22 #if defined HAVE_LIMITS_H || defined _LIBC
0 Author: Lorenz Minder <lminder@gmx.net>
1 Description: Use correct endianess on big-endian machines (Closes: #531621).
2
3 diff -Naurp libdvdread.orig/src/bswap.h libdvdread/src/bswap.h
4 --- libdvdread.orig/src/bswap.h
5 +++ libdvdread/src/bswap.h
6 @@ -22,6 +22,11 @@
7 #ifndef LIBDVDREAD_BSWAP_H
8 #define LIBDVDREAD_BSWAP_H
9
10 +#include <endian.h>
11 +#if BYTE_ORDER == BIG_ENDIAN
12 +#define WORDS_BIGENDIAN
13 +#endif
14 +
15 #include <config.h>
16
17 #if defined(WORDS_BIGENDIAN)
0 Author: Daniel Baumann <mail@daniel-baumann.ch>
1 Description: Bumping version to match original upstream (Closes: #532438).
2
3 diff -Naurp libdvdread.orig/src/dvdread/dvd_reader.h libdvdread/src/dvdread/dvd_reader.h
4 --- libdvdread.orig/src/dvdread/dvd_reader.h
5 +++ libdvdread/src/dvdread/dvd_reader.h
6 @@ -43,7 +43,7 @@
7 /**
8 * The current version.
9 */
10 -#define DVDREAD_VERSION 904
11 +#define DVDREAD_VERSION 907
12
13 /**
14 * The length of one Logical Block of a DVD.
0 Author: Svante Signell <svante.signell@telia.com>
1 Description:
2 libdvdread FTBFS on hurd-i386 due to PATH_MAX usage, which is not defined on
3 GNU/Hurd. The attached patch fixes these problems by using dynamic buffer
4 allocation (Closes: #640803).
5
6 diff -Naurp libdvdread.orig/src/dvd_reader.c libdvdread/src/dvd_reader.c
7 --- libdvdread.orig/src/dvd_reader.c
8 +++ libdvdread/src/dvd_reader.c
9 @@ -29,6 +29,7 @@
10 #include <errno.h>
11 #include <string.h>
12 #include <ctype.h>
13 +#define _GNU_SOURCE
14 #include <unistd.h>
15 #include <limits.h>
16 #include <dirent.h>
17 @@ -429,6 +430,12 @@ dvd_reader_t *DVDOpen( const char *ppath
18 if( chdir( path_copy ) == -1 ) {
19 goto DVDOpen_error;
20 }
21 +#ifdef __GLIBC__
22 + new_path = get_current_dir_name();
23 + if(new_path == NULL) {
24 + goto DVDOpen_error;
25 + }
26 +#else
27 new_path = malloc(PATH_MAX+1);
28 if(!new_path) {
29 goto DVDOpen_error;
30 @@ -436,6 +443,7 @@ dvd_reader_t *DVDOpen( const char *ppath
31 if( getcwd( new_path, PATH_MAX ) == NULL ) {
32 goto DVDOpen_error;
33 }
34 +#endif
35 retval = fchdir( cdir );
36 close( cdir );
37 cdir = -1;
38 @@ -651,17 +659,23 @@ static dvd_file_t *DVDOpenFileUDF( dvd_r
39 * or -1 on file not found.
40 * or -2 on path not found.
41 */
42 -static int findDirFile( const char *path, const char *file, char *filename )
43 +static int findDirFile( const char *path, const char *file, char **filename )
44 {
45 DIR *dir;
46 struct dirent *ent;
47 + *filename = NULL;
48
49 dir = opendir( path );
50 if( !dir ) return -2;
51
52 while( ( ent = readdir( dir ) ) != NULL ) {
53 if( !strcasecmp( ent->d_name, file ) ) {
54 - sprintf( filename, "%s%s%s", path,
55 + *filename = malloc( strlen( path ) + 1 + strlen( ent->d_name ) + 1 );
56 + if( *filename == NULL ) {
57 + closedir(dir);
58 + return -1;
59 + }
60 + sprintf( *filename, "%s%s%s", path,
61 ( ( path[ strlen( path ) - 1 ] == '/' ) ? "" : "/" ),
62 ent->d_name );
63 closedir(dir);
64 @@ -672,9 +686,9 @@ static int findDirFile( const char *path
65 return -1;
66 }
67
68 -static int findDVDFile( dvd_reader_t *dvd, const char *file, char *filename )
69 +static int findDVDFile( dvd_reader_t *dvd, const char *file, char **filename )
70 {
71 - char video_path[ PATH_MAX + 1 ];
72 + char *video_path = NULL;
73 const char *nodirfile;
74 int ret;
75
76 @@ -688,6 +702,8 @@ static int findDVDFile( dvd_reader_t *dv
77 ret = findDirFile( dvd->path_root, nodirfile, filename );
78 if( ret < 0 ) {
79 /* Try also with adding the path, just in case. */
80 + video_path = malloc( strlen( dvd->path_root ) + 10 + 1 );
81 + if( video_path == NULL ) return 0;
82 sprintf( video_path, "%s/VIDEO_TS/", dvd->path_root );
83 ret = findDirFile( video_path, nodirfile, filename );
84 if( ret < 0 ) {
85 @@ -695,9 +711,11 @@ static int findDVDFile( dvd_reader_t *dv
86 sprintf( video_path, "%s/video_ts/", dvd->path_root );
87 ret = findDirFile( video_path, nodirfile, filename );
88 if( ret < 0 ) {
89 + free( video_path );
90 return 0;
91 }
92 }
93 + free( video_path );
94 }
95
96 return 1;
97 @@ -708,20 +726,22 @@ static int findDVDFile( dvd_reader_t *dv
98 */
99 static dvd_file_t *DVDOpenFilePath( dvd_reader_t *dvd, char *filename )
100 {
101 - char full_path[ PATH_MAX + 1 ];
102 + char *full_path = NULL;
103 dvd_file_t *dvd_file;
104 struct stat fileinfo;
105 dvd_input_t dev;
106
107 /* Get the full path of the file. */
108 - if( !findDVDFile( dvd, filename, full_path ) ) {
109 + if( !findDVDFile( dvd, filename, &full_path ) ) {
110 fprintf( stderr, "libdvdnav:DVDOpenFilePath:findDVDFile %s failed\n", filename );
111 + free( full_path );
112 return NULL;
113 }
114
115 dev = dvdinput_open( full_path );
116 if( !dev ) {
117 fprintf( stderr, "libdvdnav:DVDOpenFilePath:dvdinput_open %s failed\n", full_path );
118 + free( full_path );
119 return NULL;
120 }
121
122 @@ -729,6 +749,7 @@ static dvd_file_t *DVDOpenFilePath( dvd_
123 if( !dvd_file ) {
124 fprintf( stderr, "libdvdnav:DVDOpenFilePath:dvd_file malloc failed\n" );
125 dvdinput_close(dev);
126 + free( full_path );
127 return NULL;
128 }
129 dvd_file->dvd = dvd;
130 @@ -740,6 +761,7 @@ static dvd_file_t *DVDOpenFilePath( dvd_
131
132 if( stat( full_path, &fileinfo ) < 0 ) {
133 fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
134 + free( full_path );
135 free( dvd_file );
136 dvdinput_close( dev );
137 return NULL;
138 @@ -748,6 +770,7 @@ static dvd_file_t *DVDOpenFilePath( dvd_
139 dvd_file->title_devs[ 0 ] = dev;
140 dvd_file->filesize = dvd_file->title_sizes[ 0 ];
141
142 + free( full_path );
143 return dvd_file;
144 }
145
146 @@ -803,7 +826,7 @@ static dvd_file_t *DVDOpenVOBUDF( dvd_re
147 static dvd_file_t *DVDOpenVOBPath( dvd_reader_t *dvd, int title, int menu )
148 {
149 char filename[ MAX_UDF_FILE_NAME_LEN ];
150 - char full_path[ PATH_MAX + 1 ];
151 + char *full_path = NULL;
152 struct stat fileinfo;
153 dvd_file_t *dvd_file;
154 int i;
155 @@ -826,13 +849,15 @@ static dvd_file_t *DVDOpenVOBPath( dvd_r
156 } else {
157 sprintf( filename, "VTS_%02i_0.VOB", title );
158 }
159 - if( !findDVDFile( dvd, filename, full_path ) ) {
160 + if( !findDVDFile( dvd, filename, &full_path ) ) {
161 + free( full_path );
162 free( dvd_file );
163 return NULL;
164 }
165
166 dev = dvdinput_open( full_path );
167 if( dev == NULL ) {
168 + free( full_path );
169 free( dvd_file );
170 return NULL;
171 }
172 @@ -840,6 +865,7 @@ static dvd_file_t *DVDOpenVOBPath( dvd_r
173 if( stat( full_path, &fileinfo ) < 0 ) {
174 fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
175 dvdinput_close(dev);
176 + free( full_path );
177 free( dvd_file );
178 return NULL;
179 }
180 @@ -852,7 +878,7 @@ static dvd_file_t *DVDOpenVOBPath( dvd_r
181 for( i = 0; i < TITLES_MAX; ++i ) {
182
183 sprintf( filename, "VTS_%02i_%i.VOB", title, i + 1 );
184 - if( !findDVDFile( dvd, filename, full_path ) ) {
185 + if( !findDVDFile( dvd, filename, &full_path ) ) {
186 break;
187 }
188
189 @@ -867,11 +893,12 @@ static dvd_file_t *DVDOpenVOBPath( dvd_r
190 dvd_file->filesize += dvd_file->title_sizes[ i ];
191 }
192 if( !dvd_file->title_devs[ 0 ] ) {
193 + free( full_path );
194 free( dvd_file );
195 return NULL;
196 }
197 }
198 -
199 + free( full_path );
200 return dvd_file;
201 }
202
203 @@ -993,7 +1020,7 @@ static int DVDFileStatVOBPath( dvd_reade
204 int menu, dvd_stat_t *statbuf )
205 {
206 char filename[ MAX_UDF_FILE_NAME_LEN ];
207 - char full_path[ PATH_MAX + 1 ];
208 + char *full_path = NULL;
209 struct stat fileinfo;
210 off_t tot_size;
211 off_t parts_size[ 9 ];
212 @@ -1005,11 +1032,14 @@ static int DVDFileStatVOBPath( dvd_reade
213 else
214 sprintf( filename, "VTS_%02d_%d.VOB", title, menu ? 0 : 1 );
215
216 - if( !findDVDFile( dvd, filename, full_path ) )
217 + if( !findDVDFile( dvd, filename, &full_path ) ) {
218 + free( full_path );
219 return -1;
220 + }
221
222 if( stat( full_path, &fileinfo ) < 0 ) {
223 fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
224 + free( full_path );
225 return -1;
226 }
227
228 @@ -1021,7 +1051,7 @@ static int DVDFileStatVOBPath( dvd_reade
229 int cur;
230 for( cur = 2; cur < 10; cur++ ) {
231 sprintf( filename, "VTS_%02d_%d.VOB", title, cur );
232 - if( !findDVDFile( dvd, filename, full_path ) )
233 + if( !findDVDFile( dvd, filename, &full_path ) )
234 break;
235
236 if( stat( full_path, &fileinfo ) < 0 ) {
237 @@ -1040,6 +1070,7 @@ static int DVDFileStatVOBPath( dvd_reade
238 for( n = 0; n < nr_parts; n++ )
239 statbuf->parts_size[ n ] = parts_size[ n ];
240
241 + free( full_path );
242 return 0;
243 }
244
245 @@ -1048,7 +1079,7 @@ int DVDFileStat( dvd_reader_t *dvd, int
246 dvd_read_domain_t domain, dvd_stat_t *statbuf )
247 {
248 char filename[ MAX_UDF_FILE_NAME_LEN ];
249 - char full_path[ PATH_MAX + 1 ];
250 + char *full_path = NULL;
251 struct stat fileinfo;
252 uint32_t size;
253
254 @@ -1104,17 +1135,19 @@ int DVDFileStat( dvd_reader_t *dvd, int
255 return 0;
256 }
257 } else {
258 - if( findDVDFile( dvd, filename, full_path ) ) {
259 + if( findDVDFile( dvd, filename, &full_path ) ) {
260 if( stat( full_path, &fileinfo ) < 0 )
261 fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
262 else {
263 statbuf->size = fileinfo.st_size;
264 statbuf->nr_parts = 1;
265 statbuf->parts_size[ 0 ] = statbuf->size;
266 + free( full_path );
267 return 0;
268 }
269 }
270 }
271 + free( full_path );
272 return -1;
273 }
274
0 Author: Mario Holbe <mario.holbe@tu-ilmenau.de>
1 Description:
2 libdvdread is very likely to fail on discs/images that store their File
3 System Descriptor at the end of the disc/image rather than at the
4 beginning. This is due to the "strategy" libdvdread uses to find it:
5 libdvdread scans sequentially from the beginning of the disc/image for
6 the File System Descriptor and identifies it by a single byte tag.
7 .
8 Aside from wasting lots of time on discs/images that store their File
9 System Descriptor at the end there is quite a good chance to stumble
10 across a random data block that accidentally starts with this tag (and
11 failing on it) before finding the real File System Descriptor.
12 .
13 As far as I can see, at least CDBurnerXP seems to (be able to) create
14 such images - at least if my interpretation of the Implementation
15 Identifier "NMS DVDProLib" is correct.
16 .
17 This... well, let's call it ugly hack fixes this by obtaining
18 the File System Descriptor location from the Logical Volume Descriptor
19 (Closes: #663512).
20
21 diff -Naurp libdvdread.orig/src/dvd_udf.c libdvdread/src/dvd_udf.c
22 --- libdvdread.orig/src/dvd_udf.c
23 +++ libdvdread/src/dvd_udf.c
24 @@ -80,6 +80,8 @@ struct Partition {
25 uint32_t AccessType;
26 uint32_t Start;
27 uint32_t Length;
28 + uint32_t FSD_Location;
29 + uint32_t FSD_Length;
30 };
31
32 struct AD {
33 @@ -99,6 +101,12 @@ struct avdp_t {
34 struct extent_ad rvds;
35 };
36
37 +struct fsd_t {
38 + uint16_t Partition;
39 + uint32_t Location;
40 + uint32_t Length;
41 +};
42 +
43 struct pvd_t {
44 uint8_t VolumeIdentifier[32];
45 uint8_t VolumeSetIdentifier[128];
46 @@ -423,6 +431,16 @@ static int UDFLogVolume( uint8_t *data,
47 return 0;
48 }
49
50 +/**
51 + * Reads the File Set Descriptor from the Logical Volume Descriptor.
52 + */
53 +static void UDFFSD( uint8_t *data, struct fsd_t *fsd )
54 +{
55 + fsd->Length = GETN4(248); /* always 2048? */
56 + fsd->Location = GETN4(252);
57 + fsd->Partition = GETN2(256); /* always 0? */
58 +}
59 +
60 static int UDFFileEntry( uint8_t *data, uint8_t *FileType,
61 struct Partition *partition, struct AD *ad )
62 {
63 @@ -767,8 +785,18 @@ static int UDFFindPartition( dvd_reader_
64 /* Logical Volume Descriptor */
65 if( UDFLogVolume( LogBlock, part->VolumeDesc ) ) {
66 /* TODO: sector size wrong! */
67 - } else
68 - volvalid = 1;
69 + } else {
70 + struct fsd_t fsd;
71 +
72 + UDFFSD(LogBlock, &fsd);
73 + if(part->Number == fsd.Partition) {
74 + part->FSD_Location = fsd.Location;
75 + part->FSD_Length = fsd.Length;
76 + volvalid = 1;
77 + } else {
78 + /* TODO: Oups, how to handle this? */
79 + }
80 + }
81 }
82
83 } while( ( lbnum <= MVDS_location + ( MVDS_length - 1 )
84 @@ -811,7 +839,10 @@ uint32_t UDFFindFile( dvd_reader_t *devi
85 SetUDFCache(device, PartitionCache, 0, &partition);
86
87 /* Find root dir ICB */
88 - lbnum = partition.Start;
89 + lbnum = partition.Start + partition.FSD_Location;
90 + /*
91 + fprintf(stderr, "Looking for FSD at 0x%x\n", lbnum);
92 + */
93 do {
94 if( DVDReadLBUDF( device, lbnum++, 1, LogBlock, 0 ) <= 0 )
95 TagID = 0;
0 Author: Peter Van Eynde <pvaneynd@debian.org>
1 Description: Fix miscompilation leading to a segfault (Closes: #688574).
2
3 diff -Naurp libdvdread.orig/src/dvd_reader.c libdvdread/src/dvd_reader.c
4 --- libdvdread.orig/src/dvd_reader.c
5 +++ libdvdread/src/dvd_reader.c
6 @@ -30,6 +30,7 @@
7 #include <string.h>
8 #include <ctype.h>
9 #define _GNU_SOURCE
10 +#define __USE_GNU
11 #include <unistd.h>
12 #include <limits.h>
13 #include <dirent.h>
+0
-22
debian/patches/01-libdvdcss.patch less more
0 Author: Daniel Baumann <mail@daniel-baumann.ch>
1 Description: Print information about the CSS README.
2
3 diff -Naurp libdvdread.orig/src/dvd_input.c libdvdread/src/dvd_input.c
4 --- libdvdread.orig/src/dvd_input.c 2011-01-06 13:08:49.000000000 +0000
5 +++ libdvdread/src/dvd_input.c 2011-01-06 13:10:44.000000000 +0000
6 @@ -351,7 +351,14 @@ int dvdinput_setup(void)
7 return 1;
8
9 } else {
10 - fprintf(stderr, "libdvdread: Encrypted DVD support unavailable.\n");
11 + fprintf(stderr, "libdvdread: Encrypted DVD support unavailable.\n"
12 + "************************************************\n"
13 + "** **\n"
14 + "** No css library available. See **\n"
15 + "** /usr/share/doc/libdvdread4/README.css **\n"
16 + "** for more information. **\n"
17 + "** **\n"
18 + "************************************************\n");
19
20 /* libdvdcss replacement functions */
21 dvdinput_open = file_open;
+0
-23
debian/patches/02-md5-symbols.patch less more
0 Author: Daniel Baumann <mail@daniel-baumann.ch>
1 Description:
2 Fixing symbol conflicts with other MD5 implementations (Closes: #522512).
3
4 diff -Naurp libdvdread.orig/src/md5.h libdvdread/src/md5.h
5 --- libdvdread.orig/src/md5.h 2011-01-06 13:08:49.000000000 +0000
6 +++ libdvdread/src/md5.h 2011-01-06 13:12:25.000000000 +0000
7 @@ -21,6 +21,15 @@
8 #ifndef LIBDVDREAD_MD5_H
9 #define LIBDVDREAD_MD5_H
10
11 +/* Change function names to prevent symbol conflicts */
12 +#define md5_init_ctx _DVD_md5_init_ctx
13 +#define md5_process_block _DVD_md5_process_block
14 +#define md5_process_bytes _DVD_md5_process_bytes
15 +#define md5_finish_ctx _DVD_md5_finish_ctx
16 +#define md5_read_ctx _DVD_md5_read_ctx
17 +#define md5_stream _DVD_md5_stream
18 +#define md5_buffer _DVD_md5_buffer
19 +
20 #include <stdio.h>
21
22 #if defined HAVE_LIMITS_H || _LIBC
+0
-18
debian/patches/03-endian.patch less more
0 Author: Lorenz Minder <lminder@gmx.net>
1 Description: Use correct endianess on big-endian machines (Closes: #531621).
2
3 diff -Naurp libdvdread.orig/src/bswap.h libdvdread/src/bswap.h
4 --- libdvdread.orig/src/bswap.h 2011-01-06 13:08:49.000000000 +0000
5 +++ libdvdread/src/bswap.h 2011-01-06 13:14:17.000000000 +0000
6 @@ -22,6 +22,11 @@
7 #ifndef LIBDVDREAD_BSWAP_H
8 #define LIBDVDREAD_BSWAP_H
9
10 +#include <endian.h>
11 +#if BYTE_ORDER == BIG_ENDIAN
12 +#define WORDS_BIGENDIAN
13 +#endif
14 +
15 #include <config.h>
16
17 #if defined(WORDS_BIGENDIAN)
+0
-15
debian/patches/04-version.patch less more
0 Author: Daniel Baumann <mail@daniel-baumann.ch>
1 Description: Bumping version to match original upstream (Closes: #532438).
2
3 diff -Naurp libdvdread.orig/src/dvdread/dvd_reader.h libdvdread/src/dvdread/dvd_reader.h
4 --- libdvdread.orig/src/dvdread/dvd_reader.h 2011-01-06 14:03:02.398951217 +0100
5 +++ libdvdread/src/dvdread/dvd_reader.h 2011-01-06 14:07:36.202950962 +0100
6 @@ -43,7 +43,7 @@
7 /**
8 * The current version.
9 */
10 -#define DVDREAD_VERSION 904
11 +#define DVDREAD_VERSION 907
12
13 /**
14 * The length of one Logical Block of a DVD.
+0
-275
debian/patches/05-hurd.patch less more
0 Author: Svante Signell <svante.signell@telia.com>
1 Description:
2 libdvdread FTBFS on hurd-i386 due to PATH_MAX usage, which is not defined on
3 GNU/Hurd. The attached patch fixes these problems by using dynamic buffer
4 allocation (Closes: #640803).
5
6 diff -Naurp libdvdread.orig/src/dvd_reader.c libdvdread/src/dvd_reader.c
7 --- libdvdread.orig/src/dvd_reader.c 2012-06-27 16:04:50.373934076 +0200
8 +++ libdvdread/src/dvd_reader.c 2012-06-29 21:55:56.173561865 +0200
9 @@ -29,6 +29,7 @@
10 #include <errno.h>
11 #include <string.h>
12 #include <ctype.h>
13 +#define _GNU_SOURCE
14 #include <unistd.h>
15 #include <limits.h>
16 #include <dirent.h>
17 @@ -429,6 +430,12 @@ dvd_reader_t *DVDOpen( const char *ppath
18 if( chdir( path_copy ) == -1 ) {
19 goto DVDOpen_error;
20 }
21 +#ifdef __GLIBC__
22 + new_path = get_current_dir_name();
23 + if(new_path == NULL) {
24 + goto DVDOpen_error;
25 + }
26 +#else
27 new_path = malloc(PATH_MAX+1);
28 if(!new_path) {
29 goto DVDOpen_error;
30 @@ -436,6 +443,7 @@ dvd_reader_t *DVDOpen( const char *ppath
31 if( getcwd( new_path, PATH_MAX ) == NULL ) {
32 goto DVDOpen_error;
33 }
34 +#endif
35 retval = fchdir( cdir );
36 close( cdir );
37 cdir = -1;
38 @@ -651,17 +659,23 @@ static dvd_file_t *DVDOpenFileUDF( dvd_r
39 * or -1 on file not found.
40 * or -2 on path not found.
41 */
42 -static int findDirFile( const char *path, const char *file, char *filename )
43 +static int findDirFile( const char *path, const char *file, char **filename )
44 {
45 DIR *dir;
46 struct dirent *ent;
47 + *filename = NULL;
48
49 dir = opendir( path );
50 if( !dir ) return -2;
51
52 while( ( ent = readdir( dir ) ) != NULL ) {
53 if( !strcasecmp( ent->d_name, file ) ) {
54 - sprintf( filename, "%s%s%s", path,
55 + *filename = malloc( strlen( path ) + 1 + strlen( ent->d_name ) + 1 );
56 + if( *filename == NULL ) {
57 + closedir(dir);
58 + return -1;
59 + }
60 + sprintf( *filename, "%s%s%s", path,
61 ( ( path[ strlen( path ) - 1 ] == '/' ) ? "" : "/" ),
62 ent->d_name );
63 closedir(dir);
64 @@ -672,9 +686,9 @@ static int findDirFile( const char *path
65 return -1;
66 }
67
68 -static int findDVDFile( dvd_reader_t *dvd, const char *file, char *filename )
69 +static int findDVDFile( dvd_reader_t *dvd, const char *file, char **filename )
70 {
71 - char video_path[ PATH_MAX + 1 ];
72 + char *video_path = NULL;
73 const char *nodirfile;
74 int ret;
75
76 @@ -688,6 +702,8 @@ static int findDVDFile( dvd_reader_t *dv
77 ret = findDirFile( dvd->path_root, nodirfile, filename );
78 if( ret < 0 ) {
79 /* Try also with adding the path, just in case. */
80 + video_path = malloc( strlen( dvd->path_root ) + 10 + 1 );
81 + if( video_path == NULL ) return 0;
82 sprintf( video_path, "%s/VIDEO_TS/", dvd->path_root );
83 ret = findDirFile( video_path, nodirfile, filename );
84 if( ret < 0 ) {
85 @@ -695,9 +711,11 @@ static int findDVDFile( dvd_reader_t *dv
86 sprintf( video_path, "%s/video_ts/", dvd->path_root );
87 ret = findDirFile( video_path, nodirfile, filename );
88 if( ret < 0 ) {
89 + free( video_path );
90 return 0;
91 }
92 }
93 + free( video_path );
94 }
95
96 return 1;
97 @@ -708,20 +726,22 @@ static int findDVDFile( dvd_reader_t *dv
98 */
99 static dvd_file_t *DVDOpenFilePath( dvd_reader_t *dvd, char *filename )
100 {
101 - char full_path[ PATH_MAX + 1 ];
102 + char *full_path = NULL;
103 dvd_file_t *dvd_file;
104 struct stat fileinfo;
105 dvd_input_t dev;
106
107 /* Get the full path of the file. */
108 - if( !findDVDFile( dvd, filename, full_path ) ) {
109 + if( !findDVDFile( dvd, filename, &full_path ) ) {
110 fprintf( stderr, "libdvdnav:DVDOpenFilePath:findDVDFile %s failed\n", filename );
111 + free( full_path );
112 return NULL;
113 }
114
115 dev = dvdinput_open( full_path );
116 if( !dev ) {
117 fprintf( stderr, "libdvdnav:DVDOpenFilePath:dvdinput_open %s failed\n", full_path );
118 + free( full_path );
119 return NULL;
120 }
121
122 @@ -729,6 +749,7 @@ static dvd_file_t *DVDOpenFilePath( dvd_
123 if( !dvd_file ) {
124 fprintf( stderr, "libdvdnav:DVDOpenFilePath:dvd_file malloc failed\n" );
125 dvdinput_close(dev);
126 + free( full_path );
127 return NULL;
128 }
129 dvd_file->dvd = dvd;
130 @@ -740,6 +761,7 @@ static dvd_file_t *DVDOpenFilePath( dvd_
131
132 if( stat( full_path, &fileinfo ) < 0 ) {
133 fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
134 + free( full_path );
135 free( dvd_file );
136 dvdinput_close( dev );
137 return NULL;
138 @@ -748,6 +770,7 @@ static dvd_file_t *DVDOpenFilePath( dvd_
139 dvd_file->title_devs[ 0 ] = dev;
140 dvd_file->filesize = dvd_file->title_sizes[ 0 ];
141
142 + free( full_path );
143 return dvd_file;
144 }
145
146 @@ -803,7 +826,7 @@ static dvd_file_t *DVDOpenVOBUDF( dvd_re
147 static dvd_file_t *DVDOpenVOBPath( dvd_reader_t *dvd, int title, int menu )
148 {
149 char filename[ MAX_UDF_FILE_NAME_LEN ];
150 - char full_path[ PATH_MAX + 1 ];
151 + char *full_path = NULL;
152 struct stat fileinfo;
153 dvd_file_t *dvd_file;
154 int i;
155 @@ -826,13 +849,15 @@ static dvd_file_t *DVDOpenVOBPath( dvd_r
156 } else {
157 sprintf( filename, "VTS_%02i_0.VOB", title );
158 }
159 - if( !findDVDFile( dvd, filename, full_path ) ) {
160 + if( !findDVDFile( dvd, filename, &full_path ) ) {
161 + free( full_path );
162 free( dvd_file );
163 return NULL;
164 }
165
166 dev = dvdinput_open( full_path );
167 if( dev == NULL ) {
168 + free( full_path );
169 free( dvd_file );
170 return NULL;
171 }
172 @@ -840,6 +865,7 @@ static dvd_file_t *DVDOpenVOBPath( dvd_r
173 if( stat( full_path, &fileinfo ) < 0 ) {
174 fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
175 dvdinput_close(dev);
176 + free( full_path );
177 free( dvd_file );
178 return NULL;
179 }
180 @@ -852,7 +878,7 @@ static dvd_file_t *DVDOpenVOBPath( dvd_r
181 for( i = 0; i < TITLES_MAX; ++i ) {
182
183 sprintf( filename, "VTS_%02i_%i.VOB", title, i + 1 );
184 - if( !findDVDFile( dvd, filename, full_path ) ) {
185 + if( !findDVDFile( dvd, filename, &full_path ) ) {
186 break;
187 }
188
189 @@ -867,11 +893,12 @@ static dvd_file_t *DVDOpenVOBPath( dvd_r
190 dvd_file->filesize += dvd_file->title_sizes[ i ];
191 }
192 if( !dvd_file->title_devs[ 0 ] ) {
193 + free( full_path );
194 free( dvd_file );
195 return NULL;
196 }
197 }
198 -
199 + free( full_path );
200 return dvd_file;
201 }
202
203 @@ -993,7 +1020,7 @@ static int DVDFileStatVOBPath( dvd_reade
204 int menu, dvd_stat_t *statbuf )
205 {
206 char filename[ MAX_UDF_FILE_NAME_LEN ];
207 - char full_path[ PATH_MAX + 1 ];
208 + char *full_path = NULL;
209 struct stat fileinfo;
210 off_t tot_size;
211 off_t parts_size[ 9 ];
212 @@ -1005,11 +1032,14 @@ static int DVDFileStatVOBPath( dvd_reade
213 else
214 sprintf( filename, "VTS_%02d_%d.VOB", title, menu ? 0 : 1 );
215
216 - if( !findDVDFile( dvd, filename, full_path ) )
217 + if( !findDVDFile( dvd, filename, &full_path ) ) {
218 + free( full_path );
219 return -1;
220 + }
221
222 if( stat( full_path, &fileinfo ) < 0 ) {
223 fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
224 + free( full_path );
225 return -1;
226 }
227
228 @@ -1021,7 +1051,7 @@ static int DVDFileStatVOBPath( dvd_reade
229 int cur;
230 for( cur = 2; cur < 10; cur++ ) {
231 sprintf( filename, "VTS_%02d_%d.VOB", title, cur );
232 - if( !findDVDFile( dvd, filename, full_path ) )
233 + if( !findDVDFile( dvd, filename, &full_path ) )
234 break;
235
236 if( stat( full_path, &fileinfo ) < 0 ) {
237 @@ -1040,6 +1070,7 @@ static int DVDFileStatVOBPath( dvd_reade
238 for( n = 0; n < nr_parts; n++ )
239 statbuf->parts_size[ n ] = parts_size[ n ];
240
241 + free( full_path );
242 return 0;
243 }
244
245 @@ -1048,7 +1079,7 @@ int DVDFileStat( dvd_reader_t *dvd, int
246 dvd_read_domain_t domain, dvd_stat_t *statbuf )
247 {
248 char filename[ MAX_UDF_FILE_NAME_LEN ];
249 - char full_path[ PATH_MAX + 1 ];
250 + char *full_path = NULL;
251 struct stat fileinfo;
252 uint32_t size;
253
254 @@ -1104,17 +1135,19 @@ int DVDFileStat( dvd_reader_t *dvd, int
255 return 0;
256 }
257 } else {
258 - if( findDVDFile( dvd, filename, full_path ) ) {
259 + if( findDVDFile( dvd, filename, &full_path ) ) {
260 if( stat( full_path, &fileinfo ) < 0 )
261 fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
262 else {
263 statbuf->size = fileinfo.st_size;
264 statbuf->nr_parts = 1;
265 statbuf->parts_size[ 0 ] = statbuf->size;
266 + free( full_path );
267 return 0;
268 }
269 }
270 }
271 + free( full_path );
272 return -1;
273 }
274
+0
-96
debian/patches/06-descriptor.patch less more
0 Author: Mario Holbe <mario.holbe@tu-ilmenau.de>
1 Description:
2 libdvdread is very likely to fail on discs/images that store their File
3 System Descriptor at the end of the disc/image rather than at the
4 beginning. This is due to the "strategy" libdvdread uses to find it:
5 libdvdread scans sequentially from the beginning of the disc/image for
6 the File System Descriptor and identifies it by a single byte tag.
7 .
8 Aside from wasting lots of time on discs/images that store their File
9 System Descriptor at the end there is quite a good chance to stumble
10 across a random data block that accidentally starts with this tag (and
11 failing on it) before finding the real File System Descriptor.
12 .
13 As far as I can see, at least CDBurnerXP seems to (be able to) create
14 such images - at least if my interpretation of the Implementation
15 Identifier "NMS DVDProLib" is correct.
16 .
17 This... well, let's call it ugly hack fixes this by obtaining
18 the File System Descriptor location from the Logical Volume Descriptor
19 (Closes: #663512).
20
21 diff -Naurp libdvdread.orig/src/dvd_udf.c libdvdread/src/dvd_udf.c
22 --- libdvdread.orig/src/dvd_udf.c 2012-06-29 21:59:23.378962122 +0200
23 +++ libdvdread/src/dvd_udf.c 2012-06-29 22:15:16.246699257 +0200
24 @@ -80,6 +80,8 @@ struct Partition {
25 uint32_t AccessType;
26 uint32_t Start;
27 uint32_t Length;
28 + uint32_t FSD_Location;
29 + uint32_t FSD_Length;
30 };
31
32 struct AD {
33 @@ -99,6 +101,12 @@ struct avdp_t {
34 struct extent_ad rvds;
35 };
36
37 +struct fsd_t {
38 + uint16_t Partition;
39 + uint32_t Location;
40 + uint32_t Length;
41 +};
42 +
43 struct pvd_t {
44 uint8_t VolumeIdentifier[32];
45 uint8_t VolumeSetIdentifier[128];
46 @@ -423,6 +431,16 @@ static int UDFLogVolume( uint8_t *data,
47 return 0;
48 }
49
50 +/**
51 + * Reads the File Set Descriptor from the Logical Volume Descriptor.
52 + */
53 +static void UDFFSD( uint8_t *data, struct fsd_t *fsd )
54 +{
55 + fsd->Length = GETN4(248); /* always 2048? */
56 + fsd->Location = GETN4(252);
57 + fsd->Partition = GETN2(256); /* always 0? */
58 +}
59 +
60 static int UDFFileEntry( uint8_t *data, uint8_t *FileType,
61 struct Partition *partition, struct AD *ad )
62 {
63 @@ -767,8 +785,18 @@ static int UDFFindPartition( dvd_reader_
64 /* Logical Volume Descriptor */
65 if( UDFLogVolume( LogBlock, part->VolumeDesc ) ) {
66 /* TODO: sector size wrong! */
67 - } else
68 - volvalid = 1;
69 + } else {
70 + struct fsd_t fsd;
71 +
72 + UDFFSD(LogBlock, &fsd);
73 + if(part->Number == fsd.Partition) {
74 + part->FSD_Location = fsd.Location;
75 + part->FSD_Length = fsd.Length;
76 + volvalid = 1;
77 + } else {
78 + /* TODO: Oups, how to handle this? */
79 + }
80 + }
81 }
82
83 } while( ( lbnum <= MVDS_location + ( MVDS_length - 1 )
84 @@ -811,7 +839,10 @@ uint32_t UDFFindFile( dvd_reader_t *devi
85 SetUDFCache(device, PartitionCache, 0, &partition);
86
87 /* Find root dir ICB */
88 - lbnum = partition.Start;
89 + lbnum = partition.Start + partition.FSD_Location;
90 + /*
91 + fprintf(stderr, "Looking for FSD at 0x%x\n", lbnum);
92 + */
93 do {
94 if( DVDReadLBUDF( device, lbnum++, 1, LogBlock, 0 ) <= 0 )
95 TagID = 0;
+0
-14
debian/patches/07-segfault.patch less more
0 Author: Peter Van Eynde <pvaneynd@debian.org>
1 Description: Fix miscompilation leading to a segfault (Closes: #688574).
2
3 diff -Naurp libdvdread.orig/src/dvd_reader.c libdvdread/src/dvd_reader.c
4 --- libdvdread.orig/src/dvd_reader.c 2012-09-24 16:55:49.681245164 +0200
5 +++ libdvdread/src/dvd_reader.c 2012-09-24 16:56:06.845356530 +0200
6 @@ -30,6 +30,7 @@
7 #include <string.h>
8 #include <ctype.h>
9 #define _GNU_SOURCE
10 +#define __USE_GNU
11 #include <unistd.h>
12 #include <limits.h>
13 #include <dirent.h>
0 01-libdvdcss.patch
1 02-md5-symbols.patch
2 03-endian.patch
3 04-version.patch
4 05-hurd.patch
5 06-descriptor.patch
6 07-segfault.patch
0 0001-libdvdcss.patch
1 0002-md5-symbols.patch
2 0003-endian.patch
3 0004-version.patch
4 0005-hurd.patch
5 0006-descriptor.patch
6 0007-segfault.patch
2626 dh_strip --dbg-package=libdvdread-dbg
2727
2828 override_dh_builddeb:
29 dh_builddeb -- -Zxz -z9
29 dh_builddeb -- -Zxz
00 compression = xz
1 compression-level = 9
11
22 # libtool - Provide generalized library-building support services.
33 # Generated automatically by config.status (libdvdread) 4.2.0
4 # Libtool was configured on host notebook:
4 # Libtool was configured on host laptop.127011.internal:
55 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
66 #
77 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
163163 LTCC="gcc"
164164
165165 # LTCC compiler flags.
166 LTCFLAGS="-O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
166 LTCFLAGS="-mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE "
167167
168168 # Take the output of nm and produce a listing of raw symbols and C names.
169169 global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p' | sed '/ __gnu_lto/d'"
274274 sys_lib_search_path_spec="/usr/lib/gcc/i486-linux-gnu/4.7 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib "
275275
276276 # Run-time system search path for libraries.
277 sys_lib_dlsearch_path_spec="/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib "
277 sys_lib_dlsearch_path_spec="/lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib /lib64 /usr/lib64 "
278278
279279 # Whether dlopen is supported.
280280 dlopen_support=yes
5454 $(top_srcdir)/misc/Makefile.common
5555 subdir = m4
5656 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
57 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
57 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
58 $(top_srcdir)/configure.ac
5859 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5960 $(ACLOCAL_M4)
6061 mkinstalldirs = $(install_sh) -d
9899 am__installdirs = "$(DESTDIR)$(m4datadir)"
99100 DATA = $(m4data_DATA)
100101 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
101 ACLOCAL = ${SHELL} /home/user/libdvdread/missing --run aclocal-1.11
102 ACLOCAL = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11
102103 AMTAR = $${TAR-tar}
103104 AR = ar
104 AUTOCONF = ${SHELL} /home/user/libdvdread/missing --run autoconf
105 AUTOHEADER = ${SHELL} /home/user/libdvdread/missing --run autoheader
106 AUTOMAKE = ${SHELL} /home/user/libdvdread/missing --run automake-1.11
105 AUTOCONF = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf
106 AUTOHEADER = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader
107 AUTOMAKE = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11
107108 AWK = mawk
108109 CC = gcc
109110 CCDEPMODE = depmode=gcc3
110 CFLAGS = -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
111 CFLAGS = -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
111112 CPP = gcc -E
112113 CPPFLAGS =
113114 CSS_LIBS =
148149 LIPO =
149150 LN_S = ln -s
150151 LTLIBOBJS =
151 MAKEINFO = ${SHELL} /home/user/libdvdread/missing --run makeinfo
152 MAKEINFO = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo
152153 MANIFEST_TOOL = :
153154 MKDIR_P = /bin/mkdir -p
154155 NM = /usr/bin/nm -B
172173 STATIC =
173174 STRIP = strip
174175 VERSION = 4.2.0
175 abs_builddir = /home/user/libdvdread/m4
176 abs_srcdir = /home/user/libdvdread/m4
177 abs_top_builddir = /home/user/libdvdread
178 abs_top_srcdir = /home/user/libdvdread
176 abs_builddir = /home/user/libdvdread-4.2.0+20130219/m4
177 abs_srcdir = /home/user/libdvdread-4.2.0+20130219/m4
178 abs_top_builddir = /home/user/libdvdread-4.2.0+20130219
179 abs_top_srcdir = /home/user/libdvdread-4.2.0+20130219
179180 ac_ct_AR = ar
180181 ac_ct_CC = gcc
181182 ac_ct_DUMPBIN =
204205 htmldir = ${docdir}
205206 includedir = ${prefix}/include
206207 infodir = ${datarootdir}/info
207 install_sh = ${SHELL} /home/user/libdvdread/install-sh
208 install_sh = ${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh
208209 libdir = ${exec_prefix}/lib
209210 libexecdir = ${exec_prefix}/libexec
210211 localedir = ${datarootdir}/locale
5454 $(top_srcdir)/misc/Makefile.common
5555 subdir = m4
5656 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
57 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
57 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
58 $(top_srcdir)/configure.ac
5859 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5960 $(ACLOCAL_M4)
6061 mkinstalldirs = $(install_sh) -d
0 # ===========================================================================
1 # http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
2 # ===========================================================================
3 #
4 # SYNOPSIS
5 #
6 # AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS])
7 #
8 # DESCRIPTION
9 #
10 # Check whether the given FLAG works with the current language's compiler
11 # or gives an error. (Warnings, however, are ignored)
12 #
13 # ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
14 # success/failure.
15 #
16 # If EXTRA-FLAGS is defined, it is added to the current language's default
17 # flags (e.g. CFLAGS) when the check is done. The check is thus made with
18 # the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
19 # force the compiler to issue an error when a bad flag is given.
20 #
21 # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
22 # macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
23 #
24 # LICENSE
25 #
26 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
27 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
28 #
29 # This program is free software: you can redistribute it and/or modify it
30 # under the terms of the GNU General Public License as published by the
31 # Free Software Foundation, either version 3 of the License, or (at your
32 # option) any later version.
33 #
34 # This program is distributed in the hope that it will be useful, but
35 # WITHOUT ANY WARRANTY; without even the implied warranty of
36 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
37 # Public License for more details.
38 #
39 # You should have received a copy of the GNU General Public License along
40 # with this program. If not, see <http://www.gnu.org/licenses/>.
41 #
42 # As a special exception, the respective Autoconf Macro's copyright owner
43 # gives unlimited permission to copy, distribute and modify the configure
44 # scripts that are the output of Autoconf when processing the Macro. You
45 # need not follow the terms of the GNU General Public License when using
46 # or distributing such scripts, even though portions of the text of the
47 # Macro appear in them. The GNU General Public License (GPL) does govern
48 # all other use of the material that constitutes the Autoconf Macro.
49 #
50 # This special exception to the GPL applies to versions of the Autoconf
51 # Macro released by the Autoconf Archive. When you make and distribute a
52 # modified version of the Autoconf Macro, you may extend this special
53 # exception to the GPL to apply to your modified version as well.
54
55 #serial 2
56
57 AC_DEFUN([AX_CHECK_COMPILE_FLAG],
58 [AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
59 AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
60 AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
61 ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
62 _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
63 AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
64 [AS_VAR_SET(CACHEVAR,[yes])],
65 [AS_VAR_SET(CACHEVAR,[no])])
66 _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
67 AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes],
68 [m4_default([$2], :)],
69 [m4_default([$3], :)])
70 AS_VAR_POPDEF([CACHEVAR])dnl
71 ])dnl AX_CHECK_COMPILE_FLAGS
5757 $(top_srcdir)/misc/Makefile.common
5858 subdir = misc
5959 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
60 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
61 $(top_srcdir)/configure.ac
6162 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6263 $(ACLOCAL_M4)
6364 mkinstalldirs = $(install_sh) -d
103104 esac
104105 DATA = $(pkgconfig_DATA)
105106 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
106 ACLOCAL = ${SHELL} /home/user/libdvdread/missing --run aclocal-1.11
107 ACLOCAL = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11
107108 AMTAR = $${TAR-tar}
108109 AR = ar
109 AUTOCONF = ${SHELL} /home/user/libdvdread/missing --run autoconf
110 AUTOHEADER = ${SHELL} /home/user/libdvdread/missing --run autoheader
111 AUTOMAKE = ${SHELL} /home/user/libdvdread/missing --run automake-1.11
110 AUTOCONF = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf
111 AUTOHEADER = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader
112 AUTOMAKE = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11
112113 AWK = mawk
113114 CC = gcc
114115 CCDEPMODE = depmode=gcc3
115 CFLAGS = -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
116 CFLAGS = -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
116117 CPP = gcc -E
117118 CPPFLAGS =
118119 CSS_LIBS =
153154 LIPO =
154155 LN_S = ln -s
155156 LTLIBOBJS =
156 MAKEINFO = ${SHELL} /home/user/libdvdread/missing --run makeinfo
157 MAKEINFO = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo
157158 MANIFEST_TOOL = :
158159 MKDIR_P = /bin/mkdir -p
159160 NM = /usr/bin/nm -B
177178 STATIC =
178179 STRIP = strip
179180 VERSION = 4.2.0
180 abs_builddir = /home/user/libdvdread/misc
181 abs_srcdir = /home/user/libdvdread/misc
182 abs_top_builddir = /home/user/libdvdread
183 abs_top_srcdir = /home/user/libdvdread
181 abs_builddir = /home/user/libdvdread-4.2.0+20130219/misc
182 abs_srcdir = /home/user/libdvdread-4.2.0+20130219/misc
183 abs_top_builddir = /home/user/libdvdread-4.2.0+20130219
184 abs_top_srcdir = /home/user/libdvdread-4.2.0+20130219
184185 ac_ct_AR = ar
185186 ac_ct_CC = gcc
186187 ac_ct_DUMPBIN =
209210 htmldir = ${docdir}
210211 includedir = ${prefix}/include
211212 infodir = ${datarootdir}/info
212 install_sh = ${SHELL} /home/user/libdvdread/install-sh
213 install_sh = ${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh
213214 libdir = ${exec_prefix}/lib
214215 libexecdir = ${exec_prefix}/libexec
215216 localedir = ${datarootdir}/locale
5757 $(top_srcdir)/misc/Makefile.common
5858 subdir = misc
5959 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
60 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
61 $(top_srcdir)/configure.ac
6162 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6263 $(ACLOCAL_M4)
6364 mkinstalldirs = $(install_sh) -d
5555 $(srcdir)/Makefile.in $(top_srcdir)/misc/Makefile.common
5656 subdir = src
5757 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
58 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
59 $(top_srcdir)/configure.ac
5960 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6061 $(ACLOCAL_M4)
6162 mkinstalldirs = $(install_sh) -d
124125 ETAGS = etags
125126 CTAGS = ctags
126127 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
127 ACLOCAL = ${SHELL} /home/user/libdvdread/missing --run aclocal-1.11
128 ACLOCAL = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run aclocal-1.11
128129 AMTAR = $${TAR-tar}
129130 AR = ar
130 AUTOCONF = ${SHELL} /home/user/libdvdread/missing --run autoconf
131 AUTOHEADER = ${SHELL} /home/user/libdvdread/missing --run autoheader
132 AUTOMAKE = ${SHELL} /home/user/libdvdread/missing --run automake-1.11
131 AUTOCONF = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoconf
132 AUTOHEADER = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run autoheader
133 AUTOMAKE = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run automake-1.11
133134 AWK = mawk
134135 CC = gcc
135136 CCDEPMODE = depmode=gcc3
136 CFLAGS = -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
137 CFLAGS = -mno-ms-bitfields -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
137138 CPP = gcc -E
138139 CPPFLAGS =
139140 CSS_LIBS =
174175 LIPO =
175176 LN_S = ln -s
176177 LTLIBOBJS =
177 MAKEINFO = ${SHELL} /home/user/libdvdread/missing --run makeinfo
178 MAKEINFO = ${SHELL} /home/user/libdvdread-4.2.0+20130219/missing --run makeinfo
178179 MANIFEST_TOOL = :
179180 MKDIR_P = /bin/mkdir -p
180181 NM = /usr/bin/nm -B
198199 STATIC =
199200 STRIP = strip
200201 VERSION = 4.2.0
201 abs_builddir = /home/user/libdvdread/src
202 abs_srcdir = /home/user/libdvdread/src
203 abs_top_builddir = /home/user/libdvdread
204 abs_top_srcdir = /home/user/libdvdread
202 abs_builddir = /home/user/libdvdread-4.2.0+20130219/src
203 abs_srcdir = /home/user/libdvdread-4.2.0+20130219/src
204 abs_top_builddir = /home/user/libdvdread-4.2.0+20130219
205 abs_top_srcdir = /home/user/libdvdread-4.2.0+20130219
205206 ac_ct_AR = ar
206207 ac_ct_CC = gcc
207208 ac_ct_DUMPBIN =
230231 htmldir = ${docdir}
231232 includedir = ${prefix}/include/dvdread
232233 infodir = ${datarootdir}/info
233 install_sh = ${SHELL} /home/user/libdvdread/install-sh
234 install_sh = ${SHELL} /home/user/libdvdread-4.2.0+20130219/install-sh
234235 libdir = ${exec_prefix}/lib
235236 libexecdir = ${exec_prefix}/libexec
236237 localedir = ${datarootdir}/locale
5555 $(srcdir)/Makefile.in $(top_srcdir)/misc/Makefile.common
5656 subdir = src
5757 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
58 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
59 $(top_srcdir)/configure.ac
5960 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6061 $(ACLOCAL_M4)
6162 mkinstalldirs = $(install_sh) -d
6666 #define B2N_32(x) x = be32toh(x)
6767 #define B2N_64(x) x = be64toh(x)
6868
69 #elif defined(__QNXNTO__)
70 #include <gulliver.h>
71 #define B2N_16(x) x = ENDIAN_RET16(x)
72 #define B2N_32(x) x = ENDIAN_RET32(x)
73 #define B2N_64(x) x = ENDIAN_RET64(x)
74
6975 /* This is a slow but portable implementation, it has multiple evaluation
7076 * problems so beware.
7177 * Old FreeBSD's and Solaris don't have <byteswap.h> or any other such
11911191 printf("No Menu VOBU address map present\n");
11921192 }
11931193
1194 printf("\nCell Adress table\n");
1194 printf("\nCell Address table\n");
11951195 printf( "-----------------\n");
11961196 ifoPrint_C_ADT(ifohandle->vts_c_adt);
11971197
14471447
14481448 if(ifofile->vtsi_mat->vts_tmapt == 0) { /* optional(?) */
14491449 ifofile->vts_tmapt = NULL;
1450 fprintf(stderr,"libdvdread: No VTS_TMAPT available - skipping.\n");
14511450 return 1;
14521451 }
14531452
19271926 for(i = 0; i < pgcit->nr_of_pgci_srp; i++)
19281927 {
19291928 ifoFree_PGC(pgcit->pgci_srp[i].pgc);
1930 free(pgcit->pgci_srp[i].pgc);
19311929 }
19321930 free(pgcit->pgci_srp);
19331931 }
2222
2323 #include <stdio.h>
2424
25 #if defined HAVE_LIMITS_H || _LIBC
25 #if defined HAVE_LIMITS_H || defined _LIBC
2626 # include <limits.h>
2727 #endif
2828