1
diff -Nur plugins-main/aclocal.m4 plugins-main.new/aclocal.m4
2
--- plugins-main/aclocal.m4 1970-01-01 01:00:00.000000000 +0100
3
+++ plugins-main.new/aclocal.m4 2007-06-08 18:39:01.000000000 +0200
5
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
7
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8
+# 2005 Free Software Foundation, Inc.
9
+# This file is free software; the Free Software Foundation
10
+# gives unlimited permission to copy and/or distribute it,
11
+# with or without modifications, as long as this notice is preserved.
13
+# This program is distributed in the hope that it will be useful,
14
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
15
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
16
+# PARTICULAR PURPOSE.
18
+dnl AM_GCONF_SOURCE_2
19
+dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
20
+dnl (i.e. pass to gconftool-2
21
+dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
22
+dnl you should install foo.schemas files
25
+AC_DEFUN([AM_GCONF_SOURCE_2],
27
+ if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
28
+ GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
30
+ GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
33
+ AC_ARG_WITH(gconf-source,
34
+ [ --with-gconf-source=sourceaddress Config database for installing schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",)
36
+ AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
37
+ AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
39
+ if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
40
+ GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
43
+ AC_ARG_WITH(gconf-schema-file-dir,
44
+ [ --with-gconf-schema-file-dir=dir Directory for installing schema files.],GCONF_SCHEMA_FILE_DIR="$withval",)
46
+ AC_SUBST(GCONF_SCHEMA_FILE_DIR)
47
+ AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
49
+ AC_ARG_ENABLE(schemas-install,
50
+ [ --disable-schemas-install Disable the schemas installation],
51
+ [case ${enableval} in
53
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;;
55
+ AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
58
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
60
+# serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL
63
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
64
+# -----------------------------------------------------------
65
+# If this macro is not defined by Autoconf, define it here.
66
+m4_ifdef([AC_PROVIDE_IFELSE],
68
+ [m4_define([AC_PROVIDE_IFELSE],
69
+ [m4_ifdef([AC_PROVIDE_$1],
75
+AC_DEFUN([AC_PROG_LIBTOOL],
76
+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
77
+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
78
+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
79
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
81
+ [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
83
+dnl And a similar setup for Fortran 77 support
84
+ AC_PROVIDE_IFELSE([AC_PROG_F77],
86
+ [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
89
+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
90
+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
91
+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
92
+ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
94
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
96
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
98
+ [ifdef([AC_PROG_GCJ],
99
+ [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
100
+ ifdef([A][M_PROG_GCJ],
101
+ [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
102
+ ifdef([LT_AC_PROG_GCJ],
103
+ [define([LT_AC_PROG_GCJ],
104
+ defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
105
+])])# AC_PROG_LIBTOOL
110
+AC_DEFUN([_AC_PROG_LIBTOOL],
111
+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
112
+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
113
+AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
114
+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
116
+# This can be used to rebuild libtool when needed
117
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
119
+# Always use our own libtool.
120
+LIBTOOL='$(SHELL) $(top_builddir)/libtool'
121
+AC_SUBST(LIBTOOL)dnl
123
+# Prevent multiple expansion
124
+define([AC_PROG_LIBTOOL], [])
125
+])# _AC_PROG_LIBTOOL
130
+AC_DEFUN([AC_LIBTOOL_SETUP],
132
+AC_REQUIRE([AC_ENABLE_SHARED])dnl
133
+AC_REQUIRE([AC_ENABLE_STATIC])dnl
134
+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
135
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
136
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
137
+AC_REQUIRE([AC_PROG_CC])dnl
138
+AC_REQUIRE([AC_PROG_LD])dnl
139
+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
140
+AC_REQUIRE([AC_PROG_NM])dnl
142
+AC_REQUIRE([AC_PROG_LN_S])dnl
143
+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
144
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
145
+AC_REQUIRE([AC_OBJEXT])dnl
146
+AC_REQUIRE([AC_EXEEXT])dnl
149
+AC_LIBTOOL_SYS_MAX_CMD_LEN
150
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
153
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
154
+_LT_AC_PROG_ECHO_BACKSLASH
158
+ # AIX sometimes has problems with the GCC collect2 program. For some
159
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
160
+ # vanish in a puff of smoke.
161
+ if test "X${COLLECT_NAMES+set}" != Xset; then
163
+ export COLLECT_NAMES
168
+# Sed substitution that helps us do robust quoting. It backslashifies
169
+# metacharacters that are still active within double-quoted strings.
170
+Xsed='sed -e 1s/^X//'
171
+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
173
+# Same as above, but do not quote variable references.
174
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
176
+# Sed substitution to delay expansion of an escaped shell variable in a
177
+# double_quote_subst'ed string.
178
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
180
+# Sed substitution to avoid accidental globbing in evaled expressions
181
+no_glob_subst='s/\*/\\\*/g'
187
+default_ofile=libtool
188
+can_build_shared=yes
190
+# All known linkers require a `.a' archive for static linking (except MSVC,
191
+# which needs '.lib').
193
+ltmain="$ac_aux_dir/ltmain.sh"
194
+ofile="$default_ofile"
195
+with_gnu_ld="$lt_cv_prog_gnu_ld"
197
+AC_CHECK_TOOL(AR, ar, false)
198
+AC_CHECK_TOOL(RANLIB, ranlib, :)
199
+AC_CHECK_TOOL(STRIP, strip, :)
202
+old_CFLAGS="$CFLAGS"
204
+# Set sane defaults for various variables
205
+test -z "$AR" && AR=ar
206
+test -z "$AR_FLAGS" && AR_FLAGS=cru
207
+test -z "$AS" && AS=as
208
+test -z "$CC" && CC=cc
209
+test -z "$LTCC" && LTCC=$CC
210
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
211
+test -z "$DLLTOOL" && DLLTOOL=dlltool
212
+test -z "$LD" && LD=ld
213
+test -z "$LN_S" && LN_S="ln -s"
214
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
215
+test -z "$NM" && NM=nm
216
+test -z "$SED" && SED=sed
217
+test -z "$OBJDUMP" && OBJDUMP=objdump
218
+test -z "$RANLIB" && RANLIB=:
219
+test -z "$STRIP" && STRIP=:
220
+test -z "$ac_objext" && ac_objext=o
222
+# Determine commands to create old-style static archives.
223
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
224
+old_postinstall_cmds='chmod 644 $oldlib'
225
+old_postuninstall_cmds=
227
+if test -n "$RANLIB"; then
230
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
233
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
236
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
239
+_LT_CC_BASENAME([$compiler])
241
+# Only perform the check for file, if the check method requires it
242
+case $deplibs_check_method in
244
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
250
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
251
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
252
+enable_win32_dll=yes, enable_win32_dll=no)
254
+AC_ARG_ENABLE([libtool-lock],
255
+ [AC_HELP_STRING([--disable-libtool-lock],
256
+ [avoid locking (might break parallel builds)])])
257
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
260
+ [AC_HELP_STRING([--with-pic],
261
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
262
+ [pic_mode="$withval"],
263
+ [pic_mode=default])
264
+test -z "$pic_mode" && pic_mode=default
266
+# Use C for the default configuration in the libtool script
268
+AC_LIBTOOL_LANG_C_CONFIG
270
+])# AC_LIBTOOL_SETUP
273
+# _LT_AC_SYS_COMPILER
274
+# -------------------
275
+AC_DEFUN([_LT_AC_SYS_COMPILER],
276
+[AC_REQUIRE([AC_PROG_CC])dnl
278
+# If no C compiler was specified, use CC.
281
+# If no C compiler flags were specified, use CFLAGS.
282
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
284
+# Allow CC to be a program name with arguments.
286
+])# _LT_AC_SYS_COMPILER
289
+# _LT_CC_BASENAME(CC)
290
+# -------------------
291
+# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
292
+AC_DEFUN([_LT_CC_BASENAME],
293
+[for cc_temp in $1""; do
295
+ compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
296
+ distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
301
+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
305
+# _LT_COMPILER_BOILERPLATE
306
+# ------------------------
307
+# Check for compiler boilerplate output or warnings with
308
+# the simple compiler test code.
309
+AC_DEFUN([_LT_COMPILER_BOILERPLATE],
310
+[ac_outfile=conftest.$ac_objext
311
+printf "$lt_simple_compile_test_code" >conftest.$ac_ext
312
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
313
+_lt_compiler_boilerplate=`cat conftest.err`
315
+])# _LT_COMPILER_BOILERPLATE
318
+# _LT_LINKER_BOILERPLATE
319
+# ----------------------
320
+# Check for linker boilerplate output or warnings with
321
+# the simple link test code.
322
+AC_DEFUN([_LT_LINKER_BOILERPLATE],
323
+[ac_outfile=conftest.$ac_objext
324
+printf "$lt_simple_link_test_code" >conftest.$ac_ext
325
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
326
+_lt_linker_boilerplate=`cat conftest.err`
328
+])# _LT_LINKER_BOILERPLATE
331
+# _LT_AC_SYS_LIBPATH_AIX
332
+# ----------------------
333
+# Links a minimal program and checks the executable
334
+# for the system default hardcoded library path. In most cases,
335
+# this is /usr/lib:/lib, but when the MPI compilers are used
336
+# the location of the communication and MPI libs are included too.
337
+# If we don't find anything, use the default library path according
338
+# to the aix ld manual.
339
+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
340
+[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
341
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
343
+# Check for a 64-bit object if we didn't find anything.
344
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
346
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
347
+])# _LT_AC_SYS_LIBPATH_AIX
350
+# _LT_AC_SHELL_INIT(ARG)
351
+# ----------------------
352
+AC_DEFUN([_LT_AC_SHELL_INIT],
353
+[ifdef([AC_DIVERSION_NOTICE],
354
+ [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
355
+ [AC_DIVERT_PUSH(NOTICE)])
358
+])# _LT_AC_SHELL_INIT
361
+# _LT_AC_PROG_ECHO_BACKSLASH
362
+# --------------------------
363
+# Add some code to the start of the generated configure script which
364
+# will find an echo command which doesn't interpret backslashes.
365
+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
366
+[_LT_AC_SHELL_INIT([
367
+# Check that we are running under the correct shell.
368
+SHELL=${CONFIG_SHELL-/bin/sh}
372
+ # Remove one level of quotation (which was required for Make).
373
+ ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
378
+if test "X[$]1" = X--no-reexec; then
379
+ # Discard the --no-reexec flag, and continue.
381
+elif test "X[$]1" = X--fallback-echo; then
382
+ # Avoid inline document here, it may be left over
384
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
385
+ # Yippee, $echo works!
388
+ # Restart under the correct shell.
389
+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
392
+if test "X[$]1" = X--fallback-echo; then
393
+ # used as fallback echo
401
+# The HP-UX ksh and POSIX shell print the target directory to stdout
403
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
405
+if test -z "$ECHO"; then
406
+if test "X${echo_test_string+set}" != Xset; then
407
+# find a string as large as possible, as long as the shell can cope with it
408
+ for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
409
+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
410
+ if (echo_test_string=`eval $cmd`) 2>/dev/null &&
411
+ echo_test_string=`eval $cmd` &&
412
+ (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
419
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
420
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
421
+ test "X$echo_testing_string" = "X$echo_test_string"; then
424
+ # The Solaris, AIX, and Digital Unix default echo programs unquote
425
+ # backslashes. This makes it impossible to quote backslashes using
426
+ # echo "$something" | sed 's/\\/\\\\/g'
428
+ # So, first we look for a working echo in the user's PATH.
430
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
431
+ for dir in $PATH /usr/ucb; do
433
+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
434
+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
435
+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
436
+ test "X$echo_testing_string" = "X$echo_test_string"; then
443
+ if test "X$echo" = Xecho; then
444
+ # We didn't find a better echo, so look for alternatives.
445
+ if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
446
+ echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
447
+ test "X$echo_testing_string" = "X$echo_test_string"; then
448
+ # This shell has a builtin print -r that does the trick.
450
+ elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
451
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
452
+ # If we have ksh, try running configure again with it.
453
+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
454
+ export ORIGINAL_CONFIG_SHELL
455
+ CONFIG_SHELL=/bin/ksh
456
+ export CONFIG_SHELL
457
+ exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
459
+ # Try using printf.
461
+ if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
462
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
463
+ test "X$echo_testing_string" = "X$echo_test_string"; then
464
+ # Cool, printf works
466
+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
467
+ test "X$echo_testing_string" = 'X\t' &&
468
+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
469
+ test "X$echo_testing_string" = "X$echo_test_string"; then
470
+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
471
+ export CONFIG_SHELL
472
+ SHELL="$CONFIG_SHELL"
474
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
475
+ elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
476
+ test "X$echo_testing_string" = 'X\t' &&
477
+ echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
478
+ test "X$echo_testing_string" = "X$echo_test_string"; then
479
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
481
+ # maybe with a smaller string...
484
+ for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
485
+ if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
492
+ if test "$prev" != 'sed 50q "[$]0"'; then
493
+ echo_test_string=`eval $prev`
494
+ export echo_test_string
495
+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
497
+ # Oops. We lost completely, so just stick with echo.
506
+# Copy echo and quote the copy suitably for passing to libtool from
507
+# the Makefile, instead of quoting the original, which is used later.
509
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
510
+ ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
514
+])])# _LT_AC_PROG_ECHO_BACKSLASH
519
+AC_DEFUN([_LT_AC_LOCK],
520
+[AC_ARG_ENABLE([libtool-lock],
521
+ [AC_HELP_STRING([--disable-libtool-lock],
522
+ [avoid locking (might break parallel builds)])])
523
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
525
+# Some flags need to be propagated to the compiler or linker for good
529
+ # Find out which ABI we are using.
530
+ echo 'int i;' > conftest.$ac_ext
531
+ if AC_TRY_EVAL(ac_compile); then
532
+ case `/usr/bin/file conftest.$ac_objext` in
534
+ HPUX_IA64_MODE="32"
537
+ HPUX_IA64_MODE="64"
544
+ # Find out which ABI we are using.
545
+ echo '[#]line __oline__ "configure"' > conftest.$ac_ext
546
+ if AC_TRY_EVAL(ac_compile); then
547
+ if test "$lt_cv_prog_gnu_ld" = yes; then
548
+ case `/usr/bin/file conftest.$ac_objext` in
550
+ LD="${LD-ld} -melf32bsmip"
553
+ LD="${LD-ld} -melf32bmipn32"
556
+ LD="${LD-ld} -melf64bmip"
560
+ case `/usr/bin/file conftest.$ac_objext` in
576
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
577
+ # Find out which ABI we are using.
578
+ echo 'int i;' > conftest.$ac_ext
579
+ if AC_TRY_EVAL(ac_compile); then
580
+ case `/usr/bin/file conftest.o` in
584
+ LD="${LD-ld} -m elf_i386"
586
+ ppc64-*linux*|powerpc64-*linux*)
587
+ LD="${LD-ld} -m elf32ppclinux"
590
+ LD="${LD-ld} -m elf_s390"
593
+ LD="${LD-ld} -m elf32_sparc"
600
+ LD="${LD-ld} -m elf_x86_64"
602
+ ppc*-*linux*|powerpc*-*linux*)
603
+ LD="${LD-ld} -m elf64ppc"
606
+ LD="${LD-ld} -m elf64_s390"
609
+ LD="${LD-ld} -m elf64_sparc"
619
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
620
+ SAVE_CFLAGS="$CFLAGS"
621
+ CFLAGS="$CFLAGS -belf"
622
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
624
+ AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
626
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
627
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
628
+ CFLAGS="$SAVE_CFLAGS"
632
+ # Find out which ABI we are using.
633
+ echo 'int i;' > conftest.$ac_ext
634
+ if AC_TRY_EVAL(ac_compile); then
635
+ case `/usr/bin/file conftest.o` in
637
+ case $lt_cv_prog_gnu_ld in
638
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
639
+ *) LD="${LD-ld} -64" ;;
647
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
648
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
649
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
650
+ AC_CHECK_TOOL(AS, as, false)
651
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
656
+need_locks="$enable_libtool_lock"
661
+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
662
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
663
+# ----------------------------------------------------------------
664
+# Check whether the given compiler option works
665
+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
666
+[AC_REQUIRE([LT_AC_PROG_SED])
667
+AC_CACHE_CHECK([$1], [$2],
669
+ ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
670
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
671
+ lt_compiler_flag="$3"
672
+ # Insert the option either (1) after the last *FLAGS variable, or
673
+ # (2) before a word containing "conftest.", or (3) at the end.
674
+ # Note that $ac_compile itself does not contain backslashes and begins
675
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
676
+ # The option is referenced via a variable to avoid confusing sed.
677
+ lt_compile=`echo "$ac_compile" | $SED \
678
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
679
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
680
+ -e 's:$: $lt_compiler_flag:'`
681
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
682
+ (eval "$lt_compile" 2>conftest.err)
684
+ cat conftest.err >&AS_MESSAGE_LOG_FD
685
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
686
+ if (exit $ac_status) && test -s "$ac_outfile"; then
687
+ # The compiler can only warn and ignore the option if not recognized
688
+ # So say no if there are warnings other than the usual output.
689
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
690
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
691
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
698
+if test x"[$]$2" = xyes; then
699
+ ifelse([$5], , :, [$5])
701
+ ifelse([$6], , :, [$6])
703
+])# AC_LIBTOOL_COMPILER_OPTION
706
+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
707
+# [ACTION-SUCCESS], [ACTION-FAILURE])
708
+# ------------------------------------------------------------
709
+# Check whether the given compiler option works
710
+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
711
+[AC_CACHE_CHECK([$1], [$2],
713
+ save_LDFLAGS="$LDFLAGS"
714
+ LDFLAGS="$LDFLAGS $3"
715
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
716
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
717
+ # The linker can only warn and ignore the option if not recognized
718
+ # So say no if there are warnings
719
+ if test -s conftest.err; then
720
+ # Append any errors to the config.log.
721
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
722
+ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
723
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
724
+ if diff conftest.exp conftest.er2 >/dev/null; then
732
+ LDFLAGS="$save_LDFLAGS"
735
+if test x"[$]$2" = xyes; then
736
+ ifelse([$4], , :, [$4])
738
+ ifelse([$5], , :, [$5])
740
+])# AC_LIBTOOL_LINKER_OPTION
743
+# AC_LIBTOOL_SYS_MAX_CMD_LEN
744
+# --------------------------
745
+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
746
+[# find the maximum length of command line arguments
747
+AC_MSG_CHECKING([the maximum length of command line arguments])
748
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
754
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
755
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
756
+ # during glob expansion). Even if it were fixed, the result of this
757
+ # check would be larger than it should be.
758
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
762
+ # Under GNU Hurd, this test is not required because there is
763
+ # no limit to the length of command line arguments.
764
+ # Libtool will interpret -1 as no limit whatsoever
765
+ lt_cv_sys_max_cmd_len=-1;
769
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
770
+ # about 5 minutes as the teststring grows exponentially.
771
+ # Worse, since 9x/ME are not pre-emptively multitasking,
772
+ # you end up with a "frozen" computer, even though with patience
773
+ # the test eventually succeeds (with a max line length of 256k).
774
+ # Instead, let's just punt: use the minimum linelength reported by
775
+ # all of the supported platforms: 8192 (on NT/2K/XP).
776
+ lt_cv_sys_max_cmd_len=8192;
780
+ # On AmigaOS with pdksh, this test takes hours, literally.
781
+ # So we just punt and use a minimum line length of 8192.
782
+ lt_cv_sys_max_cmd_len=8192;
785
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
786
+ # This has been around since 386BSD, at least. Likely further.
787
+ if test -x /sbin/sysctl; then
788
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
789
+ elif test -x /usr/sbin/sysctl; then
790
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
792
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
794
+ # And add a safety zone
795
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
796
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
800
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
801
+ lt_cv_sys_max_cmd_len=196608
805
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
806
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
807
+ # nice to cause kernel panics so lets avoid the loop below.
808
+ # First set a reasonable default.
809
+ lt_cv_sys_max_cmd_len=16384
811
+ if test -x /sbin/sysconfig; then
812
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
813
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
818
+ lt_cv_sys_max_cmd_len=102400
820
+ sysv5* | sco5v6* | sysv4.2uw2*)
821
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
822
+ if test -n "$kargmax"; then
823
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
825
+ lt_cv_sys_max_cmd_len=32768
829
+ # If test is not a shell built-in, we'll probably end up computing a
830
+ # maximum length that is only half of the actual maximum length, but
832
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
833
+ while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
834
+ = "XX$teststring") >/dev/null 2>&1 &&
835
+ new_result=`expr "X$teststring" : ".*" 2>&1` &&
836
+ lt_cv_sys_max_cmd_len=$new_result &&
837
+ test $i != 17 # 1/2 MB should be enough
840
+ teststring=$teststring$teststring
843
+ # Add a significant safety factor because C++ compilers can tack on massive
844
+ # amounts of additional arguments before passing them to the linker.
845
+ # It appears as though 1/2 is a usable value.
846
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
850
+if test -n $lt_cv_sys_max_cmd_len ; then
851
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
853
+ AC_MSG_RESULT(none)
855
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
858
+# _LT_AC_CHECK_DLFCN
859
+# ------------------
860
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
861
+[AC_CHECK_HEADERS(dlfcn.h)dnl
862
+])# _LT_AC_CHECK_DLFCN
865
+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
866
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
867
+# ---------------------------------------------------------------------
868
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
869
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
870
+if test "$cross_compiling" = yes; then :
873
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
874
+ lt_status=$lt_dlunknown
875
+ cat > conftest.$ac_ext <<EOF
876
+[#line __oline__ "configure"
877
+#include "confdefs.h"
886
+# define LT_DLGLOBAL RTLD_GLOBAL
889
+# define LT_DLGLOBAL DL_GLOBAL
891
+# define LT_DLGLOBAL 0
895
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
896
+ find out it does not work in some platform. */
897
+#ifndef LT_DLLAZY_OR_NOW
899
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
902
+# define LT_DLLAZY_OR_NOW DL_LAZY
905
+# define LT_DLLAZY_OR_NOW RTLD_NOW
908
+# define LT_DLLAZY_OR_NOW DL_NOW
910
+# define LT_DLLAZY_OR_NOW 0
918
+extern "C" void exit (int);
921
+void fnord() { int i=42;}
924
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
925
+ int status = $lt_dlunknown;
929
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
930
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
931
+ /* dlclose (self); */
939
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
940
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
942
+ case x$lt_status in
943
+ x$lt_dlno_uscore) $1 ;;
944
+ x$lt_dlneed_uscore) $2 ;;
945
+ x$lt_dlunknown|x*) $3 ;;
948
+ # compilation failed
953
+])# _LT_AC_TRY_DLOPEN_SELF
956
+# AC_LIBTOOL_DLOPEN_SELF
957
+# ----------------------
958
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
959
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
960
+if test "x$enable_dlopen" != xyes; then
961
+ enable_dlopen=unknown
962
+ enable_dlopen_self=unknown
963
+ enable_dlopen_self_static=unknown
970
+ lt_cv_dlopen="load_add_on"
972
+ lt_cv_dlopen_self=yes
976
+ lt_cv_dlopen="LoadLibrary"
981
+ lt_cv_dlopen="dlopen"
986
+ # if libdl is installed we need to link against it
987
+ AC_CHECK_LIB([dl], [dlopen],
988
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
989
+ lt_cv_dlopen="dyld"
991
+ lt_cv_dlopen_self=yes
996
+ AC_CHECK_FUNC([shl_load],
997
+ [lt_cv_dlopen="shl_load"],
998
+ [AC_CHECK_LIB([dld], [shl_load],
999
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
1000
+ [AC_CHECK_FUNC([dlopen],
1001
+ [lt_cv_dlopen="dlopen"],
1002
+ [AC_CHECK_LIB([dl], [dlopen],
1003
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
1004
+ [AC_CHECK_LIB([svld], [dlopen],
1005
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1006
+ [AC_CHECK_LIB([dld], [dld_link],
1007
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
1016
+ if test "x$lt_cv_dlopen" != xno; then
1022
+ case $lt_cv_dlopen in
1024
+ save_CPPFLAGS="$CPPFLAGS"
1025
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1027
+ save_LDFLAGS="$LDFLAGS"
1028
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1031
+ LIBS="$lt_cv_dlopen_libs $LIBS"
1033
+ AC_CACHE_CHECK([whether a program can dlopen itself],
1034
+ lt_cv_dlopen_self, [dnl
1035
+ _LT_AC_TRY_DLOPEN_SELF(
1036
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
1037
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
1040
+ if test "x$lt_cv_dlopen_self" = xyes; then
1041
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1042
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
1043
+ lt_cv_dlopen_self_static, [dnl
1044
+ _LT_AC_TRY_DLOPEN_SELF(
1045
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
1046
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
1050
+ CPPFLAGS="$save_CPPFLAGS"
1051
+ LDFLAGS="$save_LDFLAGS"
1056
+ case $lt_cv_dlopen_self in
1057
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
1058
+ *) enable_dlopen_self=unknown ;;
1061
+ case $lt_cv_dlopen_self_static in
1062
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
1063
+ *) enable_dlopen_self_static=unknown ;;
1066
+])# AC_LIBTOOL_DLOPEN_SELF
1069
+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
1070
+# ---------------------------------
1071
+# Check to see if options -c and -o are simultaneously supported by compiler
1072
+AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1073
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1074
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1075
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1076
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1077
+ $rm -r conftest 2>/dev/null
1081
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1083
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
1084
+ # Insert the option either (1) after the last *FLAGS variable, or
1085
+ # (2) before a word containing "conftest.", or (3) at the end.
1086
+ # Note that $ac_compile itself does not contain backslashes and begins
1087
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
1088
+ lt_compile=`echo "$ac_compile" | $SED \
1089
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1090
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1091
+ -e 's:$: $lt_compiler_flag:'`
1092
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1093
+ (eval "$lt_compile" 2>out/conftest.err)
1095
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
1096
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1097
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
1099
+ # The compiler can only warn and ignore the option if not recognized
1100
+ # So say no if there are warnings
1101
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1102
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1103
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1104
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1107
+ chmod u+w . 2>&AS_MESSAGE_LOG_FD
1109
+ # SGI C++ compiler will create directory out/ii_files/ for
1110
+ # template instantiation
1111
+ test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1112
+ $rm out/* && rmdir out
1117
+])# AC_LIBTOOL_PROG_CC_C_O
1120
+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
1121
+# -----------------------------------------
1122
+# Check to see if we can do hard links to lock some files if needed
1123
+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
1124
+[AC_REQUIRE([_LT_AC_LOCK])dnl
1126
+hard_links="nottested"
1127
+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1128
+ # do not overwrite the value of need_locks provided by the user
1129
+ AC_MSG_CHECKING([if we can lock with hard links])
1132
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
1134
+ ln conftest.a conftest.b 2>&5 || hard_links=no
1135
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
1136
+ AC_MSG_RESULT([$hard_links])
1137
+ if test "$hard_links" = no; then
1138
+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1144
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
1147
+# AC_LIBTOOL_OBJDIR
1148
+# -----------------
1149
+AC_DEFUN([AC_LIBTOOL_OBJDIR],
1150
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1151
+[rm -f .libs 2>/dev/null
1152
+mkdir .libs 2>/dev/null
1153
+if test -d .libs; then
1154
+ lt_cv_objdir=.libs
1156
+ # MS-DOS does not allow filenames that begin with a dot.
1157
+ lt_cv_objdir=_libs
1159
+rmdir .libs 2>/dev/null])
1160
+objdir=$lt_cv_objdir
1161
+])# AC_LIBTOOL_OBJDIR
1164
+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
1165
+# ----------------------------------------------
1166
+# Check hardcoding attributes.
1167
+AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
1168
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
1169
+_LT_AC_TAGVAR(hardcode_action, $1)=
1170
+if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1171
+ test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1172
+ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1174
+ # We can hardcode non-existant directories.
1175
+ if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1176
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
1177
+ # have to relink, otherwise we might link with an installed library
1178
+ # when we should be linking with a yet-to-be-installed one
1179
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1180
+ test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
1181
+ # Linking always hardcodes the temporary library directory.
1182
+ _LT_AC_TAGVAR(hardcode_action, $1)=relink
1184
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
1185
+ _LT_AC_TAGVAR(hardcode_action, $1)=immediate
1188
+ # We cannot hardcode anything, or else we can only hardcode existing
1190
+ _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
1192
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
1194
+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
1195
+ # Fast installation is not supported
1196
+ enable_fast_install=no
1197
+elif test "$shlibpath_overrides_runpath" = yes ||
1198
+ test "$enable_shared" = no; then
1199
+ # Fast installation is not necessary
1200
+ enable_fast_install=needless
1202
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
1205
+# AC_LIBTOOL_SYS_LIB_STRIP
1206
+# ------------------------
1207
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
1210
+AC_MSG_CHECKING([whether stripping libraries is possible])
1211
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1212
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1213
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1214
+ AC_MSG_RESULT([yes])
1216
+# FIXME - insert some real tests, host_os isn't really good enough
1219
+ if test -n "$STRIP" ; then
1220
+ striplib="$STRIP -x"
1221
+ AC_MSG_RESULT([yes])
1223
+ AC_MSG_RESULT([no])
1227
+ AC_MSG_RESULT([no])
1231
+])# AC_LIBTOOL_SYS_LIB_STRIP
1234
+# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1235
+# -----------------------------
1236
+# PORTME Fill in your ld.so characteristics
1237
+AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1238
+[AC_MSG_CHECKING([dynamic linker characteristics])
1239
+library_names_spec=
1240
+libname_spec='lib$name'
1244
+postuninstall_cmds=
1248
+shlibpath_overrides_runpath=unknown
1250
+dynamic_linker="$host_os ld.so"
1251
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
1252
+if test "$GCC" = yes; then
1253
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1254
+ if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1255
+ # if the path contains ";" then we assume it to be the separator
1256
+ # otherwise default to the standard path separator (i.e. ":") - it is
1257
+ # assumed that no part of a normal pathname contains ";" but that should
1258
+ # okay in the real world where ";" in dirpaths is itself problematic.
1259
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1261
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1264
+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1266
+need_lib_prefix=unknown
1267
+hardcode_into_libs=no
1269
+# when you set need_version to no, make sure it does not cause -set_version
1270
+# flags to be left without arguments
1271
+need_version=unknown
1275
+ version_type=linux
1276
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1277
+ shlibpath_var=LIBPATH
1279
+ # AIX 3 has no versioning support, so we append a major version to the name.
1280
+ soname_spec='${libname}${release}${shared_ext}$major'
1284
+ version_type=linux
1285
+ need_lib_prefix=no
1287
+ hardcode_into_libs=yes
1288
+ if test "$host_cpu" = ia64; then
1289
+ # AIX 5 supports IA64
1290
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1291
+ shlibpath_var=LD_LIBRARY_PATH
1293
+ # With GCC up to 2.95.x, collect2 would create an import file
1294
+ # for dependence libraries. The import file would start with
1295
+ # the line `#! .'. This would cause the generated library to
1296
+ # depend on `.', always an invalid library. This was fixed in
1297
+ # development snapshots of GCC prior to 3.0.
1299
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
1300
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1302
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1305
+ can_build_shared=no
1309
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1310
+ # soname into executable. Probably we can add versioning support to
1311
+ # collect2, so additional links can be useful in future.
1312
+ if test "$aix_use_runtimelinking" = yes; then
1313
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
1314
+ # instead of lib<name>.a to let people know that these are not
1315
+ # typical AIX shared libraries.
1316
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1318
+ # We preserve .a as extension for shared libraries through AIX4.2
1319
+ # and later when we are not doing run time linking.
1320
+ library_names_spec='${libname}${release}.a $libname.a'
1321
+ soname_spec='${libname}${release}${shared_ext}$major'
1323
+ shlibpath_var=LIBPATH
1328
+ library_names_spec='$libname.ixlibrary $libname.a'
1329
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
1330
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1334
+ library_names_spec='${libname}${shared_ext}'
1335
+ dynamic_linker="$host_os ld.so"
1336
+ shlibpath_var=LIBRARY_PATH
1340
+ version_type=linux
1342
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1343
+ soname_spec='${libname}${release}${shared_ext}$major'
1344
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1345
+ shlibpath_var=LD_LIBRARY_PATH
1346
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1347
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1348
+ # the default ld.so.conf also contains /usr/contrib/lib and
1349
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1350
+ # libtool to hard-code these into programs
1353
+cygwin* | mingw* | pw32*)
1354
+ version_type=windows
1355
+ shrext_cmds=".dll"
1357
+ need_lib_prefix=no
1359
+ case $GCC,$host_os in
1360
+ yes,cygwin* | yes,mingw* | yes,pw32*)
1361
+ library_names_spec='$libname.dll.a'
1362
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
1363
+ postinstall_cmds='base_file=`basename \${file}`~
1364
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1365
+ dldir=$destdir/`dirname \$dlpath`~
1366
+ test -d \$dldir || mkdir -p \$dldir~
1367
+ $install_prog $dir/$dlname \$dldir/$dlname~
1368
+ chmod a+x \$dldir/$dlname'
1369
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1370
+ dlpath=$dir/\$dldll~
1372
+ shlibpath_overrides_runpath=yes
1376
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1377
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1378
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1381
+ # MinGW DLLs use traditional 'lib' prefix
1382
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1383
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1384
+ if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
1385
+ # It is most probably a Windows format PATH printed by
1386
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
1387
+ # path with ; separators, and with drive letters. We can handle the
1388
+ # drive letters (cygwin fileutils understands them), so leave them,
1389
+ # especially as we might pass files found there to a mingw objdump,
1390
+ # which wouldn't understand a cygwinified path. Ahh.
1391
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1393
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1397
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
1398
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1404
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
1407
+ dynamic_linker='Win32 ld.exe'
1408
+ # FIXME: first we should search . and the directory the executable is in
1409
+ shlibpath_var=PATH
1412
+darwin* | rhapsody*)
1413
+ dynamic_linker="$host_os dyld"
1414
+ version_type=darwin
1415
+ need_lib_prefix=no
1417
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1418
+ soname_spec='${libname}${release}${major}$shared_ext'
1419
+ shlibpath_overrides_runpath=yes
1420
+ shlibpath_var=DYLD_LIBRARY_PATH
1421
+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1422
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1423
+ if test "$GCC" = yes; then
1424
+ sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
1426
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1428
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1432
+ version_type=linux
1433
+ need_lib_prefix=no
1435
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1436
+ soname_spec='${libname}${release}${shared_ext}$major'
1437
+ shlibpath_var=LD_LIBRARY_PATH
1444
+freebsd* | dragonfly*)
1445
+ # DragonFly does not have aout. When/if they implement a new
1446
+ # versioning mechanism, adjust this.
1447
+ if test -x /usr/bin/objformat; then
1448
+ objformat=`/usr/bin/objformat`
1451
+ freebsd[[123]]*) objformat=aout ;;
1452
+ *) objformat=elf ;;
1455
+ version_type=freebsd-$objformat
1456
+ case $version_type in
1458
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1460
+ need_lib_prefix=no
1463
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1467
+ shlibpath_var=LD_LIBRARY_PATH
1470
+ shlibpath_overrides_runpath=yes
1472
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
1473
+ shlibpath_overrides_runpath=yes
1474
+ hardcode_into_libs=yes
1476
+ freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
1477
+ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
1478
+ shlibpath_overrides_runpath=no
1479
+ hardcode_into_libs=yes
1481
+ freebsd*) # from 4.6 on
1482
+ shlibpath_overrides_runpath=yes
1483
+ hardcode_into_libs=yes
1489
+ version_type=linux
1490
+ need_lib_prefix=no
1492
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1493
+ soname_spec='${libname}${release}${shared_ext}$major'
1494
+ shlibpath_var=LD_LIBRARY_PATH
1495
+ hardcode_into_libs=yes
1498
+hpux9* | hpux10* | hpux11*)
1499
+ # Give a soname corresponding to the major version so that dld.sl refuses to
1500
+ # link against other versions.
1501
+ version_type=sunos
1502
+ need_lib_prefix=no
1507
+ hardcode_into_libs=yes
1508
+ dynamic_linker="$host_os dld.so"
1509
+ shlibpath_var=LD_LIBRARY_PATH
1510
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1511
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1512
+ soname_spec='${libname}${release}${shared_ext}$major'
1513
+ if test "X$HPUX_IA64_MODE" = X32; then
1514
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1516
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1518
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1522
+ hardcode_into_libs=yes
1523
+ dynamic_linker="$host_os dld.sl"
1524
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1525
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1526
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1527
+ soname_spec='${libname}${release}${shared_ext}$major'
1528
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1529
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1533
+ dynamic_linker="$host_os dld.sl"
1534
+ shlibpath_var=SHLIB_PATH
1535
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1536
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1537
+ soname_spec='${libname}${release}${shared_ext}$major'
1540
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
1541
+ postinstall_cmds='chmod 555 $lib'
1545
+ version_type=linux
1546
+ need_lib_prefix=no
1548
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1549
+ soname_spec='${libname}${release}${shared_ext}$major'
1550
+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
1551
+ shlibpath_var=LD_LIBRARY_PATH
1552
+ shlibpath_overrides_runpath=no
1553
+ hardcode_into_libs=yes
1556
+irix5* | irix6* | nonstopux*)
1558
+ nonstopux*) version_type=nonstopux ;;
1560
+ if test "$lt_cv_prog_gnu_ld" = yes; then
1561
+ version_type=linux
1566
+ need_lib_prefix=no
1568
+ soname_spec='${libname}${release}${shared_ext}$major'
1569
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1571
+ irix5* | nonstopux*)
1572
+ libsuff= shlibsuff=
1575
+ case $LD in # libtool.m4 will add one of these switches to LD
1576
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1577
+ libsuff= shlibsuff= libmagic=32-bit;;
1578
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1579
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
1580
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1581
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
1582
+ *) libsuff= shlibsuff= libmagic=never-match;;
1586
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1587
+ shlibpath_overrides_runpath=no
1588
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1589
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1590
+ hardcode_into_libs=yes
1593
+# No shared lib support for Linux oldld, aout, or coff.
1594
+linux*oldld* | linux*aout* | linux*coff*)
1598
+# This must be Linux ELF.
1599
+linux* | k*bsd*-gnu)
1600
+ version_type=linux
1601
+ need_lib_prefix=no
1603
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1604
+ soname_spec='${libname}${release}${shared_ext}$major'
1605
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1606
+ shlibpath_var=LD_LIBRARY_PATH
1607
+ shlibpath_overrides_runpath=no
1608
+ # This implies no fast_install, which is unacceptable.
1609
+ # Some rework will be needed to allow for fast_install
1610
+ # before this can be enabled.
1611
+ hardcode_into_libs=yes
1613
+ # Append ld.so.conf contents to the search path
1614
+ if test -f /etc/ld.so.conf; then
1615
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1616
+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1619
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
1620
+ # powerpc, because MkLinux only supported shared libraries with the
1621
+ # GNU dynamic linker. Since this was broken with cross compilers,
1622
+ # most powerpc-linux boxes support dynamic linking these days and
1623
+ # people can always --disable-shared, the test was removed, and we
1624
+ # assume the GNU/Linux dynamic linker is in use.
1625
+ dynamic_linker='GNU/Linux ld.so'
1629
+ version_type=linux
1630
+ need_lib_prefix=no
1632
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1633
+ soname_spec='${libname}${release}${shared_ext}$major'
1634
+ shlibpath_var=LD_LIBRARY_PATH
1635
+ shlibpath_overrides_runpath=no
1636
+ hardcode_into_libs=yes
1637
+ dynamic_linker='NetBSD ld.elf_so'
1641
+ version_type=sunos
1642
+ need_lib_prefix=no
1644
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1645
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1646
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1647
+ dynamic_linker='NetBSD (a.out) ld.so'
1649
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1650
+ soname_spec='${libname}${release}${shared_ext}$major'
1651
+ dynamic_linker='NetBSD ld.elf_so'
1653
+ shlibpath_var=LD_LIBRARY_PATH
1654
+ shlibpath_overrides_runpath=yes
1655
+ hardcode_into_libs=yes
1659
+ version_type=linux
1660
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1661
+ shlibpath_var=LD_LIBRARY_PATH
1662
+ shlibpath_overrides_runpath=yes
1666
+ version_type=linux
1667
+ need_lib_prefix=no
1669
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1670
+ soname_spec='${libname}${release}${shared_ext}$major'
1671
+ shlibpath_var=LD_LIBRARY_PATH
1672
+ shlibpath_overrides_runpath=yes
1676
+ version_type=sunos
1677
+ sys_lib_dlsearch_path_spec="/usr/lib"
1678
+ need_lib_prefix=no
1679
+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1681
+ openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1682
+ *) need_version=no ;;
1684
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1685
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1686
+ shlibpath_var=LD_LIBRARY_PATH
1687
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1689
+ openbsd2.[[89]] | openbsd2.[[89]].*)
1690
+ shlibpath_overrides_runpath=no
1693
+ shlibpath_overrides_runpath=yes
1697
+ shlibpath_overrides_runpath=yes
1702
+ libname_spec='$name'
1703
+ shrext_cmds=".dll"
1704
+ need_lib_prefix=no
1705
+ library_names_spec='$libname${shared_ext} $libname.a'
1706
+ dynamic_linker='OS/2 ld.exe'
1707
+ shlibpath_var=LIBPATH
1710
+osf3* | osf4* | osf5*)
1712
+ need_lib_prefix=no
1714
+ soname_spec='${libname}${release}${shared_ext}$major'
1715
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1716
+ shlibpath_var=LD_LIBRARY_PATH
1717
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1718
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1722
+ version_type=linux
1723
+ need_lib_prefix=no
1725
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1726
+ soname_spec='${libname}${release}${shared_ext}$major'
1727
+ shlibpath_var=LD_LIBRARY_PATH
1728
+ shlibpath_overrides_runpath=yes
1729
+ hardcode_into_libs=yes
1730
+ # ldd complains unless libraries are executable
1731
+ postinstall_cmds='chmod +x $lib'
1735
+ version_type=sunos
1736
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1737
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1738
+ shlibpath_var=LD_LIBRARY_PATH
1739
+ shlibpath_overrides_runpath=yes
1740
+ if test "$with_gnu_ld" = yes; then
1741
+ need_lib_prefix=no
1747
+ version_type=linux
1748
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1749
+ soname_spec='${libname}${release}${shared_ext}$major'
1750
+ shlibpath_var=LD_LIBRARY_PATH
1751
+ case $host_vendor in
1753
+ shlibpath_overrides_runpath=no
1754
+ need_lib_prefix=no
1755
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
1756
+ runpath_var=LD_RUN_PATH
1759
+ need_lib_prefix=no
1762
+ need_lib_prefix=no
1764
+ shlibpath_overrides_runpath=no
1765
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1771
+ if test -d /usr/nec ;then
1772
+ version_type=linux
1773
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1774
+ soname_spec='$libname${shared_ext}.$major'
1775
+ shlibpath_var=LD_LIBRARY_PATH
1779
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1780
+ version_type=freebsd-elf
1781
+ need_lib_prefix=no
1783
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1784
+ soname_spec='${libname}${release}${shared_ext}$major'
1785
+ shlibpath_var=LD_LIBRARY_PATH
1786
+ hardcode_into_libs=yes
1787
+ if test "$with_gnu_ld" = yes; then
1788
+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1789
+ shlibpath_overrides_runpath=no
1791
+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1792
+ shlibpath_overrides_runpath=yes
1795
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1799
+ sys_lib_dlsearch_path_spec='/usr/lib'
1803
+ version_type=linux
1804
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1805
+ soname_spec='${libname}${release}${shared_ext}$major'
1806
+ shlibpath_var=LD_LIBRARY_PATH
1813
+AC_MSG_RESULT([$dynamic_linker])
1814
+test "$dynamic_linker" = no && can_build_shared=no
1816
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1817
+if test "$GCC" = yes; then
1818
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1820
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
1825
+AC_DEFUN([_LT_AC_TAGCONFIG],
1826
+[AC_ARG_WITH([tags],
1827
+ [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
1828
+ [include additional configurations @<:@automatic@:>@])],
1829
+ [tagnames="$withval"])
1831
+if test -f "$ltmain" && test -n "$tagnames"; then
1832
+ if test ! -f "${ofile}"; then
1833
+ AC_MSG_WARN([output file `$ofile' does not exist])
1836
+ if test -z "$LTCC"; then
1837
+ eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1838
+ if test -z "$LTCC"; then
1839
+ AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
1841
+ AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1844
+ if test -z "$LTCFLAGS"; then
1845
+ eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1848
+ # Extract list of available tagged configurations in $ofile.
1849
+ # Note that this assumes the entire list is on one line.
1850
+ available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1852
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1853
+ for tagname in $tagnames; do
1854
+ IFS="$lt_save_ifs"
1855
+ # Check whether tagname contains only valid characters
1856
+ case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
1858
+ *) AC_MSG_ERROR([invalid tag name: $tagname])
1862
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
1864
+ AC_MSG_ERROR([tag name \"$tagname\" already exists])
1867
+ # Update the list of available tags.
1868
+ if test -n "$tagname"; then
1869
+ echo appending configuration tag \"$tagname\" to $ofile
1873
+ if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1874
+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1875
+ (test "X$CXX" != "Xg++"))) ; then
1876
+ AC_LIBTOOL_LANG_CXX_CONFIG
1883
+ if test -n "$F77" && test "X$F77" != "Xno"; then
1884
+ AC_LIBTOOL_LANG_F77_CONFIG
1891
+ if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1892
+ AC_LIBTOOL_LANG_GCJ_CONFIG
1899
+ AC_LIBTOOL_LANG_RC_CONFIG
1903
+ AC_MSG_ERROR([Unsupported tag name: $tagname])
1907
+ # Append the new tag name to the list of available tags.
1908
+ if test -n "$tagname" ; then
1909
+ available_tags="$available_tags $tagname"
1913
+ IFS="$lt_save_ifs"
1915
+ # Now substitute the updated list of available tags.
1916
+ if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
1917
+ mv "${ofile}T" "$ofile"
1921
+ AC_MSG_ERROR([unable to update list of available tagged configurations.])
1924
+])# _LT_AC_TAGCONFIG
1927
+# AC_LIBTOOL_DLOPEN
1928
+# -----------------
1929
+# enable checks for dlopen support
1930
+AC_DEFUN([AC_LIBTOOL_DLOPEN],
1931
+ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
1932
+])# AC_LIBTOOL_DLOPEN
1935
+# AC_LIBTOOL_WIN32_DLL
1936
+# --------------------
1937
+# declare package support for building win32 DLLs
1938
+AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
1939
+[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
1940
+])# AC_LIBTOOL_WIN32_DLL
1943
+# AC_ENABLE_SHARED([DEFAULT])
1944
+# ---------------------------
1945
+# implement the --enable-shared flag
1946
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
1947
+AC_DEFUN([AC_ENABLE_SHARED],
1948
+[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
1949
+AC_ARG_ENABLE([shared],
1950
+ [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
1951
+ [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
1952
+ [p=${PACKAGE-default}
1953
+ case $enableval in
1954
+ yes) enable_shared=yes ;;
1955
+ no) enable_shared=no ;;
1958
+ # Look at the argument we got. We use all the common list separators.
1959
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1960
+ for pkg in $enableval; do
1961
+ IFS="$lt_save_ifs"
1962
+ if test "X$pkg" = "X$p"; then
1966
+ IFS="$lt_save_ifs"
1969
+ [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
1970
+])# AC_ENABLE_SHARED
1973
+# AC_DISABLE_SHARED
1974
+# -----------------
1975
+# set the default shared flag to --disable-shared
1976
+AC_DEFUN([AC_DISABLE_SHARED],
1977
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1978
+AC_ENABLE_SHARED(no)
1979
+])# AC_DISABLE_SHARED
1982
+# AC_ENABLE_STATIC([DEFAULT])
1983
+# ---------------------------
1984
+# implement the --enable-static flag
1985
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
1986
+AC_DEFUN([AC_ENABLE_STATIC],
1987
+[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
1988
+AC_ARG_ENABLE([static],
1989
+ [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
1990
+ [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
1991
+ [p=${PACKAGE-default}
1992
+ case $enableval in
1993
+ yes) enable_static=yes ;;
1994
+ no) enable_static=no ;;
1997
+ # Look at the argument we got. We use all the common list separators.
1998
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1999
+ for pkg in $enableval; do
2000
+ IFS="$lt_save_ifs"
2001
+ if test "X$pkg" = "X$p"; then
2005
+ IFS="$lt_save_ifs"
2008
+ [enable_static=]AC_ENABLE_STATIC_DEFAULT)
2009
+])# AC_ENABLE_STATIC
2012
+# AC_DISABLE_STATIC
2013
+# -----------------
2014
+# set the default static flag to --disable-static
2015
+AC_DEFUN([AC_DISABLE_STATIC],
2016
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2017
+AC_ENABLE_STATIC(no)
2018
+])# AC_DISABLE_STATIC
2021
+# AC_ENABLE_FAST_INSTALL([DEFAULT])
2022
+# ---------------------------------
2023
+# implement the --enable-fast-install flag
2024
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
2025
+AC_DEFUN([AC_ENABLE_FAST_INSTALL],
2026
+[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
2027
+AC_ARG_ENABLE([fast-install],
2028
+ [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
2029
+ [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
2030
+ [p=${PACKAGE-default}
2031
+ case $enableval in
2032
+ yes) enable_fast_install=yes ;;
2033
+ no) enable_fast_install=no ;;
2035
+ enable_fast_install=no
2036
+ # Look at the argument we got. We use all the common list separators.
2037
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2038
+ for pkg in $enableval; do
2039
+ IFS="$lt_save_ifs"
2040
+ if test "X$pkg" = "X$p"; then
2041
+ enable_fast_install=yes
2044
+ IFS="$lt_save_ifs"
2047
+ [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
2048
+])# AC_ENABLE_FAST_INSTALL
2051
+# AC_DISABLE_FAST_INSTALL
2052
+# -----------------------
2053
+# set the default to --disable-fast-install
2054
+AC_DEFUN([AC_DISABLE_FAST_INSTALL],
2055
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2056
+AC_ENABLE_FAST_INSTALL(no)
2057
+])# AC_DISABLE_FAST_INSTALL
2060
+# AC_LIBTOOL_PICMODE([MODE])
2061
+# --------------------------
2062
+# implement the --with-pic flag
2063
+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
2064
+AC_DEFUN([AC_LIBTOOL_PICMODE],
2065
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2066
+pic_mode=ifelse($#,1,$1,default)
2067
+])# AC_LIBTOOL_PICMODE
2072
+# This is predefined starting with Autoconf 2.54, so this conditional
2073
+# definition can be removed once we require Autoconf 2.54 or later.
2074
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
2075
+[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
2076
+ [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2077
+ then ac_cv_prog_egrep='grep -E'
2078
+ else ac_cv_prog_egrep='egrep'
2080
+ EGREP=$ac_cv_prog_egrep
2085
+# AC_PATH_TOOL_PREFIX
2086
+# -------------------
2087
+# find a file program which can recognise shared library
2088
+AC_DEFUN([AC_PATH_TOOL_PREFIX],
2089
+[AC_REQUIRE([AC_PROG_EGREP])dnl
2090
+AC_MSG_CHECKING([for $1])
2091
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2092
+[case $MAGIC_CMD in
2093
+[[\\/*] | ?:[\\/]*])
2094
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2097
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
2098
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2099
+dnl $ac_dummy forces splitting on constant user-supplied paths.
2100
+dnl POSIX.2 word splitting is done only on the output of word expansions,
2101
+dnl not every word. This closes a longstanding sh security hole.
2102
+ ac_dummy="ifelse([$2], , $PATH, [$2])"
2103
+ for ac_dir in $ac_dummy; do
2104
+ IFS="$lt_save_ifs"
2105
+ test -z "$ac_dir" && ac_dir=.
2106
+ if test -f $ac_dir/$1; then
2107
+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
2108
+ if test -n "$file_magic_test_file"; then
2109
+ case $deplibs_check_method in
2111
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2112
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2113
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2114
+ $EGREP "$file_magic_regex" > /dev/null; then
2119
+*** Warning: the command libtool uses to detect shared libraries,
2120
+*** $file_magic_cmd, produces output that libtool cannot recognize.
2121
+*** The result is that libtool may fail to recognize shared libraries
2122
+*** as such. This will affect the creation of libtool libraries that
2123
+*** depend on shared libraries, but programs linked with such libtool
2124
+*** libraries will work regardless of this problem. Nevertheless, you
2125
+*** may want to report the problem to your system manager and/or to
2126
+*** bug-libtool@gnu.org
2135
+ IFS="$lt_save_ifs"
2136
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
2139
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2140
+if test -n "$MAGIC_CMD"; then
2141
+ AC_MSG_RESULT($MAGIC_CMD)
2145
+])# AC_PATH_TOOL_PREFIX
2150
+# find a file program which can recognise a shared library
2151
+AC_DEFUN([AC_PATH_MAGIC],
2152
+[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2153
+if test -z "$lt_cv_path_MAGIC_CMD"; then
2154
+ if test -n "$ac_tool_prefix"; then
2155
+ AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
2165
+# find the pathname to the GNU or non-GNU linker
2166
+AC_DEFUN([AC_PROG_LD],
2167
+[AC_ARG_WITH([gnu-ld],
2168
+ [AC_HELP_STRING([--with-gnu-ld],
2169
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2170
+ [test "$withval" = no || with_gnu_ld=yes],
2172
+AC_REQUIRE([LT_AC_PROG_SED])dnl
2173
+AC_REQUIRE([AC_PROG_CC])dnl
2174
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
2175
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2177
+if test "$GCC" = yes; then
2178
+ # Check if gcc -print-prog-name=ld gives a path.
2179
+ AC_MSG_CHECKING([for ld used by $CC])
2182
+ # gcc leaves a trailing carriage return which upsets mingw
2183
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2185
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2188
+ # Accept absolute paths.
2189
+ [[\\/]]* | ?:[[\\/]]*)
2190
+ re_direlt='/[[^/]][[^/]]*/\.\./'
2191
+ # Canonicalize the pathname of ld
2192
+ ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2193
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2194
+ ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2196
+ test -z "$LD" && LD="$ac_prog"
2199
+ # If it fails, then pretend we aren't using GCC.
2203
+ # If it is relative, then search for the first ld in PATH.
2204
+ with_gnu_ld=unknown
2207
+elif test "$with_gnu_ld" = yes; then
2208
+ AC_MSG_CHECKING([for GNU ld])
2210
+ AC_MSG_CHECKING([for non-GNU ld])
2212
+AC_CACHE_VAL(lt_cv_path_LD,
2213
+[if test -z "$LD"; then
2214
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2215
+ for ac_dir in $PATH; do
2216
+ IFS="$lt_save_ifs"
2217
+ test -z "$ac_dir" && ac_dir=.
2218
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2219
+ lt_cv_path_LD="$ac_dir/$ac_prog"
2220
+ # Check to see if the program is GNU ld. I'd rather use --version,
2221
+ # but apparently some variants of GNU ld only accept -v.
2222
+ # Break only if it was the GNU/non-GNU ld that we prefer.
2223
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2224
+ *GNU* | *'with BFD'*)
2225
+ test "$with_gnu_ld" != no && break
2228
+ test "$with_gnu_ld" != yes && break
2233
+ IFS="$lt_save_ifs"
2235
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
2237
+LD="$lt_cv_path_LD"
2238
+if test -n "$LD"; then
2239
+ AC_MSG_RESULT($LD)
2243
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2250
+AC_DEFUN([AC_PROG_LD_GNU],
2251
+[AC_REQUIRE([AC_PROG_EGREP])dnl
2252
+AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2253
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
2254
+case `$LD -v 2>&1 </dev/null` in
2255
+*GNU* | *'with BFD'*)
2256
+ lt_cv_prog_gnu_ld=yes
2259
+ lt_cv_prog_gnu_ld=no
2262
+with_gnu_ld=$lt_cv_prog_gnu_ld
2266
+# AC_PROG_LD_RELOAD_FLAG
2267
+# ----------------------
2268
+# find reload flag for linker
2269
+# -- PORTME Some linkers may need a different reload flag.
2270
+AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
2271
+[AC_CACHE_CHECK([for $LD option to reload object files],
2272
+ lt_cv_ld_reload_flag,
2273
+ [lt_cv_ld_reload_flag='-r'])
2274
+reload_flag=$lt_cv_ld_reload_flag
2275
+case $reload_flag in
2277
+*) reload_flag=" $reload_flag" ;;
2279
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
2282
+ if test "$GCC" = yes; then
2283
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
2285
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
2289
+])# AC_PROG_LD_RELOAD_FLAG
2292
+# AC_DEPLIBS_CHECK_METHOD
2293
+# -----------------------
2294
+# how to check for library dependencies
2295
+# -- PORTME fill in with the dynamic library characteristics
2296
+AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
2297
+[AC_CACHE_CHECK([how to recognise dependent libraries],
2298
+lt_cv_deplibs_check_method,
2299
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
2300
+lt_cv_file_magic_test_file=
2301
+lt_cv_deplibs_check_method='unknown'
2302
+# Need to set the preceding variable on all platforms that support
2303
+# interlibrary dependencies.
2304
+# 'none' -- dependencies not supported.
2305
+# `unknown' -- same as none, but documents that we really don't know.
2306
+# 'pass_all' -- all dependencies passed with no checks.
2307
+# 'test_compile' -- check by making test program.
2308
+# 'file_magic [[regex]]' -- check by looking for files in library path
2309
+# which responds to the $file_magic_cmd with a given extended regex.
2310
+# If you have `file' or equivalent on your system and you're not sure
2311
+# whether `pass_all' will *always* work, you probably want this one.
2315
+ lt_cv_deplibs_check_method=pass_all
2319
+ lt_cv_deplibs_check_method=pass_all
2323
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
2324
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
2325
+ lt_cv_file_magic_test_file=/shlib/libc.so
2329
+ # func_win32_libid is a shell function defined in ltmain.sh
2330
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2331
+ lt_cv_file_magic_cmd='func_win32_libid'
2335
+ # Base MSYS/MinGW do not provide the 'file' command needed by
2336
+ # func_win32_libid shell function, so use a weaker test based on 'objdump'.
2337
+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2338
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
2341
+darwin* | rhapsody*)
2342
+ lt_cv_deplibs_check_method=pass_all
2345
+freebsd* | dragonfly*)
2346
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2349
+ # Not sure whether the presence of OpenBSD here was a mistake.
2350
+ # Let's accept both of them until this is cleared up.
2351
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
2352
+ lt_cv_file_magic_cmd=/usr/bin/file
2353
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2357
+ lt_cv_deplibs_check_method=pass_all
2362
+ lt_cv_deplibs_check_method=pass_all
2365
+hpux10.20* | hpux11*)
2366
+ lt_cv_file_magic_cmd=/usr/bin/file
2369
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
2370
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2373
+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
2374
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
2377
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
2378
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
2384
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
2385
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
2388
+irix5* | irix6* | nonstopux*)
2390
+ *-32|*"-32 ") libmagic=32-bit;;
2391
+ *-n32|*"-n32 ") libmagic=N32;;
2392
+ *-64|*"-64 ") libmagic=64-bit;;
2393
+ *) libmagic=never-match;;
2395
+ lt_cv_deplibs_check_method=pass_all
2398
+# This must be Linux ELF.
2399
+linux* | k*bsd*-gnu)
2400
+ lt_cv_deplibs_check_method=pass_all
2403
+netbsd* | netbsdelf*-gnu)
2404
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2405
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2407
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
2412
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
2413
+ lt_cv_file_magic_cmd=/usr/bin/file
2414
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
2418
+ lt_cv_deplibs_check_method=unknown
2422
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2423
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
2425
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2429
+osf3* | osf4* | osf5*)
2430
+ lt_cv_deplibs_check_method=pass_all
2434
+ lt_cv_deplibs_check_method=pass_all
2438
+ case $host_vendor in
2440
+ 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]]'
2441
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2444
+ lt_cv_deplibs_check_method=pass_all
2447
+ lt_cv_file_magic_cmd='/bin/file'
2448
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
2451
+ lt_cv_file_magic_cmd='/bin/file'
2452
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
2453
+ lt_cv_file_magic_test_file=/lib/libc.so
2456
+ lt_cv_deplibs_check_method=pass_all
2459
+ lt_cv_deplibs_check_method=pass_all
2464
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2465
+ lt_cv_deplibs_check_method=pass_all
2469
+file_magic_cmd=$lt_cv_file_magic_cmd
2470
+deplibs_check_method=$lt_cv_deplibs_check_method
2471
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
2472
+])# AC_DEPLIBS_CHECK_METHOD
2477
+# find the pathname to a BSD-compatible name lister
2478
+AC_DEFUN([AC_PROG_NM],
2479
+[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
2480
+[if test -n "$NM"; then
2481
+ # Let the user override the test.
2482
+ lt_cv_path_NM="$NM"
2484
+ lt_nm_to_check="${ac_tool_prefix}nm"
2485
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2486
+ lt_nm_to_check="$lt_nm_to_check nm"
2488
+ for lt_tmp_nm in $lt_nm_to_check; do
2489
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2490
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2491
+ IFS="$lt_save_ifs"
2492
+ test -z "$ac_dir" && ac_dir=.
2493
+ tmp_nm="$ac_dir/$lt_tmp_nm"
2494
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2495
+ # Check to see if the nm accepts a BSD-compat flag.
2496
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2497
+ # nm: unknown option "B" ignored
2498
+ # Tru64's nm complains that /dev/null is an invalid object file
2499
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2500
+ */dev/null* | *'Invalid file or object type'*)
2501
+ lt_cv_path_NM="$tmp_nm -B"
2505
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2507
+ lt_cv_path_NM="$tmp_nm -p"
2511
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2512
+ continue # so that we can try to find one that supports BSD flags
2519
+ IFS="$lt_save_ifs"
2521
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2523
+NM="$lt_cv_path_NM"
2529
+# check for math library
2530
+AC_DEFUN([AC_CHECK_LIBM],
2531
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2534
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
2535
+ # These system don't have libm, or don't need it
2538
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
2539
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2542
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
2548
+# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
2549
+# -----------------------------------
2550
+# sets LIBLTDL to the link flags for the libltdl convenience library and
2551
+# LTDLINCL to the include flags for the libltdl header and adds
2552
+# --enable-ltdl-convenience to the configure arguments. Note that
2553
+# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
2554
+# it is assumed to be `libltdl'. LIBLTDL will be prefixed with
2555
+# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/'
2556
+# (note the single quotes!). If your package is not flat and you're not
2557
+# using automake, define top_builddir and top_srcdir appropriately in
2559
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
2560
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2561
+ case $enable_ltdl_convenience in
2562
+ no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
2563
+ "") enable_ltdl_convenience=yes
2564
+ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
2566
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
2567
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
2568
+ # For backwards non-gettext consistent compatibility...
2569
+ INCLTDL="$LTDLINCL"
2570
+])# AC_LIBLTDL_CONVENIENCE
2573
+# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
2574
+# -----------------------------------
2575
+# sets LIBLTDL to the link flags for the libltdl installable library and
2576
+# LTDLINCL to the include flags for the libltdl header and adds
2577
+# --enable-ltdl-install to the configure arguments. Note that
2578
+# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
2579
+# and an installed libltdl is not found, it is assumed to be `libltdl'.
2580
+# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
2581
+# '${top_srcdir}/' (note the single quotes!). If your package is not
2582
+# flat and you're not using automake, define top_builddir and top_srcdir
2583
+# appropriately in the Makefiles.
2584
+# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
2585
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
2586
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2587
+ AC_CHECK_LIB(ltdl, lt_dlinit,
2588
+ [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
2589
+ [if test x"$enable_ltdl_install" = xno; then
2590
+ AC_MSG_WARN([libltdl not installed, but installation disabled])
2592
+ enable_ltdl_install=yes
2595
+ if test x"$enable_ltdl_install" = x"yes"; then
2596
+ ac_configure_args="$ac_configure_args --enable-ltdl-install"
2597
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
2598
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
2600
+ ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
2604
+ # For backwards non-gettext consistent compatibility...
2605
+ INCLTDL="$LTDLINCL"
2606
+])# AC_LIBLTDL_INSTALLABLE
2611
+# enable support for C++ libraries
2612
+AC_DEFUN([AC_LIBTOOL_CXX],
2613
+[AC_REQUIRE([_LT_AC_LANG_CXX])
2619
+AC_DEFUN([_LT_AC_LANG_CXX],
2620
+[AC_REQUIRE([AC_PROG_CXX])
2621
+AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2622
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
2623
+])# _LT_AC_LANG_CXX
2625
+# _LT_AC_PROG_CXXCPP
2626
+# ------------------
2627
+AC_DEFUN([_LT_AC_PROG_CXXCPP],
2629
+AC_REQUIRE([AC_PROG_CXX])
2630
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
2631
+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
2632
+ (test "X$CXX" != "Xg++"))) ; then
2635
+])# _LT_AC_PROG_CXXCPP
2639
+# enable support for Fortran 77 libraries
2640
+AC_DEFUN([AC_LIBTOOL_F77],
2641
+[AC_REQUIRE([_LT_AC_LANG_F77])
2647
+AC_DEFUN([_LT_AC_LANG_F77],
2648
+[AC_REQUIRE([AC_PROG_F77])
2649
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
2650
+])# _LT_AC_LANG_F77
2655
+# enable support for GCJ libraries
2656
+AC_DEFUN([AC_LIBTOOL_GCJ],
2657
+[AC_REQUIRE([_LT_AC_LANG_GCJ])
2663
+AC_DEFUN([_LT_AC_LANG_GCJ],
2664
+[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
2665
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
2666
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
2667
+ [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
2668
+ [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
2669
+ [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
2670
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
2671
+])# _LT_AC_LANG_GCJ
2676
+# enable support for Windows resource files
2677
+AC_DEFUN([AC_LIBTOOL_RC],
2678
+[AC_REQUIRE([LT_AC_PROG_RC])
2679
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
2683
+# AC_LIBTOOL_LANG_C_CONFIG
2684
+# ------------------------
2685
+# Ensure that the configuration vars for the C compiler are
2686
+# suitably defined. Those variables are subsequently used by
2687
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2688
+AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
2689
+AC_DEFUN([_LT_AC_LANG_C_CONFIG],
2693
+# Source file extension for C test sources.
2696
+# Object file extension for compiled C test sources.
2698
+_LT_AC_TAGVAR(objext, $1)=$objext
2700
+# Code to be used in simple compile tests
2701
+lt_simple_compile_test_code="int some_variable = 0;\n"
2703
+# Code to be used in simple link tests
2704
+lt_simple_link_test_code='int main(){return(0);}\n'
2706
+_LT_AC_SYS_COMPILER
2708
+# save warnings/boilerplate of simple test code
2709
+_LT_COMPILER_BOILERPLATE
2710
+_LT_LINKER_BOILERPLATE
2712
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2713
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
2714
+AC_LIBTOOL_PROG_CC_C_O($1)
2715
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2716
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
2717
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2718
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2719
+AC_LIBTOOL_SYS_LIB_STRIP
2720
+AC_LIBTOOL_DLOPEN_SELF
2722
+# Report which library types will actually be built
2723
+AC_MSG_CHECKING([if libtool supports shared libraries])
2724
+AC_MSG_RESULT([$can_build_shared])
2726
+AC_MSG_CHECKING([whether to build shared libraries])
2727
+test "$can_build_shared" = "no" && enable_shared=no
2729
+# On AIX, shared libraries and static libraries use the same namespace, and
2730
+# are all built from PIC.
2733
+ test "$enable_shared" = yes && enable_static=no
2734
+ if test -n "$RANLIB"; then
2735
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
2736
+ postinstall_cmds='$RANLIB $lib'
2741
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2742
+ test "$enable_shared" = yes && enable_static=no
2746
+AC_MSG_RESULT([$enable_shared])
2748
+AC_MSG_CHECKING([whether to build static libraries])
2749
+# Make sure either enable_shared or enable_static is yes.
2750
+test "$enable_shared" = yes || enable_static=yes
2751
+AC_MSG_RESULT([$enable_static])
2753
+AC_LIBTOOL_CONFIG($1)
2757
+])# AC_LIBTOOL_LANG_C_CONFIG
2760
+# AC_LIBTOOL_LANG_CXX_CONFIG
2761
+# --------------------------
2762
+# Ensure that the configuration vars for the C compiler are
2763
+# suitably defined. Those variables are subsequently used by
2764
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
2765
+AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
2766
+AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
2768
+AC_REQUIRE([AC_PROG_CXX])
2769
+AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2771
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2772
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
2773
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
2774
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
2775
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
2776
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
2777
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
2778
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
2779
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2780
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
2781
+_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2782
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
2783
+_LT_AC_TAGVAR(module_cmds, $1)=
2784
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
2785
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
2786
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2787
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
2788
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
2789
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
2791
+# Dependencies to place before and after the object being linked:
2792
+_LT_AC_TAGVAR(predep_objects, $1)=
2793
+_LT_AC_TAGVAR(postdep_objects, $1)=
2794
+_LT_AC_TAGVAR(predeps, $1)=
2795
+_LT_AC_TAGVAR(postdeps, $1)=
2796
+_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
2798
+# Source file extension for C++ test sources.
2801
+# Object file extension for compiled C++ test sources.
2803
+_LT_AC_TAGVAR(objext, $1)=$objext
2805
+# Code to be used in simple compile tests
2806
+lt_simple_compile_test_code="int some_variable = 0;\n"
2808
+# Code to be used in simple link tests
2809
+lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
2811
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
2812
+_LT_AC_SYS_COMPILER
2814
+# save warnings/boilerplate of simple test code
2815
+_LT_COMPILER_BOILERPLATE
2816
+_LT_LINKER_BOILERPLATE
2818
+# Allow CC to be a program name with arguments.
2823
+lt_save_with_gnu_ld=$with_gnu_ld
2824
+lt_save_path_LD=$lt_cv_path_LD
2825
+if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
2826
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
2828
+ $as_unset lt_cv_prog_gnu_ld
2830
+if test -n "${lt_cv_path_LDCXX+set}"; then
2831
+ lt_cv_path_LD=$lt_cv_path_LDCXX
2833
+ $as_unset lt_cv_path_LD
2835
+test -z "${LDCXX+set}" || LD=$LDCXX
2838
+_LT_AC_TAGVAR(compiler, $1)=$CC
2839
+_LT_CC_BASENAME([$compiler])
2841
+# We don't want -fno-exception wen compiling C++ code, so set the
2842
+# no_builtin_flag separately
2843
+if test "$GXX" = yes; then
2844
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
2846
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
2849
+if test "$GXX" = yes; then
2850
+ # Set up default GNU C++ configuration
2854
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
2855
+ # archiving commands below assume that GNU ld is being used.
2856
+ if test "$with_gnu_ld" = yes; then
2857
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2858
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
2860
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2861
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2863
+ # If archive_cmds runs LD, not CC, wlarc should be empty
2864
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
2865
+ # investigate it a little bit more. (MM)
2868
+ # ancient GNU ld didn't support --whole-archive et. al.
2869
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
2870
+ grep 'no-whole-archive' > /dev/null; then
2871
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2873
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
2879
+ # A generic and very simple default shared library creation
2880
+ # command for GNU C++ for the case where it uses the native
2881
+ # linker, instead of GNU ld. If possible, this setting should
2882
+ # overridden to take advantage of the native linker features on
2883
+ # the platform it is being used on.
2884
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
2887
+ # Commands to make compiler produce verbose output that lists
2888
+ # what "hidden" libraries, object files and flags are used when
2889
+ # linking a shared library.
2890
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
2898
+# PORTME: fill in a description of your system's C++ link characteristics
2899
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
2900
+_LT_AC_TAGVAR(ld_shlibs, $1)=yes
2903
+ # FIXME: insert proper C++ library support
2904
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
2907
+ if test "$host_cpu" = ia64; then
2908
+ # On IA64, the linker does run time linking by default, so we don't
2909
+ # have to do anything special.
2910
+ aix_use_runtimelinking=no
2911
+ exp_sym_flag='-Bexport'
2914
+ aix_use_runtimelinking=no
2916
+ # Test if we are trying to use run time linking or normal
2917
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
2918
+ # need to do runtime linking.
2919
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
2920
+ for ld_flag in $LDFLAGS; do
2923
+ aix_use_runtimelinking=yes
2931
+ exp_sym_flag='-bexport'
2932
+ no_entry_flag='-bnoentry'
2935
+ # When large executables or shared objects are built, AIX ld can
2936
+ # have problems creating the table of contents. If linking a library
2937
+ # or program results in "error TOC overflow" add -mminimal-toc to
2938
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
2939
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
2941
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
2942
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2943
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2944
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2946
+ if test "$GXX" = yes; then
2947
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
2948
+ # We only want to do this on AIX 4.2 and lower, the check
2949
+ # below for broken collect2 doesn't work under 4.3+
2950
+ collect2name=`${CC} -print-prog-name=collect2`
2951
+ if test -f "$collect2name" && \
2952
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
2954
+ # We have reworked collect2
2955
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
2957
+ # We have old collect2
2958
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
2959
+ # It fails to find uninstalled libraries when the uninstalled
2960
+ # path is not listed in the libpath. Setting hardcode_minus_L
2961
+ # to unsupported forces relinking
2962
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
2963
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2964
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2968
+ shared_flag='-shared'
2969
+ if test "$aix_use_runtimelinking" = yes; then
2970
+ shared_flag="$shared_flag "'${wl}-G'
2974
+ if test "$host_cpu" = ia64; then
2975
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
2976
+ # chokes on -Wl,-G. The following line is correct:
2979
+ if test "$aix_use_runtimelinking" = yes; then
2980
+ shared_flag='${wl}-G'
2982
+ shared_flag='${wl}-bM:SRE'
2987
+ # It seems that -bexpall does not export symbols beginning with
2988
+ # underscore (_), so it is better to generate a list of symbols to export.
2989
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
2990
+ if test "$aix_use_runtimelinking" = yes; then
2991
+ # Warning - without using the other runtime loading flags (-brtl),
2992
+ # -berok will link without error, but may produce a broken library.
2993
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
2994
+ # Determine the default libpath from the value encoded in an empty executable.
2995
+ _LT_AC_SYS_LIBPATH_AIX
2996
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2998
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3000
+ if test "$host_cpu" = ia64; then
3001
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
3002
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
3003
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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"
3005
+ # Determine the default libpath from the value encoded in an empty executable.
3006
+ _LT_AC_SYS_LIBPATH_AIX
3007
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
3008
+ # Warning - without using the other run time loading flags,
3009
+ # -berok will link without error, but may produce a broken library.
3010
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3011
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3012
+ # Exported symbols can be pulled into shared objects from archives
3013
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3014
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3015
+ # This is similar to how AIX traditionally builds its shared libraries.
3016
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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'
3022
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3023
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3024
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
3025
+ # support --undefined. This deserves some investigation. FIXME
3026
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3028
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3033
+ case $cc_basename in
3035
+ # FIXME: insert proper C++ library support
3036
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3041
+ cygwin* | mingw* | pw32*)
3042
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
3043
+ # as there is no search path for DLLs.
3044
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3045
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3046
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
3047
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
3049
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
3050
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3051
+ # If the export-symbols file already is a .def file (1st line
3052
+ # is EXPORTS), use it as is; otherwise, prepend...
3053
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
3054
+ cp $export_symbols $output_objdir/$soname.def;
3056
+ echo EXPORTS > $output_objdir/$soname.def;
3057
+ cat $export_symbols >> $output_objdir/$soname.def;
3059
+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3061
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3064
+ darwin* | rhapsody*)
3066
+ rhapsody* | darwin1.[[012]])
3067
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3069
+ *) # Darwin 1.3 on
3070
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3071
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3073
+ case ${MACOSX_DEPLOYMENT_TARGET} in
3075
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3078
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3084
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3085
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
3086
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3087
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3088
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3089
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3091
+ if test "$GXX" = yes ; then
3092
+ lt_int_apple_cc_single_mod=no
3093
+ output_verbose_link_cmd='echo'
3094
+ if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
3095
+ lt_int_apple_cc_single_mod=yes
3097
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3098
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3100
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3102
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3103
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3104
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3105
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3107
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3109
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3111
+ case $cc_basename in
3113
+ output_verbose_link_cmd='echo'
3114
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
3115
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3116
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3117
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3118
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3121
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3128
+ case $cc_basename in
3130
+ # FIXME: insert proper C++ library support
3131
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3134
+ # Green Hills C++ Compiler
3135
+ # FIXME: insert proper C++ library support
3136
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3139
+ # FIXME: insert proper C++ library support
3140
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3145
+ # C++ shared libraries reported to be fairly broken before switch to ELF
3146
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3149
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3151
+ freebsd* | dragonfly*)
3152
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3154
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3159
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3160
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3161
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3162
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3163
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3164
+ # but as the default
3165
+ # location of the library.
3167
+ case $cc_basename in
3169
+ # FIXME: insert proper C++ library support
3170
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3173
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
3174
+ # Commands to make compiler produce verbose output that lists
3175
+ # what "hidden" libraries, object files and flags are used when
3176
+ # linking a shared library.
3178
+ # There doesn't appear to be a way to prevent this compiler from
3179
+ # explicitly linking system object files so we need to strip them
3180
+ # from the output so that they don't get included in the library
3182
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3185
+ if test "$GXX" = yes; then
3186
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
3188
+ # FIXME: insert proper C++ library support
3189
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3195
+ if test $with_gnu_ld = no; then
3196
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3197
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3201
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3204
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3210
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
3211
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3214
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3215
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3216
+ # but as the default
3217
+ # location of the library.
3221
+ case $cc_basename in
3223
+ # FIXME: insert proper C++ library support
3224
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3229
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3232
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3235
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3238
+ # Commands to make compiler produce verbose output that lists
3239
+ # what "hidden" libraries, object files and flags are used when
3240
+ # linking a shared library.
3242
+ # There doesn't appear to be a way to prevent this compiler from
3243
+ # explicitly linking system object files so we need to strip them
3244
+ # from the output so that they don't get included in the library
3246
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3249
+ if test "$GXX" = yes; then
3250
+ if test $with_gnu_ld = no; then
3253
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3256
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3259
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3264
+ # FIXME: insert proper C++ library support
3265
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3271
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
3272
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3273
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3274
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3275
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3276
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
3277
+ # default) and relocated if they conflict, which is a slow very memory
3278
+ # consuming and fragmenting process. To avoid this, we pick a random,
3279
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3280
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
3281
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
3282
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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'
3285
+ case $cc_basename in
3288
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
3290
+ # Archives containing C++ object files must be created using
3291
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
3292
+ # necessary to make sure instantiated templates are included
3294
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
3297
+ if test "$GXX" = yes; then
3298
+ if test "$with_gnu_ld" = no; then
3299
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3301
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
3304
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3307
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3308
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3310
+ linux* | k*bsd*-gnu)
3311
+ case $cc_basename in
3313
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
3315
+ # KCC will only create a shared library if the output file
3316
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
3317
+ # to its proper name (with version) after linking.
3318
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
3319
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
3320
+ # Commands to make compiler produce verbose output that lists
3321
+ # what "hidden" libraries, object files and flags are used when
3322
+ # linking a shared library.
3324
+ # There doesn't appear to be a way to prevent this compiler from
3325
+ # explicitly linking system object files so we need to strip them
3326
+ # from the output so that they don't get included in the library
3328
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3330
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
3331
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3333
+ # Archives containing C++ object files must be created using
3334
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
3335
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3340
+ # version 8.0 and above of icpc choke on multiply defined symbols
3341
+ # if we add $predep_objects and $postdep_objects, however 7.1 and
3342
+ # earlier do not add the objects themselves.
3343
+ case `$CC -V 2>&1` in
3345
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3346
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3348
+ *) # Version 8.0 or newer
3351
+ ia64*) tmp_idyn=' -i_dynamic';;
3353
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3354
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
3357
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3358
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3359
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3360
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
3363
+ # Portland Group C++ compiler
3364
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3365
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
3367
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3368
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3369
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3373
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3374
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
3376
+ runpath_var=LD_RUN_PATH
3377
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3378
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3380
+ # Commands to make compiler produce verbose output that lists
3381
+ # what "hidden" libraries, object files and flags are used when
3382
+ # linking a shared library.
3384
+ # There doesn't appear to be a way to prevent this compiler from
3385
+ # explicitly linking system object files so we need to strip them
3386
+ # from the output so that they don't get included in the library
3388
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3393
+ # FIXME: insert proper C++ library support
3394
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3397
+ # FIXME: insert proper C++ library support
3398
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3401
+ case $cc_basename in
3403
+ # FIXME: insert proper C++ library support
3404
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3407
+ # FIXME: insert proper C++ library support
3408
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3412
+ netbsd* | netbsdelf*-gnu)
3413
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3414
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3416
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3417
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3418
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3420
+ # Workaround some broken pre-1.5 toolchains
3421
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
3424
+ # C++ shared libraries are fairly broken
3425
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3428
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3429
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3430
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3431
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3432
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3433
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
3434
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3435
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3437
+ output_verbose_link_cmd='echo'
3440
+ case $cc_basename in
3442
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
3444
+ # KCC will only create a shared library if the output file
3445
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
3446
+ # to its proper name (with version) after linking.
3447
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
3449
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3450
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3452
+ # Archives containing C++ object files must be created using
3453
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
3454
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3458
+ # Rational C++ 2.4.1
3459
+ # FIXME: insert proper C++ library support
3460
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3463
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3464
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
3466
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3467
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3469
+ # Commands to make compiler produce verbose output that lists
3470
+ # what "hidden" libraries, object files and flags are used when
3471
+ # linking a shared library.
3473
+ # There doesn't appear to be a way to prevent this compiler from
3474
+ # explicitly linking system object files so we need to strip them
3475
+ # from the output so that they don't get included in the library
3477
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3480
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3481
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3482
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3484
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3485
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3487
+ # Commands to make compiler produce verbose output that lists
3488
+ # what "hidden" libraries, object files and flags are used when
3489
+ # linking a shared library.
3490
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3493
+ # FIXME: insert proper C++ library support
3494
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3500
+ case $cc_basename in
3502
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
3504
+ # KCC will only create a shared library if the output file
3505
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
3506
+ # to its proper name (with version) after linking.
3507
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
3509
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3510
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3512
+ # Archives containing C++ object files must be created using
3513
+ # the KAI C++ compiler.
3514
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
3517
+ # Rational C++ 2.4.1
3518
+ # FIXME: insert proper C++ library support
3519
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3522
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3523
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
3524
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
3525
+ echo "-hidden">> $lib.exp~
3526
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
3529
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3530
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3532
+ # Commands to make compiler produce verbose output that lists
3533
+ # what "hidden" libraries, object files and flags are used when
3534
+ # linking a shared library.
3536
+ # There doesn't appear to be a way to prevent this compiler from
3537
+ # explicitly linking system object files so we need to strip them
3538
+ # from the output so that they don't get included in the library
3540
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3543
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3544
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3545
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
3547
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3548
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3550
+ # Commands to make compiler produce verbose output that lists
3551
+ # what "hidden" libraries, object files and flags are used when
3552
+ # linking a shared library.
3553
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3556
+ # FIXME: insert proper C++ library support
3557
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3563
+ # FIXME: insert proper C++ library support
3564
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3567
+ case $cc_basename in
3570
+ # FIXME: insert proper C++ library support
3571
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3575
+ # FIXME: insert proper C++ library support
3576
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3579
+ # FIXME: insert proper C++ library support
3580
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3585
+ case $cc_basename in
3587
+ # Sun C++ 4.2, 5.x and Centerline C++
3588
+ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
3589
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3590
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3591
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3592
+ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3594
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3595
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3597
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3599
+ # The C++ compiler is used as linker so we must use $wl
3600
+ # flag to pass the commands to the underlying system
3601
+ # linker. We must also pass each convience library through
3602
+ # to the system linker between allextract/defaultextract.
3603
+ # The C++ compiler will combine linker options so we
3604
+ # cannot just pass the convience library names through
3606
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
3607
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
3610
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3612
+ output_verbose_link_cmd='echo'
3614
+ # Archives containing C++ object files must be created using
3615
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
3616
+ # necessary to make sure instantiated templates are included
3618
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3621
+ # Green Hills C++ Compiler
3622
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3624
+ # The C++ compiler must be used to create the archive.
3625
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
3628
+ # GNU C++ compiler with Solaris linker
3629
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3630
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
3631
+ if $CC --version | grep -v '^2\.7' > /dev/null; then
3632
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3633
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3634
+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3636
+ # Commands to make compiler produce verbose output that lists
3637
+ # what "hidden" libraries, object files and flags are used when
3638
+ # linking a shared library.
3639
+ output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3641
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
3643
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3644
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3645
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3647
+ # Commands to make compiler produce verbose output that lists
3648
+ # what "hidden" libraries, object files and flags are used when
3649
+ # linking a shared library.
3650
+ output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3653
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
3658
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
3659
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3660
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3661
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3662
+ runpath_var='LD_RUN_PATH'
3664
+ case $cc_basename in
3666
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3667
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3670
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3671
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3675
+ sysv5* | sco3.2v5* | sco5v6*)
3676
+ # Note: We can NOT use -z defs as we might desire, because we do not
3677
+ # link with -lc, and that would cause any symbols used from libc to
3678
+ # always be unresolved, which means just about no library would
3679
+ # ever link correctly. If we're not using GNU ld we use -z text
3680
+ # though, which does catch some bad symbols but isn't as heavy-handed
3682
+ # For security reasons, it is highly recommended that you always
3683
+ # use absolute paths for naming shared libraries, and exclude the
3684
+ # DT_RUNPATH tag from executables and libraries. But doing so
3685
+ # requires that you compile everything twice, which is a pain.
3686
+ # So that behaviour is only enabled if SCOABSPATH is set to a
3687
+ # non-empty value in the environment. Most likely only useful for
3688
+ # creating official distributions of packages.
3689
+ # This is a hack until libtool officially supports absolute path
3690
+ # names for shared libraries.
3691
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3692
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
3693
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3694
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3695
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3696
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3697
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3698
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3699
+ runpath_var='LD_RUN_PATH'
3701
+ case $cc_basename in
3703
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3704
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3707
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3708
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3713
+ case $cc_basename in
3715
+ # NonStop-UX NCC 3.20
3716
+ # FIXME: insert proper C++ library support
3717
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3720
+ # FIXME: insert proper C++ library support
3721
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3726
+ # FIXME: insert proper C++ library support
3727
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3730
+ # FIXME: insert proper C++ library support
3731
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
3734
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
3735
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
3737
+_LT_AC_TAGVAR(GCC, $1)="$GXX"
3738
+_LT_AC_TAGVAR(LD, $1)="$LD"
3740
+AC_LIBTOOL_POSTDEP_PREDEP($1)
3741
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
3742
+AC_LIBTOOL_PROG_CC_C_O($1)
3743
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3744
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
3745
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3746
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3748
+AC_LIBTOOL_CONFIG($1)
3755
+with_gnu_ldcxx=$with_gnu_ld
3756
+with_gnu_ld=$lt_save_with_gnu_ld
3757
+lt_cv_path_LDCXX=$lt_cv_path_LD
3758
+lt_cv_path_LD=$lt_save_path_LD
3759
+lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
3760
+lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
3761
+])# AC_LIBTOOL_LANG_CXX_CONFIG
3763
+# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
3764
+# ------------------------------------
3765
+# Figure out "hidden" library dependencies from verbose
3766
+# compiler output when linking a shared library.
3767
+# Parse the compiler output and extract the necessary
3768
+# objects, libraries and library flags.
3769
+AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
3770
+dnl we can't use the lt_simple_compile_test_code here,
3771
+dnl because it contains code intended for an executable,
3772
+dnl not a library. It's possible we should let each
3773
+dnl tag define a new lt_????_link_test_code variable,
3774
+dnl but it's only used here...
3775
+ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
3777
+void foo (void) { a = 0; }
3779
+],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
3783
+ Foo (void) { a = 0; }
3788
+],[$1],[F77],[cat > conftest.$ac_ext <<EOF
3796
+],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
3799
+ public void bar (void) {
3805
+dnl Parse the compiler output and extract the necessary
3806
+dnl objects, libraries and library flags.
3807
+if AC_TRY_EVAL(ac_compile); then
3808
+ # Parse the compiler output and extract the necessary
3809
+ # objects, libraries and library flags.
3811
+ # Sentinel used to keep track of whether or not we are before
3812
+ # the conftest object file.
3813
+ pre_test_object_deps_done=no
3815
+ # The `*' in the case matches for architectures that use `case' in
3816
+ # $output_verbose_cmd can trigger glob expansion during the loop
3817
+ # eval without this substitution.
3818
+ output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
3820
+ for p in `eval $output_verbose_link_cmd`; do
3824
+ # Some compilers place space between "-{L,R}" and the path.
3825
+ # Remove the space.
3826
+ if test $p = "-L" \
3827
+ || test $p = "-R"; then
3834
+ if test "$pre_test_object_deps_done" = no; then
3837
+ # Internal compiler library paths should come after those
3838
+ # provided the user. The postdeps already come after the
3839
+ # user supplied libs so there is no need to process them.
3840
+ if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
3841
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
3843
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
3846
+ # The "-l" case would never come before the object being
3847
+ # linked, so don't bother handling this case.
3850
+ if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
3851
+ _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
3853
+ _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
3859
+ # This assumes that the test object file only shows up
3860
+ # once in the compiler output.
3861
+ if test "$p" = "conftest.$objext"; then
3862
+ pre_test_object_deps_done=yes
3866
+ if test "$pre_test_object_deps_done" = no; then
3867
+ if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
3868
+ _LT_AC_TAGVAR(predep_objects, $1)="$p"
3870
+ _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
3873
+ if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
3874
+ _LT_AC_TAGVAR(postdep_objects, $1)="$p"
3876
+ _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
3881
+ *) ;; # Ignore the rest.
3889
+ echo "libtool.m4: error: problem compiling $1 test program"
3892
+$rm -f confest.$objext
3894
+# PORTME: override above test on systems where it is broken
3898
+ # Interix 3.5 installs completely hosed .la files for C++, so rather than
3899
+ # hack all around it, let's just trust "g++" to DTRT.
3900
+ _LT_AC_TAGVAR(predep_objects,$1)=
3901
+ _LT_AC_TAGVAR(postdep_objects,$1)=
3902
+ _LT_AC_TAGVAR(postdeps,$1)=
3906
+ case $cc_basename in
3908
+ # Adding this requires a known-good setup of shared libraries for
3909
+ # Sun compiler versions before 5.6, else PIC objects from an old
3910
+ # archive will be linked into the output, leading to subtle bugs.
3911
+ _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
3918
+case " $_LT_AC_TAGVAR(postdeps, $1) " in
3919
+*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
3921
+])# AC_LIBTOOL_POSTDEP_PREDEP
3923
+# AC_LIBTOOL_LANG_F77_CONFIG
3924
+# --------------------------
3925
+# Ensure that the configuration vars for the C compiler are
3926
+# suitably defined. Those variables are subsequently used by
3927
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
3928
+AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
3929
+AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
3930
+[AC_REQUIRE([AC_PROG_F77])
3931
+AC_LANG_PUSH(Fortran 77)
3933
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3934
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
3935
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
3936
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3937
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3938
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
3939
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3940
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3941
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3942
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3943
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
3944
+_LT_AC_TAGVAR(module_cmds, $1)=
3945
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
3946
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3947
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3948
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
3949
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3950
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3952
+# Source file extension for f77 test sources.
3955
+# Object file extension for compiled f77 test sources.
3957
+_LT_AC_TAGVAR(objext, $1)=$objext
3959
+# Code to be used in simple compile tests
3960
+lt_simple_compile_test_code=" subroutine t\n return\n end\n"
3962
+# Code to be used in simple link tests
3963
+lt_simple_link_test_code=" program t\n end\n"
3965
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3966
+_LT_AC_SYS_COMPILER
3968
+# save warnings/boilerplate of simple test code
3969
+_LT_COMPILER_BOILERPLATE
3970
+_LT_LINKER_BOILERPLATE
3972
+# Allow CC to be a program name with arguments.
3976
+_LT_AC_TAGVAR(compiler, $1)=$CC
3977
+_LT_CC_BASENAME([$compiler])
3979
+AC_MSG_CHECKING([if libtool supports shared libraries])
3980
+AC_MSG_RESULT([$can_build_shared])
3982
+AC_MSG_CHECKING([whether to build shared libraries])
3983
+test "$can_build_shared" = "no" && enable_shared=no
3985
+# On AIX, shared libraries and static libraries use the same namespace, and
3986
+# are all built from PIC.
3989
+ test "$enable_shared" = yes && enable_static=no
3990
+ if test -n "$RANLIB"; then
3991
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
3992
+ postinstall_cmds='$RANLIB $lib'
3996
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3997
+ test "$enable_shared" = yes && enable_static=no
4001
+AC_MSG_RESULT([$enable_shared])
4003
+AC_MSG_CHECKING([whether to build static libraries])
4004
+# Make sure either enable_shared or enable_static is yes.
4005
+test "$enable_shared" = yes || enable_static=yes
4006
+AC_MSG_RESULT([$enable_static])
4008
+_LT_AC_TAGVAR(GCC, $1)="$G77"
4009
+_LT_AC_TAGVAR(LD, $1)="$LD"
4011
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
4012
+AC_LIBTOOL_PROG_CC_C_O($1)
4013
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4014
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
4015
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4016
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4018
+AC_LIBTOOL_CONFIG($1)
4022
+])# AC_LIBTOOL_LANG_F77_CONFIG
4025
+# AC_LIBTOOL_LANG_GCJ_CONFIG
4026
+# --------------------------
4027
+# Ensure that the configuration vars for the C compiler are
4028
+# suitably defined. Those variables are subsequently used by
4029
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4030
+AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
4031
+AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
4034
+# Source file extension for Java test sources.
4037
+# Object file extension for compiled Java test sources.
4039
+_LT_AC_TAGVAR(objext, $1)=$objext
4041
+# Code to be used in simple compile tests
4042
+lt_simple_compile_test_code="class foo {}\n"
4044
+# Code to be used in simple link tests
4045
+lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
4047
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4048
+_LT_AC_SYS_COMPILER
4050
+# save warnings/boilerplate of simple test code
4051
+_LT_COMPILER_BOILERPLATE
4052
+_LT_LINKER_BOILERPLATE
4054
+# Allow CC to be a program name with arguments.
4058
+_LT_AC_TAGVAR(compiler, $1)=$CC
4059
+_LT_CC_BASENAME([$compiler])
4061
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
4062
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4064
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
4066
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
4067
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
4068
+AC_LIBTOOL_PROG_CC_C_O($1)
4069
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4070
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
4071
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4072
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4074
+AC_LIBTOOL_CONFIG($1)
4078
+])# AC_LIBTOOL_LANG_GCJ_CONFIG
4081
+# AC_LIBTOOL_LANG_RC_CONFIG
4082
+# -------------------------
4083
+# Ensure that the configuration vars for the Windows resource compiler are
4084
+# suitably defined. Those variables are subsequently used by
4085
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
4086
+AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
4087
+AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
4090
+# Source file extension for RC test sources.
4093
+# Object file extension for compiled RC test sources.
4095
+_LT_AC_TAGVAR(objext, $1)=$objext
4097
+# Code to be used in simple compile tests
4098
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
4100
+# Code to be used in simple link tests
4101
+lt_simple_link_test_code="$lt_simple_compile_test_code"
4103
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4104
+_LT_AC_SYS_COMPILER
4106
+# save warnings/boilerplate of simple test code
4107
+_LT_COMPILER_BOILERPLATE
4108
+_LT_LINKER_BOILERPLATE
4110
+# Allow CC to be a program name with arguments.
4114
+_LT_AC_TAGVAR(compiler, $1)=$CC
4115
+_LT_CC_BASENAME([$compiler])
4116
+_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4118
+AC_LIBTOOL_CONFIG($1)
4122
+])# AC_LIBTOOL_LANG_RC_CONFIG
4125
+# AC_LIBTOOL_CONFIG([TAGNAME])
4126
+# ----------------------------
4127
+# If TAGNAME is not passed, then create an initial libtool script
4128
+# with a default configuration from the untagged config vars. Otherwise
4129
+# add code to config.status for appending the configuration named by
4130
+# TAGNAME from the matching tagged config vars.
4131
+AC_DEFUN([AC_LIBTOOL_CONFIG],
4132
+[# The else clause should only fire when bootstrapping the
4133
+# libtool distribution, otherwise you forgot to ship ltmain.sh
4134
+# with your package, and you will get complaints that there are
4135
+# no rules to generate ltmain.sh.
4136
+if test -f "$ltmain"; then
4137
+ # See if we are running on zsh, and set the options which allow our commands through
4138
+ # without removal of \ escapes.
4139
+ if test -n "${ZSH_VERSION+set}" ; then
4140
+ setopt NO_GLOB_SUBST
4142
+ # Now quote all the things that may contain metacharacters while being
4143
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
4144
+ # variables and quote the copies for generation of the libtool script.
4145
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
4147
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
4148
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
4149
+ deplibs_check_method reload_flag reload_cmds need_locks \
4150
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
4151
+ lt_cv_sys_global_symbol_to_c_name_address \
4152
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
4153
+ old_postinstall_cmds old_postuninstall_cmds \
4154
+ _LT_AC_TAGVAR(compiler, $1) \
4155
+ _LT_AC_TAGVAR(CC, $1) \
4156
+ _LT_AC_TAGVAR(LD, $1) \
4157
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
4158
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
4159
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
4160
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
4161
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
4162
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
4163
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
4164
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
4165
+ _LT_AC_TAGVAR(old_archive_cmds, $1) \
4166
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
4167
+ _LT_AC_TAGVAR(predep_objects, $1) \
4168
+ _LT_AC_TAGVAR(postdep_objects, $1) \
4169
+ _LT_AC_TAGVAR(predeps, $1) \
4170
+ _LT_AC_TAGVAR(postdeps, $1) \
4171
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
4172
+ _LT_AC_TAGVAR(archive_cmds, $1) \
4173
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4174
+ _LT_AC_TAGVAR(postinstall_cmds, $1) \
4175
+ _LT_AC_TAGVAR(postuninstall_cmds, $1) \
4176
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
4177
+ _LT_AC_TAGVAR(allow_undefined_flag, $1) \
4178
+ _LT_AC_TAGVAR(no_undefined_flag, $1) \
4179
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) \
4180
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
4181
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
4182
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
4183
+ _LT_AC_TAGVAR(hardcode_automatic, $1) \
4184
+ _LT_AC_TAGVAR(module_cmds, $1) \
4185
+ _LT_AC_TAGVAR(module_expsym_cmds, $1) \
4186
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
4187
+ _LT_AC_TAGVAR(exclude_expsyms, $1) \
4188
+ _LT_AC_TAGVAR(include_expsyms, $1); do
4191
+ _LT_AC_TAGVAR(old_archive_cmds, $1) | \
4192
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
4193
+ _LT_AC_TAGVAR(archive_cmds, $1) | \
4194
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
4195
+ _LT_AC_TAGVAR(module_cmds, $1) | \
4196
+ _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
4197
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
4198
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
4199
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
4200
+ postinstall_cmds | postuninstall_cmds | \
4201
+ old_postinstall_cmds | old_postuninstall_cmds | \
4202
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
4203
+ # Double-quote double-evaled strings.
4204
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
4207
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
4213
+ *'\[$]0 --fallback-echo"')
4214
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
4219
+ [cfgfile="${ofile}T"
4220
+ trap "$rm \"$cfgfile\"; exit 1" 1 2 15
4222
+ AC_MSG_NOTICE([creating $ofile])],
4223
+ [cfgfile="$ofile"])
4225
+ cat <<__EOF__ >> "$cfgfile"
4229
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
4230
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4231
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4233
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
4234
+# Free Software Foundation, Inc.
4236
+# This file is part of GNU Libtool:
4237
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
4239
+# This program is free software; you can redistribute it and/or modify
4240
+# it under the terms of the GNU General Public License as published by
4241
+# the Free Software Foundation; either version 2 of the License, or
4242
+# (at your option) any later version.
4244
+# This program is distributed in the hope that it will be useful, but
4245
+# WITHOUT ANY WARRANTY; without even the implied warranty of
4246
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4247
+# General Public License for more details.
4249
+# You should have received a copy of the GNU General Public License
4250
+# along with this program; if not, write to the Free Software
4251
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
4253
+# As a special exception to the GNU General Public License, if you
4254
+# distribute this file as part of a program that contains a
4255
+# configuration script generated by Autoconf, you may include it under
4256
+# the same distribution terms that you use for the rest of that program.
4258
+# A sed program that does not truncate output.
4261
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
4262
+Xsed="$SED -e 1s/^X//"
4264
+# The HP-UX ksh and POSIX shell print the target directory to stdout
4265
+# if CDPATH is set.
4266
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4268
+# The names of the tagged configurations supported by this script.
4271
+# ### BEGIN LIBTOOL CONFIG],
4272
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
4274
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4276
+# Shell to use when invoking shell scripts.
4279
+# Whether or not to build shared libraries.
4280
+build_libtool_libs=$enable_shared
4282
+# Whether or not to build static libraries.
4283
+build_old_libs=$enable_static
4285
+# Whether or not to add -lc for building shared libraries.
4286
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
4288
+# Whether or not to disallow shared libs when runtime libs are static
4289
+allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
4291
+# Whether or not to optimize for fast installation.
4292
+fast_install=$enable_fast_install
4295
+host_alias=$host_alias
4299
+# The build system.
4300
+build_alias=$build_alias
4304
+# An echo program that does not interpret backslashes.
4309
+AR_FLAGS=$lt_AR_FLAGS
4314
+# LTCC compiler flags.
4315
+LTCFLAGS=$lt_LTCFLAGS
4317
+# A language-specific compiler.
4318
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
4320
+# Is the compiler the GNU C compiler?
4321
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
4326
+# The linker used to build libraries.
4327
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
4329
+# Whether we need hard or soft links.
4332
+# A BSD-compatible nm program.
4335
+# A symbol stripping program
4338
+# Used to examine libraries when file_magic_cmd begins "file"
4339
+MAGIC_CMD=$MAGIC_CMD
4341
+# Used on cygwin: DLL creation program.
4344
+# Used on cygwin: object dumper.
4347
+# Used on cygwin: assembler.
4350
+# The name of the directory that contains temporary libtool files.
4353
+# How to create reloadable object files.
4354
+reload_flag=$lt_reload_flag
4355
+reload_cmds=$lt_reload_cmds
4357
+# How to pass a linker flag through the compiler.
4358
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4360
+# Object file suffix (normally "o").
4361
+objext="$ac_objext"
4363
+# Old archive suffix (normally "a").
4366
+# Shared library suffix (normally ".so").
4367
+shrext_cmds='$shrext_cmds'
4369
+# Executable file suffix (normally "").
4372
+# Additional compiler flags for building library objects.
4373
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4376
+# What is the maximum length of a command?
4377
+max_cmd_len=$lt_cv_sys_max_cmd_len
4379
+# Does compiler simultaneously support -c and -o options?
4380
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
4382
+# Must we lock files when doing compilation?
4383
+need_locks=$lt_need_locks
4385
+# Do we need the lib prefix for modules?
4386
+need_lib_prefix=$need_lib_prefix
4388
+# Do we need a version for libraries?
4389
+need_version=$need_version
4391
+# Whether dlopen is supported.
4392
+dlopen_support=$enable_dlopen
4394
+# Whether dlopen of programs is supported.
4395
+dlopen_self=$enable_dlopen_self
4397
+# Whether dlopen of statically linked programs is supported.
4398
+dlopen_self_static=$enable_dlopen_self_static
4400
+# Compiler flag to prevent dynamic linking.
4401
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
4403
+# Compiler flag to turn off builtin functions.
4404
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
4406
+# Compiler flag to allow reflexive dlopens.
4407
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
4409
+# Compiler flag to generate shared objects directly from archives.
4410
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
4412
+# Compiler flag to generate thread-safe objects.
4413
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
4415
+# Library versioning type.
4416
+version_type=$version_type
4418
+# Format of library name prefix.
4419
+libname_spec=$lt_libname_spec
4421
+# List of archive names. First name is the real one, the rest are links.
4422
+# The last name is the one that the linker finds with -lNAME.
4423
+library_names_spec=$lt_library_names_spec
4425
+# The coded name of the library, if different from the real name.
4426
+soname_spec=$lt_soname_spec
4428
+# Commands used to build and install an old-style archive.
4430
+old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
4431
+old_postinstall_cmds=$lt_old_postinstall_cmds
4432
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
4434
+# Create an old-style archive from a shared archive.
4435
+old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
4437
+# Create a temporary old-style archive to link instead of a shared archive.
4438
+old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
4440
+# Commands used to build and install a shared archive.
4441
+archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
4442
+archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
4443
+postinstall_cmds=$lt_postinstall_cmds
4444
+postuninstall_cmds=$lt_postuninstall_cmds
4446
+# Commands used to build a loadable module (assumed same as above if empty)
4447
+module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
4448
+module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
4450
+# Commands to strip libraries.
4451
+old_striplib=$lt_old_striplib
4452
+striplib=$lt_striplib
4454
+# Dependencies to place before the objects being linked to create a
4456
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
4458
+# Dependencies to place after the objects being linked to create a
4460
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
4462
+# Dependencies to place before the objects being linked to create a
4464
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
4466
+# Dependencies to place after the objects being linked to create a
4468
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
4470
+# The library search path used internally by the compiler when linking
4471
+# a shared library.
4472
+compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
4474
+# Method to check whether dependent libraries are shared objects.
4475
+deplibs_check_method=$lt_deplibs_check_method
4477
+# Command to use when deplibs_check_method == file_magic.
4478
+file_magic_cmd=$lt_file_magic_cmd
4480
+# Flag that allows shared libraries with undefined symbols to be built.
4481
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
4483
+# Flag that forces no undefined symbols.
4484
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
4486
+# Commands used to finish a libtool library installation in a directory.
4487
+finish_cmds=$lt_finish_cmds
4489
+# Same as above, but a single script fragment to be evaled but not shown.
4490
+finish_eval=$lt_finish_eval
4492
+# Take the output of nm and produce a listing of raw symbols and C names.
4493
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
4495
+# Transform the output of nm in a proper C declaration
4496
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
4498
+# Transform the output of nm in a C name address pair
4499
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
4501
+# This is the shared library runtime path variable.
4502
+runpath_var=$runpath_var
4504
+# This is the shared library path variable.
4505
+shlibpath_var=$shlibpath_var
4507
+# Is shlibpath searched before the hard-coded library search path?
4508
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
4510
+# How to hardcode a shared library path into an executable.
4511
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
4513
+# Whether we should hardcode library paths into libraries.
4514
+hardcode_into_libs=$hardcode_into_libs
4516
+# Flag to hardcode \$libdir into a binary during linking.
4517
+# This must work even if \$libdir does not exist.
4518
+hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
4520
+# If ld is used when linking, flag to hardcode \$libdir into
4521
+# a binary during linking. This must work even if \$libdir does
4523
+hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
4525
+# Whether we need a single -rpath flag with a separated argument.
4526
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
4528
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
4529
+# resulting binary.
4530
+hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
4532
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
4533
+# resulting binary.
4534
+hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
4536
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
4537
+# the resulting binary.
4538
+hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
4540
+# Set to yes if building a shared library automatically hardcodes DIR into the library
4541
+# and all subsequent libraries and executables linked against it.
4542
+hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
4544
+# Variables whose values should be saved in libtool wrapper scripts and
4545
+# restored at relink time.
4546
+variables_saved_for_relink="$variables_saved_for_relink"
4548
+# Whether libtool must link a program against all its dependency libraries.
4549
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
4551
+# Compile-time system search path for libraries
4552
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
4554
+# Run-time system search path for libraries
4555
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4557
+# Fix the shell variable \$srcfile for the compiler.
4558
+fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
4560
+# Set to yes if exported symbols are required.
4561
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
4563
+# The commands to list exported symbols.
4564
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
4566
+# The commands to extract the exported symbol list from a shared archive.
4567
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
4569
+# Symbols that should not be listed in the preloaded symbols.
4570
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
4572
+# Symbols that must always be exported.
4573
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
4576
+[# ### END LIBTOOL CONFIG],
4577
+[# ### END LIBTOOL TAG CONFIG: $tagname])
4584
+ cat <<\EOF >> "$cfgfile"
4586
+# AIX sometimes has problems with the GCC collect2 program. For some
4587
+# reason, if we set the COLLECT_NAMES environment variable, the problems
4588
+# vanish in a puff of smoke.
4589
+if test "X${COLLECT_NAMES+set}" != Xset; then
4591
+ export COLLECT_NAMES
4597
+ # We use sed instead of cat because bash on DJGPP gets confused if
4598
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
4599
+ # text mode, it properly converts lines to CR/LF. This bash problem
4600
+ # is reportedly fixed, but why not run on old versions too?
4601
+ sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
4603
+ mv -f "$cfgfile" "$ofile" || \
4604
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
4608
+ # If there is no Makefile yet, we rely on a make rule to execute
4609
+ # `config.status --recheck' to rerun these tests and create the
4610
+ # libtool script then.
4611
+ ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
4612
+ if test -f "$ltmain_in"; then
4613
+ test -f Makefile && make "$ltmain"
4616
+])# AC_LIBTOOL_CONFIG
4619
+# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
4620
+# -------------------------------------------
4621
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
4622
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4624
+_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4626
+if test "$GCC" = yes; then
4627
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4629
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
4630
+ lt_cv_prog_compiler_rtti_exceptions,
4631
+ [-fno-rtti -fno-exceptions], [],
4632
+ [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
4634
+])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
4637
+# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4638
+# ---------------------------------
4639
+AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
4640
+[AC_REQUIRE([AC_CANONICAL_HOST])
4641
+AC_REQUIRE([AC_PROG_NM])
4642
+AC_REQUIRE([AC_OBJEXT])
4643
+# Check for command to grab the raw symbol name followed by C symbol from nm.
4644
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
4645
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
4647
+# These are sane defaults that work on at least a few old systems.
4648
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
4650
+# Character class describing NM global symbol codes.
4651
+symcode='[[BCDEGRST]]'
4653
+# Regexp to match symbols that can be accessed directly from C.
4654
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
4656
+# Transform an extracted symbol line into a proper C declaration
4657
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
4659
+# Transform an extracted symbol line into symbol name and symbol address
4660
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4662
+# Define system-specific variables.
4665
+ symcode='[[BCDT]]'
4667
+cygwin* | mingw* | pw32*)
4668
+ symcode='[[ABCDGISTW]]'
4670
+hpux*) # Its linker distinguishes data from code symbols
4671
+ if test "$host_cpu" = ia64; then
4672
+ symcode='[[ABCDEGRST]]'
4674
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4675
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4677
+linux* | k*bsd*-gnu)
4678
+ if test "$host_cpu" = ia64; then
4679
+ symcode='[[ABCDGIRSTW]]'
4680
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4681
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4684
+irix* | nonstopux*)
4685
+ symcode='[[BCDEGRST]]'
4688
+ symcode='[[BCDEGQRST]]'
4691
+ symcode='[[BDRT]]'
4699
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
4700
+ symcode='[[ABDT]]'
4703
+ symcode='[[DFNSTU]]'
4707
+# Handle CRLF in mingw tool chain
4711
+ opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4715
+# If we're using GNU nm, then use its standard symbol codes.
4716
+case `$NM -V 2>&1` in
4717
+*GNU* | *'with BFD'*)
4718
+ symcode='[[ABCDGIRSTW]]' ;;
4721
+# Try without a prefix undercore, then with it.
4722
+for ac_symprfx in "" "_"; do
4724
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4725
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
4727
+ # Write the raw and C identifiers.
4728
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4730
+ # Check to see that the pipe works correctly.
4734
+ cat > conftest.$ac_ext <<EOF
4739
+void nm_test_func(){}
4743
+int main(){nm_test_var='a';nm_test_func();return(0);}
4746
+ if AC_TRY_EVAL(ac_compile); then
4747
+ # Now try to grab the symbols.
4749
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
4750
+ # Try sorting and uniquifying the output.
4751
+ if sort "$nlist" | uniq > "$nlist"T; then
4752
+ mv -f "$nlist"T "$nlist"
4757
+ # Make sure that we snagged all the symbols we need.
4758
+ if grep ' nm_test_var$' "$nlist" >/dev/null; then
4759
+ if grep ' nm_test_func$' "$nlist" >/dev/null; then
4760
+ cat <<EOF > conftest.$ac_ext
4766
+ # Now generate the symbol file.
4767
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
4769
+ cat <<EOF >> conftest.$ac_ext
4770
+#if defined (__STDC__) && __STDC__
4771
+# define lt_ptr_t void *
4773
+# define lt_ptr_t char *
4777
+/* The mapping between symbol names and symbols. */
4782
+lt_preloaded_symbols[[]] =
4785
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
4786
+ cat <<\EOF >> conftest.$ac_ext
4794
+ # Now try linking the two files.
4795
+ mv conftest.$ac_objext conftstm.$ac_objext
4796
+ lt_save_LIBS="$LIBS"
4797
+ lt_save_CFLAGS="$CFLAGS"
4798
+ LIBS="conftstm.$ac_objext"
4799
+ CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4800
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
4803
+ LIBS="$lt_save_LIBS"
4804
+ CFLAGS="$lt_save_CFLAGS"
4806
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
4809
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
4812
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
4815
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4816
+ cat conftest.$ac_ext >&5
4818
+ rm -f conftest* conftst*
4820
+ # Do not use the global_symbol_pipe unless it works.
4821
+ if test "$pipe_works" = yes; then
4824
+ lt_cv_sys_global_symbol_pipe=
4828
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
4829
+ lt_cv_sys_global_symbol_to_cdecl=
4831
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4832
+ AC_MSG_RESULT(failed)
4836
+]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
4839
+# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
4840
+# ---------------------------------------
4841
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
4842
+[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
4843
+_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4844
+_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
4846
+AC_MSG_CHECKING([for $compiler option to produce PIC])
4847
+ ifelse([$1],[CXX],[
4848
+ # C++ specific cases for pic, static, wl, etc.
4849
+ if test "$GXX" = yes; then
4850
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4851
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4855
+ # All AIX code is PIC.
4856
+ if test "$host_cpu" = ia64; then
4857
+ # AIX 5 now supports IA64 processor
4858
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4862
+ # FIXME: we need at least 68020 code to build shared libraries, but
4863
+ # adding the `-m68020' flag to GCC prevents building anything better,
4865
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4867
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4868
+ # PIC is the default for these OSes.
4870
+ mingw* | os2* | pw32*)
4871
+ # This hack is so that the source file can tell whether it is being
4872
+ # built for inclusion in a dll (and should export symbols for example).
4873
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
4875
+ darwin* | rhapsody*)
4876
+ # PIC is the default on this platform
4877
+ # Common symbols not allowed in MH_DYLIB files
4878
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4881
+ # DJGPP does not support shared libraries at all
4882
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4885
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4886
+ # Instead, we relocate shared libraries at runtime.
4889
+ if test -d /usr/nec; then
4890
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4894
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4895
+ # not for PA HP-UX.
4900
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4905
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4911
+ # All AIX code is PIC.
4912
+ if test "$host_cpu" = ia64; then
4913
+ # AIX 5 now supports IA64 processor
4914
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4916
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4920
+ case $cc_basename in
4922
+ # Green Hills C++ Compiler
4923
+ # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
4928
+ # PIC is the default on this platform
4929
+ # Common symbols not allowed in MH_DYLIB files
4930
+ case $cc_basename in
4932
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
4933
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4938
+ case $cc_basename in
4940
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4943
+ # Green Hills C++ Compiler
4944
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4950
+ freebsd* | dragonfly*)
4951
+ # FreeBSD uses GNU C++
4953
+ hpux9* | hpux10* | hpux11*)
4954
+ case $cc_basename in
4956
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4957
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4958
+ if test "$host_cpu" != ia64; then
4959
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4963
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4964
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4970
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4979
+ # This is c89, which is MS Visual C++ (no shared libs)
4980
+ # Anyone wants to do a port?
4982
+ irix5* | irix6* | nonstopux*)
4983
+ case $cc_basename in
4985
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4986
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4987
+ # CC pic flag -KPIC is the default.
4993
+ linux* | k*bsd*-gnu)
4994
+ case $cc_basename in
4996
+ # KAI C++ Compiler
4997
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4998
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5002
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5003
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5004
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5007
+ # Portland Group C++ compiler.
5008
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5009
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5010
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5014
+ # Make sure the PIC flag is empty. It appears that all Alpha
5015
+ # Linux and Compaq Tru64 Unix objects are PIC.
5016
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5017
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5028
+ case $cc_basename in
5030
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
5036
+ netbsd* | netbsdelf*-gnu)
5038
+ osf3* | osf4* | osf5*)
5039
+ case $cc_basename in
5041
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
5044
+ # Rational C++ 2.4.1
5045
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5048
+ # Digital/Compaq C++
5049
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5050
+ # Make sure the PIC flag is empty. It appears that all Alpha
5051
+ # Linux and Compaq Tru64 Unix objects are PIC.
5052
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5053
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5062
+ case $cc_basename in
5064
+ # Sun C++ 4.2, 5.x and Centerline C++
5065
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5066
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5067
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5070
+ # Green Hills C++ Compiler
5071
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5078
+ case $cc_basename in
5081
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5082
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5086
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5093
+ case $cc_basename in
5095
+ # NonStop-UX NCC 3.20
5096
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5102
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5103
+ case $cc_basename in
5105
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5106
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5107
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5114
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5120
+ if test "$GCC" = yes; then
5121
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5122
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5126
+ # All AIX code is PIC.
5127
+ if test "$host_cpu" = ia64; then
5128
+ # AIX 5 now supports IA64 processor
5129
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5134
+ # FIXME: we need at least 68020 code to build shared libraries, but
5135
+ # adding the `-m68020' flag to GCC prevents building anything better,
5137
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5140
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5141
+ # PIC is the default for these OSes.
5144
+ mingw* | pw32* | os2*)
5145
+ # This hack is so that the source file can tell whether it is being
5146
+ # built for inclusion in a dll (and should export symbols for example).
5147
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5150
+ darwin* | rhapsody*)
5151
+ # PIC is the default on this platform
5152
+ # Common symbols not allowed in MH_DYLIB files
5153
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5157
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5158
+ # Instead, we relocate shared libraries at runtime.
5162
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
5163
+ # on systems that don't support them.
5164
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5169
+ if test -d /usr/nec; then
5170
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
5175
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5176
+ # not for PA HP-UX.
5182
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5188
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
5192
+ # PORTME Check for flag to pass linker flags through the system compiler.
5195
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5196
+ if test "$host_cpu" = ia64; then
5197
+ # AIX 5 now supports IA64 processor
5198
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5200
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
5204
+ # PIC is the default on this platform
5205
+ # Common symbols not allowed in MH_DYLIB files
5206
+ case $cc_basename in
5208
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
5209
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5214
+ mingw* | pw32* | os2*)
5215
+ # This hack is so that the source file can tell whether it is being
5216
+ # built for inclusion in a dll (and should export symbols for example).
5217
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5220
+ hpux9* | hpux10* | hpux11*)
5221
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5222
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5223
+ # not for PA HP-UX.
5229
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
5232
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
5233
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
5236
+ irix5* | irix6* | nonstopux*)
5237
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5238
+ # PIC (with -KPIC) is the default.
5239
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5243
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5244
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5247
+ linux* | k*bsd*-gnu)
5248
+ case $cc_basename in
5250
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5251
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5252
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5254
+ pgcc* | pgf77* | pgf90* | pgf95*)
5255
+ # Portland Group compilers (*not* the Pentium gcc compiler,
5256
+ # which looks to be a dead project)
5257
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5258
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5259
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5262
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5263
+ # All Alpha code is PIC.
5264
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5269
+ osf3* | osf4* | osf5*)
5270
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5271
+ # All OSF/1 code is PIC.
5272
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5276
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5277
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5278
+ case $cc_basename in
5279
+ f77* | f90* | f95*)
5280
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
5282
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
5287
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5288
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5289
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5292
+ sysv4 | sysv4.2uw2* | sysv4.3*)
5293
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5294
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5295
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5299
+ if test -d /usr/nec ;then
5300
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
5301
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5305
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5306
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5307
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5308
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5312
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5313
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5317
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5318
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5322
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5327
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
5330
+# Check to make sure the PIC flag actually works.
5332
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
5333
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
5334
+ _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
5335
+ [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
5336
+ [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
5338
+ *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
5340
+ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5341
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
5344
+ # For platforms which do not support PIC, -DPIC is meaningless:
5346
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5349
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
5354
+# Check to make sure the static flag actually works.
5356
+wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5357
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5358
+ _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
5359
+ $lt_tmp_static_flag,
5361
+ [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5365
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
5366
+# ------------------------------------
5367
+# See if the linker supports building shared libraries.
5368
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
5369
+[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5370
+ifelse([$1],[CXX],[
5371
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5374
+ # If we're using GNU nm, then we don't want the "-C" option.
5375
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
5376
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5377
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5379
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5383
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
5386
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5388
+ linux* | k*bsd*-gnu)
5389
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5392
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5397
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
5398
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5399
+ _LT_AC_TAGVAR(archive_cmds, $1)=
5400
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5401
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
5402
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
5403
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5404
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5405
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
5406
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5407
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5408
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5409
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
5410
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5411
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5412
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5413
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=no
5414
+ _LT_AC_TAGVAR(module_cmds, $1)=
5415
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)=
5416
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
5417
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5418
+ # include_expsyms should be a list of space-separated symbols to be *always*
5419
+ # included in the symbol list
5420
+ _LT_AC_TAGVAR(include_expsyms, $1)=
5421
+ # exclude_expsyms can be an extended regexp of symbols to exclude
5422
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
5423
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5424
+ # as well as any symbol that contains `d'.
5425
+ _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
5426
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5427
+ # platforms (ab)use it in PIC code, but their linkers get confused if
5428
+ # the symbol is explicitly referenced. Since portable code cannot
5429
+ # rely on this symbol name, it's probably fine to never include it in
5430
+ # preloaded symbol tables.
5431
+ extract_expsyms_cmds=
5432
+ # Just being paranoid about ensuring that cc_basename is set.
5433
+ _LT_CC_BASENAME([$compiler])
5435
+ cygwin* | mingw* | pw32*)
5436
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
5437
+ # When not using gcc, we currently assume that we are using
5438
+ # Microsoft Visual C++.
5439
+ if test "$GCC" != yes; then
5444
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
5452
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
5453
+ if test "$with_gnu_ld" = yes; then
5454
+ # If archive_cmds runs LD, not CC, wlarc should be empty
5457
+ # Set some defaults for GNU ld with shared library support. These
5458
+ # are reset later if shared libraries are not supported. Putting them
5459
+ # here allows them to be overridden if necessary.
5460
+ runpath_var=LD_RUN_PATH
5461
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
5462
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5463
+ # ancient GNU ld didn't support --whole-archive et. al.
5464
+ if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
5465
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5467
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5469
+ supports_anon_versioning=no
5470
+ case `$LD -v 2>/dev/null` in
5471
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5472
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5473
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5474
+ *\ 2.11.*) ;; # other 2.11 versions
5475
+ *) supports_anon_versioning=yes ;;
5478
+ # See if GNU ld supports shared libraries.
5480
+ aix3* | aix4* | aix5*)
5481
+ # On AIX/PPC, the GNU linker is very broken
5482
+ if test "$host_cpu" != ia64; then
5483
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5486
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
5487
+*** to be unable to reliably create shared libraries on AIX.
5488
+*** Therefore, libtool is disabling shared libraries support. If you
5489
+*** really care for shared libraries, you may want to modify your PATH
5490
+*** so that a non-GNU linker is found, and then restart.
5497
+ _LT_AC_TAGVAR(archive_cmds, $1)='$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)'
5498
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5499
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5501
+ # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5502
+ # that the semantics of dynamic libraries on AmigaOS, at least up
5503
+ # to version 4, is to share data among multiple programs linked
5504
+ # with the same dynamic library. Since this doesn't match the
5505
+ # behavior of shared libraries on other platforms, we can't use
5507
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5511
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5512
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5513
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5514
+ # support --undefined. This deserves some investigation. FIXME
5515
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5517
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5521
+ cygwin* | mingw* | pw32*)
5522
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5523
+ # as there is no search path for DLLs.
5524
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5525
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5526
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
5527
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5528
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5530
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5531
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5532
+ # If the export-symbols file already is a .def file (1st line
5533
+ # is EXPORTS), use it as is; otherwise, prepend...
5534
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5535
+ cp $export_symbols $output_objdir/$soname.def;
5537
+ echo EXPORTS > $output_objdir/$soname.def;
5538
+ cat $export_symbols >> $output_objdir/$soname.def;
5540
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5542
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5547
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
5548
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5549
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5550
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5551
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5552
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
5553
+ # default) and relocated if they conflict, which is a slow very memory
5554
+ # consuming and fragmenting process. To avoid this, we pick a random,
5555
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5556
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
5557
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5558
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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'
5561
+ linux* | k*bsd*-gnu)
5562
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5564
+ case $cc_basename,$host_cpu in
5565
+ pgcc*) # Portland Group C compiler
5566
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5567
+ tmp_addflag=' $pic_flag'
5569
+ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
5570
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5571
+ tmp_addflag=' $pic_flag -Mnomain' ;;
5572
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
5573
+ tmp_addflag=' -i_dynamic' ;;
5574
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
5575
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
5576
+ ifc* | ifort*) # Intel Fortran compiler
5577
+ tmp_addflag=' -nofor_main' ;;
5579
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5581
+ if test $supports_anon_versioning = yes; then
5582
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
5583
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5584
+ $echo "local: *; };" >> $output_objdir/$libname.ver~
5585
+ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5587
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5589
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5593
+ netbsd* | netbsdelf*-gnu)
5594
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5595
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5598
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5599
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5604
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
5605
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5608
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
5609
+*** create shared libraries on Solaris systems. Therefore, libtool
5610
+*** is disabling shared libraries support. We urge you to upgrade GNU
5611
+*** binutils to release 2.9.1 or newer. Another option is to modify
5612
+*** your PATH or compiler configuration so that the native linker is
5613
+*** used, and then restart.
5616
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5617
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5618
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5620
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5624
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5625
+ case `$LD -v 2>&1` in
5626
+ *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5627
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5628
+ cat <<_LT_EOF 1>&2
5630
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
5631
+*** reliably create shared libraries on SCO systems. Therefore, libtool
5632
+*** is disabling shared libraries support. We urge you to upgrade GNU
5633
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5634
+*** your PATH or compiler configuration so that the native linker is
5635
+*** used, and then restart.
5640
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5641
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
5642
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
5643
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
5645
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5652
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5654
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5655
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5659
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5660
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5661
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5663
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5668
+ if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
5670
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5671
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5672
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5675
+ # PORTME fill in a description of your system's linker (not GNU ld)
5678
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5679
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
5680
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5681
+ # Note: this linker hardcodes the directories in LIBPATH if there
5682
+ # are no directories specified by -L.
5683
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5684
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
5685
+ # Neither direct hardcoding nor static linking is supported with a
5686
+ # broken collect2.
5687
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5692
+ if test "$host_cpu" = ia64; then
5693
+ # On IA64, the linker does run time linking by default, so we don't
5694
+ # have to do anything special.
5695
+ aix_use_runtimelinking=no
5696
+ exp_sym_flag='-Bexport'
5699
+ # If we're using GNU nm, then we don't want the "-C" option.
5700
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
5701
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5702
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5704
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
5706
+ aix_use_runtimelinking=no
5708
+ # Test if we are trying to use run time linking or normal
5709
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5710
+ # need to do runtime linking.
5711
+ case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
5712
+ for ld_flag in $LDFLAGS; do
5713
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5714
+ aix_use_runtimelinking=yes
5721
+ exp_sym_flag='-bexport'
5722
+ no_entry_flag='-bnoentry'
5725
+ # When large executables or shared objects are built, AIX ld can
5726
+ # have problems creating the table of contents. If linking a library
5727
+ # or program results in "error TOC overflow" add -mminimal-toc to
5728
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5729
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5731
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
5732
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5733
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
5734
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5736
+ if test "$GCC" = yes; then
5737
+ case $host_os in aix4.[[012]]|aix4.[[012]].*)
5738
+ # We only want to do this on AIX 4.2 and lower, the check
5739
+ # below for broken collect2 doesn't work under 4.3+
5740
+ collect2name=`${CC} -print-prog-name=collect2`
5741
+ if test -f "$collect2name" && \
5742
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
5744
+ # We have reworked collect2
5745
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5747
+ # We have old collect2
5748
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5749
+ # It fails to find uninstalled libraries when the uninstalled
5750
+ # path is not listed in the libpath. Setting hardcode_minus_L
5751
+ # to unsupported forces relinking
5752
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5753
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5754
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5758
+ shared_flag='-shared'
5759
+ if test "$aix_use_runtimelinking" = yes; then
5760
+ shared_flag="$shared_flag "'${wl}-G'
5764
+ if test "$host_cpu" = ia64; then
5765
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5766
+ # chokes on -Wl,-G. The following line is correct:
5769
+ if test "$aix_use_runtimelinking" = yes; then
5770
+ shared_flag='${wl}-G'
5772
+ shared_flag='${wl}-bM:SRE'
5777
+ # It seems that -bexpall does not export symbols beginning with
5778
+ # underscore (_), so it is better to generate a list of symbols to export.
5779
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
5780
+ if test "$aix_use_runtimelinking" = yes; then
5781
+ # Warning - without using the other runtime loading flags (-brtl),
5782
+ # -berok will link without error, but may produce a broken library.
5783
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
5784
+ # Determine the default libpath from the value encoded in an empty executable.
5785
+ _LT_AC_SYS_LIBPATH_AIX
5786
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5787
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5789
+ if test "$host_cpu" = ia64; then
5790
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5791
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5792
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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"
5794
+ # Determine the default libpath from the value encoded in an empty executable.
5795
+ _LT_AC_SYS_LIBPATH_AIX
5796
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5797
+ # Warning - without using the other run time loading flags,
5798
+ # -berok will link without error, but may produce a broken library.
5799
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5800
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5801
+ # Exported symbols can be pulled into shared objects from archives
5802
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5803
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5804
+ # This is similar to how AIX traditionally builds its shared libraries.
5805
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$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'
5811
+ _LT_AC_TAGVAR(archive_cmds, $1)='$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)'
5812
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5813
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5814
+ # see comment about different semantics on the GNU ld section
5815
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5819
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5822
+ cygwin* | mingw* | pw32*)
5823
+ # When not using gcc, we currently assume that we are using
5824
+ # Microsoft Visual C++.
5825
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
5826
+ # no search path for DLLs.
5827
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5828
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5829
+ # Tell ltmain to make .lib files, not .a files.
5831
+ # Tell ltmain to make .dll files, not .so files.
5832
+ shrext_cmds=".dll"
5833
+ # FIXME: Setting linknames here is a bad hack.
5834
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
5835
+ # The linker will automatically build a .lib file if we build a DLL.
5836
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
5837
+ # FIXME: Should let the user specify the lib program.
5838
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
5839
+ _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
5840
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5843
+ darwin* | rhapsody*)
5845
+ rhapsody* | darwin1.[[012]])
5846
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
5848
+ *) # Darwin 1.3 on
5849
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5850
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5852
+ case ${MACOSX_DEPLOYMENT_TARGET} in
5854
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5857
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
5863
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5864
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
5865
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
5866
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5867
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
5868
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5869
+ if test "$GCC" = yes ; then
5870
+ output_verbose_link_cmd='echo'
5871
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5872
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5873
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5874
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5875
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5877
+ case $cc_basename in
5879
+ output_verbose_link_cmd='echo'
5880
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
5881
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5882
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5883
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5884
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5887
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5894
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5895
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5896
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5900
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
5903
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5904
+ # support. Future versions do this automatically, but an explicit c++rt0.o
5905
+ # does not break anything, and helps significantly (at the cost of a little
5908
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5909
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5910
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5911
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5914
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5916
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5917
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5918
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5919
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5922
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5923
+ freebsd* | dragonfly*)
5924
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5925
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5926
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5927
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5931
+ if test "$GCC" = yes; then
5932
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
5934
+ _LT_AC_TAGVAR(archive_cmds, $1)='$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'
5936
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5937
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5938
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5940
+ # hardcode_minus_L: Not really in the search PATH,
5941
+ # but as the default location of the library.
5942
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5943
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5947
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5948
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5950
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5952
+ if test "$with_gnu_ld" = no; then
5953
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5954
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5956
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5957
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5959
+ # hardcode_minus_L: Not really in the search PATH,
5960
+ # but as the default location of the library.
5961
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5966
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5969
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5972
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5975
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5981
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5984
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5987
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5991
+ if test "$with_gnu_ld" = no; then
5992
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5993
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5997
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5998
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
5999
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6002
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6003
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6005
+ # hardcode_minus_L: Not really in the search PATH,
6006
+ # but as the default location of the library.
6007
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6013
+ irix5* | irix6* | nonstopux*)
6014
+ if test "$GCC" = yes; then
6015
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6017
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6018
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
6020
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6021
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6022
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6025
+ netbsd* | netbsdelf*-gnu)
6026
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6027
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6029
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6031
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6032
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6033
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6037
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6038
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6039
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6040
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6041
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6045
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6046
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6047
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6048
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6049
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6050
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6051
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6054
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6055
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6056
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6059
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6060
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6067
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6068
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6069
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
6070
+ _LT_AC_TAGVAR(archive_cmds, $1)='$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'
6071
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6075
+ if test "$GCC" = yes; then
6076
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6077
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6079
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6080
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6082
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6083
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6086
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
6087
+ if test "$GCC" = yes; then
6088
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6089
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6090
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6092
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6093
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6094
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6095
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
6097
+ # Both c and cxx compiler support -rpath directly
6098
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6100
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6104
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6105
+ if test "$GCC" = yes; then
6107
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6108
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6109
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
6112
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6113
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6114
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6116
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6117
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6119
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6121
+ # The compiler driver will combine linker options so we
6122
+ # cannot just pass the convience library names through
6123
+ # without $wl, iff we do not link with $LD.
6124
+ # Luckily, gcc supports the same syntax we need for Sun Studio.
6125
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
6128
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
6130
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
6133
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6137
+ if test "x$host_vendor" = xsequent; then
6138
+ # Use $CC to link under sequent, because it throws in some extra .o
6139
+ # files that make .init and .fini sections work.
6140
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6142
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6144
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6145
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6146
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6147
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6151
+ case $host_vendor in
6153
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6154
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
6157
+ ## LD is ld it makes a PLAMLIB
6158
+ ## CC just makes a GrossModule.
6159
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6160
+ _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
6161
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
6164
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6165
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
6168
+ runpath_var='LD_RUN_PATH'
6169
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6173
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6174
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6175
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
6179
+ if test -d /usr/nec; then
6180
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6181
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6182
+ runpath_var=LD_RUN_PATH
6183
+ hardcode_runpath_var=yes
6184
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
6188
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
6189
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6190
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6191
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6192
+ runpath_var='LD_RUN_PATH'
6194
+ if test "$GCC" = yes; then
6195
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6196
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6198
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6199
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6203
+ sysv5* | sco3.2v5* | sco5v6*)
6204
+ # Note: We can NOT use -z defs as we might desire, because we do not
6205
+ # link with -lc, and that would cause any symbols used from libc to
6206
+ # always be unresolved, which means just about no library would
6207
+ # ever link correctly. If we're not using GNU ld we use -z text
6208
+ # though, which does catch some bad symbols but isn't as heavy-handed
6210
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6211
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6212
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6213
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6214
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
6215
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6216
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6217
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6218
+ runpath_var='LD_RUN_PATH'
6220
+ if test "$GCC" = yes; then
6221
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6222
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6224
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6225
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6230
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6231
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6232
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6236
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
6241
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
6242
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6245
+# Do we need to explicitly link libc?
6247
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
6249
+ # Assume -lc should be added
6250
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6252
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
6253
+ case $_LT_AC_TAGVAR(archive_cmds, $1) in
6255
+ # FIXME: we may have to deal with multi-command sequences.
6258
+ # Test whether the compiler implicitly links with -lc since on some
6259
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
6260
+ # to ld, don't add -lc before -lgcc.
6261
+ AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6263
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6265
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6268
+ libobjs=conftest.$ac_objext
6270
+ wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6271
+ pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
6277
+ lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
6278
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6279
+ if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
6281
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6283
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6285
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6287
+ cat conftest.err 1>&5
6290
+ AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
6296
+])# AC_LIBTOOL_PROG_LD_SHLIBS
6299
+# _LT_AC_FILE_LTDLL_C
6300
+# -------------------
6301
+# Be careful that the start marker always follows a newline.
6302
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
6303
+# /* ltdll.c starts here */
6304
+# #define WIN32_LEAN_AND_MEAN
6305
+# #include <windows.h>
6306
+# #undef WIN32_LEAN_AND_MEAN
6307
+# #include <stdio.h>
6309
+# #ifndef __CYGWIN__
6310
+# # ifdef __CYGWIN32__
6311
+# # define __CYGWIN__ __CYGWIN32__
6315
+# #ifdef __cplusplus
6318
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
6319
+# #ifdef __cplusplus
6323
+# #ifdef __CYGWIN__
6324
+# #include <cygwin/cygwin_dll.h>
6325
+# DECLARE_CYGWIN_DLL( DllMain );
6327
+# HINSTANCE __hDllInstance_base;
6330
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
6332
+# __hDllInstance_base = hInst;
6335
+# /* ltdll.c ends here */
6336
+])# _LT_AC_FILE_LTDLL_C
6339
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
6340
+# ---------------------------------
6341
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
6345
+AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
6346
+AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
6347
+AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
6348
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
6349
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
6350
+AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
6351
+AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
6353
+# This is just to silence aclocal about the macro not being used
6354
+ifelse([AC_DISABLE_FAST_INSTALL])
6356
+AC_DEFUN([LT_AC_PROG_GCJ],
6357
+[AC_CHECK_TOOL(GCJ, gcj, no)
6358
+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
6359
+ AC_SUBST(GCJFLAGS)
6362
+AC_DEFUN([LT_AC_PROG_RC],
6363
+[AC_CHECK_TOOL(RC, windres, no)
6366
+# NOTE: This macro has been submitted for inclusion into #
6367
+# GNU Autoconf as AC_PROG_SED. When it is available in #
6368
+# a released version of Autoconf we should remove this #
6369
+# macro and use it instead. #
6372
+# Check for a fully-functional sed program, that truncates
6373
+# as few characters as possible. Prefer GNU sed if found.
6374
+AC_DEFUN([LT_AC_PROG_SED],
6375
+[AC_MSG_CHECKING([for a sed that does not truncate output])
6376
+AC_CACHE_VAL(lt_cv_path_SED,
6377
+[# Loop through the user's path and test for sed and gsed.
6378
+# Then use that list of sed's as ones to test for truncation.
6379
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380
+for as_dir in $PATH
6383
+ test -z "$as_dir" && as_dir=.
6384
+ for lt_ac_prog in sed gsed; do
6385
+ for ac_exec_ext in '' $ac_executable_extensions; do
6386
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6387
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6394
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6395
+# along with /bin/sed that truncates output.
6396
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6397
+ test ! -f $lt_ac_sed && continue
6398
+ cat /dev/null > conftest.in
6400
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6401
+ # Check for GNU sed and select it if it is found.
6402
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6403
+ lt_cv_path_SED=$lt_ac_sed
6407
+ cat conftest.in conftest.in >conftest.tmp
6408
+ mv conftest.tmp conftest.in
6409
+ cp conftest.in conftest.nl
6410
+ echo >>conftest.nl
6411
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6412
+ cmp -s conftest.out conftest.nl || break
6413
+ # 10000 chars as input seems more than enough
6414
+ test $lt_ac_count -gt 10 && break
6415
+ lt_ac_count=`expr $lt_ac_count + 1`
6416
+ if test $lt_ac_count -gt $lt_ac_max; then
6417
+ lt_ac_max=$lt_ac_count
6418
+ lt_cv_path_SED=$lt_ac_sed
6423
+SED=$lt_cv_path_SED
6424
+AC_MSG_RESULT([$SED])
6427
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
6429
+# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
6431
+# This program is free software; you can redistribute it and/or modify
6432
+# it under the terms of the GNU General Public License as published by
6433
+# the Free Software Foundation; either version 2 of the License, or
6434
+# (at your option) any later version.
6436
+# This program is distributed in the hope that it will be useful, but
6437
+# WITHOUT ANY WARRANTY; without even the implied warranty of
6438
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6439
+# General Public License for more details.
6441
+# You should have received a copy of the GNU General Public License
6442
+# along with this program; if not, write to the Free Software
6443
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
6445
+# As a special exception to the GNU General Public License, if you
6446
+# distribute this file as part of a program that contains a
6447
+# configuration script generated by Autoconf, you may include it under
6448
+# the same distribution terms that you use for the rest of that program.
6450
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
6451
+# ----------------------------------
6452
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
6453
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
6454
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
6455
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
6456
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6457
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
6459
+if test -n "$PKG_CONFIG"; then
6460
+ _pkg_min_version=m4_default([$1], [0.9.0])
6461
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
6462
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6463
+ AC_MSG_RESULT([yes])
6465
+ AC_MSG_RESULT([no])
6470
+])# PKG_PROG_PKG_CONFIG
6472
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
6474
+# Check to see whether a particular set of modules exists. Similar
6475
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
6478
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
6479
+# this or PKG_CHECK_MODULES is called, or make sure to call
6480
+# PKG_CHECK_EXISTS manually
6481
+# --------------------------------------------------------------
6482
+AC_DEFUN([PKG_CHECK_EXISTS],
6483
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
6484
+if test -n "$PKG_CONFIG" && \
6485
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
6486
+ m4_ifval([$2], [$2], [:])
6487
+m4_ifvaln([$3], [else
6492
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
6493
+# ---------------------------------------------
6494
+m4_define([_PKG_CONFIG],
6495
+[if test -n "$PKG_CONFIG"; then
6496
+ if test -n "$$1"; then
6499
+ PKG_CHECK_EXISTS([$3],
6500
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
6504
+ pkg_failed=untried
6508
+# _PKG_SHORT_ERRORS_SUPPORTED
6509
+# -----------------------------
6510
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
6511
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
6512
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6513
+ _pkg_short_errors_supported=yes
6515
+ _pkg_short_errors_supported=no
6517
+])# _PKG_SHORT_ERRORS_SUPPORTED
6520
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
6521
+# [ACTION-IF-NOT-FOUND])
6524
+# Note that if there is a possibility the first call to
6525
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
6526
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
6529
+# --------------------------------------------------------------
6530
+AC_DEFUN([PKG_CHECK_MODULES],
6531
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
6532
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
6533
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
6536
+AC_MSG_CHECKING([for $1])
6538
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
6539
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
6541
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
6542
+and $1[]_LIBS to avoid the need to call pkg-config.
6543
+See the pkg-config man page for more details.])
6545
+if test $pkg_failed = yes; then
6546
+ _PKG_SHORT_ERRORS_SUPPORTED
6547
+ if test $_pkg_short_errors_supported = yes; then
6548
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
6550
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
6552
+ # Put the nasty error message in config.log where it belongs
6553
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
6555
+ ifelse([$4], , [AC_MSG_ERROR(dnl
6556
+[Package requirements ($2) were not met:
6560
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
6561
+installed software in a non-standard prefix.
6565
+ [AC_MSG_RESULT([no])
6567
+elif test $pkg_failed = untried; then
6568
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
6569
+[The pkg-config script could not be found or is too old. Make sure it
6570
+is in your PATH or set the PKG_CONFIG environment variable to the full
6571
+path to pkg-config.
6575
+To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
6578
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
6579
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
6580
+ AC_MSG_RESULT([yes])
6581
+ ifelse([$3], , :, [$3])
6583
+])# PKG_CHECK_MODULES
6585
+# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
6587
+# This file is free software; the Free Software Foundation
6588
+# gives unlimited permission to copy and/or distribute it,
6589
+# with or without modifications, as long as this notice is preserved.
6591
+# AM_AUTOMAKE_VERSION(VERSION)
6592
+# ----------------------------
6593
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
6594
+# generated from the m4 files accompanying Automake X.Y.
6595
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
6597
+# AM_SET_CURRENT_AUTOMAKE_VERSION
6598
+# -------------------------------
6599
+# Call AM_AUTOMAKE_VERSION so it can be traced.
6600
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6601
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6602
+ [AM_AUTOMAKE_VERSION([1.9.6])])
6604
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6606
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
6608
+# This file is free software; the Free Software Foundation
6609
+# gives unlimited permission to copy and/or distribute it,
6610
+# with or without modifications, as long as this notice is preserved.
6612
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
6613
+# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
6614
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
6616
+# Of course, Automake must honor this variable whenever it calls a
6617
+# tool from the auxiliary directory. The problem is that $srcdir (and
6618
+# therefore $ac_aux_dir as well) can be either absolute or relative,
6619
+# depending on how configure is run. This is pretty annoying, since
6620
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
6621
+# source directory, any form will work fine, but in subdirectories a
6622
+# relative path needs to be adjusted first.
6624
+# $ac_aux_dir/missing
6625
+# fails when called from a subdirectory if $ac_aux_dir is relative
6626
+# $top_srcdir/$ac_aux_dir/missing
6627
+# fails if $ac_aux_dir is absolute,
6628
+# fails when called from a subdirectory in a VPATH build with
6629
+# a relative $ac_aux_dir
6631
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
6632
+# are both prefixed by $srcdir. In an in-source build this is usually
6633
+# harmless because $srcdir is `.', but things will broke when you
6634
+# start a VPATH build or use an absolute $srcdir.
6636
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
6637
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
6638
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
6639
+# and then we would define $MISSING as
6640
+# MISSING="\${SHELL} $am_aux_dir/missing"
6641
+# This will work as long as MISSING is not called from configure, because
6642
+# unfortunately $(top_srcdir) has no meaning in configure.
6643
+# However there are other variables, like CC, which are often used in
6644
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
6646
+# Another solution, used here, is to always expand $ac_aux_dir to an
6647
+# absolute PATH. The drawback is that using absolute paths prevent a
6648
+# configured tree to be moved without reconfiguration.
6650
+AC_DEFUN([AM_AUX_DIR_EXPAND],
6651
+[dnl Rely on autoconf to set up CDPATH properly.
6652
+AC_PREREQ([2.50])dnl
6653
+# expand $ac_aux_dir to an absolute path
6654
+am_aux_dir=`cd $ac_aux_dir && pwd`
6657
+# AM_CONDITIONAL -*- Autoconf -*-
6659
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
6660
+# Free Software Foundation, Inc.
6662
+# This file is free software; the Free Software Foundation
6663
+# gives unlimited permission to copy and/or distribute it,
6664
+# with or without modifications, as long as this notice is preserved.
6668
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6669
+# -------------------------------------
6670
+# Define a conditional.
6671
+AC_DEFUN([AM_CONDITIONAL],
6672
+[AC_PREREQ(2.52)dnl
6673
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
6674
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
6675
+AC_SUBST([$1_TRUE])
6676
+AC_SUBST([$1_FALSE])
6684
+AC_CONFIG_COMMANDS_PRE(
6685
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
6686
+ AC_MSG_ERROR([[conditional "$1" was never defined.
6687
+Usually this means the macro was only invoked conditionally.]])
6691
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
6692
+# Free Software Foundation, Inc.
6694
+# This file is free software; the Free Software Foundation
6695
+# gives unlimited permission to copy and/or distribute it,
6696
+# with or without modifications, as long as this notice is preserved.
6700
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6701
+# written in clear, in which case automake, when reading aclocal.m4,
6702
+# will think it sees a *use*, and therefore will trigger all it's
6703
+# C support machinery. Also note that it means that autoscan, seeing
6704
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
6707
+# _AM_DEPENDENCIES(NAME)
6708
+# ----------------------
6709
+# See how the compiler implements dependency checking.
6710
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
6711
+# We try a few techniques and use that to set a single cache variable.
6713
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
6714
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
6715
+# dependency, and given that the user is not expected to run this macro,
6716
+# just rely on AC_PROG_CC.
6717
+AC_DEFUN([_AM_DEPENDENCIES],
6718
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
6719
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
6720
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
6721
+AC_REQUIRE([AM_DEP_TRACK])dnl
6723
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
6724
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
6725
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
6726
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
6727
+ [depcc="$$1" am_compiler_list=])
6729
+AC_CACHE_CHECK([dependency style of $depcc],
6730
+ [am_cv_$1_dependencies_compiler_type],
6731
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6732
+ # We make a subdir and do the tests there. Otherwise we can end up
6733
+ # making bogus files that we don't know about and never remove. For
6734
+ # instance it was reported that on HP-UX the gcc test will end up
6735
+ # making a dummy file named `D' -- because `-MD' means `put the output
6737
+ mkdir conftest.dir
6738
+ # Copy depcomp to subdir because otherwise we won't find it if we're
6739
+ # using a relative directory.
6740
+ cp "$am_depcomp" conftest.dir
6742
+ # We will build objects and dependencies in a subdirectory because
6743
+ # it helps to detect inapplicable dependency modes. For instance
6744
+ # both Tru64's cc and ICC support -MD to output dependencies as a
6745
+ # side effect of compilation, but ICC will put the dependencies in
6746
+ # the current directory while Tru64 will put them in the object
6750
+ am_cv_$1_dependencies_compiler_type=none
6751
+ if test "$am_compiler_list" = ""; then
6752
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
6754
+ for depmode in $am_compiler_list; do
6755
+ # Setup a source with many dependencies, because some compilers
6756
+ # like to wrap large dependency lists on column 80 (with \), and
6757
+ # we should not choose a depcomp mode which is confused by this.
6759
+ # We need to recreate these files for each test, as the compiler may
6760
+ # overwrite some of them when testing with obscure command lines.
6761
+ # This happens at least with the AIX C compiler.
6762
+ : > sub/conftest.c
6763
+ for i in 1 2 3 4 5 6; do
6764
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
6765
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6766
+ # Solaris 8's {/usr,}/bin/sh.
6767
+ touch sub/conftst$i.h
6769
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6773
+ # after this tag, mechanisms are not by side-effect, so they'll
6774
+ # only be used when explicitly requested
6775
+ if test "x$enable_dependency_tracking" = xyes; then
6783
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
6784
+ # mode. It turns out that the SunPro C++ compiler does not properly
6785
+ # handle `-M -o', and we need to detect this.
6786
+ if depmode=$depmode \
6787
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6788
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6789
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6790
+ >/dev/null 2>conftest.err &&
6791
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6792
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6793
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6794
+ # icc doesn't choke on unknown options, it will just issue warnings
6795
+ # or remarks (even with -Werror). So we grep stderr for any message
6796
+ # that says an option was ignored or not supported.
6797
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
6798
+ # icc: Command line warning: ignoring option '-M'; no argument required
6799
+ # The diagnosis changed in icc 8.0:
6800
+ # icc: Command line remark: option '-MP' not supported
6801
+ if (grep 'ignoring option' conftest.err ||
6802
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6803
+ am_cv_$1_dependencies_compiler_type=$depmode
6810
+ rm -rf conftest.dir
6812
+ am_cv_$1_dependencies_compiler_type=none
6815
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
6816
+AM_CONDITIONAL([am__fastdep$1], [
6817
+ test "x$enable_dependency_tracking" != xno \
6818
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
6824
+# Choose a directory name for dependency files.
6825
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
6826
+AC_DEFUN([AM_SET_DEPDIR],
6827
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
6828
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
6834
+AC_DEFUN([AM_DEP_TRACK],
6835
+[AC_ARG_ENABLE(dependency-tracking,
6836
+[ --disable-dependency-tracking speeds up one-time build
6837
+ --enable-dependency-tracking do not reject slow dependency extractors])
6838
+if test "x$enable_dependency_tracking" != xno; then
6839
+ am_depcomp="$ac_aux_dir/depcomp"
6840
+ AMDEPBACKSLASH='\'
6842
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
6843
+AC_SUBST([AMDEPBACKSLASH])
6846
+# Generate code to set up dependency tracking. -*- Autoconf -*-
6848
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
6849
+# Free Software Foundation, Inc.
6851
+# This file is free software; the Free Software Foundation
6852
+# gives unlimited permission to copy and/or distribute it,
6853
+# with or without modifications, as long as this notice is preserved.
6857
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
6858
+# ------------------------------
6859
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
6860
+[for mf in $CONFIG_FILES; do
6861
+ # Strip MF so we end up with the name of the file.
6862
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
6863
+ # Check whether this is an Automake generated Makefile or not.
6864
+ # We used to match only the files named `Makefile.in', but
6865
+ # some people rename them; so instead we look at the file content.
6866
+ # Grep'ing the first line is not enough: some people post-process
6867
+ # each Makefile.in and add a new line on top of each file to say so.
6868
+ # So let's grep whole file.
6869
+ if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6870
+ dirpart=`AS_DIRNAME("$mf")`
6874
+ # Extract the definition of DEPDIR, am__include, and am__quote
6875
+ # from the Makefile without running `make'.
6876
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6877
+ test -z "$DEPDIR" && continue
6878
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
6879
+ test -z "am__include" && continue
6880
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6881
+ # When using ansi2knr, U may be empty or an underscore; expand it
6882
+ U=`sed -n 's/^U = //p' < "$mf"`
6883
+ # Find all dependency output files, they are included files with
6884
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
6885
+ # simplest approach to changing $(DEPDIR) to its actual value in the
6887
+ for file in `sed -n "
6888
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6889
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6890
+ # Make sure the directory exists.
6891
+ test -f "$dirpart/$file" && continue
6892
+ fdir=`AS_DIRNAME(["$file"])`
6893
+ AS_MKDIR_P([$dirpart/$fdir])
6894
+ # echo "creating $dirpart/$file"
6895
+ echo '# dummy' > "$dirpart/$file"
6898
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
6901
+# AM_OUTPUT_DEPENDENCY_COMMANDS
6902
+# -----------------------------
6903
+# This macro should only be invoked once -- use via AC_REQUIRE.
6905
+# This code is only required when automatic dependency tracking
6906
+# is enabled. FIXME. This creates each `.P' file that we will
6907
+# need in order to bootstrap the dependency handling code.
6908
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
6909
+[AC_CONFIG_COMMANDS([depfiles],
6910
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
6911
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
6914
+# Do all the work for Automake. -*- Autoconf -*-
6916
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
6917
+# Free Software Foundation, Inc.
6919
+# This file is free software; the Free Software Foundation
6920
+# gives unlimited permission to copy and/or distribute it,
6921
+# with or without modifications, as long as this notice is preserved.
6925
+# This macro actually does too much. Some checks are only needed if
6926
+# your package does certain things. But this isn't really a big deal.
6928
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
6929
+# AM_INIT_AUTOMAKE([OPTIONS])
6930
+# -----------------------------------------------
6931
+# The call with PACKAGE and VERSION arguments is the old style
6932
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
6933
+# and VERSION should now be passed to AC_INIT and removed from
6934
+# the call to AM_INIT_AUTOMAKE.
6935
+# We support both call styles for the transition. After
6936
+# the next Automake release, Autoconf can make the AC_INIT
6937
+# arguments mandatory, and then we can depend on a new Autoconf
6938
+# release and drop the old call support.
6939
+AC_DEFUN([AM_INIT_AUTOMAKE],
6940
+[AC_PREREQ([2.58])dnl
6941
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
6942
+dnl the ones we care about.
6943
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
6944
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
6945
+AC_REQUIRE([AC_PROG_INSTALL])dnl
6946
+# test to see if srcdir already configured
6947
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
6948
+ test -f $srcdir/config.status; then
6949
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
6952
+# test whether we have cygpath
6953
+if test -z "$CYGPATH_W"; then
6954
+ if (cygpath --version) >/dev/null 2>/dev/null; then
6955
+ CYGPATH_W='cygpath -w'
6960
+AC_SUBST([CYGPATH_W])
6962
+# Define the identity of the package.
6963
+dnl Distinguish between old-style and new-style calls.
6965
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
6966
+ AC_SUBST([PACKAGE], [$1])dnl
6967
+ AC_SUBST([VERSION], [$2])],
6968
+[_AM_SET_OPTIONS([$1])dnl
6969
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
6970
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
6972
+_AM_IF_OPTION([no-define],,
6973
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
6974
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
6976
+# Some tools Automake needs.
6977
+AC_REQUIRE([AM_SANITY_CHECK])dnl
6978
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
6979
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
6980
+AM_MISSING_PROG(AUTOCONF, autoconf)
6981
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
6982
+AM_MISSING_PROG(AUTOHEADER, autoheader)
6983
+AM_MISSING_PROG(MAKEINFO, makeinfo)
6985
+AM_PROG_INSTALL_STRIP
6986
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
6987
+# We need awk for the "check" target. The system "awk" is bad on
6989
+AC_REQUIRE([AC_PROG_AWK])dnl
6990
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
6991
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
6992
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
6993
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
6994
+ [_AM_PROG_TAR([v7])])])
6995
+_AM_IF_OPTION([no-dependencies],,
6996
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
6997
+ [_AM_DEPENDENCIES(CC)],
6998
+ [define([AC_PROG_CC],
6999
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
7000
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
7001
+ [_AM_DEPENDENCIES(CXX)],
7002
+ [define([AC_PROG_CXX],
7003
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
7008
+# When config.status generates a header, we must update the stamp-h file.
7009
+# This file resides in the same directory as the config header
7010
+# that is generated. The stamp files are numbered to have different names.
7012
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
7013
+# loop where config.status creates the headers, so we can generate
7014
+# our stamp files there.
7015
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
7016
+[# Compute $1's index in $config_headers.
7018
+for _am_header in $config_headers :; do
7019
+ case $_am_header in
7023
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7026
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
7028
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7030
+# This file is free software; the Free Software Foundation
7031
+# gives unlimited permission to copy and/or distribute it,
7032
+# with or without modifications, as long as this notice is preserved.
7034
+# AM_PROG_INSTALL_SH
7035
+# ------------------
7036
+# Define $install_sh.
7037
+AC_DEFUN([AM_PROG_INSTALL_SH],
7038
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
7039
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
7040
+AC_SUBST(install_sh)])
7042
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
7044
+# This file is free software; the Free Software Foundation
7045
+# gives unlimited permission to copy and/or distribute it,
7046
+# with or without modifications, as long as this notice is preserved.
7050
+# Check whether the underlying file-system supports filenames
7051
+# with a leading dot. For instance MS-DOS doesn't.
7052
+AC_DEFUN([AM_SET_LEADING_DOT],
7053
+[rm -rf .tst 2>/dev/null
7054
+mkdir .tst 2>/dev/null
7055
+if test -d .tst; then
7060
+rmdir .tst 2>/dev/null
7061
+AC_SUBST([am__leading_dot])])
7063
+# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
7064
+# From Jim Meyering
7066
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
7067
+# Free Software Foundation, Inc.
7069
+# This file is free software; the Free Software Foundation
7070
+# gives unlimited permission to copy and/or distribute it,
7071
+# with or without modifications, as long as this notice is preserved.
7075
+AC_DEFUN([AM_MAINTAINER_MODE],
7076
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
7077
+ dnl maintainer-mode is disabled by default
7078
+ AC_ARG_ENABLE(maintainer-mode,
7079
+[ --enable-maintainer-mode enable make rules and dependencies not useful
7080
+ (and sometimes confusing) to the casual installer],
7081
+ USE_MAINTAINER_MODE=$enableval,
7082
+ USE_MAINTAINER_MODE=no)
7083
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
7084
+ AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
7085
+ MAINT=$MAINTAINER_MODE_TRUE
7086
+ AC_SUBST(MAINT)dnl
7090
+AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
7092
+# Check to see how 'make' treats includes. -*- Autoconf -*-
7094
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
7096
+# This file is free software; the Free Software Foundation
7097
+# gives unlimited permission to copy and/or distribute it,
7098
+# with or without modifications, as long as this notice is preserved.
7102
+# AM_MAKE_INCLUDE()
7103
+# -----------------
7104
+# Check to see how make treats includes.
7105
+AC_DEFUN([AM_MAKE_INCLUDE],
7106
+[am_make=${MAKE-make}
7107
+cat > confinc << 'END'
7112
+# If we don't find an include directive, just comment out the code.
7113
+AC_MSG_CHECKING([for style of include used by $am_make])
7117
+# First try GNU make style include.
7118
+echo "include confinc" > confmf
7119
+# We grep out `Entering directory' and `Leaving directory'
7120
+# messages which can occur if `w' ends up in MAKEFLAGS.
7121
+# In particular we don't look at `^make:' because GNU make might
7122
+# be invoked under some other name (usually "gmake"), in which
7123
+# case it prints its new name instead of `make'.
7124
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
7125
+ am__include=include
7129
+# Now try BSD make style include.
7130
+if test "$am__include" = "#"; then
7131
+ echo '.include "confinc"' > confmf
7132
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
7133
+ am__include=.include
7138
+AC_SUBST([am__include])
7139
+AC_SUBST([am__quote])
7140
+AC_MSG_RESULT([$_am_result])
7141
+rm -f confinc confmf
7144
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
7146
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
7147
+# Free Software Foundation, Inc.
7149
+# This file is free software; the Free Software Foundation
7150
+# gives unlimited permission to copy and/or distribute it,
7151
+# with or without modifications, as long as this notice is preserved.
7155
+# AM_MISSING_PROG(NAME, PROGRAM)
7156
+# ------------------------------
7157
+AC_DEFUN([AM_MISSING_PROG],
7158
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
7159
+$1=${$1-"${am_missing_run}$2"}
7163
+# AM_MISSING_HAS_RUN
7164
+# ------------------
7165
+# Define MISSING if not defined so far and test if it supports --run.
7166
+# If it does, set am_missing_run to use it, otherwise, to nothing.
7167
+AC_DEFUN([AM_MISSING_HAS_RUN],
7168
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
7169
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7170
+# Use eval to expand $SHELL
7171
+if eval "$MISSING --run true"; then
7172
+ am_missing_run="$MISSING --run "
7175
+ AC_MSG_WARN([`missing' script is too old or missing])
7179
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
7181
+# This file is free software; the Free Software Foundation
7182
+# gives unlimited permission to copy and/or distribute it,
7183
+# with or without modifications, as long as this notice is preserved.
7187
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
7189
+# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
7190
+# created by `make install' are always world readable, even if the
7191
+# installer happens to have an overly restrictive umask (e.g. 077).
7192
+# This was a mistake. There are at least two reasons why we must not
7194
+# - it causes special bits like SGID to be ignored,
7195
+# - it may be too restrictive (some setups expect 775 directories).
7197
+# Do not use -m 0755 and let people choose whatever they expect by
7200
+# We cannot accept any implementation of `mkdir' that recognizes `-p'.
7201
+# Some implementations (such as Solaris 8's) are not thread-safe: if a
7202
+# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
7203
+# concurrently, both version can detect that a/ is missing, but only
7204
+# one can create it and the other will error out. Consequently we
7205
+# restrict ourselves to GNU make (using the --version option ensures
7207
+AC_DEFUN([AM_PROG_MKDIR_P],
7208
+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7209
+ # We used to keeping the `.' as first argument, in order to
7210
+ # allow $(mkdir_p) to be used without argument. As in
7211
+ # $(mkdir_p) $(somedir)
7212
+ # where $(somedir) is conditionally defined. However this is wrong
7213
+ # for two reasons:
7214
+ # 1. if the package is installed by a user who cannot write `.'
7215
+ # make install will fail,
7216
+ # 2. the above comment should most certainly read
7217
+ # $(mkdir_p) $(DESTDIR)$(somedir)
7218
+ # so it does not work when $(somedir) is undefined and
7219
+ # $(DESTDIR) is not.
7220
+ # To support the latter case, we have to write
7221
+ # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7222
+ # so the `.' trick is pointless.
7223
+ mkdir_p='mkdir -p --'
7225
+ # On NextStep and OpenStep, the `mkdir' command does not
7226
+ # recognize any option. It will interpret all options as
7227
+ # directories to create, and then abort because `.' already
7229
+ for d in ./-p ./--version;
7231
+ test -d $d && rmdir $d
7233
+ # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7234
+ if test -f "$ac_aux_dir/mkinstalldirs"; then
7235
+ mkdir_p='$(mkinstalldirs)'
7237
+ mkdir_p='$(install_sh) -d'
7240
+AC_SUBST([mkdir_p])])
7242
+# Helper functions for option handling. -*- Autoconf -*-
7244
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
7246
+# This file is free software; the Free Software Foundation
7247
+# gives unlimited permission to copy and/or distribute it,
7248
+# with or without modifications, as long as this notice is preserved.
7252
+# _AM_MANGLE_OPTION(NAME)
7253
+# -----------------------
7254
+AC_DEFUN([_AM_MANGLE_OPTION],
7255
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
7257
+# _AM_SET_OPTION(NAME)
7258
+# ------------------------------
7259
+# Set option NAME. Presently that only means defining a flag for this option.
7260
+AC_DEFUN([_AM_SET_OPTION],
7261
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
7263
+# _AM_SET_OPTIONS(OPTIONS)
7264
+# ----------------------------------
7265
+# OPTIONS is a space-separated list of Automake options.
7266
+AC_DEFUN([_AM_SET_OPTIONS],
7267
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
7269
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
7270
+# -------------------------------------------
7271
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
7272
+AC_DEFUN([_AM_IF_OPTION],
7273
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
7275
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
7277
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
7278
+# Free Software Foundation, Inc.
7280
+# This file is free software; the Free Software Foundation
7281
+# gives unlimited permission to copy and/or distribute it,
7282
+# with or without modifications, as long as this notice is preserved.
7288
+AC_DEFUN([AM_SANITY_CHECK],
7289
+[AC_MSG_CHECKING([whether build environment is sane])
7292
+echo timestamp > conftest.file
7293
+# Do `set' in a subshell so we don't clobber the current shell's
7294
+# arguments. Must try -L first in case configure is actually a
7295
+# symlink; some systems play weird games with the mod time of symlinks
7296
+# (eg FreeBSD returns the mod time of the symlink's containing
7299
+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
7300
+ if test "$[*]" = "X"; then
7302
+ set X `ls -t $srcdir/configure conftest.file`
7304
+ rm -f conftest.file
7305
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
7306
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
7308
+ # If neither matched, then we have a broken ls. This can happen
7309
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
7310
+ # broken ls alias from the environment. This has actually
7311
+ # happened. Such a system could not be considered "sane".
7312
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
7313
+alias in your environment])
7316
+ test "$[2]" = conftest.file
7322
+ AC_MSG_ERROR([newly created file is older than distributed files!
7323
+Check your system clock])
7325
+AC_MSG_RESULT(yes)])
7327
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7329
+# This file is free software; the Free Software Foundation
7330
+# gives unlimited permission to copy and/or distribute it,
7331
+# with or without modifications, as long as this notice is preserved.
7333
+# AM_PROG_INSTALL_STRIP
7334
+# ---------------------
7335
+# One issue with vendor `install' (even GNU) is that you can't
7336
+# specify the program used to strip binaries. This is especially
7337
+# annoying in cross-compiling environments, where the build's strip
7338
+# is unlikely to handle the host's binaries.
7339
+# Fortunately install-sh will honor a STRIPPROG variable, so we
7340
+# always use install-sh in `make install-strip', and initialize
7341
+# STRIPPROG with the value of the STRIP variable (set by the user).
7342
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
7343
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
7344
+# Installed binaries are usually stripped using `strip' when the user
7345
+# run `make install-strip'. However `strip' might not be the right
7346
+# tool to use in cross-compilation environments, therefore Automake
7347
+# will honor the `STRIP' environment variable to overrule this program.
7348
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
7349
+if test "$cross_compiling" != no; then
7350
+ AC_CHECK_TOOL([STRIP], [strip], :)
7352
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7353
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
7355
+# Check how to create a tarball. -*- Autoconf -*-
7357
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
7359
+# This file is free software; the Free Software Foundation
7360
+# gives unlimited permission to copy and/or distribute it,
7361
+# with or without modifications, as long as this notice is preserved.
7365
+# _AM_PROG_TAR(FORMAT)
7366
+# --------------------
7367
+# Check how to create a tarball in format FORMAT.
7368
+# FORMAT should be one of `v7', `ustar', or `pax'.
7370
+# Substitute a variable $(am__tar) that is a command
7371
+# writing to stdout a FORMAT-tarball containing the directory
7373
+# tardir=directory && $(am__tar) > result.tar
7375
+# Substitute a variable $(am__untar) that extract such
7376
+# a tarball read from stdin.
7377
+# $(am__untar) < result.tar
7378
+AC_DEFUN([_AM_PROG_TAR],
7379
+[# Always define AMTAR for backward compatibility.
7380
+AM_MISSING_PROG([AMTAR], [tar])
7382
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
7383
+ [m4_case([$1], [ustar],, [pax],,
7384
+ [m4_fatal([Unknown tar format])])
7385
+AC_MSG_CHECKING([how to create a $1 tar archive])
7386
+# Loop over all known methods to create a tar archive until one works.
7387
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
7388
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
7389
+# Do not fold the above two line into one, because Tru64 sh and
7390
+# Solaris sh will not grok spaces in the rhs of `-'.
7391
+for _am_tool in $_am_tools
7395
+ for _am_tar in tar gnutar gtar;
7397
+ AM_RUN_LOG([$_am_tar --version]) && break
7399
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
7400
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
7401
+ am__untar="$_am_tar -xf -"
7404
+ # Must skip GNU tar: if it does not support --format= it doesn't create
7405
+ # ustar tarball either.
7406
+ (tar --version) >/dev/null 2>&1 && continue
7407
+ am__tar='tar chf - "$$tardir"'
7408
+ am__tar_='tar chf - "$tardir"'
7409
+ am__untar='tar xf -'
7412
+ am__tar='pax -L -x $1 -w "$$tardir"'
7413
+ am__tar_='pax -L -x $1 -w "$tardir"'
7414
+ am__untar='pax -r'
7417
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
7418
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
7419
+ am__untar='cpio -i -H $1 -d'
7428
+ # If the value was cached, stop now. We just wanted to have am__tar
7429
+ # and am__untar set.
7430
+ test -n "${am_cv_prog_tar_$1}" && break
7432
+ # tar/untar a dummy directory, and stop if the command works
7433
+ rm -rf conftest.dir
7434
+ mkdir conftest.dir
7435
+ echo GrepMe > conftest.dir/file
7436
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
7437
+ rm -rf conftest.dir
7438
+ if test -s conftest.tar; then
7439
+ AM_RUN_LOG([$am__untar <conftest.tar])
7440
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
7443
+rm -rf conftest.dir
7445
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
7446
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
7447
+AC_SUBST([am__tar])
7448
+AC_SUBST([am__untar])
7451
diff -Nur plugins-main/config.guess plugins-main.new/config.guess
7452
--- plugins-main/config.guess 1970-01-01 01:00:00.000000000 +0100
7453
+++ plugins-main.new/config.guess 2007-06-08 18:39:01.000000000 +0200
7456
+# Attempt to guess a canonical system name.
7457
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
7458
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
7461
+timestamp='2007-03-06'
7463
+# This file is free software; you can redistribute it and/or modify it
7464
+# under the terms of the GNU General Public License as published by
7465
+# the Free Software Foundation; either version 2 of the License, or
7466
+# (at your option) any later version.
7468
+# This program is distributed in the hope that it will be useful, but
7469
+# WITHOUT ANY WARRANTY; without even the implied warranty of
7470
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7471
+# General Public License for more details.
7473
+# You should have received a copy of the GNU General Public License
7474
+# along with this program; if not, write to the Free Software
7475
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
7478
+# As a special exception to the GNU General Public License, if you
7479
+# distribute this file as part of a program that contains a
7480
+# configuration script generated by Autoconf, you may include it under
7481
+# the same distribution terms that you use for the rest of that program.
7484
+# Originally written by Per Bothner <per@bothner.com>.
7485
+# Please send patches to <config-patches@gnu.org>. Submit a context
7486
+# diff and a properly formatted ChangeLog entry.
7488
+# This script attempts to guess a canonical system name similar to
7489
+# config.sub. If it succeeds, it prints the system name on stdout, and
7490
+# exits with 0. Otherwise, it exits with 1.
7492
+# The plan is that this can be called by configure scripts if you
7493
+# don't specify an explicit build system type.
7495
+me=`echo "$0" | sed -e 's,.*/,,'`
7500
+Output the configuration name of the system \`$me' is run on.
7503
+ -h, --help print this help, then exit
7504
+ -t, --time-stamp print date of last modification, then exit
7505
+ -v, --version print version number, then exit
7507
+Report bugs and patches to <config-patches@gnu.org>."
7510
+GNU config.guess ($timestamp)
7512
+Originally written by Per Bothner.
7513
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
7514
+Free Software Foundation, Inc.
7516
+This is free software; see the source for copying conditions. There is NO
7517
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
7520
+Try \`$me --help' for more information."
7522
+# Parse command line
7523
+while test $# -gt 0 ; do
7525
+ --time-stamp | --time* | -t )
7526
+ echo "$timestamp" ; exit ;;
7528
+ echo "$version" ; exit ;;
7529
+ --help | --h* | -h )
7530
+ echo "$usage"; exit ;;
7531
+ -- ) # Stop option processing
7533
+ - ) # Use stdin as input.
7536
+ echo "$me: invalid option $1$help" >&2
7543
+if test $# != 0; then
7544
+ echo "$me: too many arguments$help" >&2
7548
+trap 'exit 1' 1 2 15
7550
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
7551
+# compiler to aid in system detection is discouraged as it requires
7552
+# temporary files to be created and, as you can see below, it is a
7553
+# headache to deal with in a portable fashion.
7555
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
7556
+# use `HOST_CC' if defined, but it is deprecated.
7558
+# Portable tmp directory creation inspired by the Autoconf team.
7561
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
7562
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
7564
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
7565
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
7566
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
7567
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
7569
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
7570
+case $CC_FOR_BUILD,$HOST_CC,$CC in
7571
+ ,,) echo "int x;" > $dummy.c ;
7572
+ for c in cc gcc c89 c99 ; do
7573
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
7574
+ CC_FOR_BUILD="$c"; break ;
7577
+ if test x"$CC_FOR_BUILD" = x ; then
7578
+ CC_FOR_BUILD=no_compiler_found ;
7581
+ ,,*) CC_FOR_BUILD=$CC ;;
7582
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
7583
+esac ; set_cc_for_build= ;'
7585
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
7586
+# (ghazi@noc.rutgers.edu 1994-08-24)
7587
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
7588
+ PATH=$PATH:/.attbin ; export PATH
7591
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
7592
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
7593
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
7594
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
7596
+# Note: order is significant - the case branches are not exclusive.
7598
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
7600
+ # NetBSD (nbsd) targets should (where applicable) match one or
7601
+ # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
7602
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
7603
+ # switched to ELF, *-*-netbsd* would select the old
7604
+ # object file format. This provides both forward
7605
+ # compatibility and a consistent mechanism for selecting the
7606
+ # object file format.
7608
+ # Note: NetBSD doesn't particularly care about the vendor
7609
+ # portion of the name. We always set it to "unknown".
7610
+ sysctl="sysctl -n hw.machine_arch"
7611
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
7612
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
7613
+ case "${UNAME_MACHINE_ARCH}" in
7614
+ armeb) machine=armeb-unknown ;;
7615
+ arm*) machine=arm-unknown ;;
7616
+ sh3el) machine=shl-unknown ;;
7617
+ sh3eb) machine=sh-unknown ;;
7618
+ sh5el) machine=sh5le-unknown ;;
7619
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
7621
+ # The Operating System including object format, if it has switched
7622
+ # to ELF recently, or will in the future.
7623
+ case "${UNAME_MACHINE_ARCH}" in
7624
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
7625
+ eval $set_cc_for_build
7626
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
7627
+ | grep __ELF__ >/dev/null
7629
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
7630
+ # Return netbsd for either. FIX?
7641
+ # Debian GNU/NetBSD machines have a different userland, and
7642
+ # thus, need a distinct triplet. However, they do not need
7643
+ # kernel version information, so it can be replaced with a
7644
+ # suitable tag, in the style of linux-gnu.
7645
+ case "${UNAME_VERSION}" in
7650
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
7653
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
7654
+ # contains redundant information, the shorter form:
7655
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
7656
+ echo "${machine}-${os}${release}"
7659
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
7660
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
7663
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
7666
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
7668
+ macppc:MirBSD:*:*)
7669
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
7672
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
7675
+ case $UNAME_RELEASE in
7677
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
7680
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
7683
+ # According to Compaq, /usr/sbin/psrinfo has been available on
7684
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
7685
+ # covers most systems running today. This code pipes the CPU
7686
+ # types through head -n 1, so we only detect the type of CPU 0.
7687
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
7688
+ case "$ALPHA_CPU_TYPE" in
7690
+ UNAME_MACHINE="alpha" ;;
7692
+ UNAME_MACHINE="alpha" ;;
7693
+ "LCA4 (21066/21068)")
7694
+ UNAME_MACHINE="alpha" ;;
7696
+ UNAME_MACHINE="alphaev5" ;;
7698
+ UNAME_MACHINE="alphaev56" ;;
7699
+ "EV5.6 (21164PC)")
7700
+ UNAME_MACHINE="alphapca56" ;;
7701
+ "EV5.7 (21164PC)")
7702
+ UNAME_MACHINE="alphapca57" ;;
7704
+ UNAME_MACHINE="alphaev6" ;;
7706
+ UNAME_MACHINE="alphaev67" ;;
7707
+ "EV6.8CB (21264C)")
7708
+ UNAME_MACHINE="alphaev68" ;;
7709
+ "EV6.8AL (21264B)")
7710
+ UNAME_MACHINE="alphaev68" ;;
7711
+ "EV6.8CX (21264D)")
7712
+ UNAME_MACHINE="alphaev68" ;;
7713
+ "EV6.9A (21264/EV69A)")
7714
+ UNAME_MACHINE="alphaev69" ;;
7716
+ UNAME_MACHINE="alphaev7" ;;
7718
+ UNAME_MACHINE="alphaev79" ;;
7720
+ # A Pn.n version is a patched version.
7721
+ # A Vn.n version is a released version.
7722
+ # A Tn.n version is a released field test version.
7723
+ # A Xn.n version is an unreleased experimental baselevel.
7724
+ # 1.2 uses "1.2" for uname -r.
7725
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
7727
+ Alpha\ *:Windows_NT*:*)
7728
+ # How do we know it's Interix rather than the generic POSIX subsystem?
7729
+ # Should we change UNAME_MACHINE based on the output of uname instead
7730
+ # of the specific Alpha model?
7731
+ echo alpha-pc-interix
7733
+ 21064:Windows_NT:50:3)
7734
+ echo alpha-dec-winnt3.5
7736
+ Amiga*:UNIX_System_V:4.0:*)
7737
+ echo m68k-unknown-sysv4
7739
+ *:[Aa]miga[Oo][Ss]:*:*)
7740
+ echo ${UNAME_MACHINE}-unknown-amigaos
7742
+ *:[Mm]orph[Oo][Ss]:*:*)
7743
+ echo ${UNAME_MACHINE}-unknown-morphos
7746
+ echo i370-ibm-openedition
7749
+ echo s390-ibm-zvmoe
7752
+ echo powerpc-ibm-os400
7754
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
7755
+ echo arm-acorn-riscix${UNAME_RELEASE}
7757
+ arm:riscos:*:*|arm:RISCOS:*:*)
7758
+ echo arm-unknown-riscos
7760
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
7761
+ echo hppa1.1-hitachi-hiuxmpp
7763
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
7764
+ # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
7765
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
7766
+ echo pyramid-pyramid-sysv3
7768
+ echo pyramid-pyramid-bsd
7772
+ echo pyramid-pyramid-svr4
7774
+ DRS?6000:unix:4.0:6*)
7775
+ echo sparc-icl-nx6
7777
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
7778
+ case `/usr/bin/uname -p` in
7779
+ sparc) echo sparc-icl-nx7; exit ;;
7781
+ sun4H:SunOS:5.*:*)
7782
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7784
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
7785
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7787
+ i86pc:SunOS:5.*:*)
7788
+ echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7791
+ # According to config.sub, this is the proper way to canonicalize
7792
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
7793
+ # it's likely to be more like Solaris than SunOS4.
7794
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
7797
+ case "`/usr/bin/arch -k`" in
7799
+ UNAME_RELEASE=`uname -v`
7802
+ # Japanese Language versions have a version number like `4.1.3-JL'.
7803
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
7806
+ echo m68k-sun-sunos${UNAME_RELEASE}
7809
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
7810
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
7811
+ case "`/bin/arch`" in
7813
+ echo m68k-sun-sunos${UNAME_RELEASE}
7816
+ echo sparc-sun-sunos${UNAME_RELEASE}
7821
+ echo sparc-auspex-sunos${UNAME_RELEASE}
7823
+ # The situation for MiNT is a little confusing. The machine name
7824
+ # can be virtually everything (everything which is not
7825
+ # "atarist" or "atariste" at least should have a processor
7826
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
7827
+ # to the lowercase version "mint" (or "freemint"). Finally
7828
+ # the system name "TOS" denotes a system which is actually not
7829
+ # MiNT. But MiNT is downward compatible to TOS, so this should
7831
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
7832
+ echo m68k-atari-mint${UNAME_RELEASE}
7834
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
7835
+ echo m68k-atari-mint${UNAME_RELEASE}
7837
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
7838
+ echo m68k-atari-mint${UNAME_RELEASE}
7840
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
7841
+ echo m68k-milan-mint${UNAME_RELEASE}
7843
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
7844
+ echo m68k-hades-mint${UNAME_RELEASE}
7846
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
7847
+ echo m68k-unknown-mint${UNAME_RELEASE}
7850
+ echo m68k-apple-machten${UNAME_RELEASE}
7852
+ powerpc:machten:*:*)
7853
+ echo powerpc-apple-machten${UNAME_RELEASE}
7856
+ echo mips-dec-mach_bsd4.3
7859
+ echo mips-dec-ultrix${UNAME_RELEASE}
7862
+ echo vax-dec-ultrix${UNAME_RELEASE}
7864
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
7865
+ echo clipper-intergraph-clix${UNAME_RELEASE}
7867
+ mips:*:*:UMIPS | mips:*:*:RISCos)
7868
+ eval $set_cc_for_build
7869
+ sed 's/^ //' << EOF >$dummy.c
7871
+#include <stdio.h> /* for printf() prototype */
7872
+ int main (int argc, char *argv[]) {
7874
+ int main (argc, argv) int argc; char *argv[]; {
7876
+ #if defined (host_mips) && defined (MIPSEB)
7877
+ #if defined (SYSTYPE_SYSV)
7878
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
7880
+ #if defined (SYSTYPE_SVR4)
7881
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
7883
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
7884
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
7890
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
7891
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
7892
+ SYSTEM_NAME=`$dummy $dummyarg` &&
7893
+ { echo "$SYSTEM_NAME"; exit; }
7894
+ echo mips-mips-riscos${UNAME_RELEASE}
7896
+ Motorola:PowerMAX_OS:*:*)
7897
+ echo powerpc-motorola-powermax
7899
+ Motorola:*:4.3:PL8-*)
7900
+ echo powerpc-harris-powermax
7902
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
7903
+ echo powerpc-harris-powermax
7905
+ Night_Hawk:Power_UNIX:*:*)
7906
+ echo powerpc-harris-powerunix
7909
+ echo m88k-harris-cxux7
7912
+ echo m88k-motorola-sysv4
7915
+ echo m88k-motorola-sysv3
7918
+ # DG/UX returns AViiON for all architectures
7919
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
7920
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
7922
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
7923
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
7925
+ echo m88k-dg-dgux${UNAME_RELEASE}
7927
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
7930
+ echo i586-dg-dgux${UNAME_RELEASE}
7933
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
7934
+ echo m88k-dolphin-sysv3
7937
+ # Delta 88k system running SVR3
7938
+ echo m88k-motorola-sysv3
7940
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
7941
+ echo m88k-tektronix-sysv3
7943
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
7944
+ echo m68k-tektronix-bsd
7947
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
7949
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
7950
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
7951
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
7956
+ if [ -x /usr/bin/oslevel ] ; then
7957
+ IBM_REV=`/usr/bin/oslevel`
7959
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
7961
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
7964
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
7965
+ eval $set_cc_for_build
7966
+ sed 's/^ //' << EOF >$dummy.c
7967
+ #include <sys/systemcfg.h>
7971
+ if (!__power_pc())
7973
+ puts("powerpc-ibm-aix3.2.5");
7977
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
7979
+ echo "$SYSTEM_NAME"
7981
+ echo rs6000-ibm-aix3.2.5
7983
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
7984
+ echo rs6000-ibm-aix3.2.4
7986
+ echo rs6000-ibm-aix3.2
7990
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
7991
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
7996
+ if [ -x /usr/bin/oslevel ] ; then
7997
+ IBM_REV=`/usr/bin/oslevel`
7999
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
8001
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
8004
+ echo rs6000-ibm-aix
8006
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
8007
+ echo romp-ibm-bsd4.4
8009
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
8010
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
8011
+ exit ;; # report: romp-ibm BSD 4.3
8013
+ echo rs6000-bull-bosx
8015
+ DPX/2?00:B.O.S.:*:*)
8016
+ echo m68k-bull-sysv3
8018
+ 9000/[34]??:4.3bsd:1.*:*)
8021
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
8022
+ echo m68k-hp-bsd4.4
8024
+ 9000/[34678]??:HP-UX:*:*)
8025
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
8026
+ case "${UNAME_MACHINE}" in
8027
+ 9000/31? ) HP_ARCH=m68000 ;;
8028
+ 9000/[34]?? ) HP_ARCH=m68k ;;
8029
+ 9000/[678][0-9][0-9])
8030
+ if [ -x /usr/bin/getconf ]; then
8031
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
8032
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
8033
+ case "${sc_cpu_version}" in
8034
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
8035
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
8036
+ 532) # CPU_PA_RISC2_0
8037
+ case "${sc_kernel_bits}" in
8038
+ 32) HP_ARCH="hppa2.0n" ;;
8039
+ 64) HP_ARCH="hppa2.0w" ;;
8040
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
8044
+ if [ "${HP_ARCH}" = "" ]; then
8045
+ eval $set_cc_for_build
8046
+ sed 's/^ //' << EOF >$dummy.c
8048
+ #define _HPUX_SOURCE
8049
+ #include <stdlib.h>
8050
+ #include <unistd.h>
8054
+ #if defined(_SC_KERNEL_BITS)
8055
+ long bits = sysconf(_SC_KERNEL_BITS);
8057
+ long cpu = sysconf (_SC_CPU_VERSION);
8061
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
8062
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
8063
+ case CPU_PA_RISC2_0:
8064
+ #if defined(_SC_KERNEL_BITS)
8067
+ case 64: puts ("hppa2.0w"); break;
8068
+ case 32: puts ("hppa2.0n"); break;
8069
+ default: puts ("hppa2.0"); break;
8071
+ #else /* !defined(_SC_KERNEL_BITS) */
8072
+ puts ("hppa2.0"); break;
8074
+ default: puts ("hppa1.0"); break;
8079
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
8080
+ test -z "$HP_ARCH" && HP_ARCH=hppa
8083
+ if [ ${HP_ARCH} = "hppa2.0w" ]
8085
+ eval $set_cc_for_build
8087
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
8088
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
8089
+ # generating 64-bit code. GNU and HP use different nomenclature:
8091
+ # $ CC_FOR_BUILD=cc ./config.guess
8092
+ # => hppa2.0w-hp-hpux11.23
8093
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
8094
+ # => hppa64-hp-hpux11.23
8096
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
8097
+ grep __LP64__ >/dev/null
8099
+ HP_ARCH="hppa2.0w"
8104
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
8107
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
8108
+ echo ia64-hp-hpux${HPUX_REV}
8111
+ eval $set_cc_for_build
8112
+ sed 's/^ //' << EOF >$dummy.c
8113
+ #include <unistd.h>
8117
+ long cpu = sysconf (_SC_CPU_VERSION);
8118
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
8119
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
8120
+ results, however. */
8121
+ if (CPU_IS_PA_RISC (cpu))
8125
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
8126
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
8127
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
8128
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
8131
+ else if (CPU_IS_HP_MC68K (cpu))
8132
+ puts ("m68k-hitachi-hiuxwe2");
8133
+ else puts ("unknown-hitachi-hiuxwe2");
8137
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
8138
+ { echo "$SYSTEM_NAME"; exit; }
8139
+ echo unknown-hitachi-hiuxwe2
8141
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
8142
+ echo hppa1.1-hp-bsd
8144
+ 9000/8??:4.3bsd:*:*)
8145
+ echo hppa1.0-hp-bsd
8147
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
8148
+ echo hppa1.0-hp-mpeix
8150
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
8151
+ echo hppa1.1-hp-osf
8154
+ echo hppa1.0-hp-osf
8157
+ if [ -x /usr/sbin/sysversion ] ; then
8158
+ echo ${UNAME_MACHINE}-unknown-osf1mk
8160
+ echo ${UNAME_MACHINE}-unknown-osf1
8163
+ parisc*:Lites*:*:*)
8164
+ echo hppa1.1-hp-lites
8166
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
8167
+ echo c1-convex-bsd
8169
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
8170
+ if getsysinfo -f scalar_acc
8171
+ then echo c32-convex-bsd
8172
+ else echo c2-convex-bsd
8175
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
8176
+ echo c34-convex-bsd
8178
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
8179
+ echo c38-convex-bsd
8181
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
8182
+ echo c4-convex-bsd
8185
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
8187
+ CRAY*[A-Z]90:*:*:*)
8188
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
8189
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
8190
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
8191
+ -e 's/\.[^.]*$/.X/'
8194
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
8197
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
8200
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
8203
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
8205
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
8206
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
8207
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
8208
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
8209
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
8211
+ 5000:UNIX_System_V:4.*:*)
8212
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
8213
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
8214
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
8216
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
8217
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
8219
+ sparc*:BSD/OS:*:*)
8220
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
8223
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
8226
+ case ${UNAME_MACHINE} in
8228
+ echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
8230
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
8232
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
8236
+ echo ${UNAME_MACHINE}-pc-cygwin
8239
+ echo ${UNAME_MACHINE}-pc-mingw32
8242
+ # uname -m includes "-pc" on this system.
8243
+ echo ${UNAME_MACHINE}-mingw32
8246
+ echo ${UNAME_MACHINE}-pc-pw32
8248
+ *:Interix*:[3456]*)
8249
+ case ${UNAME_MACHINE} in
8251
+ echo i586-pc-interix${UNAME_RELEASE}
8253
+ EM64T | authenticamd)
8254
+ echo x86_64-unknown-interix${UNAME_RELEASE}
8257
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
8258
+ echo i${UNAME_MACHINE}-pc-mks
8260
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
8261
+ # How do we know it's Interix rather than the generic POSIX subsystem?
8262
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
8263
+ # UNAME_MACHINE based on the output of uname instead of i386?
8264
+ echo i586-pc-interix
8267
+ echo ${UNAME_MACHINE}-pc-uwin
8269
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
8270
+ echo x86_64-unknown-cygwin
8273
+ echo powerpcle-unknown-cygwin
8275
+ prep*:SunOS:5.*:*)
8276
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
8280
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
8283
+ # other systems with GNU libc and userland
8284
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
8287
+ echo ${UNAME_MACHINE}-pc-minix
8290
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
8293
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
8296
+ echo cris-axis-linux-gnu
8298
+ crisv32:Linux:*:*)
8299
+ echo crisv32-axis-linux-gnu
8302
+ echo frv-unknown-linux-gnu
8305
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
8308
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
8311
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
8314
+ eval $set_cc_for_build
8315
+ sed 's/^ //' << EOF >$dummy.c
8319
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
8322
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
8329
+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
8334
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
8337
+ eval $set_cc_for_build
8338
+ sed 's/^ //' << EOF >$dummy.c
8342
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
8345
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
8352
+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
8357
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
8360
+ echo or32-unknown-linux-gnu
8363
+ echo powerpc-unknown-linux-gnu
8366
+ echo powerpc64-unknown-linux-gnu
8369
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
8370
+ EV5) UNAME_MACHINE=alphaev5 ;;
8371
+ EV56) UNAME_MACHINE=alphaev56 ;;
8372
+ PCA56) UNAME_MACHINE=alphapca56 ;;
8373
+ PCA57) UNAME_MACHINE=alphapca56 ;;
8374
+ EV6) UNAME_MACHINE=alphaev6 ;;
8375
+ EV67) UNAME_MACHINE=alphaev67 ;;
8376
+ EV68*) UNAME_MACHINE=alphaev68 ;;
8378
+ objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
8379
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
8380
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
8382
+ parisc:Linux:*:* | hppa:Linux:*:*)
8383
+ # Look for CPU level
8384
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
8385
+ PA7*) echo hppa1.1-unknown-linux-gnu ;;
8386
+ PA8*) echo hppa2.0-unknown-linux-gnu ;;
8387
+ *) echo hppa-unknown-linux-gnu ;;
8390
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
8391
+ echo hppa64-unknown-linux-gnu
8393
+ s390:Linux:*:* | s390x:Linux:*:*)
8394
+ echo ${UNAME_MACHINE}-ibm-linux
8397
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
8400
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
8402
+ sparc:Linux:*:* | sparc64:Linux:*:*)
8403
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
8406
+ echo ${UNAME_MACHINE}-dec-linux-gnu
8409
+ echo x86_64-unknown-linux-gnu
8412
+ echo xtensa-unknown-linux-gnu
8415
+ # The BFD linker knows what the default object file format is, so
8416
+ # first see if it will tell us. cd to the root directory to prevent
8417
+ # problems with other programs or directories called `ld' in the path.
8418
+ # Set LC_ALL=C to ensure ld outputs messages in English.
8419
+ ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
8420
+ | sed -ne '/supported targets:/!d
8422
+ s/.*supported targets: *//
8425
+ case "$ld_supported_targets" in
8427
+ TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
8430
+ echo "${UNAME_MACHINE}-pc-linux-gnuaout"
8433
+ echo "${UNAME_MACHINE}-pc-linux-gnucoff"
8436
+ # Either a pre-BFD a.out linker (linux-gnuoldld) or
8437
+ # one that does not give us useful --help.
8438
+ echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
8441
+ # Determine whether the default compiler is a.out or elf
8442
+ eval $set_cc_for_build
8443
+ sed 's/^ //' << EOF >$dummy.c
8444
+ #include <features.h>
8447
+ # if __GLIBC__ >= 2
8456
+ #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
8462
+ #ifdef __dietlibc__
8466
+ eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
8471
+ test x"${LIBC}" != x && {
8472
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
8475
+ test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
8477
+ i*86:DYNIX/ptx:4*:*)
8478
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
8479
+ # earlier versions are messed up and put the nodename in both
8480
+ # sysname and nodename.
8481
+ echo i386-sequent-sysv4
8483
+ i*86:UNIX_SV:4.2MP:2.*)
8484
+ # Unixware is an offshoot of SVR4, but it has its own version
8485
+ # number series starting with 2...
8486
+ # I am not positive that other SVR4 systems won't match this,
8487
+ # I just have to hope. -- rms.
8488
+ # Use sysv4.2uw... so that sysv4* matches it.
8489
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
8492
+ # If we were able to find `uname', then EMX Unix compatibility
8493
+ # is probably installed.
8494
+ echo ${UNAME_MACHINE}-pc-os2-emx
8496
+ i*86:XTS-300:*:STOP)
8497
+ echo ${UNAME_MACHINE}-unknown-stop
8500
+ echo ${UNAME_MACHINE}-unknown-atheos
8502
+ i*86:syllable:*:*)
8503
+ echo ${UNAME_MACHINE}-pc-syllable
8505
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
8506
+ echo i386-unknown-lynxos${UNAME_RELEASE}
8509
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
8511
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
8512
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
8513
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
8514
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
8516
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
8520
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
8521
+ case `/bin/uname -X | grep "^Machine"` in
8522
+ *486*) UNAME_MACHINE=i486 ;;
8523
+ *Pentium) UNAME_MACHINE=i586 ;;
8524
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
8526
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
8529
+ if test -f /usr/options/cb.name; then
8530
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
8531
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
8532
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
8533
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
8534
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
8535
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
8536
+ && UNAME_MACHINE=i586
8537
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
8538
+ && UNAME_MACHINE=i686
8539
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
8540
+ && UNAME_MACHINE=i686
8541
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
8543
+ echo ${UNAME_MACHINE}-pc-sysv32
8547
+ # Left here for compatibility:
8548
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
8549
+ # the processor, so we play safe by assuming i386.
8550
+ echo i386-pc-msdosdjgpp
8553
+ echo i386-pc-mach3
8556
+ echo i860-intel-osf1
8558
+ i860:*:4.*:*) # i860-SVR4
8559
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
8560
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
8561
+ else # Add other i860-SVR4 vendors below as they are discovered.
8562
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
8565
+ mini*:CTIX:SYS*5:*)
8567
+ echo m68010-convergent-sysv
8569
+ mc68k:UNIX:SYSTEM5:3.51m)
8570
+ echo m68k-convergent-sysv
8572
+ M680?0:D-NIX:5.3:*)
8573
+ echo m68k-diab-dnix
8575
+ M68*:*:R3V[5678]*:*)
8576
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
8577
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
8579
+ test -r /etc/.relid \
8580
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
8581
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
8582
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
8583
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
8584
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
8585
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
8586
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
8587
+ && { echo i486-ncr-sysv4; exit; } ;;
8588
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
8589
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
8591
+ mc68030:UNIX_System_V:4.*:*)
8592
+ echo m68k-atari-sysv4
8594
+ TSUNAMI:LynxOS:2.*:*)
8595
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
8597
+ rs6000:LynxOS:2.*:*)
8598
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
8600
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
8601
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
8603
+ SM[BE]S:UNIX_SV:*:*)
8604
+ echo mips-dde-sysv${UNAME_RELEASE}
8606
+ RM*:ReliantUNIX-*:*:*)
8607
+ echo mips-sni-sysv4
8610
+ echo mips-sni-sysv4
8613
+ if uname -p 2>/dev/null >/dev/null ; then
8614
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
8615
+ echo ${UNAME_MACHINE}-sni-sysv4
8617
+ echo ns32k-sni-sysv
8620
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
8621
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
8622
+ echo i586-unisys-sysv4
8624
+ *:UNIX_System_V:4*:FTX*)
8625
+ # From Gerald Hewes <hewes@openmarket.com>.
8626
+ # How about differentiating between stratus architectures? -djm
8627
+ echo hppa1.1-stratus-sysv4
8630
+ # From seanf@swdc.stratus.com.
8631
+ echo i860-stratus-sysv4
8634
+ # From Paul.Green@stratus.com.
8635
+ echo ${UNAME_MACHINE}-stratus-vos
8638
+ # From Paul.Green@stratus.com.
8639
+ echo hppa1.1-stratus-vos
8642
+ echo m68k-apple-aux${UNAME_RELEASE}
8644
+ news*:NEWS-OS:6*:*)
8645
+ echo mips-sony-newsos6
8647
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
8648
+ if [ -d /usr/nec ]; then
8649
+ echo mips-nec-sysv${UNAME_RELEASE}
8651
+ echo mips-unknown-sysv${UNAME_RELEASE}
8654
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
8655
+ echo powerpc-be-beos
8657
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
8658
+ echo powerpc-apple-beos
8660
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
8663
+ SX-4:SUPER-UX:*:*)
8664
+ echo sx4-nec-superux${UNAME_RELEASE}
8666
+ SX-5:SUPER-UX:*:*)
8667
+ echo sx5-nec-superux${UNAME_RELEASE}
8669
+ SX-6:SUPER-UX:*:*)
8670
+ echo sx6-nec-superux${UNAME_RELEASE}
8672
+ SX-7:SUPER-UX:*:*)
8673
+ echo sx7-nec-superux${UNAME_RELEASE}
8675
+ SX-8:SUPER-UX:*:*)
8676
+ echo sx8-nec-superux${UNAME_RELEASE}
8678
+ SX-8R:SUPER-UX:*:*)
8679
+ echo sx8r-nec-superux${UNAME_RELEASE}
8681
+ Power*:Rhapsody:*:*)
8682
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
8685
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
8688
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
8689
+ case $UNAME_PROCESSOR in
8690
+ unknown) UNAME_PROCESSOR=powerpc ;;
8692
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
8694
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
8695
+ UNAME_PROCESSOR=`uname -p`
8696
+ if test "$UNAME_PROCESSOR" = "x86"; then
8697
+ UNAME_PROCESSOR=i386
8700
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
8705
+ NSE-?:NONSTOP_KERNEL:*:*)
8706
+ echo nse-tandem-nsk${UNAME_RELEASE}
8708
+ NSR-?:NONSTOP_KERNEL:*:*)
8709
+ echo nsr-tandem-nsk${UNAME_RELEASE}
8712
+ echo mips-compaq-nonstopux
8714
+ BS2000:POSIX*:*:*)
8715
+ echo bs2000-siemens-sysv
8717
+ DS/*:UNIX_System_V:*:*)
8718
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
8721
+ # "uname -m" is not consistent, so use $cputype instead. 386
8722
+ # is converted to i386 for consistency with other x86
8723
+ # operating systems.
8724
+ if test "$cputype" = "386"; then
8725
+ UNAME_MACHINE=i386
8727
+ UNAME_MACHINE="$cputype"
8729
+ echo ${UNAME_MACHINE}-unknown-plan9
8732
+ echo pdp10-unknown-tops10
8735
+ echo pdp10-unknown-tenex
8737
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
8738
+ echo pdp10-dec-tops20
8740
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
8741
+ echo pdp10-xkl-tops20
8744
+ echo pdp10-unknown-tops20
8747
+ echo pdp10-unknown-its
8750
+ echo mips-sei-seiux${UNAME_RELEASE}
8753
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
8756
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
8757
+ case "${UNAME_MACHINE}" in
8758
+ A*) echo alpha-dec-vms ; exit ;;
8759
+ I*) echo ia64-dec-vms ; exit ;;
8760
+ V*) echo vax-dec-vms ; exit ;;
8763
+ echo i386-pc-xenix
8766
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
8769
+ echo ${UNAME_MACHINE}-pc-rdos
8773
+#echo '(No uname command or uname output not recognized.)' 1>&2
8774
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
8776
+eval $set_cc_for_build
8777
+cat >$dummy.c <<EOF
8779
+# include <sys/types.h>
8780
+# include <sys/utsname.h>
8785
+#if defined (MIPSEB)
8786
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
8787
+ I don't know.... */
8788
+ printf ("mips-sony-bsd\n"); exit (0);
8790
+#include <sys/param.h>
8791
+ printf ("m68k-sony-newsos%s\n",
8801
+#if defined (__arm) && defined (__acorn) && defined (__unix)
8802
+ printf ("arm-acorn-riscix\n"); exit (0);
8805
+#if defined (hp300) && !defined (hpux)
8806
+ printf ("m68k-hp-bsd\n"); exit (0);
8810
+#if !defined (__ARCHITECTURE__)
8811
+#define __ARCHITECTURE__ "m68k"
8814
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
8816
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
8818
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
8822
+#if defined (MULTIMAX) || defined (n16)
8823
+#if defined (UMAXV)
8824
+ printf ("ns32k-encore-sysv\n"); exit (0);
8827
+ printf ("ns32k-encore-mach\n"); exit (0);
8829
+ printf ("ns32k-encore-bsd\n"); exit (0);
8834
+#if defined (__386BSD__)
8835
+ printf ("i386-pc-bsd\n"); exit (0);
8838
+#if defined (sequent)
8840
+ printf ("i386-sequent-dynix\n"); exit (0);
8842
+#if defined (ns32000)
8843
+ printf ("ns32k-sequent-dynix\n"); exit (0);
8847
+#if defined (_SEQUENT_)
8848
+ struct utsname un;
8852
+ if (strncmp(un.version, "V2", 2) == 0) {
8853
+ printf ("i386-sequent-ptx2\n"); exit (0);
8855
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
8856
+ printf ("i386-sequent-ptx1\n"); exit (0);
8858
+ printf ("i386-sequent-ptx\n"); exit (0);
8863
+# if !defined (ultrix)
8864
+# include <sys/param.h>
8867
+ printf ("vax-dec-bsd4.3\n"); exit (0);
8870
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
8872
+ printf ("vax-dec-bsd\n"); exit (0);
8876
+ printf ("vax-dec-bsd\n"); exit (0);
8879
+ printf ("vax-dec-ultrix\n"); exit (0);
8883
+#if defined (alliant) && defined (i860)
8884
+ printf ("i860-alliant-bsd\n"); exit (0);
8891
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
8892
+ { echo "$SYSTEM_NAME"; exit; }
8894
+# Apollos put the system type in the environment.
8896
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
8898
+# Convex versions that predate uname can use getsysinfo(1)
8900
+if [ -x /usr/convex/getsysinfo ]
8902
+ case `getsysinfo -f cpu_type` in
8904
+ echo c1-convex-bsd
8907
+ if getsysinfo -f scalar_acc
8908
+ then echo c32-convex-bsd
8909
+ else echo c2-convex-bsd
8913
+ echo c34-convex-bsd
8916
+ echo c38-convex-bsd
8919
+ echo c4-convex-bsd
8925
+$0: unable to guess system type
8927
+This script, last modified $timestamp, has failed to recognize
8928
+the operating system you are using. It is advised that you
8929
+download the most up to date version of the config scripts from
8931
+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
8933
+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
8935
+If the version you run ($0) is already up to date, please
8936
+send the following data and any information you think might be
8937
+pertinent to <config-patches@gnu.org> in order to provide the needed
8938
+information to handle your system.
8940
+config.guess timestamp = $timestamp
8942
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
8943
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
8944
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
8945
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
8947
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
8948
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
8950
+hostinfo = `(hostinfo) 2>/dev/null`
8951
+/bin/universe = `(/bin/universe) 2>/dev/null`
8952
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
8953
+/bin/arch = `(/bin/arch) 2>/dev/null`
8954
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
8955
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
8957
+UNAME_MACHINE = ${UNAME_MACHINE}
8958
+UNAME_RELEASE = ${UNAME_RELEASE}
8959
+UNAME_SYSTEM = ${UNAME_SYSTEM}
8960
+UNAME_VERSION = ${UNAME_VERSION}
8966
+# eval: (add-hook 'write-file-hooks 'time-stamp)
8967
+# time-stamp-start: "timestamp='"
8968
+# time-stamp-format: "%:y-%02m-%02d"
8969
+# time-stamp-end: "'"
8971
diff -Nur plugins-main/config.h.in plugins-main.new/config.h.in
8972
--- plugins-main/config.h.in 1970-01-01 01:00:00.000000000 +0100
8973
+++ plugins-main.new/config.h.in 2007-06-08 18:39:01.000000000 +0200
8975
+/* config.h.in. Generated from configure.ac by autoheader. */
8977
+/* Define to 1 if you have the <dlfcn.h> header file. */
8978
+#undef HAVE_DLFCN_H
8980
+/* Define to 1 if you have the <inttypes.h> header file. */
8981
+#undef HAVE_INTTYPES_H
8983
+/* Define to 1 if you have the <memory.h> header file. */
8984
+#undef HAVE_MEMORY_H
8986
+/* Define to 1 if you have the <stdint.h> header file. */
8987
+#undef HAVE_STDINT_H
8989
+/* Define to 1 if you have the <stdlib.h> header file. */
8990
+#undef HAVE_STDLIB_H
8992
+/* Define to 1 if you have the <strings.h> header file. */
8993
+#undef HAVE_STRINGS_H
8995
+/* Define to 1 if you have the <string.h> header file. */
8996
+#undef HAVE_STRING_H
8998
+/* Define to 1 if you have the <sys/stat.h> header file. */
8999
+#undef HAVE_SYS_STAT_H
9001
+/* Define to 1 if you have the <sys/time.h> header file. */
9002
+#undef HAVE_SYS_TIME_H
9004
+/* Define to 1 if you have the <sys/types.h> header file. */
9005
+#undef HAVE_SYS_TYPES_H
9007
+/* Define to 1 if you have the <unistd.h> header file. */
9008
+#undef HAVE_UNISTD_H
9010
+/* Name of package */
9013
+/* Define to the address where bug reports for this package should be sent. */
9014
+#undef PACKAGE_BUGREPORT
9016
+/* Define to the full name of this package. */
9017
+#undef PACKAGE_NAME
9019
+/* Define to the full name and version of this package. */
9020
+#undef PACKAGE_STRING
9022
+/* Define to the one symbol short name of this package. */
9023
+#undef PACKAGE_TARNAME
9025
+/* Define to the version of this package. */
9026
+#undef PACKAGE_VERSION
9028
+/* Define to 1 if you have the ANSI C header files. */
9029
+#undef STDC_HEADERS
9031
+/* Build jpeg plugin */
9034
+/* Build resizeinfo plugin */
9035
+#undef USE_RESIZEINFO
9037
+/* Build gconf schemas */
9040
+/* Build text plugin */
9043
+/* Build wall plugin */
9046
+/* Version number of package */
9049
+/* Define to 1 if your processor stores words with the most significant byte
9050
+ first (like Motorola and SPARC, unlike Intel and VAX). */
9051
+#undef WORDS_BIGENDIAN
9052
diff -Nur plugins-main/config.sub plugins-main.new/config.sub
9053
--- plugins-main/config.sub 1970-01-01 01:00:00.000000000 +0100
9054
+++ plugins-main.new/config.sub 2007-06-08 18:39:01.000000000 +0200
9057
+# Configuration validation subroutine script.
9058
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
9059
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
9062
+timestamp='2007-01-18'
9064
+# This file is (in principle) common to ALL GNU software.
9065
+# The presence of a machine in this file suggests that SOME GNU software
9066
+# can handle that machine. It does not imply ALL GNU software can.
9068
+# This file is free software; you can redistribute it and/or modify
9069
+# it under the terms of the GNU General Public License as published by
9070
+# the Free Software Foundation; either version 2 of the License, or
9071
+# (at your option) any later version.
9073
+# This program is distributed in the hope that it will be useful,
9074
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
9075
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9076
+# GNU General Public License for more details.
9078
+# You should have received a copy of the GNU General Public License
9079
+# along with this program; if not, write to the Free Software
9080
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
9083
+# As a special exception to the GNU General Public License, if you
9084
+# distribute this file as part of a program that contains a
9085
+# configuration script generated by Autoconf, you may include it under
9086
+# the same distribution terms that you use for the rest of that program.
9089
+# Please send patches to <config-patches@gnu.org>. Submit a context
9090
+# diff and a properly formatted ChangeLog entry.
9092
+# Configuration subroutine to validate and canonicalize a configuration type.
9093
+# Supply the specified configuration type as an argument.
9094
+# If it is invalid, we print an error message on stderr and exit with code 1.
9095
+# Otherwise, we print the canonical config type on stdout and succeed.
9097
+# This file is supposed to be the same for all GNU packages
9098
+# and recognize all the CPU types, system types and aliases
9099
+# that are meaningful with *any* GNU software.
9100
+# Each package is responsible for reporting which valid configurations
9101
+# it does not support. The user should be able to distinguish
9102
+# a failure to support a valid configuration from a meaningless
9105
+# The goal of this file is to map all the various variations of a given
9106
+# machine specification into a single specification in the form:
9107
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
9108
+# or in some cases, the newer four-part form:
9109
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
9110
+# It is wrong to echo any other type of specification.
9112
+me=`echo "$0" | sed -e 's,.*/,,'`
9115
+Usage: $0 [OPTION] CPU-MFR-OPSYS
9118
+Canonicalize a configuration name.
9121
+ -h, --help print this help, then exit
9122
+ -t, --time-stamp print date of last modification, then exit
9123
+ -v, --version print version number, then exit
9125
+Report bugs and patches to <config-patches@gnu.org>."
9128
+GNU config.sub ($timestamp)
9130
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
9131
+Free Software Foundation, Inc.
9133
+This is free software; see the source for copying conditions. There is NO
9134
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
9137
+Try \`$me --help' for more information."
9139
+# Parse command line
9140
+while test $# -gt 0 ; do
9142
+ --time-stamp | --time* | -t )
9143
+ echo "$timestamp" ; exit ;;
9145
+ echo "$version" ; exit ;;
9146
+ --help | --h* | -h )
9147
+ echo "$usage"; exit ;;
9148
+ -- ) # Stop option processing
9150
+ - ) # Use stdin as input.
9153
+ echo "$me: invalid option $1$help"
9157
+ # First pass through any local machine types.
9167
+ 0) echo "$me: missing argument$help" >&2
9170
+ *) echo "$me: too many arguments$help" >&2
9174
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
9175
+# Here we must recognize all the valid KERNEL-OS combinations.
9176
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
9178
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
9179
+ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
9180
+ storm-chaos* | os2-emx* | rtmk-nova*)
9182
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
9185
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
9186
+ if [ $basic_machine != $1 ]
9187
+ then os=`echo $1 | sed 's/.*-/-/'`
9192
+### Let's recognize common machines as not being operating systems so
9193
+### that things like config.sub decstation-3100 work. We also
9194
+### recognize some manufacturers as not being operating systems, so we
9195
+### can provide default operating systems below.
9198
+ # Prevent following clause from handling this invalid input.
9200
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
9201
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
9202
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
9203
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
9204
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
9205
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
9206
+ -apple | -axis | -knuth | -cray)
9210
+ -sim | -cisco | -oki | -wec | -winbond)
9233
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9237
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9241
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9244
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
9245
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9248
+ # Don't forget version if it is 3.2v4 or newer.
9249
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9252
+ # Don't forget version if it is 3.2v4 or newer.
9253
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9257
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9260
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9264
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9267
+ basic_machine=clipper-intergraph
9270
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
9276
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
9279
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
9284
+ -mint | -mint[0-9]*)
9285
+ basic_machine=m68k-atari
9290
+# Decode aliases for certain CPU-COMPANY combinations.
9291
+case $basic_machine in
9292
+ # Recognize the basic CPU types without company name.
9293
+ # Some are omitted here because they have special meanings below.
9296
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
9297
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
9299
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
9302
+ | d10v | d30v | dlx | dsp16xx \
9303
+ | fido | fr30 | frv \
9304
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
9305
+ | i370 | i860 | i960 | ia64 \
9307
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
9308
+ | maxq | mb | microblaze | mcore | mep \
9309
+ | mips | mipsbe | mipseb | mipsel | mipsle \
9311
+ | mips64 | mips64el \
9312
+ | mips64vr | mips64vrel \
9313
+ | mips64orion | mips64orionel \
9314
+ | mips64vr4100 | mips64vr4100el \
9315
+ | mips64vr4300 | mips64vr4300el \
9316
+ | mips64vr5000 | mips64vr5000el \
9317
+ | mips64vr5900 | mips64vr5900el \
9318
+ | mipsisa32 | mipsisa32el \
9319
+ | mipsisa32r2 | mipsisa32r2el \
9320
+ | mipsisa64 | mipsisa64el \
9321
+ | mipsisa64r2 | mipsisa64r2el \
9322
+ | mipsisa64sb1 | mipsisa64sb1el \
9323
+ | mipsisa64sr71k | mipsisa64sr71kel \
9324
+ | mipstx39 | mipstx39el \
9325
+ | mn10200 | mn10300 \
9331
+ | pdp10 | pdp11 | pj | pjl \
9332
+ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
9335
+ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
9337
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
9338
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
9339
+ | spu | strongarm \
9340
+ | tahoe | thumb | tic4x | tic80 | tron \
9343
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
9345
+ basic_machine=$basic_machine-unknown
9347
+ m6811 | m68hc11 | m6812 | m68hc12)
9348
+ # Motorola 68HC11/12.
9349
+ basic_machine=$basic_machine-unknown
9352
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
9355
+ basic_machine=mt-unknown
9358
+ # We use `pc' rather than `unknown'
9359
+ # because (1) that's what they normally are, and
9360
+ # (2) the word "unknown" tends to confuse beginning users.
9362
+ basic_machine=$basic_machine-pc
9364
+ # Object if more than one company name word.
9366
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
9369
+ # Recognize the basic CPU types with company name.
9372
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
9373
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
9374
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
9375
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
9376
+ | avr-* | avr32-* \
9377
+ | bfin-* | bs2000-* \
9378
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
9379
+ | clipper-* | craynv-* | cydra-* \
9380
+ | d10v-* | d30v-* | dlx-* \
9382
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
9383
+ | h8300-* | h8500-* \
9384
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
9385
+ | i*86-* | i860-* | i960-* | ia64-* \
9386
+ | ip2k-* | iq2000-* \
9387
+ | m32c-* | m32r-* | m32rle-* \
9388
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
9389
+ | m88110-* | m88k-* | maxq-* | mcore-* \
9390
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
9392
+ | mips64-* | mips64el-* \
9393
+ | mips64vr-* | mips64vrel-* \
9394
+ | mips64orion-* | mips64orionel-* \
9395
+ | mips64vr4100-* | mips64vr4100el-* \
9396
+ | mips64vr4300-* | mips64vr4300el-* \
9397
+ | mips64vr5000-* | mips64vr5000el-* \
9398
+ | mips64vr5900-* | mips64vr5900el-* \
9399
+ | mipsisa32-* | mipsisa32el-* \
9400
+ | mipsisa32r2-* | mipsisa32r2el-* \
9401
+ | mipsisa64-* | mipsisa64el-* \
9402
+ | mipsisa64r2-* | mipsisa64r2el-* \
9403
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
9404
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
9405
+ | mipstx39-* | mipstx39el-* \
9409
+ | nios-* | nios2-* \
9410
+ | none-* | np1-* | ns16k-* | ns32k-* \
9412
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
9413
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
9415
+ | romp-* | rs6000-* \
9416
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
9417
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
9418
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
9420
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
9421
+ | tahoe-* | thumb-* \
9422
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
9424
+ | v850-* | v850e-* | vax-* \
9426
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
9427
+ | xstormy16-* | xtensa-* \
9431
+ # Recognize the various machine names and aliases which stand
9432
+ # for a CPU type and a company and sometimes even an OS.
9434
+ basic_machine=i386-unknown
9437
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
9438
+ basic_machine=m68000-att
9441
+ basic_machine=we32k-att
9444
+ basic_machine=a29k-amd
9448
+ basic_machine=abacus-unknown
9451
+ basic_machine=m68010-adobe
9455
+ basic_machine=fx80-alliant
9457
+ altos | altos3068)
9458
+ basic_machine=m68k-altos
9461
+ basic_machine=a29k-none
9465
+ basic_machine=x86_64-pc
9468
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
9471
+ basic_machine=580-amdahl
9475
+ basic_machine=m68k-unknown
9477
+ amigaos | amigados)
9478
+ basic_machine=m68k-unknown
9482
+ basic_machine=m68k-unknown
9486
+ basic_machine=m68k-apollo
9490
+ basic_machine=m68k-apollo
9494
+ basic_machine=m68k-apple
9498
+ basic_machine=ns32k-sequent
9502
+ basic_machine=c90-cray
9506
+ basic_machine=c1-convex
9510
+ basic_machine=c2-convex
9514
+ basic_machine=c32-convex
9518
+ basic_machine=c34-convex
9522
+ basic_machine=c38-convex
9526
+ basic_machine=j90-cray
9530
+ basic_machine=craynv-cray
9534
+ basic_machine=cr16c-unknown
9538
+ basic_machine=m68k-crds
9540
+ crisv32 | crisv32-* | etraxfs*)
9541
+ basic_machine=crisv32-axis
9543
+ cris | cris-* | etrax*)
9544
+ basic_machine=cris-axis
9547
+ basic_machine=crx-unknown
9551
+ basic_machine=m68k-da30
9553
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
9554
+ basic_machine=mips-dec
9556
+ decsystem10* | dec10*)
9557
+ basic_machine=pdp10-dec
9560
+ decsystem20* | dec20*)
9561
+ basic_machine=pdp10-dec
9564
+ delta | 3300 | motorola-3300 | motorola-delta \
9565
+ | 3300-motorola | delta-motorola)
9566
+ basic_machine=m68k-motorola
9569
+ basic_machine=m88k-motorola
9573
+ basic_machine=i586-pc
9577
+ basic_machine=rs6000-bull
9580
+ dpx2* | dpx2*-bull)
9581
+ basic_machine=m68k-bull
9585
+ basic_machine=a29k-amd
9589
+ basic_machine=elxsi-elxsi
9592
+ encore | umax | mmax)
9593
+ basic_machine=ns32k-encore
9595
+ es1800 | OSE68k | ose68k | ose | OSE)
9596
+ basic_machine=m68k-ericsson
9600
+ basic_machine=i860-alliant
9603
+ basic_machine=ns32k-ns
9606
+ basic_machine=tron-gmicro
9610
+ basic_machine=i386-pc
9614
+ basic_machine=hppa1.1-hitachi
9618
+ basic_machine=h8300-hitachi
9622
+ basic_machine=h8300-hitachi
9626
+ basic_machine=h8500-hitachi
9630
+ basic_machine=m88k-harris
9634
+ basic_machine=m68k-hp
9637
+ basic_machine=m68k-hp
9641
+ basic_machine=m68k-hp
9644
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
9645
+ basic_machine=hppa1.0-hp
9647
+ hp9k2[0-9][0-9] | hp9k31[0-9])
9648
+ basic_machine=m68000-hp
9651
+ basic_machine=m68k-hp
9653
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
9654
+ basic_machine=hppa1.0-hp
9656
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
9657
+ basic_machine=hppa1.1-hp
9659
+ hp9k78[0-9] | hp78[0-9])
9660
+ # FIXME: really hppa2.0-hp
9661
+ basic_machine=hppa1.1-hp
9663
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
9664
+ # FIXME: really hppa2.0-hp
9665
+ basic_machine=hppa1.1-hp
9667
+ hp9k8[0-9][13679] | hp8[0-9][13679])
9668
+ basic_machine=hppa1.1-hp
9670
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
9671
+ basic_machine=hppa1.0-hp
9677
+ basic_machine=hppa1.1-hp
9681
+ basic_machine=hppa1.1-hp
9685
+ basic_machine=i370-ibm
9687
+# I'm not sure what "Sysv32" means. Should this be sysv3.2?
9689
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
9693
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
9697
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
9701
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
9705
+ basic_machine=i386-mach
9709
+ basic_machine=i386-unknown
9713
+ basic_machine=mips-sgi
9723
+ basic_machine=m68k-isi
9727
+ basic_machine=m88k-omron
9730
+ basic_machine=mips-mips
9734
+ basic_machine=ns32k-utek
9738
+ basic_machine=i386-pc
9742
+ basic_machine=m68000-convergent
9744
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
9745
+ basic_machine=m68k-atari
9749
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
9752
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
9755
+ basic_machine=m68k-rom68k
9759
+ basic_machine=powerpc-unknown
9763
+ basic_machine=i386-pc
9767
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
9770
+ basic_machine=i370-ibm
9774
+ basic_machine=i486-ncr
9778
+ basic_machine=i386-unknown
9782
+ basic_machine=armv4l-rebel
9785
+ news | news700 | news800 | news900)
9786
+ basic_machine=m68k-sony
9790
+ basic_machine=m68030-sony
9793
+ news-3600 | risc-news)
9794
+ basic_machine=mips-sony
9798
+ basic_machine=v70-nec
9802
+ basic_machine=m68k-next
9815
+ basic_machine=m68k-harris
9819
+ basic_machine=m88k-harris
9823
+ basic_machine=i960-intel
9827
+ basic_machine=i960-intel
9831
+ basic_machine=mips-compaq
9835
+ basic_machine=np1-gould
9838
+ basic_machine=nsr-tandem
9840
+ op50n-* | op60c-*)
9841
+ basic_machine=hppa1.1-oki
9844
+ openrisc | openrisc-*)
9845
+ basic_machine=or32-unknown
9848
+ basic_machine=powerpc-ibm
9851
+ OSE68000 | ose68000)
9852
+ basic_machine=m68000-ericsson
9856
+ basic_machine=m68k-none
9860
+ basic_machine=hppa1.1-hitachi
9864
+ basic_machine=i860-intel
9868
+ basic_machine=sparc-tti
9871
+ basic_machine=m68k-tti
9874
+ basic_machine=ns32k-pc532
9877
+ basic_machine=i386-pc
9880
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
9882
+ pentium | p5 | k5 | k6 | nexgen | viac3)
9883
+ basic_machine=i586-pc
9885
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
9886
+ basic_machine=i686-pc
9888
+ pentiumii | pentium2 | pentiumiii | pentium3)
9889
+ basic_machine=i686-pc
9892
+ basic_machine=i786-pc
9894
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
9895
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
9897
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
9898
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
9900
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
9901
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
9904
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
9907
+ basic_machine=pn-gould
9909
+ power) basic_machine=power-ibm
9911
+ ppc) basic_machine=powerpc-unknown
9913
+ ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
9915
+ ppcle | powerpclittle | ppc-le | powerpc-little)
9916
+ basic_machine=powerpcle-unknown
9918
+ ppcle-* | powerpclittle-*)
9919
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
9921
+ ppc64) basic_machine=powerpc64-unknown
9923
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
9925
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
9926
+ basic_machine=powerpc64le-unknown
9928
+ ppc64le-* | powerpc64little-*)
9929
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
9932
+ basic_machine=i386-ibm
9935
+ basic_machine=i586-unknown
9939
+ basic_machine=i386-pc
9943
+ basic_machine=m68k-rom68k
9947
+ basic_machine=mips-siemens
9950
+ basic_machine=romp-ibm
9953
+ basic_machine=s390-ibm
9956
+ basic_machine=s390x-ibm
9959
+ basic_machine=a29k-amd
9963
+ basic_machine=mipsisa64sb1-unknown
9966
+ basic_machine=mipsisa64sb1el-unknown
9969
+ basic_machine=mipsisa32-sde
9973
+ basic_machine=mips-sei
9977
+ basic_machine=i386-sequent
9980
+ basic_machine=sh-hitachi
9984
+ basic_machine=sh5le-unknown
9987
+ basic_machine=sh64-unknown
9989
+ sparclite-wrs | simso-wrs)
9990
+ basic_machine=sparclite-wrs
9994
+ basic_machine=m68k-bull
9998
+ basic_machine=spur-unknown
10001
+ basic_machine=m68k-tandem
10004
+ basic_machine=i860-stratus
10008
+ basic_machine=m68000-sun
10011
+ basic_machine=m68000-sun
10015
+ basic_machine=m68000-sun
10019
+ basic_machine=m68k-sun
10023
+ basic_machine=m68k-sun
10027
+ basic_machine=sparc-sun
10031
+ basic_machine=sparc-sun
10035
+ basic_machine=sparc-sun
10039
+ basic_machine=m68k-sun
10042
+ basic_machine=sparc-sun
10044
+ sun386 | sun386i | roadrunner)
10045
+ basic_machine=i386-sun
10048
+ basic_machine=sv1-cray
10052
+ basic_machine=i386-sequent
10056
+ basic_machine=alphaev5-cray
10060
+ basic_machine=t90-cray
10064
+ basic_machine=tic54x-unknown
10068
+ basic_machine=tic55x-unknown
10072
+ basic_machine=tic6x-unknown
10076
+ basic_machine=mipstx39-unknown
10079
+ basic_machine=mipstx39el-unknown
10082
+ basic_machine=pdp10-xkl
10085
+ tower | tower-32)
10086
+ basic_machine=m68k-ncr
10089
+ basic_machine=s390x-ibm
10093
+ basic_machine=a29k-amd
10097
+ basic_machine=a29k-nyu
10101
+ basic_machine=v810-nec
10105
+ basic_machine=vax-dec
10109
+ basic_machine=vax-dec
10113
+ basic_machine=f301-fujitsu
10116
+ basic_machine=i960-wrs
10120
+ basic_machine=m68k-wrs
10124
+ basic_machine=a29k-wrs
10128
+ basic_machine=w65-wdc
10132
+ basic_machine=hppa1.1-winbond
10136
+ basic_machine=i686-pc
10140
+ basic_machine=xps100-honeywell
10143
+ basic_machine=ymp-cray
10147
+ basic_machine=z8k-unknown
10151
+ basic_machine=none-none
10155
+# Here we handle the default manufacturer of certain CPU types. It is in
10156
+# some cases the only manufacturer, in others, it is the most popular.
10158
+ basic_machine=hppa1.1-winbond
10161
+ basic_machine=hppa1.1-oki
10164
+ basic_machine=hppa1.1-oki
10167
+ basic_machine=romp-ibm
10170
+ basic_machine=mmix-knuth
10173
+ basic_machine=rs6000-ibm
10176
+ basic_machine=vax-dec
10179
+ # there are many clones, so DEC is not a safe bet
10180
+ basic_machine=pdp10-unknown
10183
+ basic_machine=pdp11-dec
10186
+ basic_machine=we32k-att
10188
+ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
10189
+ basic_machine=sh-unknown
10191
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
10192
+ basic_machine=sparc-sun
10195
+ basic_machine=cydra-cydrome
10198
+ basic_machine=orion-highlevel
10201
+ basic_machine=clipper-highlevel
10203
+ mac | mpw | mac-mpw)
10204
+ basic_machine=m68k-apple
10207
+ basic_machine=powerpc-apple
10210
+ # Make sure to match an already-canonicalized machine name.
10213
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
10218
+# Here we canonicalize certain aliases for manufacturers.
10219
+case $basic_machine in
10221
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
10224
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
10230
+# Decode manufacturer-specific aliases for certain operating systems.
10232
+if [ x"$os" != x"" ]
10235
+ # First match some system type aliases
10236
+ # that might get confused with valid system types.
10237
+ # -solaris* is a basic system type, with this one exception.
10238
+ -solaris1 | -solaris1.*)
10239
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
10251
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
10253
+ # First accept the basic system types.
10254
+ # The portable systems comes first.
10255
+ # Each alternative MUST END IN A *, to match a version number.
10256
+ # -sysv* is not here because it comes later, after sysvr4.
10257
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
10258
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
10259
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
10260
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
10262
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
10263
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
10264
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
10265
+ | -openbsd* | -solidbsd* \
10266
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
10267
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
10268
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
10269
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
10270
+ | -chorusos* | -chorusrdb* \
10271
+ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
10272
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
10273
+ | -uxpv* | -beos* | -mpeix* | -udk* \
10274
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
10275
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
10276
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
10277
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
10278
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
10279
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
10280
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
10281
+ # Remember, each alternative MUST END IN *, to match a version number.
10284
+ case $basic_machine in
10295
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
10297
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
10298
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
10299
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
10302
+ os=`echo $os | sed -e 's|mac|macos|'`
10305
+ os=-linux-dietlibc
10308
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
10311
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
10314
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
10361
+ # Preserve the version number of sinix5.
10363
+ os=`echo $os | sed -e 's|sinix|sysv|'`
10386
+ # This must come after -sysvr4.
10398
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
10413
+ # Get rid of the `-' at the beginning of $os.
10414
+ os=`echo $os | sed 's/[^-]*-//'`
10415
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
10421
+# Here we handle the default operating systems that come with various machines.
10422
+# The value should be what the vendor currently ships out the door with their
10423
+# machine or put another way, the most popular os provided with the machine.
10425
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
10426
+# "-sun"), then you have to tell the case statement up towards the top
10427
+# that MANUFACTURER isn't an operating system. Otherwise, code above
10428
+# will signal an error saying that MANUFACTURER isn't an operating
10429
+# system, and we'll never get to this point.
10431
+case $basic_machine in
10450
+ # This must come before the *-dec entry.
10468
+ # This also exists in the configure program, but was not the
10487
+ *-tti) # must be before sparc entry or we get the wrong os.
10520
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
10574
+ f30[01]-fujitsu | f700-fujitsu)
10595
+# Here we handle the case where we know the os, and the CPU type, but not the
10596
+# manufacturer. We pick the logical manufacturer.
10598
+case $basic_machine in
10634
+ -mvs* | -opened*)
10646
+ -vxsim* | -vxworks* | -windiss*)
10658
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
10665
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
10669
+echo $basic_machine$os
10672
+# Local variables:
10673
+# eval: (add-hook 'write-file-hooks 'time-stamp)
10674
+# time-stamp-start: "timestamp='"
10675
+# time-stamp-format: "%:y-%02m-%02d"
10676
+# time-stamp-end: "'"
10678
diff -Nur plugins-main/configure plugins-main.new/configure
10679
--- plugins-main/configure 1970-01-01 01:00:00.000000000 +0100
10680
+++ plugins-main.new/configure 2007-06-08 18:39:01.000000000 +0200
10681
@@ -0,0 +1,23187 @@
10683
+# Guess values for system-dependent variables and create Makefiles.
10684
+# Generated by GNU Autoconf 2.61 for compcomm-plugins-main 0.0.1.
10686
+# Report bugs to <maniac@opencompositing.org>.
10688
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10689
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10690
+# This configure script is free software; the Free Software Foundation
10691
+# gives unlimited permission to copy, distribute and modify it.
10692
+## --------------------- ##
10693
+## M4sh Initialization. ##
10694
+## --------------------- ##
10696
+# Be more Bourne compatible
10697
+DUALCASE=1; export DUALCASE # for MKS sh
10698
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10701
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10702
+ # is contrary to our usage. Disable this feature.
10703
+ alias -g '${1+"$@"}'='"$@"'
10704
+ setopt NO_GLOB_SUBST
10706
+ case `(set -o) 2>/dev/null` in
10707
+ *posix*) set -o posix ;;
10716
+# Avoid depending upon Character Ranges.
10717
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10718
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10719
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10720
+as_cr_digits='0123456789'
10721
+as_cr_alnum=$as_cr_Letters$as_cr_digits
10723
+# The user is always right.
10724
+if test "${PATH_SEPARATOR+set}" != set; then
10725
+ echo "#! /bin/sh" >conf$$.sh
10726
+ echo "exit 0" >>conf$$.sh
10727
+ chmod +x conf$$.sh
10728
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10729
+ PATH_SEPARATOR=';'
10736
+# Support unset when possible.
10737
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10745
+# We need space, tab and new line, in precisely that order. Quoting is
10746
+# there to prevent editors from complaining about space-tab.
10747
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10748
+# splitting by setting IFS to empty value.)
10753
+# Find who we are. Look in the path if we contain no directory separator.
10755
+ *[\\/]* ) as_myself=$0 ;;
10756
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10757
+for as_dir in $PATH
10760
+ test -z "$as_dir" && as_dir=.
10761
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10767
+# We did not find ourselves, most probably we were run as `sh COMMAND'
10768
+# in which case we are not to be found in the path.
10769
+if test "x$as_myself" = x; then
10772
+if test ! -f "$as_myself"; then
10773
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10774
+ { (exit 1); exit 1; }
10777
+# Work around bugs in pre-3.0 UWIN ksh.
10778
+for as_var in ENV MAIL MAILPATH
10779
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10787
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10788
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10789
+ LC_TELEPHONE LC_TIME
10791
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10792
+ eval $as_var=C; export $as_var
10794
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10798
+# Required to use basename.
10799
+if expr a : '\(a\)' >/dev/null 2>&1 &&
10800
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
10806
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10807
+ as_basename=basename
10809
+ as_basename=false
10813
+# Name of the executable.
10814
+as_me=`$as_basename -- "$0" ||
10815
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10816
+ X"$0" : 'X\(//\)$' \| \
10817
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10819
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
10837
+if test "x$CONFIG_SHELL" = x; then
10838
+ if (eval ":") 2>/dev/null; then
10839
+ as_have_required=yes
10841
+ as_have_required=no
10844
+ if test $as_have_required = yes && (eval ":
10845
+(as_func_return () {
10848
+as_func_success () {
10851
+as_func_failure () {
10854
+as_func_ret_success () {
10857
+as_func_ret_failure () {
10862
+if as_func_success; then
10866
+ echo as_func_success failed.
10869
+if as_func_failure; then
10871
+ echo as_func_failure succeeded.
10874
+if as_func_ret_success; then
10878
+ echo as_func_ret_success failed.
10881
+if as_func_ret_failure; then
10883
+ echo as_func_ret_failure succeeded.
10886
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
10890
+ echo positional parameters were not saved.
10893
+test \$exitcode = 0) || { (exit 1); exit 1; }
10896
+ as_lineno_1=\$LINENO
10897
+ as_lineno_2=\$LINENO
10898
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
10899
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
10900
+") 2> /dev/null; then
10903
+ as_candidate_shells=
10904
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10905
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10908
+ test -z "$as_dir" && as_dir=.
10911
+ for as_base in sh bash ksh sh5; do
10912
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
10919
+ for as_shell in $as_candidate_shells $SHELL; do
10920
+ # Try only shells that exist, to save several forks.
10921
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
10922
+ { ("$as_shell") 2> /dev/null <<\_ASEOF
10923
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10926
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10927
+ # is contrary to our usage. Disable this feature.
10928
+ alias -g '${1+"$@"}'='"$@"'
10929
+ setopt NO_GLOB_SUBST
10931
+ case `(set -o) 2>/dev/null` in
10932
+ *posix*) set -o posix ;;
10941
+ CONFIG_SHELL=$as_shell
10942
+ as_have_required=yes
10943
+ if { "$as_shell" 2> /dev/null <<\_ASEOF
10944
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10947
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10948
+ # is contrary to our usage. Disable this feature.
10949
+ alias -g '${1+"$@"}'='"$@"'
10950
+ setopt NO_GLOB_SUBST
10952
+ case `(set -o) 2>/dev/null` in
10953
+ *posix*) set -o posix ;;
10960
+(as_func_return () {
10963
+as_func_success () {
10966
+as_func_failure () {
10969
+as_func_ret_success () {
10972
+as_func_ret_failure () {
10977
+if as_func_success; then
10981
+ echo as_func_success failed.
10984
+if as_func_failure; then
10986
+ echo as_func_failure succeeded.
10989
+if as_func_ret_success; then
10993
+ echo as_func_ret_success failed.
10996
+if as_func_ret_failure; then
10998
+ echo as_func_ret_failure succeeded.
11001
+if ( set x; as_func_ret_success y && test x = "$1" ); then
11005
+ echo positional parameters were not saved.
11008
+test $exitcode = 0) || { (exit 1); exit 1; }
11011
+ as_lineno_1=$LINENO
11012
+ as_lineno_2=$LINENO
11013
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
11014
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
11025
+ if test "x$CONFIG_SHELL" != x; then
11026
+ for as_var in BASH_ENV ENV
11027
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11029
+ export CONFIG_SHELL
11030
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
11034
+ if test $as_have_required = no; then
11035
+ echo This script requires a shell more modern than all the
11036
+ echo shells that I found on your system. Please install a
11037
+ echo modern shell, or manually run the script under such a
11038
+ echo shell if you do have one.
11039
+ { (exit 1); exit 1; }
11049
+(eval "as_func_return () {
11052
+as_func_success () {
11055
+as_func_failure () {
11058
+as_func_ret_success () {
11061
+as_func_ret_failure () {
11066
+if as_func_success; then
11070
+ echo as_func_success failed.
11073
+if as_func_failure; then
11075
+ echo as_func_failure succeeded.
11078
+if as_func_ret_success; then
11082
+ echo as_func_ret_success failed.
11085
+if as_func_ret_failure; then
11087
+ echo as_func_ret_failure succeeded.
11090
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
11094
+ echo positional parameters were not saved.
11097
+test \$exitcode = 0") || {
11098
+ echo No shell found that supports shell functions.
11099
+ echo Please tell autoconf@gnu.org about your system,
11100
+ echo including any error possibly output before this
11106
+ as_lineno_1=$LINENO
11107
+ as_lineno_2=$LINENO
11108
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
11109
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11111
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11112
+ # uniformly replaced by the line number. The first 'sed' inserts a
11113
+ # line-number line after each line using $LINENO; the second 'sed'
11114
+ # does the real work. The second script uses 'N' to pair each
11115
+ # line-number line with the line containing $LINENO, and appends
11116
+ # trailing '-' during substitution so that $LINENO is not a special
11117
+ # case at line end.
11118
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11119
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
11120
+ # E. McMahon (1931-1989) for sed's syntax. :-)
11126
+ s/[$]LINENO.*/&-/
11132
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11135
+ ' >$as_me.lineno &&
11136
+ chmod +x "$as_me.lineno" ||
11137
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11138
+ { (exit 1); exit 1; }; }
11140
+ # Don't try to exec as it changes $[0], causing all sort of problems
11141
+ # (the dirname of $[0] is not the place where we might find the
11142
+ # original and so on. Autoconf is especially sensitive to this).
11143
+ . "./$as_me.lineno"
11144
+ # Exit status is that of the last command.
11149
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11150
+ as_dirname=dirname
11155
+ECHO_C= ECHO_N= ECHO_T=
11156
+case `echo -n x` in
11158
+ case `echo 'x\c'` in
11159
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11166
+if expr a : '\(a\)' >/dev/null 2>&1 &&
11167
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
11173
+rm -f conf$$ conf$$.exe conf$$.file
11174
+if test -d conf$$.dir; then
11175
+ rm -f conf$$.dir/conf$$.file
11181
+if ln -s conf$$.file conf$$ 2>/dev/null; then
11183
+ # ... but there are two gotchas:
11184
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11185
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11186
+ # In both cases, we have to default to `cp -p'.
11187
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11189
+elif ln conf$$.file conf$$ 2>/dev/null; then
11194
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11195
+rmdir conf$$.dir 2>/dev/null
11197
+if mkdir -p . 2>/dev/null; then
11200
+ test -d ./-p && rmdir ./-p
11204
+if test -x / >/dev/null 2>&1; then
11205
+ as_test_x='test -x'
11207
+ if ls -dL / >/dev/null 2>&1; then
11214
+ if test -d "$1"; then
11220
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11221
+ ???[sx]*):;;*)false;;esac;fi
11225
+as_executable_p=$as_test_x
11227
+# Sed expression to map a string onto a valid CPP name.
11228
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11230
+# Sed expression to map a string onto a valid variable name.
11231
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11236
+# Check that we are running under the correct shell.
11237
+SHELL=${CONFIG_SHELL-/bin/sh}
11240
+X*--fallback-echo)
11241
+ # Remove one level of quotation (which was required for Make).
11242
+ ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
11247
+if test "X$1" = X--no-reexec; then
11248
+ # Discard the --no-reexec flag, and continue.
11250
+elif test "X$1" = X--fallback-echo; then
11251
+ # Avoid inline document here, it may be left over
11253
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
11254
+ # Yippee, $echo works!
11257
+ # Restart under the correct shell.
11258
+ exec $SHELL "$0" --no-reexec ${1+"$@"}
11261
+if test "X$1" = X--fallback-echo; then
11262
+ # used as fallback echo
11270
+# The HP-UX ksh and POSIX shell print the target directory to stdout
11271
+# if CDPATH is set.
11272
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11274
+if test -z "$ECHO"; then
11275
+if test "X${echo_test_string+set}" != Xset; then
11276
+# find a string as large as possible, as long as the shell can cope with it
11277
+ for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
11278
+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
11279
+ if (echo_test_string=`eval $cmd`) 2>/dev/null &&
11280
+ echo_test_string=`eval $cmd` &&
11281
+ (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
11288
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
11289
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
11290
+ test "X$echo_testing_string" = "X$echo_test_string"; then
11293
+ # The Solaris, AIX, and Digital Unix default echo programs unquote
11294
+ # backslashes. This makes it impossible to quote backslashes using
11295
+ # echo "$something" | sed 's/\\/\\\\/g'
11297
+ # So, first we look for a working echo in the user's PATH.
11299
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11300
+ for dir in $PATH /usr/ucb; do
11301
+ IFS="$lt_save_ifs"
11302
+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
11303
+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
11304
+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
11305
+ test "X$echo_testing_string" = "X$echo_test_string"; then
11310
+ IFS="$lt_save_ifs"
11312
+ if test "X$echo" = Xecho; then
11313
+ # We didn't find a better echo, so look for alternatives.
11314
+ if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
11315
+ echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
11316
+ test "X$echo_testing_string" = "X$echo_test_string"; then
11317
+ # This shell has a builtin print -r that does the trick.
11319
+ elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
11320
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
11321
+ # If we have ksh, try running configure again with it.
11322
+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11323
+ export ORIGINAL_CONFIG_SHELL
11324
+ CONFIG_SHELL=/bin/ksh
11325
+ export CONFIG_SHELL
11326
+ exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
11328
+ # Try using printf.
11329
+ echo='printf %s\n'
11330
+ if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
11331
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
11332
+ test "X$echo_testing_string" = "X$echo_test_string"; then
11333
+ # Cool, printf works
11335
+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
11336
+ test "X$echo_testing_string" = 'X\t' &&
11337
+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
11338
+ test "X$echo_testing_string" = "X$echo_test_string"; then
11339
+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
11340
+ export CONFIG_SHELL
11341
+ SHELL="$CONFIG_SHELL"
11343
+ echo="$CONFIG_SHELL $0 --fallback-echo"
11344
+ elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
11345
+ test "X$echo_testing_string" = 'X\t' &&
11346
+ echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
11347
+ test "X$echo_testing_string" = "X$echo_test_string"; then
11348
+ echo="$CONFIG_SHELL $0 --fallback-echo"
11350
+ # maybe with a smaller string...
11353
+ for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
11354
+ if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
11361
+ if test "$prev" != 'sed 50q "$0"'; then
11362
+ echo_test_string=`eval $prev`
11363
+ export echo_test_string
11364
+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
11366
+ # Oops. We lost completely, so just stick with echo.
11375
+# Copy echo and quote the copy suitably for passing to libtool from
11376
+# the Makefile, instead of quoting the original, which is used later.
11378
+if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
11379
+ ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
11385
+tagnames=${tagnames+${tagnames},}CXX
11387
+tagnames=${tagnames+${tagnames},}F77
11389
+exec 7<&0 </dev/null 6>&1
11391
+# Name of the host.
11392
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
11393
+# so uname gets run too.
11394
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
11397
+# Initializations.
11399
+ac_default_prefix=/usr/local
11401
+ac_config_libobj_dir=.
11403
+cross_compiling=no
11407
+SHELL=${CONFIG_SHELL-/bin/sh}
11409
+# Identity of this package.
11410
+PACKAGE_NAME='compcomm-plugins-main'
11411
+PACKAGE_TARNAME='compcomm-plugins-main'
11412
+PACKAGE_VERSION='0.0.1'
11413
+PACKAGE_STRING='compcomm-plugins-main 0.0.1'
11414
+PACKAGE_BUGREPORT='maniac@opencompositing.org'
11416
+# Factoring default headers for most tests.
11417
+ac_includes_default="\
11418
+#include <stdio.h>
11419
+#ifdef HAVE_SYS_TYPES_H
11420
+# include <sys/types.h>
11422
+#ifdef HAVE_SYS_STAT_H
11423
+# include <sys/stat.h>
11425
+#ifdef STDC_HEADERS
11426
+# include <stdlib.h>
11427
+# include <stddef.h>
11429
+# ifdef HAVE_STDLIB_H
11430
+# include <stdlib.h>
11433
+#ifdef HAVE_STRING_H
11434
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
11435
+# include <memory.h>
11437
+# include <string.h>
11439
+#ifdef HAVE_STRINGS_H
11440
+# include <strings.h>
11442
+#ifdef HAVE_INTTYPES_H
11443
+# include <inttypes.h>
11445
+#ifdef HAVE_STDINT_H
11446
+# include <stdint.h>
11448
+#ifdef HAVE_UNISTD_H
11449
+# include <unistd.h>
11452
+ac_subst_vars='SHELL
11461
+program_transform_name
11502
+INSTALL_STRIP_PROGRAM
11510
+MAINTAINER_MODE_TRUE
11511
+MAINTAINER_MODE_FALSE
11527
+am__fastdepCC_TRUE
11528
+am__fastdepCC_FALSE
11548
+am__fastdepCXX_TRUE
11549
+am__fastdepCXX_FALSE
11573
+RESIZEINFO_PLUGIN_TRUE
11574
+RESIZEINFO_PLUGIN_FALSE
11585
+GCONF_SCHEMA_CONFIG_SOURCE
11586
+GCONF_SCHEMA_FILE_DIR
11587
+GCONF_SCHEMAS_INSTALL_TRUE
11588
+GCONF_SCHEMAS_INSTALL_FALSE
11594
+ ac_precious_vars='build_alias
11624
+# Initialize some variables set by options.
11626
+ac_init_version=false
11627
+# The variables have the same names as the options, with
11628
+# dashes changed to underlines.
11629
+cache_file=/dev/null
11634
+program_prefix=NONE
11635
+program_suffix=NONE
11636
+program_transform_name=s,x,x,
11644
+# Installation directory options.
11645
+# These are left unexpanded so users can "make install exec_prefix=/foo"
11646
+# and all the variables that are supposed to be based on exec_prefix
11647
+# by default will actually change.
11648
+# Use braces instead of parens because sh, perl, etc. also accept them.
11649
+# (The list follows the same order as the GNU Coding Standards.)
11650
+bindir='${exec_prefix}/bin'
11651
+sbindir='${exec_prefix}/sbin'
11652
+libexecdir='${exec_prefix}/libexec'
11653
+datarootdir='${prefix}/share'
11654
+datadir='${datarootdir}'
11655
+sysconfdir='${prefix}/etc'
11656
+sharedstatedir='${prefix}/com'
11657
+localstatedir='${prefix}/var'
11658
+includedir='${prefix}/include'
11659
+oldincludedir='/usr/include'
11660
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
11661
+infodir='${datarootdir}/info'
11662
+htmldir='${docdir}'
11663
+dvidir='${docdir}'
11664
+pdfdir='${docdir}'
11666
+libdir='${exec_prefix}/lib'
11667
+localedir='${datarootdir}/locale'
11668
+mandir='${datarootdir}/man'
11674
+ # If the previous option needs an argument, assign it.
11675
+ if test -n "$ac_prev"; then
11676
+ eval $ac_prev=\$ac_option
11681
+ case $ac_option in
11682
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
11683
+ *) ac_optarg=yes ;;
11686
+ # Accept the important Cygnus configure options, so we can diagnose typos.
11688
+ case $ac_dashdash$ac_option in
11690
+ ac_dashdash=yes ;;
11692
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
11693
+ ac_prev=bindir ;;
11694
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
11695
+ bindir=$ac_optarg ;;
11697
+ -build | --build | --buil | --bui | --bu)
11698
+ ac_prev=build_alias ;;
11699
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
11700
+ build_alias=$ac_optarg ;;
11702
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
11703
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
11704
+ ac_prev=cache_file ;;
11705
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
11706
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
11707
+ cache_file=$ac_optarg ;;
11709
+ --config-cache | -C)
11710
+ cache_file=config.cache ;;
11712
+ -datadir | --datadir | --datadi | --datad)
11713
+ ac_prev=datadir ;;
11714
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
11715
+ datadir=$ac_optarg ;;
11717
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
11718
+ | --dataroo | --dataro | --datar)
11719
+ ac_prev=datarootdir ;;
11720
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
11721
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
11722
+ datarootdir=$ac_optarg ;;
11724
+ -disable-* | --disable-*)
11725
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
11726
+ # Reject names that are not valid shell variable names.
11727
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11728
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
11729
+ { (exit 1); exit 1; }; }
11730
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
11731
+ eval enable_$ac_feature=no ;;
11733
+ -docdir | --docdir | --docdi | --doc | --do)
11734
+ ac_prev=docdir ;;
11735
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
11736
+ docdir=$ac_optarg ;;
11738
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
11739
+ ac_prev=dvidir ;;
11740
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
11741
+ dvidir=$ac_optarg ;;
11743
+ -enable-* | --enable-*)
11744
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
11745
+ # Reject names that are not valid shell variable names.
11746
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11747
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
11748
+ { (exit 1); exit 1; }; }
11749
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
11750
+ eval enable_$ac_feature=\$ac_optarg ;;
11752
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
11753
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
11754
+ | --exec | --exe | --ex)
11755
+ ac_prev=exec_prefix ;;
11756
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
11757
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
11758
+ | --exec=* | --exe=* | --ex=*)
11759
+ exec_prefix=$ac_optarg ;;
11761
+ -gas | --gas | --ga | --g)
11762
+ # Obsolete; use --with-gas.
11765
+ -help | --help | --hel | --he | -h)
11766
+ ac_init_help=long ;;
11767
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
11768
+ ac_init_help=recursive ;;
11769
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
11770
+ ac_init_help=short ;;
11772
+ -host | --host | --hos | --ho)
11773
+ ac_prev=host_alias ;;
11774
+ -host=* | --host=* | --hos=* | --ho=*)
11775
+ host_alias=$ac_optarg ;;
11777
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
11778
+ ac_prev=htmldir ;;
11779
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
11781
+ htmldir=$ac_optarg ;;
11783
+ -includedir | --includedir | --includedi | --included | --include \
11784
+ | --includ | --inclu | --incl | --inc)
11785
+ ac_prev=includedir ;;
11786
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
11787
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
11788
+ includedir=$ac_optarg ;;
11790
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
11791
+ ac_prev=infodir ;;
11792
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
11793
+ infodir=$ac_optarg ;;
11795
+ -libdir | --libdir | --libdi | --libd)
11796
+ ac_prev=libdir ;;
11797
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
11798
+ libdir=$ac_optarg ;;
11800
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
11801
+ | --libexe | --libex | --libe)
11802
+ ac_prev=libexecdir ;;
11803
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
11804
+ | --libexe=* | --libex=* | --libe=*)
11805
+ libexecdir=$ac_optarg ;;
11807
+ -localedir | --localedir | --localedi | --localed | --locale)
11808
+ ac_prev=localedir ;;
11809
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
11810
+ localedir=$ac_optarg ;;
11812
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
11813
+ | --localstate | --localstat | --localsta | --localst | --locals)
11814
+ ac_prev=localstatedir ;;
11815
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
11816
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
11817
+ localstatedir=$ac_optarg ;;
11819
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
11820
+ ac_prev=mandir ;;
11821
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
11822
+ mandir=$ac_optarg ;;
11824
+ -nfp | --nfp | --nf)
11825
+ # Obsolete; use --without-fp.
11828
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
11829
+ | --no-cr | --no-c | -n)
11832
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
11833
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
11834
+ no_recursion=yes ;;
11836
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
11837
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
11838
+ | --oldin | --oldi | --old | --ol | --o)
11839
+ ac_prev=oldincludedir ;;
11840
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
11841
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
11842
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
11843
+ oldincludedir=$ac_optarg ;;
11845
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
11846
+ ac_prev=prefix ;;
11847
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
11848
+ prefix=$ac_optarg ;;
11850
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
11851
+ | --program-pre | --program-pr | --program-p)
11852
+ ac_prev=program_prefix ;;
11853
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
11854
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
11855
+ program_prefix=$ac_optarg ;;
11857
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
11858
+ | --program-suf | --program-su | --program-s)
11859
+ ac_prev=program_suffix ;;
11860
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
11861
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
11862
+ program_suffix=$ac_optarg ;;
11864
+ -program-transform-name | --program-transform-name \
11865
+ | --program-transform-nam | --program-transform-na \
11866
+ | --program-transform-n | --program-transform- \
11867
+ | --program-transform | --program-transfor \
11868
+ | --program-transfo | --program-transf \
11869
+ | --program-trans | --program-tran \
11870
+ | --progr-tra | --program-tr | --program-t)
11871
+ ac_prev=program_transform_name ;;
11872
+ -program-transform-name=* | --program-transform-name=* \
11873
+ | --program-transform-nam=* | --program-transform-na=* \
11874
+ | --program-transform-n=* | --program-transform-=* \
11875
+ | --program-transform=* | --program-transfor=* \
11876
+ | --program-transfo=* | --program-transf=* \
11877
+ | --program-trans=* | --program-tran=* \
11878
+ | --progr-tra=* | --program-tr=* | --program-t=*)
11879
+ program_transform_name=$ac_optarg ;;
11881
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
11882
+ ac_prev=pdfdir ;;
11883
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
11884
+ pdfdir=$ac_optarg ;;
11886
+ -psdir | --psdir | --psdi | --psd | --ps)
11888
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
11889
+ psdir=$ac_optarg ;;
11891
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11892
+ | -silent | --silent | --silen | --sile | --sil)
11895
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
11896
+ ac_prev=sbindir ;;
11897
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
11898
+ | --sbi=* | --sb=*)
11899
+ sbindir=$ac_optarg ;;
11901
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
11902
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
11903
+ | --sharedst | --shareds | --shared | --share | --shar \
11905
+ ac_prev=sharedstatedir ;;
11906
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
11907
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
11908
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
11909
+ | --sha=* | --sh=*)
11910
+ sharedstatedir=$ac_optarg ;;
11912
+ -site | --site | --sit)
11914
+ -site=* | --site=* | --sit=*)
11915
+ site=$ac_optarg ;;
11917
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
11918
+ ac_prev=srcdir ;;
11919
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
11920
+ srcdir=$ac_optarg ;;
11922
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
11923
+ | --syscon | --sysco | --sysc | --sys | --sy)
11924
+ ac_prev=sysconfdir ;;
11925
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
11926
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
11927
+ sysconfdir=$ac_optarg ;;
11929
+ -target | --target | --targe | --targ | --tar | --ta | --t)
11930
+ ac_prev=target_alias ;;
11931
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
11932
+ target_alias=$ac_optarg ;;
11934
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
11937
+ -version | --version | --versio | --versi | --vers | -V)
11938
+ ac_init_version=: ;;
11940
+ -with-* | --with-*)
11941
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11942
+ # Reject names that are not valid shell variable names.
11943
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11944
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
11945
+ { (exit 1); exit 1; }; }
11946
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
11947
+ eval with_$ac_package=\$ac_optarg ;;
11949
+ -without-* | --without-*)
11950
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11951
+ # Reject names that are not valid shell variable names.
11952
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11953
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
11954
+ { (exit 1); exit 1; }; }
11955
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
11956
+ eval with_$ac_package=no ;;
11959
+ # Obsolete; use --with-x.
11962
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
11963
+ | --x-incl | --x-inc | --x-in | --x-i)
11964
+ ac_prev=x_includes ;;
11965
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
11966
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
11967
+ x_includes=$ac_optarg ;;
11969
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
11970
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
11971
+ ac_prev=x_libraries ;;
11972
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
11973
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11974
+ x_libraries=$ac_optarg ;;
11976
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
11977
+Try \`$0 --help' for more information." >&2
11978
+ { (exit 1); exit 1; }; }
11982
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11983
+ # Reject names that are not valid shell variable names.
11984
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
11985
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
11986
+ { (exit 1); exit 1; }; }
11987
+ eval $ac_envvar=\$ac_optarg
11988
+ export $ac_envvar ;;
11991
+ # FIXME: should be removed in autoconf 3.0.
11992
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11993
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11994
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
11995
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
12001
+if test -n "$ac_prev"; then
12002
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
12003
+ { echo "$as_me: error: missing argument to $ac_option" >&2
12004
+ { (exit 1); exit 1; }; }
12007
+# Be sure to have absolute directory names.
12008
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
12009
+ datadir sysconfdir sharedstatedir localstatedir includedir \
12010
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
12011
+ libdir localedir mandir
12013
+ eval ac_val=\$$ac_var
12015
+ [\\/$]* | ?:[\\/]* ) continue;;
12016
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
12018
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
12019
+ { (exit 1); exit 1; }; }
12022
+# There might be people who depend on the old broken behavior: `$host'
12023
+# used to hold the argument of --host etc.
12024
+# FIXME: To remove some day.
12025
+build=$build_alias
12027
+target=$target_alias
12029
+# FIXME: To remove some day.
12030
+if test "x$host_alias" != x; then
12031
+ if test "x$build_alias" = x; then
12032
+ cross_compiling=maybe
12033
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
12034
+ If a cross compiler is detected then cross compile mode will be used." >&2
12035
+ elif test "x$build_alias" != "x$host_alias"; then
12036
+ cross_compiling=yes
12041
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
12043
+test "$silent" = yes && exec 6>/dev/null
12046
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
12047
+ac_ls_di=`ls -di .` &&
12048
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
12049
+ { echo "$as_me: error: Working directory cannot be determined" >&2
12050
+ { (exit 1); exit 1; }; }
12051
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
12052
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
12053
+ { (exit 1); exit 1; }; }
12056
+# Find the source files, if location was not specified.
12057
+if test -z "$srcdir"; then
12058
+ ac_srcdir_defaulted=yes
12059
+ # Try the directory containing this script, then the parent directory.
12060
+ ac_confdir=`$as_dirname -- "$0" ||
12061
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12062
+ X"$0" : 'X\(//\)[^/]' \| \
12063
+ X"$0" : 'X\(//\)$' \| \
12064
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12066
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12070
+ /^X\(\/\/\)[^/].*/{
12083
+ srcdir=$ac_confdir
12084
+ if test ! -r "$srcdir/$ac_unique_file"; then
12088
+ ac_srcdir_defaulted=no
12090
+if test ! -r "$srcdir/$ac_unique_file"; then
12091
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
12092
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
12093
+ { (exit 1); exit 1; }; }
12095
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12097
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
12098
+ { (exit 1); exit 1; }; }
12100
+# When building in place, set srcdir=.
12101
+if test "$ac_abs_confdir" = "$ac_pwd"; then
12104
+# Remove unnecessary trailing slashes from srcdir.
12105
+# Double slashes in file names in object file debugging info
12106
+# mess up M-x gdb in Emacs.
12108
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
12110
+for ac_var in $ac_precious_vars; do
12111
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
12112
+ eval ac_env_${ac_var}_value=\$${ac_var}
12113
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
12114
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
12118
+# Report the --help message.
12120
+if test "$ac_init_help" = "long"; then
12121
+ # Omit some internal or obsolete options to make the list less imposing.
12122
+ # This message is too long to be a string in the A/UX 3.1 sh.
12124
+\`configure' configures compcomm-plugins-main 0.0.1 to adapt to many kinds of systems.
12126
+Usage: $0 [OPTION]... [VAR=VALUE]...
12128
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
12129
+VAR=VALUE. See below for descriptions of some of the useful variables.
12131
+Defaults for the options are specified in brackets.
12134
+ -h, --help display this help and exit
12135
+ --help=short display options specific to this package
12136
+ --help=recursive display the short help of all the included packages
12137
+ -V, --version display version information and exit
12138
+ -q, --quiet, --silent do not print \`checking...' messages
12139
+ --cache-file=FILE cache test results in FILE [disabled]
12140
+ -C, --config-cache alias for \`--cache-file=config.cache'
12141
+ -n, --no-create do not create output files
12142
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
12144
+Installation directories:
12145
+ --prefix=PREFIX install architecture-independent files in PREFIX
12146
+ [$ac_default_prefix]
12147
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
12150
+By default, \`make install' will install all the files in
12151
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12152
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
12153
+for instance \`--prefix=\$HOME'.
12155
+For better control, use the options below.
12157
+Fine tuning of the installation directories:
12158
+ --bindir=DIR user executables [EPREFIX/bin]
12159
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
12160
+ --libexecdir=DIR program executables [EPREFIX/libexec]
12161
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
12162
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
12163
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
12164
+ --libdir=DIR object code libraries [EPREFIX/lib]
12165
+ --includedir=DIR C header files [PREFIX/include]
12166
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
12167
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
12168
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
12169
+ --infodir=DIR info documentation [DATAROOTDIR/info]
12170
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
12171
+ --mandir=DIR man documentation [DATAROOTDIR/man]
12172
+ --docdir=DIR documentation root [DATAROOTDIR/doc/compcomm-plugins-main]
12173
+ --htmldir=DIR html documentation [DOCDIR]
12174
+ --dvidir=DIR dvi documentation [DOCDIR]
12175
+ --pdfdir=DIR pdf documentation [DOCDIR]
12176
+ --psdir=DIR ps documentation [DOCDIR]
12182
+ --program-prefix=PREFIX prepend PREFIX to installed program names
12183
+ --program-suffix=SUFFIX append SUFFIX to installed program names
12184
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
12187
+ --build=BUILD configure for building on BUILD [guessed]
12188
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
12192
+if test -n "$ac_init_help"; then
12193
+ case $ac_init_help in
12194
+ short | recursive ) echo "Configuration of compcomm-plugins-main 0.0.1:";;
12198
+Optional Features:
12199
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
12200
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
12201
+ --enable-maintainer-mode enable make rules and dependencies not useful
12202
+ (and sometimes confusing) to the casual installer
12203
+ --disable-dependency-tracking speeds up one-time build
12204
+ --enable-dependency-tracking do not reject slow dependency extractors
12205
+ --enable-shared[=PKGS] build shared libraries [default=yes]
12206
+ --enable-static[=PKGS] build static libraries [default=yes]
12207
+ --enable-fast-install[=PKGS]
12208
+ optimize for fast installation [default=yes]
12209
+ --disable-libtool-lock avoid locking (might break parallel builds)
12210
+ --disable-text Disable text plugin
12211
+ --disable-jpeg Disable jpeg plugin
12212
+ --enable-schemas Build gconf schemas
12213
+ --disable-schemas-install Disable the schemas installation
12215
+Optional Packages:
12216
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
12217
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
12218
+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
12219
+ --with-pic try to use only PIC/non-PIC objects [default=use
12221
+ --with-tags[=TAGS] include additional configurations [automatic]
12222
+ --with-gl-cflags=CFLAGS
12223
+ --with-gl-libs=LIBS
12224
+ --with-gconf-source=sourceaddress Config database for installing schema files.
12225
+ --with-gconf-schema-file-dir=dir Directory for installing schema files.
12227
+Some influential environment variables:
12228
+ CC C compiler command
12229
+ CFLAGS C compiler flags
12230
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
12231
+ nonstandard directory <lib dir>
12232
+ LIBS libraries to pass to the linker, e.g. -l<library>
12233
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
12234
+ you have headers in a nonstandard directory <include dir>
12235
+ CPP C preprocessor
12236
+ CXX C++ compiler command
12237
+ CXXFLAGS C++ compiler flags
12238
+ CXXCPP C++ preprocessor
12239
+ F77 Fortran 77 compiler command
12240
+ FFLAGS Fortran 77 compiler flags
12241
+ PKG_CONFIG path to pkg-config utility
12243
+ C compiler flags for COMPIZ, overriding pkg-config
12244
+ COMPIZ_LIBS linker flags for COMPIZ, overriding pkg-config
12245
+ BCOP_CFLAGS C compiler flags for BCOP, overriding pkg-config
12246
+ BCOP_LIBS linker flags for BCOP, overriding pkg-config
12247
+ TEXT_CFLAGS C compiler flags for TEXT, overriding pkg-config
12248
+ TEXT_LIBS linker flags for TEXT, overriding pkg-config
12249
+ RESIZEINFO_CFLAGS
12250
+ C compiler flags for RESIZEINFO, overriding pkg-config
12252
+ linker flags for RESIZEINFO, overriding pkg-config
12253
+ WALL_CFLAGS C compiler flags for WALL, overriding pkg-config
12254
+ WALL_LIBS linker flags for WALL, overriding pkg-config
12256
+ C compiler flags for SCHEMAS, overriding pkg-config
12258
+ linker flags for SCHEMAS, overriding pkg-config
12260
+Use these variables to override the choices made by `configure' or to help
12261
+it to find libraries and programs with nonstandard names/locations.
12263
+Report bugs to <maniac@opencompositing.org>.
12268
+if test "$ac_init_help" = "recursive"; then
12269
+ # If there are subdirs, report their specific --help.
12270
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
12271
+ test -d "$ac_dir" || continue
12275
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12277
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12278
+ # A ".." for each directory in $ac_dir_suffix.
12279
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12280
+ case $ac_top_builddir_sub in
12281
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12282
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12285
+ac_abs_top_builddir=$ac_pwd
12286
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
12287
+# for backward compatibility:
12288
+ac_top_builddir=$ac_top_build_prefix
12291
+ .) # We are building in place.
12293
+ ac_top_srcdir=$ac_top_builddir_sub
12294
+ ac_abs_top_srcdir=$ac_pwd ;;
12295
+ [\\/]* | ?:[\\/]* ) # Absolute name.
12296
+ ac_srcdir=$srcdir$ac_dir_suffix;
12297
+ ac_top_srcdir=$srcdir
12298
+ ac_abs_top_srcdir=$srcdir ;;
12299
+ *) # Relative name.
12300
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12301
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
12302
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12304
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12306
+ cd "$ac_dir" || { ac_status=$?; continue; }
12307
+ # Check for guested configure.
12308
+ if test -f "$ac_srcdir/configure.gnu"; then
12310
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
12311
+ elif test -f "$ac_srcdir/configure"; then
12313
+ $SHELL "$ac_srcdir/configure" --help=recursive
12315
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
12316
+ fi || ac_status=$?
12317
+ cd "$ac_pwd" || { ac_status=$?; break; }
12321
+test -n "$ac_init_help" && exit $ac_status
12322
+if $ac_init_version; then
12324
+compcomm-plugins-main configure 0.0.1
12325
+generated by GNU Autoconf 2.61
12327
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12328
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
12329
+This configure script is free software; the Free Software Foundation
12330
+gives unlimited permission to copy, distribute and modify it.
12334
+cat >config.log <<_ACEOF
12335
+This file contains any messages produced by compilers while
12336
+running configure, to aid debugging if configure makes a mistake.
12338
+It was created by compcomm-plugins-main $as_me 0.0.1, which was
12339
+generated by GNU Autoconf 2.61. Invocation command line was
12344
+exec 5>>config.log
12351
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
12352
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
12353
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
12354
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
12355
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
12357
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
12358
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
12360
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
12361
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
12362
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
12363
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
12364
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
12365
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
12366
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
12370
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12371
+for as_dir in $PATH
12374
+ test -z "$as_dir" && as_dir=.
12375
+ echo "PATH: $as_dir"
12391
+# Keep a trace of the command line.
12392
+# Strip out --no-create and --no-recursion so they do not pile up.
12393
+# Strip out --silent because we don't want to record it for future runs.
12394
+# Also quote any args containing shell meta-characters.
12395
+# Make two passes to allow for proper duplicate-argument suppression.
12396
+ac_configure_args=
12397
+ac_configure_args0=
12398
+ac_configure_args1=
12399
+ac_must_keep_next=false
12400
+for ac_pass in 1 2
12405
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
12406
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12407
+ | -silent | --silent | --silen | --sile | --sil)
12410
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12413
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
12415
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
12416
+ if test $ac_must_keep_next = true; then
12417
+ ac_must_keep_next=false # Got value, back to normal.
12420
+ *=* | --config-cache | -C | -disable-* | --disable-* \
12421
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
12422
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
12423
+ | -with-* | --with-* | -without-* | --without-* | --x)
12424
+ case "$ac_configure_args0 " in
12425
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
12428
+ -* ) ac_must_keep_next=true ;;
12431
+ ac_configure_args="$ac_configure_args '$ac_arg'"
12436
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
12437
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
12439
+# When interrupted or exit'd, cleanup temporary files, and complete
12440
+# config.log. We remove comments because anyway the quotes in there
12441
+# would cause problems or look ugly.
12442
+# WARNING: Use '\'' to represent an apostrophe within the trap.
12443
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
12444
+trap 'exit_status=$?
12445
+ # Save into config.log some information that might help in debugging.
12450
+## ---------------- ##
12451
+## Cache variables. ##
12452
+## ---------------- ##
12455
+ # The following way of writing the cache mishandles newlines in values,
12457
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
12458
+ eval ac_val=\$$ac_var
12459
+ case $ac_val in #(
12461
+ case $ac_var in #(
12462
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12463
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12465
+ case $ac_var in #(
12466
+ _ | IFS | as_nl) ;; #(
12467
+ *) $as_unset $ac_var ;;
12472
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
12473
+ *${as_nl}ac_space=\ *)
12475
+ "s/'\''/'\''\\\\'\'''\''/g;
12476
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
12479
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12487
+## ----------------- ##
12488
+## Output variables. ##
12489
+## ----------------- ##
12492
+ for ac_var in $ac_subst_vars
12494
+ eval ac_val=\$$ac_var
12496
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
12498
+ echo "$ac_var='\''$ac_val'\''"
12502
+ if test -n "$ac_subst_files"; then
12504
+## ------------------- ##
12505
+## File substitutions. ##
12506
+## ------------------- ##
12509
+ for ac_var in $ac_subst_files
12511
+ eval ac_val=\$$ac_var
12513
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
12515
+ echo "$ac_var='\''$ac_val'\''"
12520
+ if test -s confdefs.h; then
12530
+ test "$ac_signal" != 0 &&
12531
+ echo "$as_me: caught signal $ac_signal"
12532
+ echo "$as_me: exit $exit_status"
12534
+ rm -f core *.core core.conftest.* &&
12535
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
12536
+ exit $exit_status
12538
+for ac_signal in 1 2 13 15; do
12539
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
12543
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
12544
+rm -f -r conftest* confdefs.h
12546
+# Predefined preprocessor variables.
12548
+cat >>confdefs.h <<_ACEOF
12549
+#define PACKAGE_NAME "$PACKAGE_NAME"
12553
+cat >>confdefs.h <<_ACEOF
12554
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
12558
+cat >>confdefs.h <<_ACEOF
12559
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
12563
+cat >>confdefs.h <<_ACEOF
12564
+#define PACKAGE_STRING "$PACKAGE_STRING"
12568
+cat >>confdefs.h <<_ACEOF
12569
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
12573
+# Let the site file select an alternate cache file if it wants to.
12574
+# Prefer explicitly selected file to automatically selected ones.
12575
+if test -n "$CONFIG_SITE"; then
12576
+ set x "$CONFIG_SITE"
12577
+elif test "x$prefix" != xNONE; then
12578
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
12580
+ set x "$ac_default_prefix/share/config.site" \
12581
+ "$ac_default_prefix/etc/config.site"
12586
+ if test -r "$ac_site_file"; then
12587
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
12588
+echo "$as_me: loading site script $ac_site_file" >&6;}
12589
+ sed 's/^/| /' "$ac_site_file" >&5
12590
+ . "$ac_site_file"
12594
+if test -r "$cache_file"; then
12595
+ # Some versions of bash will fail to source /dev/null (special
12596
+ # files actually), so we avoid doing that.
12597
+ if test -f "$cache_file"; then
12598
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
12599
+echo "$as_me: loading cache $cache_file" >&6;}
12600
+ case $cache_file in
12601
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
12602
+ *) . "./$cache_file";;
12606
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
12607
+echo "$as_me: creating cache $cache_file" >&6;}
12611
+# Check that the precious variables saved in the cache have kept the same
12613
+ac_cache_corrupted=false
12614
+for ac_var in $ac_precious_vars; do
12615
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
12616
+ eval ac_new_set=\$ac_env_${ac_var}_set
12617
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
12618
+ eval ac_new_val=\$ac_env_${ac_var}_value
12619
+ case $ac_old_set,$ac_new_set in
12621
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
12622
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
12623
+ ac_cache_corrupted=: ;;
12625
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
12626
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12627
+ ac_cache_corrupted=: ;;
12630
+ if test "x$ac_old_val" != "x$ac_new_val"; then
12631
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
12632
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
12633
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
12634
+echo "$as_me: former value: $ac_old_val" >&2;}
12635
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
12636
+echo "$as_me: current value: $ac_new_val" >&2;}
12637
+ ac_cache_corrupted=:
12640
+ # Pass precious variables to config.status.
12641
+ if test "$ac_new_set" = set; then
12642
+ case $ac_new_val in
12643
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12644
+ *) ac_arg=$ac_var=$ac_new_val ;;
12646
+ case " $ac_configure_args " in
12647
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
12648
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
12652
+if $ac_cache_corrupted; then
12653
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
12654
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
12655
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
12656
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
12657
+ { (exit 1); exit 1; }; }
12685
+ac_cpp='$CPP $CPPFLAGS'
12686
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12687
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12688
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
12693
+cat >>confdefs.h <<_ACEOF
12694
+#define VERSION "$VERSION"
12698
+#AC_CONFIG_AUX_DIR(config)
12700
+am__api_version="1.9"
12702
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
12703
+ if test -f "$ac_dir/install-sh"; then
12704
+ ac_aux_dir=$ac_dir
12705
+ ac_install_sh="$ac_aux_dir/install-sh -c"
12707
+ elif test -f "$ac_dir/install.sh"; then
12708
+ ac_aux_dir=$ac_dir
12709
+ ac_install_sh="$ac_aux_dir/install.sh -c"
12711
+ elif test -f "$ac_dir/shtool"; then
12712
+ ac_aux_dir=$ac_dir
12713
+ ac_install_sh="$ac_aux_dir/shtool install -c"
12717
+if test -z "$ac_aux_dir"; then
12718
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
12719
+echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
12720
+ { (exit 1); exit 1; }; }
12723
+# These three variables are undocumented and unsupported,
12724
+# and are intended to be withdrawn in a future Autoconf release.
12725
+# They can cause serious problems if a builder's source tree is in a directory
12726
+# whose full name contains unusual characters.
12727
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
12728
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
12729
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
12732
+# Find a good install program. We prefer a C program (faster),
12733
+# so one script is as good as another. But avoid the broken or
12734
+# incompatible versions:
12735
+# SysV /etc/install, /usr/sbin/install
12736
+# SunOS /usr/etc/install
12737
+# IRIX /sbin/install
12738
+# AIX /bin/install
12739
+# AmigaOS /C/install, which installs bootblocks on floppy discs
12740
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12741
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
12742
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12743
+# OS/2's system install, which has a completely different semantic
12744
+# ./install, which can be erroneously created by make from ./install.sh.
12745
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12746
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
12747
+if test -z "$INSTALL"; then
12748
+if test "${ac_cv_path_install+set}" = set; then
12749
+ echo $ECHO_N "(cached) $ECHO_C" >&6
12751
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12752
+for as_dir in $PATH
12755
+ test -z "$as_dir" && as_dir=.
12756
+ # Account for people who put trailing slashes in PATH elements.
12758
+ ./ | .// | /cC/* | \
12759
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12760
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12763
+ # OSF1 and SCO ODT 3.0 have their own names for install.
12764
+ # Don't use installbsd from OSF since it installs stuff as root
12766
+ for ac_prog in ginstall scoinst install; do
12767
+ for ac_exec_ext in '' $ac_executable_extensions; do
12768
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
12769
+ if test $ac_prog = install &&
12770
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12771
+ # AIX install. It has an incompatible calling convention.
12773
+ elif test $ac_prog = install &&
12774
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12775
+ # program-specific install script used by HP pwplus--don't use.
12778
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12791
+ if test "${ac_cv_path_install+set}" = set; then
12792
+ INSTALL=$ac_cv_path_install
12794
+ # As a last resort, use the slow shell script. Don't cache a
12795
+ # value for INSTALL within a source directory, because that will
12796
+ # break other packages using the cache if that directory is
12797
+ # removed, or if the value is a relative name.
12798
+ INSTALL=$ac_install_sh
12801
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
12802
+echo "${ECHO_T}$INSTALL" >&6; }
12804
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12805
+# It thinks the first close brace ends the variable substitution.
12806
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12808
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12810
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12812
+{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
12813
+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
12816
+echo timestamp > conftest.file
12817
+# Do `set' in a subshell so we don't clobber the current shell's
12818
+# arguments. Must try -L first in case configure is actually a
12819
+# symlink; some systems play weird games with the mod time of symlinks
12820
+# (eg FreeBSD returns the mod time of the symlink's containing
12823
+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
12824
+ if test "$*" = "X"; then
12825
+ # -L didn't work.
12826
+ set X `ls -t $srcdir/configure conftest.file`
12828
+ rm -f conftest.file
12829
+ if test "$*" != "X $srcdir/configure conftest.file" \
12830
+ && test "$*" != "X conftest.file $srcdir/configure"; then
12832
+ # If neither matched, then we have a broken ls. This can happen
12833
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
12834
+ # broken ls alias from the environment. This has actually
12835
+ # happened. Such a system could not be considered "sane".
12836
+ { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
12837
+alias in your environment" >&5
12838
+echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
12839
+alias in your environment" >&2;}
12840
+ { (exit 1); exit 1; }; }
12843
+ test "$2" = conftest.file
12849
+ { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
12850
+Check your system clock" >&5
12851
+echo "$as_me: error: newly created file is older than distributed files!
12852
+Check your system clock" >&2;}
12853
+ { (exit 1); exit 1; }; }
12855
+{ echo "$as_me:$LINENO: result: yes" >&5
12856
+echo "${ECHO_T}yes" >&6; }
12857
+test "$program_prefix" != NONE &&
12858
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
12859
+# Use a double $ so make ignores it.
12860
+test "$program_suffix" != NONE &&
12861
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
12862
+# Double any \ or $. echo might interpret backslashes.
12863
+# By default was `s,x,x', remove it if useless.
12864
+cat <<\_ACEOF >conftest.sed
12865
+s/[\\$]/&&/g;s/;s,x,x,$//
12867
+program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
12868
+rm -f conftest.sed
12870
+# expand $ac_aux_dir to an absolute path
12871
+am_aux_dir=`cd $ac_aux_dir && pwd`
12873
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
12874
+# Use eval to expand $SHELL
12875
+if eval "$MISSING --run true"; then
12876
+ am_missing_run="$MISSING --run "
12879
+ { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
12880
+echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
12883
+if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
12884
+ # We used to keeping the `.' as first argument, in order to
12885
+ # allow $(mkdir_p) to be used without argument. As in
12886
+ # $(mkdir_p) $(somedir)
12887
+ # where $(somedir) is conditionally defined. However this is wrong
12888
+ # for two reasons:
12889
+ # 1. if the package is installed by a user who cannot write `.'
12890
+ # make install will fail,
12891
+ # 2. the above comment should most certainly read
12892
+ # $(mkdir_p) $(DESTDIR)$(somedir)
12893
+ # so it does not work when $(somedir) is undefined and
12894
+ # $(DESTDIR) is not.
12895
+ # To support the latter case, we have to write
12896
+ # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
12897
+ # so the `.' trick is pointless.
12898
+ mkdir_p='mkdir -p --'
12900
+ # On NextStep and OpenStep, the `mkdir' command does not
12901
+ # recognize any option. It will interpret all options as
12902
+ # directories to create, and then abort because `.' already
12904
+ for d in ./-p ./--version;
12906
+ test -d $d && rmdir $d
12908
+ # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
12909
+ if test -f "$ac_aux_dir/mkinstalldirs"; then
12910
+ mkdir_p='$(mkinstalldirs)'
12912
+ mkdir_p='$(install_sh) -d'
12916
+for ac_prog in gawk mawk nawk awk
12918
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
12919
+set dummy $ac_prog; ac_word=$2
12920
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12921
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12922
+if test "${ac_cv_prog_AWK+set}" = set; then
12923
+ echo $ECHO_N "(cached) $ECHO_C" >&6
12925
+ if test -n "$AWK"; then
12926
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
12928
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12929
+for as_dir in $PATH
12932
+ test -z "$as_dir" && as_dir=.
12933
+ for ac_exec_ext in '' $ac_executable_extensions; do
12934
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12935
+ ac_cv_prog_AWK="$ac_prog"
12936
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12945
+AWK=$ac_cv_prog_AWK
12946
+if test -n "$AWK"; then
12947
+ { echo "$as_me:$LINENO: result: $AWK" >&5
12948
+echo "${ECHO_T}$AWK" >&6; }
12950
+ { echo "$as_me:$LINENO: result: no" >&5
12951
+echo "${ECHO_T}no" >&6; }
12955
+ test -n "$AWK" && break
12958
+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12959
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
12960
+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12961
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
12962
+ echo $ECHO_N "(cached) $ECHO_C" >&6
12964
+ cat >conftest.make <<\_ACEOF
12967
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
12969
+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12970
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
12971
+ *@@@%%%=?*=@@@%%%*)
12972
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
12974
+ eval ac_cv_prog_make_${ac_make}_set=no;;
12976
+rm -f conftest.make
12978
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12979
+ { echo "$as_me:$LINENO: result: yes" >&5
12980
+echo "${ECHO_T}yes" >&6; }
12983
+ { echo "$as_me:$LINENO: result: no" >&5
12984
+echo "${ECHO_T}no" >&6; }
12985
+ SET_MAKE="MAKE=${MAKE-make}"
12988
+rm -rf .tst 2>/dev/null
12989
+mkdir .tst 2>/dev/null
12990
+if test -d .tst; then
12991
+ am__leading_dot=.
12993
+ am__leading_dot=_
12995
+rmdir .tst 2>/dev/null
12997
+# test to see if srcdir already configured
12998
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
12999
+ test -f $srcdir/config.status; then
13000
+ { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
13001
+echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
13002
+ { (exit 1); exit 1; }; }
13005
+# test whether we have cygpath
13006
+if test -z "$CYGPATH_W"; then
13007
+ if (cygpath --version) >/dev/null 2>/dev/null; then
13008
+ CYGPATH_W='cygpath -w'
13015
+# Define the identity of the package.
13016
+ PACKAGE='compcomm-plugins-main'
13020
+cat >>confdefs.h <<_ACEOF
13021
+#define PACKAGE "$PACKAGE"
13025
+cat >>confdefs.h <<_ACEOF
13026
+#define VERSION "$VERSION"
13029
+# Some tools Automake needs.
13031
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
13034
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
13037
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
13040
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
13043
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
13045
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
13047
+# Installed binaries are usually stripped using `strip' when the user
13048
+# run `make install-strip'. However `strip' might not be the right
13049
+# tool to use in cross-compilation environments, therefore Automake
13050
+# will honor the `STRIP' environment variable to overrule this program.
13051
+if test "$cross_compiling" != no; then
13052
+ if test -n "$ac_tool_prefix"; then
13053
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13054
+set dummy ${ac_tool_prefix}strip; ac_word=$2
13055
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13056
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13057
+if test "${ac_cv_prog_STRIP+set}" = set; then
13058
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13060
+ if test -n "$STRIP"; then
13061
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13063
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13064
+for as_dir in $PATH
13067
+ test -z "$as_dir" && as_dir=.
13068
+ for ac_exec_ext in '' $ac_executable_extensions; do
13069
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13070
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
13071
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13080
+STRIP=$ac_cv_prog_STRIP
13081
+if test -n "$STRIP"; then
13082
+ { echo "$as_me:$LINENO: result: $STRIP" >&5
13083
+echo "${ECHO_T}$STRIP" >&6; }
13085
+ { echo "$as_me:$LINENO: result: no" >&5
13086
+echo "${ECHO_T}no" >&6; }
13091
+if test -z "$ac_cv_prog_STRIP"; then
13092
+ ac_ct_STRIP=$STRIP
13093
+ # Extract the first word of "strip", so it can be a program name with args.
13094
+set dummy strip; ac_word=$2
13095
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13096
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13097
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13098
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13100
+ if test -n "$ac_ct_STRIP"; then
13101
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
13103
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13104
+for as_dir in $PATH
13107
+ test -z "$as_dir" && as_dir=.
13108
+ for ac_exec_ext in '' $ac_executable_extensions; do
13109
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13110
+ ac_cv_prog_ac_ct_STRIP="strip"
13111
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13120
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
13121
+if test -n "$ac_ct_STRIP"; then
13122
+ { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13123
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
13125
+ { echo "$as_me:$LINENO: result: no" >&5
13126
+echo "${ECHO_T}no" >&6; }
13129
+ if test "x$ac_ct_STRIP" = x; then
13132
+ case $cross_compiling:$ac_tool_warned in
13134
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13135
+whose name does not start with the host triplet. If you think this
13136
+configuration is useful to you, please write to autoconf@gnu.org." >&5
13137
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13138
+whose name does not start with the host triplet. If you think this
13139
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13140
+ac_tool_warned=yes ;;
13142
+ STRIP=$ac_ct_STRIP
13145
+ STRIP="$ac_cv_prog_STRIP"
13149
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
13151
+# We need awk for the "check" target. The system "awk" is bad on
13153
+# Always define AMTAR for backward compatibility.
13155
+AMTAR=${AMTAR-"${am_missing_run}tar"}
13157
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
13163
+ac_config_headers="$ac_config_headers config.h"
13165
+{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
13166
+echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
13167
+ # Check whether --enable-maintainer-mode was given.
13168
+if test "${enable_maintainer_mode+set}" = set; then
13169
+ enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13171
+ USE_MAINTAINER_MODE=no
13174
+ { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
13175
+echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
13178
+if test $USE_MAINTAINER_MODE = yes; then
13179
+ MAINTAINER_MODE_TRUE=
13180
+ MAINTAINER_MODE_FALSE='#'
13182
+ MAINTAINER_MODE_TRUE='#'
13183
+ MAINTAINER_MODE_FALSE=
13186
+ MAINT=$MAINTAINER_MODE_TRUE
13190
+DEPDIR="${am__leading_dot}deps"
13192
+ac_config_commands="$ac_config_commands depfiles"
13195
+am_make=${MAKE-make}
13196
+cat > confinc << 'END'
13201
+# If we don't find an include directive, just comment out the code.
13202
+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
13203
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
13207
+# First try GNU make style include.
13208
+echo "include confinc" > confmf
13209
+# We grep out `Entering directory' and `Leaving directory'
13210
+# messages which can occur if `w' ends up in MAKEFLAGS.
13211
+# In particular we don't look at `^make:' because GNU make might
13212
+# be invoked under some other name (usually "gmake"), in which
13213
+# case it prints its new name instead of `make'.
13214
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
13215
+ am__include=include
13219
+# Now try BSD make style include.
13220
+if test "$am__include" = "#"; then
13221
+ echo '.include "confinc"' > confmf
13222
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
13223
+ am__include=.include
13230
+{ echo "$as_me:$LINENO: result: $_am_result" >&5
13231
+echo "${ECHO_T}$_am_result" >&6; }
13232
+rm -f confinc confmf
13234
+# Check whether --enable-dependency-tracking was given.
13235
+if test "${enable_dependency_tracking+set}" = set; then
13236
+ enableval=$enable_dependency_tracking;
13239
+if test "x$enable_dependency_tracking" != xno; then
13240
+ am_depcomp="$ac_aux_dir/depcomp"
13241
+ AMDEPBACKSLASH='\'
13245
+if test "x$enable_dependency_tracking" != xno; then
13256
+ac_cpp='$CPP $CPPFLAGS'
13257
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
13260
+if test -n "$ac_tool_prefix"; then
13261
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13262
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
13263
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13264
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13265
+if test "${ac_cv_prog_CC+set}" = set; then
13266
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13268
+ if test -n "$CC"; then
13269
+ ac_cv_prog_CC="$CC" # Let the user override the test.
13271
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13272
+for as_dir in $PATH
13275
+ test -z "$as_dir" && as_dir=.
13276
+ for ac_exec_ext in '' $ac_executable_extensions; do
13277
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13278
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
13279
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13289
+if test -n "$CC"; then
13290
+ { echo "$as_me:$LINENO: result: $CC" >&5
13291
+echo "${ECHO_T}$CC" >&6; }
13293
+ { echo "$as_me:$LINENO: result: no" >&5
13294
+echo "${ECHO_T}no" >&6; }
13299
+if test -z "$ac_cv_prog_CC"; then
13301
+ # Extract the first word of "gcc", so it can be a program name with args.
13302
+set dummy gcc; ac_word=$2
13303
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13304
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13305
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13306
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13308
+ if test -n "$ac_ct_CC"; then
13309
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13311
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13312
+for as_dir in $PATH
13315
+ test -z "$as_dir" && as_dir=.
13316
+ for ac_exec_ext in '' $ac_executable_extensions; do
13317
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13318
+ ac_cv_prog_ac_ct_CC="gcc"
13319
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13328
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
13329
+if test -n "$ac_ct_CC"; then
13330
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13331
+echo "${ECHO_T}$ac_ct_CC" >&6; }
13333
+ { echo "$as_me:$LINENO: result: no" >&5
13334
+echo "${ECHO_T}no" >&6; }
13337
+ if test "x$ac_ct_CC" = x; then
13340
+ case $cross_compiling:$ac_tool_warned in
13342
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13343
+whose name does not start with the host triplet. If you think this
13344
+configuration is useful to you, please write to autoconf@gnu.org." >&5
13345
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13346
+whose name does not start with the host triplet. If you think this
13347
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13348
+ac_tool_warned=yes ;;
13353
+ CC="$ac_cv_prog_CC"
13356
+if test -z "$CC"; then
13357
+ if test -n "$ac_tool_prefix"; then
13358
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13359
+set dummy ${ac_tool_prefix}cc; ac_word=$2
13360
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13361
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13362
+if test "${ac_cv_prog_CC+set}" = set; then
13363
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13365
+ if test -n "$CC"; then
13366
+ ac_cv_prog_CC="$CC" # Let the user override the test.
13368
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13369
+for as_dir in $PATH
13372
+ test -z "$as_dir" && as_dir=.
13373
+ for ac_exec_ext in '' $ac_executable_extensions; do
13374
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13375
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
13376
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13386
+if test -n "$CC"; then
13387
+ { echo "$as_me:$LINENO: result: $CC" >&5
13388
+echo "${ECHO_T}$CC" >&6; }
13390
+ { echo "$as_me:$LINENO: result: no" >&5
13391
+echo "${ECHO_T}no" >&6; }
13397
+if test -z "$CC"; then
13398
+ # Extract the first word of "cc", so it can be a program name with args.
13399
+set dummy cc; ac_word=$2
13400
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13401
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13402
+if test "${ac_cv_prog_CC+set}" = set; then
13403
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13405
+ if test -n "$CC"; then
13406
+ ac_cv_prog_CC="$CC" # Let the user override the test.
13408
+ ac_prog_rejected=no
13409
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13410
+for as_dir in $PATH
13413
+ test -z "$as_dir" && as_dir=.
13414
+ for ac_exec_ext in '' $ac_executable_extensions; do
13415
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13416
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13417
+ ac_prog_rejected=yes
13420
+ ac_cv_prog_CC="cc"
13421
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13428
+if test $ac_prog_rejected = yes; then
13429
+ # We found a bogon in the path, so make sure we never use it.
13430
+ set dummy $ac_cv_prog_CC
13432
+ if test $# != 0; then
13433
+ # We chose a different compiler from the bogus one.
13434
+ # However, it has the same basename, so the bogon will be chosen
13435
+ # first if we set CC to just the basename; use the full file name.
13437
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13443
+if test -n "$CC"; then
13444
+ { echo "$as_me:$LINENO: result: $CC" >&5
13445
+echo "${ECHO_T}$CC" >&6; }
13447
+ { echo "$as_me:$LINENO: result: no" >&5
13448
+echo "${ECHO_T}no" >&6; }
13453
+if test -z "$CC"; then
13454
+ if test -n "$ac_tool_prefix"; then
13455
+ for ac_prog in cl.exe
13457
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13458
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13459
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13460
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13461
+if test "${ac_cv_prog_CC+set}" = set; then
13462
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13464
+ if test -n "$CC"; then
13465
+ ac_cv_prog_CC="$CC" # Let the user override the test.
13467
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13468
+for as_dir in $PATH
13471
+ test -z "$as_dir" && as_dir=.
13472
+ for ac_exec_ext in '' $ac_executable_extensions; do
13473
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13474
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13475
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13485
+if test -n "$CC"; then
13486
+ { echo "$as_me:$LINENO: result: $CC" >&5
13487
+echo "${ECHO_T}$CC" >&6; }
13489
+ { echo "$as_me:$LINENO: result: no" >&5
13490
+echo "${ECHO_T}no" >&6; }
13494
+ test -n "$CC" && break
13497
+if test -z "$CC"; then
13499
+ for ac_prog in cl.exe
13501
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
13502
+set dummy $ac_prog; ac_word=$2
13503
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13504
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13505
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13506
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13508
+ if test -n "$ac_ct_CC"; then
13509
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13511
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13512
+for as_dir in $PATH
13515
+ test -z "$as_dir" && as_dir=.
13516
+ for ac_exec_ext in '' $ac_executable_extensions; do
13517
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13518
+ ac_cv_prog_ac_ct_CC="$ac_prog"
13519
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13528
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
13529
+if test -n "$ac_ct_CC"; then
13530
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13531
+echo "${ECHO_T}$ac_ct_CC" >&6; }
13533
+ { echo "$as_me:$LINENO: result: no" >&5
13534
+echo "${ECHO_T}no" >&6; }
13538
+ test -n "$ac_ct_CC" && break
13541
+ if test "x$ac_ct_CC" = x; then
13544
+ case $cross_compiling:$ac_tool_warned in
13546
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13547
+whose name does not start with the host triplet. If you think this
13548
+configuration is useful to you, please write to autoconf@gnu.org." >&5
13549
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13550
+whose name does not start with the host triplet. If you think this
13551
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13552
+ac_tool_warned=yes ;;
13561
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13562
+See \`config.log' for more details." >&5
13563
+echo "$as_me: error: no acceptable C compiler found in \$PATH
13564
+See \`config.log' for more details." >&2;}
13565
+ { (exit 1); exit 1; }; }
13567
+# Provide some information about the compiler.
13568
+echo "$as_me:$LINENO: checking for C compiler version" >&5
13569
+ac_compiler=`set X $ac_compile; echo $2`
13570
+{ (ac_try="$ac_compiler --version >&5"
13571
+case "(($ac_try" in
13572
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13573
+ *) ac_try_echo=$ac_try;;
13575
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13576
+ (eval "$ac_compiler --version >&5") 2>&5
13578
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579
+ (exit $ac_status); }
13580
+{ (ac_try="$ac_compiler -v >&5"
13581
+case "(($ac_try" in
13582
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13583
+ *) ac_try_echo=$ac_try;;
13585
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13586
+ (eval "$ac_compiler -v >&5") 2>&5
13588
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589
+ (exit $ac_status); }
13590
+{ (ac_try="$ac_compiler -V >&5"
13591
+case "(($ac_try" in
13592
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13593
+ *) ac_try_echo=$ac_try;;
13595
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13596
+ (eval "$ac_compiler -V >&5") 2>&5
13598
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599
+ (exit $ac_status); }
13601
+cat >conftest.$ac_ext <<_ACEOF
13604
+cat confdefs.h >>conftest.$ac_ext
13605
+cat >>conftest.$ac_ext <<_ACEOF
13606
+/* end confdefs.h. */
13616
+ac_clean_files_save=$ac_clean_files
13617
+ac_clean_files="$ac_clean_files a.out a.exe b.out"
13618
+# Try to create an executable without -o first, disregard a.out.
13619
+# It will help us diagnose broken compilers, and finding out an intuition
13621
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13622
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13623
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13625
+# List of possible output files, starting from the most likely.
13626
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13627
+# only as a last resort. b.out is created by i960 compilers.
13628
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13630
+# The IRIX 6 linker writes into existing files which may not be
13631
+# executable, retaining their permissions. Remove them first so a
13632
+# subsequent execution test works.
13634
+for ac_file in $ac_files
13637
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13638
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13643
+if { (ac_try="$ac_link_default"
13644
+case "(($ac_try" in
13645
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13646
+ *) ac_try_echo=$ac_try;;
13648
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13649
+ (eval "$ac_link_default") 2>&5
13651
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652
+ (exit $ac_status); }; then
13653
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13654
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13655
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
13656
+# so that the user can short-circuit this test for compilers unknown to
13658
+for ac_file in $ac_files ''
13660
+ test -f "$ac_file" || continue
13662
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13665
+ # We found the default executable, but exeext='' is most
13666
+ # certainly right.
13669
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13671
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13673
+ # We set ac_cv_exeext here because the later test for it is not
13674
+ # safe: cross compilers may not add the suffix if given an `-o'
13675
+ # argument, so we may need to know it at that point already.
13676
+ # Even if this section looks crufty: it has the advantage of
13677
+ # actually working.
13683
+test "$ac_cv_exeext" = no && ac_cv_exeext=
13689
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
13690
+echo "${ECHO_T}$ac_file" >&6; }
13691
+if test -z "$ac_file"; then
13692
+ echo "$as_me: failed program was:" >&5
13693
+sed 's/^/| /' conftest.$ac_ext >&5
13695
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
13696
+See \`config.log' for more details." >&5
13697
+echo "$as_me: error: C compiler cannot create executables
13698
+See \`config.log' for more details." >&2;}
13699
+ { (exit 77); exit 77; }; }
13702
+ac_exeext=$ac_cv_exeext
13704
+# Check that the compiler produces executables we can run. If not, either
13705
+# the compiler is broken, or we cross compile.
13706
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13707
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13708
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13709
+# If not cross compiling, check that we can run a simple program.
13710
+if test "$cross_compiling" != yes; then
13711
+ if { ac_try='./$ac_file'
13712
+ { (case "(($ac_try" in
13713
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13714
+ *) ac_try_echo=$ac_try;;
13716
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13717
+ (eval "$ac_try") 2>&5
13719
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720
+ (exit $ac_status); }; }; then
13721
+ cross_compiling=no
13723
+ if test "$cross_compiling" = maybe; then
13724
+ cross_compiling=yes
13726
+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13727
+If you meant to cross compile, use \`--host'.
13728
+See \`config.log' for more details." >&5
13729
+echo "$as_me: error: cannot run C compiled programs.
13730
+If you meant to cross compile, use \`--host'.
13731
+See \`config.log' for more details." >&2;}
13732
+ { (exit 1); exit 1; }; }
13736
+{ echo "$as_me:$LINENO: result: yes" >&5
13737
+echo "${ECHO_T}yes" >&6; }
13739
+rm -f a.out a.exe conftest$ac_cv_exeext b.out
13740
+ac_clean_files=$ac_clean_files_save
13741
+# Check that the compiler produces executables we can run. If not, either
13742
+# the compiler is broken, or we cross compile.
13743
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13744
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13745
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
13746
+echo "${ECHO_T}$cross_compiling" >&6; }
13748
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
13749
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13750
+if { (ac_try="$ac_link"
13751
+case "(($ac_try" in
13752
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13753
+ *) ac_try_echo=$ac_try;;
13755
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13756
+ (eval "$ac_link") 2>&5
13758
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759
+ (exit $ac_status); }; then
13760
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
13761
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13762
+# work properly (i.e., refer to `conftest.exe'), while it won't with
13764
+for ac_file in conftest.exe conftest conftest.*; do
13765
+ test -f "$ac_file" || continue
13767
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13768
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13774
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13775
+See \`config.log' for more details." >&5
13776
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13777
+See \`config.log' for more details." >&2;}
13778
+ { (exit 1); exit 1; }; }
13781
+rm -f conftest$ac_cv_exeext
13782
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13783
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
13785
+rm -f conftest.$ac_ext
13786
+EXEEXT=$ac_cv_exeext
13788
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
13789
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13790
+if test "${ac_cv_objext+set}" = set; then
13791
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13793
+ cat >conftest.$ac_ext <<_ACEOF
13796
+cat confdefs.h >>conftest.$ac_ext
13797
+cat >>conftest.$ac_ext <<_ACEOF
13798
+/* end confdefs.h. */
13808
+rm -f conftest.o conftest.obj
13809
+if { (ac_try="$ac_compile"
13810
+case "(($ac_try" in
13811
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13812
+ *) ac_try_echo=$ac_try;;
13814
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13815
+ (eval "$ac_compile") 2>&5
13817
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818
+ (exit $ac_status); }; then
13819
+ for ac_file in conftest.o conftest.obj conftest.*; do
13820
+ test -f "$ac_file" || continue;
13822
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13823
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13828
+ echo "$as_me: failed program was:" >&5
13829
+sed 's/^/| /' conftest.$ac_ext >&5
13831
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13832
+See \`config.log' for more details." >&5
13833
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
13834
+See \`config.log' for more details." >&2;}
13835
+ { (exit 1); exit 1; }; }
13838
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
13840
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13841
+echo "${ECHO_T}$ac_cv_objext" >&6; }
13842
+OBJEXT=$ac_cv_objext
13844
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13845
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13846
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
13847
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13849
+ cat >conftest.$ac_ext <<_ACEOF
13852
+cat confdefs.h >>conftest.$ac_ext
13853
+cat >>conftest.$ac_ext <<_ACEOF
13854
+/* end confdefs.h. */
13867
+rm -f conftest.$ac_objext
13868
+if { (ac_try="$ac_compile"
13869
+case "(($ac_try" in
13870
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13871
+ *) ac_try_echo=$ac_try;;
13873
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13874
+ (eval "$ac_compile") 2>conftest.er1
13876
+ grep -v '^ *+' conftest.er1 >conftest.err
13877
+ rm -f conftest.er1
13878
+ cat conftest.err >&5
13879
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880
+ (exit $ac_status); } && {
13881
+ test -z "$ac_c_werror_flag" ||
13882
+ test ! -s conftest.err
13883
+ } && test -s conftest.$ac_objext; then
13884
+ ac_compiler_gnu=yes
13886
+ echo "$as_me: failed program was:" >&5
13887
+sed 's/^/| /' conftest.$ac_ext >&5
13889
+ ac_compiler_gnu=no
13892
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13893
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
13896
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13897
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13898
+GCC=`test $ac_compiler_gnu = yes && echo yes`
13899
+ac_test_CFLAGS=${CFLAGS+set}
13900
+ac_save_CFLAGS=$CFLAGS
13901
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13902
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13903
+if test "${ac_cv_prog_cc_g+set}" = set; then
13904
+ echo $ECHO_N "(cached) $ECHO_C" >&6
13906
+ ac_save_c_werror_flag=$ac_c_werror_flag
13907
+ ac_c_werror_flag=yes
13908
+ ac_cv_prog_cc_g=no
13910
+ cat >conftest.$ac_ext <<_ACEOF
13913
+cat confdefs.h >>conftest.$ac_ext
13914
+cat >>conftest.$ac_ext <<_ACEOF
13915
+/* end confdefs.h. */
13925
+rm -f conftest.$ac_objext
13926
+if { (ac_try="$ac_compile"
13927
+case "(($ac_try" in
13928
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13929
+ *) ac_try_echo=$ac_try;;
13931
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13932
+ (eval "$ac_compile") 2>conftest.er1
13934
+ grep -v '^ *+' conftest.er1 >conftest.err
13935
+ rm -f conftest.er1
13936
+ cat conftest.err >&5
13937
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938
+ (exit $ac_status); } && {
13939
+ test -z "$ac_c_werror_flag" ||
13940
+ test ! -s conftest.err
13941
+ } && test -s conftest.$ac_objext; then
13942
+ ac_cv_prog_cc_g=yes
13944
+ echo "$as_me: failed program was:" >&5
13945
+sed 's/^/| /' conftest.$ac_ext >&5
13948
+ cat >conftest.$ac_ext <<_ACEOF
13951
+cat confdefs.h >>conftest.$ac_ext
13952
+cat >>conftest.$ac_ext <<_ACEOF
13953
+/* end confdefs.h. */
13963
+rm -f conftest.$ac_objext
13964
+if { (ac_try="$ac_compile"
13965
+case "(($ac_try" in
13966
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13967
+ *) ac_try_echo=$ac_try;;
13969
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13970
+ (eval "$ac_compile") 2>conftest.er1
13972
+ grep -v '^ *+' conftest.er1 >conftest.err
13973
+ rm -f conftest.er1
13974
+ cat conftest.err >&5
13975
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976
+ (exit $ac_status); } && {
13977
+ test -z "$ac_c_werror_flag" ||
13978
+ test ! -s conftest.err
13979
+ } && test -s conftest.$ac_objext; then
13982
+ echo "$as_me: failed program was:" >&5
13983
+sed 's/^/| /' conftest.$ac_ext >&5
13985
+ ac_c_werror_flag=$ac_save_c_werror_flag
13987
+ cat >conftest.$ac_ext <<_ACEOF
13990
+cat confdefs.h >>conftest.$ac_ext
13991
+cat >>conftest.$ac_ext <<_ACEOF
13992
+/* end confdefs.h. */
14002
+rm -f conftest.$ac_objext
14003
+if { (ac_try="$ac_compile"
14004
+case "(($ac_try" in
14005
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14006
+ *) ac_try_echo=$ac_try;;
14008
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14009
+ (eval "$ac_compile") 2>conftest.er1
14011
+ grep -v '^ *+' conftest.er1 >conftest.err
14012
+ rm -f conftest.er1
14013
+ cat conftest.err >&5
14014
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015
+ (exit $ac_status); } && {
14016
+ test -z "$ac_c_werror_flag" ||
14017
+ test ! -s conftest.err
14018
+ } && test -s conftest.$ac_objext; then
14019
+ ac_cv_prog_cc_g=yes
14021
+ echo "$as_me: failed program was:" >&5
14022
+sed 's/^/| /' conftest.$ac_ext >&5
14027
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14030
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14033
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14034
+ ac_c_werror_flag=$ac_save_c_werror_flag
14036
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14037
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14038
+if test "$ac_test_CFLAGS" = set; then
14039
+ CFLAGS=$ac_save_CFLAGS
14040
+elif test $ac_cv_prog_cc_g = yes; then
14041
+ if test "$GCC" = yes; then
14047
+ if test "$GCC" = yes; then
14053
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14054
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14055
+if test "${ac_cv_prog_cc_c89+set}" = set; then
14056
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14058
+ ac_cv_prog_cc_c89=no
14060
+cat >conftest.$ac_ext <<_ACEOF
14063
+cat confdefs.h >>conftest.$ac_ext
14064
+cat >>conftest.$ac_ext <<_ACEOF
14065
+/* end confdefs.h. */
14066
+#include <stdarg.h>
14067
+#include <stdio.h>
14068
+#include <sys/types.h>
14069
+#include <sys/stat.h>
14070
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14071
+struct buf { int x; };
14072
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
14073
+static char *e (p, i)
14079
+static char *f (char * (*g) (char **, int), char **p, ...)
14084
+ s = g (p, va_arg (v,int));
14089
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14090
+ function prototypes and stuff, but not '\xHH' hex character constants.
14091
+ These don't provoke an error unfortunately, instead are silently treated
14092
+ as 'x'. The following induces an error, until -std is added to get
14093
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14094
+ array size at least. It's necessary to write '\x00'==0 to get something
14095
+ that's true only with -std. */
14096
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14098
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14099
+ inside strings and character constants. */
14100
+#define FOO(x) 'x'
14101
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14103
+int test (int i, double x);
14104
+struct s1 {int (*f) (int a);};
14105
+struct s2 {int (*f) (double a);};
14106
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14112
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14117
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14118
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14120
+ CC="$ac_save_CC $ac_arg"
14121
+ rm -f conftest.$ac_objext
14122
+if { (ac_try="$ac_compile"
14123
+case "(($ac_try" in
14124
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14125
+ *) ac_try_echo=$ac_try;;
14127
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14128
+ (eval "$ac_compile") 2>conftest.er1
14130
+ grep -v '^ *+' conftest.er1 >conftest.err
14131
+ rm -f conftest.er1
14132
+ cat conftest.err >&5
14133
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134
+ (exit $ac_status); } && {
14135
+ test -z "$ac_c_werror_flag" ||
14136
+ test ! -s conftest.err
14137
+ } && test -s conftest.$ac_objext; then
14138
+ ac_cv_prog_cc_c89=$ac_arg
14140
+ echo "$as_me: failed program was:" >&5
14141
+sed 's/^/| /' conftest.$ac_ext >&5
14146
+rm -f core conftest.err conftest.$ac_objext
14147
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
14149
+rm -f conftest.$ac_ext
14154
+case "x$ac_cv_prog_cc_c89" in
14156
+ { echo "$as_me:$LINENO: result: none needed" >&5
14157
+echo "${ECHO_T}none needed" >&6; } ;;
14159
+ { echo "$as_me:$LINENO: result: unsupported" >&5
14160
+echo "${ECHO_T}unsupported" >&6; } ;;
14162
+ CC="$CC $ac_cv_prog_cc_c89"
14163
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14164
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14169
+ac_cpp='$CPP $CPPFLAGS'
14170
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14171
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14172
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
14174
+depcc="$CC" am_compiler_list=
14176
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
14177
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
14178
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
14179
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14181
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14182
+ # We make a subdir and do the tests there. Otherwise we can end up
14183
+ # making bogus files that we don't know about and never remove. For
14184
+ # instance it was reported that on HP-UX the gcc test will end up
14185
+ # making a dummy file named `D' -- because `-MD' means `put the output
14187
+ mkdir conftest.dir
14188
+ # Copy depcomp to subdir because otherwise we won't find it if we're
14189
+ # using a relative directory.
14190
+ cp "$am_depcomp" conftest.dir
14192
+ # We will build objects and dependencies in a subdirectory because
14193
+ # it helps to detect inapplicable dependency modes. For instance
14194
+ # both Tru64's cc and ICC support -MD to output dependencies as a
14195
+ # side effect of compilation, but ICC will put the dependencies in
14196
+ # the current directory while Tru64 will put them in the object
14200
+ am_cv_CC_dependencies_compiler_type=none
14201
+ if test "$am_compiler_list" = ""; then
14202
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14204
+ for depmode in $am_compiler_list; do
14205
+ # Setup a source with many dependencies, because some compilers
14206
+ # like to wrap large dependency lists on column 80 (with \), and
14207
+ # we should not choose a depcomp mode which is confused by this.
14209
+ # We need to recreate these files for each test, as the compiler may
14210
+ # overwrite some of them when testing with obscure command lines.
14211
+ # This happens at least with the AIX C compiler.
14212
+ : > sub/conftest.c
14213
+ for i in 1 2 3 4 5 6; do
14214
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
14215
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14216
+ # Solaris 8's {/usr,}/bin/sh.
14217
+ touch sub/conftst$i.h
14219
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14223
+ # after this tag, mechanisms are not by side-effect, so they'll
14224
+ # only be used when explicitly requested
14225
+ if test "x$enable_dependency_tracking" = xyes; then
14233
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
14234
+ # mode. It turns out that the SunPro C++ compiler does not properly
14235
+ # handle `-M -o', and we need to detect this.
14236
+ if depmode=$depmode \
14237
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
14238
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14239
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
14240
+ >/dev/null 2>conftest.err &&
14241
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14242
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
14243
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14244
+ # icc doesn't choke on unknown options, it will just issue warnings
14245
+ # or remarks (even with -Werror). So we grep stderr for any message
14246
+ # that says an option was ignored or not supported.
14247
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
14248
+ # icc: Command line warning: ignoring option '-M'; no argument required
14249
+ # The diagnosis changed in icc 8.0:
14250
+ # icc: Command line remark: option '-MP' not supported
14251
+ if (grep 'ignoring option' conftest.err ||
14252
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14253
+ am_cv_CC_dependencies_compiler_type=$depmode
14260
+ rm -rf conftest.dir
14262
+ am_cv_CC_dependencies_compiler_type=none
14266
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
14267
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
14268
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14273
+ test "x$enable_dependency_tracking" != xno \
14274
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14275
+ am__fastdepCC_TRUE=
14276
+ am__fastdepCC_FALSE='#'
14278
+ am__fastdepCC_TRUE='#'
14279
+ am__fastdepCC_FALSE=
14284
+{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
14285
+echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
14286
+if test "${ac_cv_search_strerror+set}" = set; then
14287
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14289
+ ac_func_search_save_LIBS=$LIBS
14290
+cat >conftest.$ac_ext <<_ACEOF
14293
+cat confdefs.h >>conftest.$ac_ext
14294
+cat >>conftest.$ac_ext <<_ACEOF
14295
+/* end confdefs.h. */
14297
+/* Override any GCC internal prototype to avoid an error.
14298
+ Use char because int might match the return type of a GCC
14299
+ builtin and then its argument prototype would still apply. */
14300
+#ifdef __cplusplus
14307
+return strerror ();
14312
+for ac_lib in '' cposix; do
14313
+ if test -z "$ac_lib"; then
14314
+ ac_res="none required"
14317
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14319
+ rm -f conftest.$ac_objext conftest$ac_exeext
14320
+if { (ac_try="$ac_link"
14321
+case "(($ac_try" in
14322
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14323
+ *) ac_try_echo=$ac_try;;
14325
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14326
+ (eval "$ac_link") 2>conftest.er1
14328
+ grep -v '^ *+' conftest.er1 >conftest.err
14329
+ rm -f conftest.er1
14330
+ cat conftest.err >&5
14331
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332
+ (exit $ac_status); } && {
14333
+ test -z "$ac_c_werror_flag" ||
14334
+ test ! -s conftest.err
14335
+ } && test -s conftest$ac_exeext &&
14336
+ $as_test_x conftest$ac_exeext; then
14337
+ ac_cv_search_strerror=$ac_res
14339
+ echo "$as_me: failed program was:" >&5
14340
+sed 's/^/| /' conftest.$ac_ext >&5
14345
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14346
+ conftest$ac_exeext
14347
+ if test "${ac_cv_search_strerror+set}" = set; then
14351
+if test "${ac_cv_search_strerror+set}" = set; then
14354
+ ac_cv_search_strerror=no
14356
+rm conftest.$ac_ext
14357
+LIBS=$ac_func_search_save_LIBS
14359
+{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
14360
+echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
14361
+ac_res=$ac_cv_search_strerror
14362
+if test "$ac_res" != no; then
14363
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14368
+ac_cpp='$CPP $CPPFLAGS'
14369
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14370
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14371
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
14372
+if test -n "$ac_tool_prefix"; then
14373
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14374
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
14375
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14376
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14377
+if test "${ac_cv_prog_CC+set}" = set; then
14378
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14380
+ if test -n "$CC"; then
14381
+ ac_cv_prog_CC="$CC" # Let the user override the test.
14383
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14384
+for as_dir in $PATH
14387
+ test -z "$as_dir" && as_dir=.
14388
+ for ac_exec_ext in '' $ac_executable_extensions; do
14389
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14390
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
14391
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14401
+if test -n "$CC"; then
14402
+ { echo "$as_me:$LINENO: result: $CC" >&5
14403
+echo "${ECHO_T}$CC" >&6; }
14405
+ { echo "$as_me:$LINENO: result: no" >&5
14406
+echo "${ECHO_T}no" >&6; }
14411
+if test -z "$ac_cv_prog_CC"; then
14413
+ # Extract the first word of "gcc", so it can be a program name with args.
14414
+set dummy gcc; ac_word=$2
14415
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14416
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14417
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14418
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14420
+ if test -n "$ac_ct_CC"; then
14421
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14423
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14424
+for as_dir in $PATH
14427
+ test -z "$as_dir" && as_dir=.
14428
+ for ac_exec_ext in '' $ac_executable_extensions; do
14429
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14430
+ ac_cv_prog_ac_ct_CC="gcc"
14431
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14440
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
14441
+if test -n "$ac_ct_CC"; then
14442
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14443
+echo "${ECHO_T}$ac_ct_CC" >&6; }
14445
+ { echo "$as_me:$LINENO: result: no" >&5
14446
+echo "${ECHO_T}no" >&6; }
14449
+ if test "x$ac_ct_CC" = x; then
14452
+ case $cross_compiling:$ac_tool_warned in
14454
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14455
+whose name does not start with the host triplet. If you think this
14456
+configuration is useful to you, please write to autoconf@gnu.org." >&5
14457
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14458
+whose name does not start with the host triplet. If you think this
14459
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14460
+ac_tool_warned=yes ;;
14465
+ CC="$ac_cv_prog_CC"
14468
+if test -z "$CC"; then
14469
+ if test -n "$ac_tool_prefix"; then
14470
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14471
+set dummy ${ac_tool_prefix}cc; ac_word=$2
14472
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14473
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14474
+if test "${ac_cv_prog_CC+set}" = set; then
14475
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14477
+ if test -n "$CC"; then
14478
+ ac_cv_prog_CC="$CC" # Let the user override the test.
14480
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14481
+for as_dir in $PATH
14484
+ test -z "$as_dir" && as_dir=.
14485
+ for ac_exec_ext in '' $ac_executable_extensions; do
14486
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14487
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
14488
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14498
+if test -n "$CC"; then
14499
+ { echo "$as_me:$LINENO: result: $CC" >&5
14500
+echo "${ECHO_T}$CC" >&6; }
14502
+ { echo "$as_me:$LINENO: result: no" >&5
14503
+echo "${ECHO_T}no" >&6; }
14509
+if test -z "$CC"; then
14510
+ # Extract the first word of "cc", so it can be a program name with args.
14511
+set dummy cc; ac_word=$2
14512
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14513
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14514
+if test "${ac_cv_prog_CC+set}" = set; then
14515
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14517
+ if test -n "$CC"; then
14518
+ ac_cv_prog_CC="$CC" # Let the user override the test.
14520
+ ac_prog_rejected=no
14521
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14522
+for as_dir in $PATH
14525
+ test -z "$as_dir" && as_dir=.
14526
+ for ac_exec_ext in '' $ac_executable_extensions; do
14527
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14528
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14529
+ ac_prog_rejected=yes
14532
+ ac_cv_prog_CC="cc"
14533
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14540
+if test $ac_prog_rejected = yes; then
14541
+ # We found a bogon in the path, so make sure we never use it.
14542
+ set dummy $ac_cv_prog_CC
14544
+ if test $# != 0; then
14545
+ # We chose a different compiler from the bogus one.
14546
+ # However, it has the same basename, so the bogon will be chosen
14547
+ # first if we set CC to just the basename; use the full file name.
14549
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14555
+if test -n "$CC"; then
14556
+ { echo "$as_me:$LINENO: result: $CC" >&5
14557
+echo "${ECHO_T}$CC" >&6; }
14559
+ { echo "$as_me:$LINENO: result: no" >&5
14560
+echo "${ECHO_T}no" >&6; }
14565
+if test -z "$CC"; then
14566
+ if test -n "$ac_tool_prefix"; then
14567
+ for ac_prog in cl.exe
14569
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14570
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14571
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14572
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14573
+if test "${ac_cv_prog_CC+set}" = set; then
14574
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14576
+ if test -n "$CC"; then
14577
+ ac_cv_prog_CC="$CC" # Let the user override the test.
14579
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14580
+for as_dir in $PATH
14583
+ test -z "$as_dir" && as_dir=.
14584
+ for ac_exec_ext in '' $ac_executable_extensions; do
14585
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14586
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14587
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14597
+if test -n "$CC"; then
14598
+ { echo "$as_me:$LINENO: result: $CC" >&5
14599
+echo "${ECHO_T}$CC" >&6; }
14601
+ { echo "$as_me:$LINENO: result: no" >&5
14602
+echo "${ECHO_T}no" >&6; }
14606
+ test -n "$CC" && break
14609
+if test -z "$CC"; then
14611
+ for ac_prog in cl.exe
14613
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
14614
+set dummy $ac_prog; ac_word=$2
14615
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14616
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14617
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14618
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14620
+ if test -n "$ac_ct_CC"; then
14621
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14623
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14624
+for as_dir in $PATH
14627
+ test -z "$as_dir" && as_dir=.
14628
+ for ac_exec_ext in '' $ac_executable_extensions; do
14629
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14630
+ ac_cv_prog_ac_ct_CC="$ac_prog"
14631
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14640
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
14641
+if test -n "$ac_ct_CC"; then
14642
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14643
+echo "${ECHO_T}$ac_ct_CC" >&6; }
14645
+ { echo "$as_me:$LINENO: result: no" >&5
14646
+echo "${ECHO_T}no" >&6; }
14650
+ test -n "$ac_ct_CC" && break
14653
+ if test "x$ac_ct_CC" = x; then
14656
+ case $cross_compiling:$ac_tool_warned in
14658
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14659
+whose name does not start with the host triplet. If you think this
14660
+configuration is useful to you, please write to autoconf@gnu.org." >&5
14661
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14662
+whose name does not start with the host triplet. If you think this
14663
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14664
+ac_tool_warned=yes ;;
14673
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14674
+See \`config.log' for more details." >&5
14675
+echo "$as_me: error: no acceptable C compiler found in \$PATH
14676
+See \`config.log' for more details." >&2;}
14677
+ { (exit 1); exit 1; }; }
14679
+# Provide some information about the compiler.
14680
+echo "$as_me:$LINENO: checking for C compiler version" >&5
14681
+ac_compiler=`set X $ac_compile; echo $2`
14682
+{ (ac_try="$ac_compiler --version >&5"
14683
+case "(($ac_try" in
14684
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14685
+ *) ac_try_echo=$ac_try;;
14687
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14688
+ (eval "$ac_compiler --version >&5") 2>&5
14690
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691
+ (exit $ac_status); }
14692
+{ (ac_try="$ac_compiler -v >&5"
14693
+case "(($ac_try" in
14694
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14695
+ *) ac_try_echo=$ac_try;;
14697
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14698
+ (eval "$ac_compiler -v >&5") 2>&5
14700
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701
+ (exit $ac_status); }
14702
+{ (ac_try="$ac_compiler -V >&5"
14703
+case "(($ac_try" in
14704
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14705
+ *) ac_try_echo=$ac_try;;
14707
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14708
+ (eval "$ac_compiler -V >&5") 2>&5
14710
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711
+ (exit $ac_status); }
14713
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14714
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14715
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
14716
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14718
+ cat >conftest.$ac_ext <<_ACEOF
14721
+cat confdefs.h >>conftest.$ac_ext
14722
+cat >>conftest.$ac_ext <<_ACEOF
14723
+/* end confdefs.h. */
14736
+rm -f conftest.$ac_objext
14737
+if { (ac_try="$ac_compile"
14738
+case "(($ac_try" in
14739
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14740
+ *) ac_try_echo=$ac_try;;
14742
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14743
+ (eval "$ac_compile") 2>conftest.er1
14745
+ grep -v '^ *+' conftest.er1 >conftest.err
14746
+ rm -f conftest.er1
14747
+ cat conftest.err >&5
14748
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749
+ (exit $ac_status); } && {
14750
+ test -z "$ac_c_werror_flag" ||
14751
+ test ! -s conftest.err
14752
+ } && test -s conftest.$ac_objext; then
14753
+ ac_compiler_gnu=yes
14755
+ echo "$as_me: failed program was:" >&5
14756
+sed 's/^/| /' conftest.$ac_ext >&5
14758
+ ac_compiler_gnu=no
14761
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14762
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
14765
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14766
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14767
+GCC=`test $ac_compiler_gnu = yes && echo yes`
14768
+ac_test_CFLAGS=${CFLAGS+set}
14769
+ac_save_CFLAGS=$CFLAGS
14770
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14771
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14772
+if test "${ac_cv_prog_cc_g+set}" = set; then
14773
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14775
+ ac_save_c_werror_flag=$ac_c_werror_flag
14776
+ ac_c_werror_flag=yes
14777
+ ac_cv_prog_cc_g=no
14779
+ cat >conftest.$ac_ext <<_ACEOF
14782
+cat confdefs.h >>conftest.$ac_ext
14783
+cat >>conftest.$ac_ext <<_ACEOF
14784
+/* end confdefs.h. */
14794
+rm -f conftest.$ac_objext
14795
+if { (ac_try="$ac_compile"
14796
+case "(($ac_try" in
14797
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14798
+ *) ac_try_echo=$ac_try;;
14800
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14801
+ (eval "$ac_compile") 2>conftest.er1
14803
+ grep -v '^ *+' conftest.er1 >conftest.err
14804
+ rm -f conftest.er1
14805
+ cat conftest.err >&5
14806
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807
+ (exit $ac_status); } && {
14808
+ test -z "$ac_c_werror_flag" ||
14809
+ test ! -s conftest.err
14810
+ } && test -s conftest.$ac_objext; then
14811
+ ac_cv_prog_cc_g=yes
14813
+ echo "$as_me: failed program was:" >&5
14814
+sed 's/^/| /' conftest.$ac_ext >&5
14817
+ cat >conftest.$ac_ext <<_ACEOF
14820
+cat confdefs.h >>conftest.$ac_ext
14821
+cat >>conftest.$ac_ext <<_ACEOF
14822
+/* end confdefs.h. */
14832
+rm -f conftest.$ac_objext
14833
+if { (ac_try="$ac_compile"
14834
+case "(($ac_try" in
14835
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14836
+ *) ac_try_echo=$ac_try;;
14838
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14839
+ (eval "$ac_compile") 2>conftest.er1
14841
+ grep -v '^ *+' conftest.er1 >conftest.err
14842
+ rm -f conftest.er1
14843
+ cat conftest.err >&5
14844
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845
+ (exit $ac_status); } && {
14846
+ test -z "$ac_c_werror_flag" ||
14847
+ test ! -s conftest.err
14848
+ } && test -s conftest.$ac_objext; then
14851
+ echo "$as_me: failed program was:" >&5
14852
+sed 's/^/| /' conftest.$ac_ext >&5
14854
+ ac_c_werror_flag=$ac_save_c_werror_flag
14856
+ cat >conftest.$ac_ext <<_ACEOF
14859
+cat confdefs.h >>conftest.$ac_ext
14860
+cat >>conftest.$ac_ext <<_ACEOF
14861
+/* end confdefs.h. */
14871
+rm -f conftest.$ac_objext
14872
+if { (ac_try="$ac_compile"
14873
+case "(($ac_try" in
14874
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14875
+ *) ac_try_echo=$ac_try;;
14877
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14878
+ (eval "$ac_compile") 2>conftest.er1
14880
+ grep -v '^ *+' conftest.er1 >conftest.err
14881
+ rm -f conftest.er1
14882
+ cat conftest.err >&5
14883
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884
+ (exit $ac_status); } && {
14885
+ test -z "$ac_c_werror_flag" ||
14886
+ test ! -s conftest.err
14887
+ } && test -s conftest.$ac_objext; then
14888
+ ac_cv_prog_cc_g=yes
14890
+ echo "$as_me: failed program was:" >&5
14891
+sed 's/^/| /' conftest.$ac_ext >&5
14896
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14899
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14902
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14903
+ ac_c_werror_flag=$ac_save_c_werror_flag
14905
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14906
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14907
+if test "$ac_test_CFLAGS" = set; then
14908
+ CFLAGS=$ac_save_CFLAGS
14909
+elif test $ac_cv_prog_cc_g = yes; then
14910
+ if test "$GCC" = yes; then
14916
+ if test "$GCC" = yes; then
14922
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14923
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14924
+if test "${ac_cv_prog_cc_c89+set}" = set; then
14925
+ echo $ECHO_N "(cached) $ECHO_C" >&6
14927
+ ac_cv_prog_cc_c89=no
14929
+cat >conftest.$ac_ext <<_ACEOF
14932
+cat confdefs.h >>conftest.$ac_ext
14933
+cat >>conftest.$ac_ext <<_ACEOF
14934
+/* end confdefs.h. */
14935
+#include <stdarg.h>
14936
+#include <stdio.h>
14937
+#include <sys/types.h>
14938
+#include <sys/stat.h>
14939
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14940
+struct buf { int x; };
14941
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
14942
+static char *e (p, i)
14948
+static char *f (char * (*g) (char **, int), char **p, ...)
14953
+ s = g (p, va_arg (v,int));
14958
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14959
+ function prototypes and stuff, but not '\xHH' hex character constants.
14960
+ These don't provoke an error unfortunately, instead are silently treated
14961
+ as 'x'. The following induces an error, until -std is added to get
14962
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14963
+ array size at least. It's necessary to write '\x00'==0 to get something
14964
+ that's true only with -std. */
14965
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14967
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14968
+ inside strings and character constants. */
14969
+#define FOO(x) 'x'
14970
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14972
+int test (int i, double x);
14973
+struct s1 {int (*f) (int a);};
14974
+struct s2 {int (*f) (double a);};
14975
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14981
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14986
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14987
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14989
+ CC="$ac_save_CC $ac_arg"
14990
+ rm -f conftest.$ac_objext
14991
+if { (ac_try="$ac_compile"
14992
+case "(($ac_try" in
14993
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14994
+ *) ac_try_echo=$ac_try;;
14996
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14997
+ (eval "$ac_compile") 2>conftest.er1
14999
+ grep -v '^ *+' conftest.er1 >conftest.err
15000
+ rm -f conftest.er1
15001
+ cat conftest.err >&5
15002
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003
+ (exit $ac_status); } && {
15004
+ test -z "$ac_c_werror_flag" ||
15005
+ test ! -s conftest.err
15006
+ } && test -s conftest.$ac_objext; then
15007
+ ac_cv_prog_cc_c89=$ac_arg
15009
+ echo "$as_me: failed program was:" >&5
15010
+sed 's/^/| /' conftest.$ac_ext >&5
15015
+rm -f core conftest.err conftest.$ac_objext
15016
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
15018
+rm -f conftest.$ac_ext
15023
+case "x$ac_cv_prog_cc_c89" in
15025
+ { echo "$as_me:$LINENO: result: none needed" >&5
15026
+echo "${ECHO_T}none needed" >&6; } ;;
15028
+ { echo "$as_me:$LINENO: result: unsupported" >&5
15029
+echo "${ECHO_T}unsupported" >&6; } ;;
15031
+ CC="$CC $ac_cv_prog_cc_c89"
15032
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15033
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15038
+ac_cpp='$CPP $CPPFLAGS'
15039
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15040
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15041
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
15043
+depcc="$CC" am_compiler_list=
15045
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15046
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
15047
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
15048
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15050
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15051
+ # We make a subdir and do the tests there. Otherwise we can end up
15052
+ # making bogus files that we don't know about and never remove. For
15053
+ # instance it was reported that on HP-UX the gcc test will end up
15054
+ # making a dummy file named `D' -- because `-MD' means `put the output
15056
+ mkdir conftest.dir
15057
+ # Copy depcomp to subdir because otherwise we won't find it if we're
15058
+ # using a relative directory.
15059
+ cp "$am_depcomp" conftest.dir
15061
+ # We will build objects and dependencies in a subdirectory because
15062
+ # it helps to detect inapplicable dependency modes. For instance
15063
+ # both Tru64's cc and ICC support -MD to output dependencies as a
15064
+ # side effect of compilation, but ICC will put the dependencies in
15065
+ # the current directory while Tru64 will put them in the object
15069
+ am_cv_CC_dependencies_compiler_type=none
15070
+ if test "$am_compiler_list" = ""; then
15071
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15073
+ for depmode in $am_compiler_list; do
15074
+ # Setup a source with many dependencies, because some compilers
15075
+ # like to wrap large dependency lists on column 80 (with \), and
15076
+ # we should not choose a depcomp mode which is confused by this.
15078
+ # We need to recreate these files for each test, as the compiler may
15079
+ # overwrite some of them when testing with obscure command lines.
15080
+ # This happens at least with the AIX C compiler.
15081
+ : > sub/conftest.c
15082
+ for i in 1 2 3 4 5 6; do
15083
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
15084
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15085
+ # Solaris 8's {/usr,}/bin/sh.
15086
+ touch sub/conftst$i.h
15088
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15092
+ # after this tag, mechanisms are not by side-effect, so they'll
15093
+ # only be used when explicitly requested
15094
+ if test "x$enable_dependency_tracking" = xyes; then
15102
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
15103
+ # mode. It turns out that the SunPro C++ compiler does not properly
15104
+ # handle `-M -o', and we need to detect this.
15105
+ if depmode=$depmode \
15106
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
15107
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15108
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
15109
+ >/dev/null 2>conftest.err &&
15110
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15111
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
15112
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15113
+ # icc doesn't choke on unknown options, it will just issue warnings
15114
+ # or remarks (even with -Werror). So we grep stderr for any message
15115
+ # that says an option was ignored or not supported.
15116
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
15117
+ # icc: Command line warning: ignoring option '-M'; no argument required
15118
+ # The diagnosis changed in icc 8.0:
15119
+ # icc: Command line remark: option '-MP' not supported
15120
+ if (grep 'ignoring option' conftest.err ||
15121
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15122
+ am_cv_CC_dependencies_compiler_type=$depmode
15129
+ rm -rf conftest.dir
15131
+ am_cv_CC_dependencies_compiler_type=none
15135
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
15136
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
15137
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15142
+ test "x$enable_dependency_tracking" != xno \
15143
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15144
+ am__fastdepCC_TRUE=
15145
+ am__fastdepCC_FALSE='#'
15147
+ am__fastdepCC_TRUE='#'
15148
+ am__fastdepCC_FALSE=
15153
+ac_cpp='$CPP $CPPFLAGS'
15154
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
15157
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15158
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15159
+# On Suns, sometimes $CPP names a directory.
15160
+if test -n "$CPP" && test -d "$CPP"; then
15163
+if test -z "$CPP"; then
15164
+ if test "${ac_cv_prog_CPP+set}" = set; then
15165
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15167
+ # Double quotes because CPP needs to be expanded
15168
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15170
+ ac_preproc_ok=false
15171
+for ac_c_preproc_warn_flag in '' yes
15173
+ # Use a header file that comes with gcc, so configuring glibc
15174
+ # with a fresh cross-compiler works.
15175
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15176
+ # <limits.h> exists even on freestanding compilers.
15177
+ # On the NeXT, cc -E runs the code through the compiler's parser,
15178
+ # not just through cpp. "Syntax error" is here to catch this case.
15179
+ cat >conftest.$ac_ext <<_ACEOF
15182
+cat confdefs.h >>conftest.$ac_ext
15183
+cat >>conftest.$ac_ext <<_ACEOF
15184
+/* end confdefs.h. */
15186
+# include <limits.h>
15188
+# include <assert.h>
15192
+if { (ac_try="$ac_cpp conftest.$ac_ext"
15193
+case "(($ac_try" in
15194
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15195
+ *) ac_try_echo=$ac_try;;
15197
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15198
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15200
+ grep -v '^ *+' conftest.er1 >conftest.err
15201
+ rm -f conftest.er1
15202
+ cat conftest.err >&5
15203
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204
+ (exit $ac_status); } >/dev/null && {
15205
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15206
+ test ! -s conftest.err
15210
+ echo "$as_me: failed program was:" >&5
15211
+sed 's/^/| /' conftest.$ac_ext >&5
15213
+ # Broken: fails on valid input.
15217
+rm -f conftest.err conftest.$ac_ext
15219
+ # OK, works on sane cases. Now check whether nonexistent headers
15220
+ # can be detected and how.
15221
+ cat >conftest.$ac_ext <<_ACEOF
15224
+cat confdefs.h >>conftest.$ac_ext
15225
+cat >>conftest.$ac_ext <<_ACEOF
15226
+/* end confdefs.h. */
15227
+#include <ac_nonexistent.h>
15229
+if { (ac_try="$ac_cpp conftest.$ac_ext"
15230
+case "(($ac_try" in
15231
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232
+ *) ac_try_echo=$ac_try;;
15234
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15235
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15237
+ grep -v '^ *+' conftest.er1 >conftest.err
15238
+ rm -f conftest.er1
15239
+ cat conftest.err >&5
15240
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241
+ (exit $ac_status); } >/dev/null && {
15242
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15243
+ test ! -s conftest.err
15245
+ # Broken: success on invalid input.
15248
+ echo "$as_me: failed program was:" >&5
15249
+sed 's/^/| /' conftest.$ac_ext >&5
15251
+ # Passes both tests.
15256
+rm -f conftest.err conftest.$ac_ext
15259
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15260
+rm -f conftest.err conftest.$ac_ext
15261
+if $ac_preproc_ok; then
15266
+ ac_cv_prog_CPP=$CPP
15269
+ CPP=$ac_cv_prog_CPP
15271
+ ac_cv_prog_CPP=$CPP
15273
+{ echo "$as_me:$LINENO: result: $CPP" >&5
15274
+echo "${ECHO_T}$CPP" >&6; }
15275
+ac_preproc_ok=false
15276
+for ac_c_preproc_warn_flag in '' yes
15278
+ # Use a header file that comes with gcc, so configuring glibc
15279
+ # with a fresh cross-compiler works.
15280
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15281
+ # <limits.h> exists even on freestanding compilers.
15282
+ # On the NeXT, cc -E runs the code through the compiler's parser,
15283
+ # not just through cpp. "Syntax error" is here to catch this case.
15284
+ cat >conftest.$ac_ext <<_ACEOF
15287
+cat confdefs.h >>conftest.$ac_ext
15288
+cat >>conftest.$ac_ext <<_ACEOF
15289
+/* end confdefs.h. */
15291
+# include <limits.h>
15293
+# include <assert.h>
15297
+if { (ac_try="$ac_cpp conftest.$ac_ext"
15298
+case "(($ac_try" in
15299
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15300
+ *) ac_try_echo=$ac_try;;
15302
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15305
+ grep -v '^ *+' conftest.er1 >conftest.err
15306
+ rm -f conftest.er1
15307
+ cat conftest.err >&5
15308
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309
+ (exit $ac_status); } >/dev/null && {
15310
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15311
+ test ! -s conftest.err
15315
+ echo "$as_me: failed program was:" >&5
15316
+sed 's/^/| /' conftest.$ac_ext >&5
15318
+ # Broken: fails on valid input.
15322
+rm -f conftest.err conftest.$ac_ext
15324
+ # OK, works on sane cases. Now check whether nonexistent headers
15325
+ # can be detected and how.
15326
+ cat >conftest.$ac_ext <<_ACEOF
15329
+cat confdefs.h >>conftest.$ac_ext
15330
+cat >>conftest.$ac_ext <<_ACEOF
15331
+/* end confdefs.h. */
15332
+#include <ac_nonexistent.h>
15334
+if { (ac_try="$ac_cpp conftest.$ac_ext"
15335
+case "(($ac_try" in
15336
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15337
+ *) ac_try_echo=$ac_try;;
15339
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15340
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15342
+ grep -v '^ *+' conftest.er1 >conftest.err
15343
+ rm -f conftest.er1
15344
+ cat conftest.err >&5
15345
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346
+ (exit $ac_status); } >/dev/null && {
15347
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15348
+ test ! -s conftest.err
15350
+ # Broken: success on invalid input.
15353
+ echo "$as_me: failed program was:" >&5
15354
+sed 's/^/| /' conftest.$ac_ext >&5
15356
+ # Passes both tests.
15361
+rm -f conftest.err conftest.$ac_ext
15364
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15365
+rm -f conftest.err conftest.$ac_ext
15366
+if $ac_preproc_ok; then
15369
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15370
+See \`config.log' for more details." >&5
15371
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15372
+See \`config.log' for more details." >&2;}
15373
+ { (exit 1); exit 1; }; }
15377
+ac_cpp='$CPP $CPPFLAGS'
15378
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15379
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15380
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
15382
+# Check whether --enable-shared was given.
15383
+if test "${enable_shared+set}" = set; then
15384
+ enableval=$enable_shared; p=${PACKAGE-default}
15385
+ case $enableval in
15386
+ yes) enable_shared=yes ;;
15387
+ no) enable_shared=no ;;
15390
+ # Look at the argument we got. We use all the common list separators.
15391
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15392
+ for pkg in $enableval; do
15393
+ IFS="$lt_save_ifs"
15394
+ if test "X$pkg" = "X$p"; then
15395
+ enable_shared=yes
15398
+ IFS="$lt_save_ifs"
15402
+ enable_shared=yes
15406
+# Check whether --enable-static was given.
15407
+if test "${enable_static+set}" = set; then
15408
+ enableval=$enable_static; p=${PACKAGE-default}
15409
+ case $enableval in
15410
+ yes) enable_static=yes ;;
15411
+ no) enable_static=no ;;
15414
+ # Look at the argument we got. We use all the common list separators.
15415
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15416
+ for pkg in $enableval; do
15417
+ IFS="$lt_save_ifs"
15418
+ if test "X$pkg" = "X$p"; then
15419
+ enable_static=yes
15422
+ IFS="$lt_save_ifs"
15426
+ enable_static=yes
15430
+# Check whether --enable-fast-install was given.
15431
+if test "${enable_fast_install+set}" = set; then
15432
+ enableval=$enable_fast_install; p=${PACKAGE-default}
15433
+ case $enableval in
15434
+ yes) enable_fast_install=yes ;;
15435
+ no) enable_fast_install=no ;;
15437
+ enable_fast_install=no
15438
+ # Look at the argument we got. We use all the common list separators.
15439
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15440
+ for pkg in $enableval; do
15441
+ IFS="$lt_save_ifs"
15442
+ if test "X$pkg" = "X$p"; then
15443
+ enable_fast_install=yes
15446
+ IFS="$lt_save_ifs"
15450
+ enable_fast_install=yes
15454
+# Make sure we can run config.sub.
15455
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
15456
+ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
15457
+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
15458
+ { (exit 1); exit 1; }; }
15460
+{ echo "$as_me:$LINENO: checking build system type" >&5
15461
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
15462
+if test "${ac_cv_build+set}" = set; then
15463
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15465
+ ac_build_alias=$build_alias
15466
+test "x$ac_build_alias" = x &&
15467
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
15468
+test "x$ac_build_alias" = x &&
15469
+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
15470
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
15471
+ { (exit 1); exit 1; }; }
15472
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
15473
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
15474
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
15475
+ { (exit 1); exit 1; }; }
15478
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
15479
+echo "${ECHO_T}$ac_cv_build" >&6; }
15480
+case $ac_cv_build in
15482
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
15483
+echo "$as_me: error: invalid value of canonical build" >&2;}
15484
+ { (exit 1); exit 1; }; };;
15486
+build=$ac_cv_build
15487
+ac_save_IFS=$IFS; IFS='-'
15488
+set x $ac_cv_build
15493
+# Remember, the first character of IFS is used to create $*,
15494
+# except with old shells:
15497
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
15500
+{ echo "$as_me:$LINENO: checking host system type" >&5
15501
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
15502
+if test "${ac_cv_host+set}" = set; then
15503
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15505
+ if test "x$host_alias" = x; then
15506
+ ac_cv_host=$ac_cv_build
15508
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
15509
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
15510
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
15511
+ { (exit 1); exit 1; }; }
15515
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
15516
+echo "${ECHO_T}$ac_cv_host" >&6; }
15517
+case $ac_cv_host in
15519
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
15520
+echo "$as_me: error: invalid value of canonical host" >&2;}
15521
+ { (exit 1); exit 1; }; };;
15524
+ac_save_IFS=$IFS; IFS='-'
15530
+# Remember, the first character of IFS is used to create $*,
15531
+# except with old shells:
15534
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
15537
+{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
15538
+echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
15539
+if test "${lt_cv_path_SED+set}" = set; then
15540
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15542
+ # Loop through the user's path and test for sed and gsed.
15543
+# Then use that list of sed's as ones to test for truncation.
15544
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15545
+for as_dir in $PATH
15548
+ test -z "$as_dir" && as_dir=.
15549
+ for lt_ac_prog in sed gsed; do
15550
+ for ac_exec_ext in '' $ac_executable_extensions; do
15551
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
15552
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
15559
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
15560
+# along with /bin/sed that truncates output.
15561
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
15562
+ test ! -f $lt_ac_sed && continue
15563
+ cat /dev/null > conftest.in
15565
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
15566
+ # Check for GNU sed and select it if it is found.
15567
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
15568
+ lt_cv_path_SED=$lt_ac_sed
15572
+ cat conftest.in conftest.in >conftest.tmp
15573
+ mv conftest.tmp conftest.in
15574
+ cp conftest.in conftest.nl
15575
+ echo >>conftest.nl
15576
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
15577
+ cmp -s conftest.out conftest.nl || break
15578
+ # 10000 chars as input seems more than enough
15579
+ test $lt_ac_count -gt 10 && break
15580
+ lt_ac_count=`expr $lt_ac_count + 1`
15581
+ if test $lt_ac_count -gt $lt_ac_max; then
15582
+ lt_ac_max=$lt_ac_count
15583
+ lt_cv_path_SED=$lt_ac_sed
15590
+SED=$lt_cv_path_SED
15591
+{ echo "$as_me:$LINENO: result: $SED" >&5
15592
+echo "${ECHO_T}$SED" >&6; }
15594
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15595
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15596
+if test "${ac_cv_path_GREP+set}" = set; then
15597
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15599
+ # Extract the first word of "grep ggrep" to use in msg output
15600
+if test -z "$GREP"; then
15601
+set dummy grep ggrep; ac_prog_name=$2
15602
+if test "${ac_cv_path_GREP+set}" = set; then
15603
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15605
+ ac_path_GREP_found=false
15606
+# Loop through the user's path and test for each of PROGNAME-LIST
15607
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15608
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15611
+ test -z "$as_dir" && as_dir=.
15612
+ for ac_prog in grep ggrep; do
15613
+ for ac_exec_ext in '' $ac_executable_extensions; do
15614
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15615
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15616
+ # Check for GNU ac_path_GREP and select it if it is found.
15617
+ # Check for GNU $ac_path_GREP
15618
+case `"$ac_path_GREP" --version 2>&1` in
15620
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15623
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15626
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
15627
+ mv "conftest.tmp" "conftest.in"
15628
+ cp "conftest.in" "conftest.nl"
15629
+ echo 'GREP' >> "conftest.nl"
15630
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15631
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15632
+ ac_count=`expr $ac_count + 1`
15633
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
15634
+ # Best one so far, save it but keep looking for a better one
15635
+ ac_cv_path_GREP="$ac_path_GREP"
15636
+ ac_path_GREP_max=$ac_count
15638
+ # 10*(2^10) chars as input seems more than enough
15639
+ test $ac_count -gt 10 && break
15641
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15645
+ $ac_path_GREP_found && break 3
15655
+GREP="$ac_cv_path_GREP"
15656
+if test -z "$GREP"; then
15657
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15658
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15659
+ { (exit 1); exit 1; }; }
15663
+ ac_cv_path_GREP=$GREP
15668
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15669
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15670
+ GREP="$ac_cv_path_GREP"
15673
+{ echo "$as_me:$LINENO: checking for egrep" >&5
15674
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15675
+if test "${ac_cv_path_EGREP+set}" = set; then
15676
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15678
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15679
+ then ac_cv_path_EGREP="$GREP -E"
15681
+ # Extract the first word of "egrep" to use in msg output
15682
+if test -z "$EGREP"; then
15683
+set dummy egrep; ac_prog_name=$2
15684
+if test "${ac_cv_path_EGREP+set}" = set; then
15685
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15687
+ ac_path_EGREP_found=false
15688
+# Loop through the user's path and test for each of PROGNAME-LIST
15689
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15690
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15693
+ test -z "$as_dir" && as_dir=.
15694
+ for ac_prog in egrep; do
15695
+ for ac_exec_ext in '' $ac_executable_extensions; do
15696
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15697
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15698
+ # Check for GNU ac_path_EGREP and select it if it is found.
15699
+ # Check for GNU $ac_path_EGREP
15700
+case `"$ac_path_EGREP" --version 2>&1` in
15702
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15705
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15708
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
15709
+ mv "conftest.tmp" "conftest.in"
15710
+ cp "conftest.in" "conftest.nl"
15711
+ echo 'EGREP' >> "conftest.nl"
15712
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15713
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15714
+ ac_count=`expr $ac_count + 1`
15715
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15716
+ # Best one so far, save it but keep looking for a better one
15717
+ ac_cv_path_EGREP="$ac_path_EGREP"
15718
+ ac_path_EGREP_max=$ac_count
15720
+ # 10*(2^10) chars as input seems more than enough
15721
+ test $ac_count -gt 10 && break
15723
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15727
+ $ac_path_EGREP_found && break 3
15737
+EGREP="$ac_cv_path_EGREP"
15738
+if test -z "$EGREP"; then
15739
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15740
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15741
+ { (exit 1); exit 1; }; }
15745
+ ac_cv_path_EGREP=$EGREP
15751
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15752
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15753
+ EGREP="$ac_cv_path_EGREP"
15757
+# Check whether --with-gnu-ld was given.
15758
+if test "${with_gnu_ld+set}" = set; then
15759
+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15765
+if test "$GCC" = yes; then
15766
+ # Check if gcc -print-prog-name=ld gives a path.
15767
+ { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
15768
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
15771
+ # gcc leaves a trailing carriage return which upsets mingw
15772
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15774
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15777
+ # Accept absolute paths.
15778
+ [\\/]* | ?:[\\/]*)
15779
+ re_direlt='/[^/][^/]*/\.\./'
15780
+ # Canonicalize the pathname of ld
15781
+ ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
15782
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15783
+ ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
15785
+ test -z "$LD" && LD="$ac_prog"
15788
+ # If it fails, then pretend we aren't using GCC.
15792
+ # If it is relative, then search for the first ld in PATH.
15793
+ with_gnu_ld=unknown
15796
+elif test "$with_gnu_ld" = yes; then
15797
+ { echo "$as_me:$LINENO: checking for GNU ld" >&5
15798
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
15800
+ { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15801
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
15803
+if test "${lt_cv_path_LD+set}" = set; then
15804
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15806
+ if test -z "$LD"; then
15807
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15808
+ for ac_dir in $PATH; do
15809
+ IFS="$lt_save_ifs"
15810
+ test -z "$ac_dir" && ac_dir=.
15811
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15812
+ lt_cv_path_LD="$ac_dir/$ac_prog"
15813
+ # Check to see if the program is GNU ld. I'd rather use --version,
15814
+ # but apparently some variants of GNU ld only accept -v.
15815
+ # Break only if it was the GNU/non-GNU ld that we prefer.
15816
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15817
+ *GNU* | *'with BFD'*)
15818
+ test "$with_gnu_ld" != no && break
15821
+ test "$with_gnu_ld" != yes && break
15826
+ IFS="$lt_save_ifs"
15828
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
15832
+LD="$lt_cv_path_LD"
15833
+if test -n "$LD"; then
15834
+ { echo "$as_me:$LINENO: result: $LD" >&5
15835
+echo "${ECHO_T}$LD" >&6; }
15837
+ { echo "$as_me:$LINENO: result: no" >&5
15838
+echo "${ECHO_T}no" >&6; }
15840
+test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15841
+echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15842
+ { (exit 1); exit 1; }; }
15843
+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15844
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
15845
+if test "${lt_cv_prog_gnu_ld+set}" = set; then
15846
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15848
+ # I'd rather use --version here, but apparently some GNU lds only accept -v.
15849
+case `$LD -v 2>&1 </dev/null` in
15850
+*GNU* | *'with BFD'*)
15851
+ lt_cv_prog_gnu_ld=yes
15854
+ lt_cv_prog_gnu_ld=no
15858
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
15859
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
15860
+with_gnu_ld=$lt_cv_prog_gnu_ld
15863
+{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
15864
+echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
15865
+if test "${lt_cv_ld_reload_flag+set}" = set; then
15866
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15868
+ lt_cv_ld_reload_flag='-r'
15870
+{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
15871
+echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
15872
+reload_flag=$lt_cv_ld_reload_flag
15873
+case $reload_flag in
15875
+*) reload_flag=" $reload_flag" ;;
15877
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
15880
+ if test "$GCC" = yes; then
15881
+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
15883
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
15888
+{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
15889
+echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
15890
+if test "${lt_cv_path_NM+set}" = set; then
15891
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15893
+ if test -n "$NM"; then
15894
+ # Let the user override the test.
15895
+ lt_cv_path_NM="$NM"
15897
+ lt_nm_to_check="${ac_tool_prefix}nm"
15898
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
15899
+ lt_nm_to_check="$lt_nm_to_check nm"
15901
+ for lt_tmp_nm in $lt_nm_to_check; do
15902
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15903
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
15904
+ IFS="$lt_save_ifs"
15905
+ test -z "$ac_dir" && ac_dir=.
15906
+ tmp_nm="$ac_dir/$lt_tmp_nm"
15907
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
15908
+ # Check to see if the nm accepts a BSD-compat flag.
15909
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
15910
+ # nm: unknown option "B" ignored
15911
+ # Tru64's nm complains that /dev/null is an invalid object file
15912
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
15913
+ */dev/null* | *'Invalid file or object type'*)
15914
+ lt_cv_path_NM="$tmp_nm -B"
15918
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
15920
+ lt_cv_path_NM="$tmp_nm -p"
15924
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
15925
+ continue # so that we can try to find one that supports BSD flags
15932
+ IFS="$lt_save_ifs"
15934
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
15937
+{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
15938
+echo "${ECHO_T}$lt_cv_path_NM" >&6; }
15939
+NM="$lt_cv_path_NM"
15941
+{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
15942
+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
15944
+if test "$LN_S" = "ln -s"; then
15945
+ { echo "$as_me:$LINENO: result: yes" >&5
15946
+echo "${ECHO_T}yes" >&6; }
15948
+ { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15949
+echo "${ECHO_T}no, using $LN_S" >&6; }
15952
+{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
15953
+echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
15954
+if test "${lt_cv_deplibs_check_method+set}" = set; then
15955
+ echo $ECHO_N "(cached) $ECHO_C" >&6
15957
+ lt_cv_file_magic_cmd='$MAGIC_CMD'
15958
+lt_cv_file_magic_test_file=
15959
+lt_cv_deplibs_check_method='unknown'
15960
+# Need to set the preceding variable on all platforms that support
15961
+# interlibrary dependencies.
15962
+# 'none' -- dependencies not supported.
15963
+# `unknown' -- same as none, but documents that we really don't know.
15964
+# 'pass_all' -- all dependencies passed with no checks.
15965
+# 'test_compile' -- check by making test program.
15966
+# 'file_magic [[regex]]' -- check by looking for files in library path
15967
+# which responds to the $file_magic_cmd with a given extended regex.
15968
+# If you have `file' or equivalent on your system and you're not sure
15969
+# whether `pass_all' will *always* work, you probably want this one.
15973
+ lt_cv_deplibs_check_method=pass_all
15977
+ lt_cv_deplibs_check_method=pass_all
15981
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
15982
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
15983
+ lt_cv_file_magic_test_file=/shlib/libc.so
15987
+ # func_win32_libid is a shell function defined in ltmain.sh
15988
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
15989
+ lt_cv_file_magic_cmd='func_win32_libid'
15993
+ # Base MSYS/MinGW do not provide the 'file' command needed by
15994
+ # func_win32_libid shell function, so use a weaker test based on 'objdump'.
15995
+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
15996
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
15999
+darwin* | rhapsody*)
16000
+ lt_cv_deplibs_check_method=pass_all
16003
+freebsd* | dragonfly*)
16004
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
16005
+ case $host_cpu in
16007
+ # Not sure whether the presence of OpenBSD here was a mistake.
16008
+ # Let's accept both of them until this is cleared up.
16009
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
16010
+ lt_cv_file_magic_cmd=/usr/bin/file
16011
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
16015
+ lt_cv_deplibs_check_method=pass_all
16020
+ lt_cv_deplibs_check_method=pass_all
16023
+hpux10.20* | hpux11*)
16024
+ lt_cv_file_magic_cmd=/usr/bin/file
16025
+ case $host_cpu in
16027
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
16028
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
16031
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
16032
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
16035
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
16036
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
16042
+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
16043
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
16046
+irix5* | irix6* | nonstopux*)
16048
+ *-32|*"-32 ") libmagic=32-bit;;
16049
+ *-n32|*"-n32 ") libmagic=N32;;
16050
+ *-64|*"-64 ") libmagic=64-bit;;
16051
+ *) libmagic=never-match;;
16053
+ lt_cv_deplibs_check_method=pass_all
16056
+# This must be Linux ELF.
16057
+linux* | k*bsd*-gnu)
16058
+ lt_cv_deplibs_check_method=pass_all
16061
+netbsd* | netbsdelf*-gnu)
16062
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
16063
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
16065
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
16070
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
16071
+ lt_cv_file_magic_cmd=/usr/bin/file
16072
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
16076
+ lt_cv_deplibs_check_method=unknown
16080
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16081
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
16083
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
16087
+osf3* | osf4* | osf5*)
16088
+ lt_cv_deplibs_check_method=pass_all
16092
+ lt_cv_deplibs_check_method=pass_all
16096
+ case $host_vendor in
16098
+ 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]'
16099
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
16102
+ lt_cv_deplibs_check_method=pass_all
16105
+ lt_cv_file_magic_cmd='/bin/file'
16106
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
16109
+ lt_cv_file_magic_cmd='/bin/file'
16110
+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
16111
+ lt_cv_file_magic_test_file=/lib/libc.so
16114
+ lt_cv_deplibs_check_method=pass_all
16117
+ lt_cv_deplibs_check_method=pass_all
16122
+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16123
+ lt_cv_deplibs_check_method=pass_all
16128
+{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
16129
+echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
16130
+file_magic_cmd=$lt_cv_file_magic_cmd
16131
+deplibs_check_method=$lt_cv_deplibs_check_method
16132
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
16137
+# If no C compiler was specified, use CC.
16138
+LTCC=${LTCC-"$CC"}
16140
+# If no C compiler flags were specified, use CFLAGS.
16141
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16143
+# Allow CC to be a program name with arguments.
16146
+# Check whether --enable-libtool-lock was given.
16147
+if test "${enable_libtool_lock+set}" = set; then
16148
+ enableval=$enable_libtool_lock;
16151
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
16153
+# Some flags need to be propagated to the compiler or linker for good
16154
+# libtool support.
16157
+ # Find out which ABI we are using.
16158
+ echo 'int i;' > conftest.$ac_ext
16159
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16160
+ (eval $ac_compile) 2>&5
16162
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163
+ (exit $ac_status); }; then
16164
+ case `/usr/bin/file conftest.$ac_objext` in
16166
+ HPUX_IA64_MODE="32"
16169
+ HPUX_IA64_MODE="64"
16176
+ # Find out which ABI we are using.
16177
+ echo '#line 5496 "configure"' > conftest.$ac_ext
16178
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16179
+ (eval $ac_compile) 2>&5
16181
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182
+ (exit $ac_status); }; then
16183
+ if test "$lt_cv_prog_gnu_ld" = yes; then
16184
+ case `/usr/bin/file conftest.$ac_objext` in
16186
+ LD="${LD-ld} -melf32bsmip"
16189
+ LD="${LD-ld} -melf32bmipn32"
16192
+ LD="${LD-ld} -melf64bmip"
16196
+ case `/usr/bin/file conftest.$ac_objext` in
16198
+ LD="${LD-ld} -32"
16201
+ LD="${LD-ld} -n32"
16204
+ LD="${LD-ld} -64"
16212
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
16213
+ # Find out which ABI we are using.
16214
+ echo 'int i;' > conftest.$ac_ext
16215
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16216
+ (eval $ac_compile) 2>&5
16218
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219
+ (exit $ac_status); }; then
16220
+ case `/usr/bin/file conftest.o` in
16224
+ LD="${LD-ld} -m elf_i386"
16226
+ ppc64-*linux*|powerpc64-*linux*)
16227
+ LD="${LD-ld} -m elf32ppclinux"
16230
+ LD="${LD-ld} -m elf_s390"
16233
+ LD="${LD-ld} -m elf32_sparc"
16240
+ LD="${LD-ld} -m elf_x86_64"
16242
+ ppc*-*linux*|powerpc*-*linux*)
16243
+ LD="${LD-ld} -m elf64ppc"
16246
+ LD="${LD-ld} -m elf64_s390"
16249
+ LD="${LD-ld} -m elf64_sparc"
16259
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
16260
+ SAVE_CFLAGS="$CFLAGS"
16261
+ CFLAGS="$CFLAGS -belf"
16262
+ { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
16263
+echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
16264
+if test "${lt_cv_cc_needs_belf+set}" = set; then
16265
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16268
+ac_cpp='$CPP $CPPFLAGS'
16269
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16270
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16271
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273
+ cat >conftest.$ac_ext <<_ACEOF
16276
+cat confdefs.h >>conftest.$ac_ext
16277
+cat >>conftest.$ac_ext <<_ACEOF
16278
+/* end confdefs.h. */
16288
+rm -f conftest.$ac_objext conftest$ac_exeext
16289
+if { (ac_try="$ac_link"
16290
+case "(($ac_try" in
16291
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16292
+ *) ac_try_echo=$ac_try;;
16294
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16295
+ (eval "$ac_link") 2>conftest.er1
16297
+ grep -v '^ *+' conftest.er1 >conftest.err
16298
+ rm -f conftest.er1
16299
+ cat conftest.err >&5
16300
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301
+ (exit $ac_status); } && {
16302
+ test -z "$ac_c_werror_flag" ||
16303
+ test ! -s conftest.err
16304
+ } && test -s conftest$ac_exeext &&
16305
+ $as_test_x conftest$ac_exeext; then
16306
+ lt_cv_cc_needs_belf=yes
16308
+ echo "$as_me: failed program was:" >&5
16309
+sed 's/^/| /' conftest.$ac_ext >&5
16311
+ lt_cv_cc_needs_belf=no
16314
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16315
+ conftest$ac_exeext conftest.$ac_ext
16317
+ac_cpp='$CPP $CPPFLAGS'
16318
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
16323
+{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
16324
+echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
16325
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
16326
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
16327
+ CFLAGS="$SAVE_CFLAGS"
16331
+ # Find out which ABI we are using.
16332
+ echo 'int i;' > conftest.$ac_ext
16333
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16334
+ (eval $ac_compile) 2>&5
16336
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337
+ (exit $ac_status); }; then
16338
+ case `/usr/bin/file conftest.o` in
16340
+ case $lt_cv_prog_gnu_ld in
16341
+ yes*) LD="${LD-ld} -m elf64_sparc" ;;
16342
+ *) LD="${LD-ld} -64" ;;
16353
+need_locks="$enable_libtool_lock"
16357
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16358
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
16359
+if test "${ac_cv_header_stdc+set}" = set; then
16360
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16362
+ cat >conftest.$ac_ext <<_ACEOF
16365
+cat confdefs.h >>conftest.$ac_ext
16366
+cat >>conftest.$ac_ext <<_ACEOF
16367
+/* end confdefs.h. */
16368
+#include <stdlib.h>
16369
+#include <stdarg.h>
16370
+#include <string.h>
16371
+#include <float.h>
16381
+rm -f conftest.$ac_objext
16382
+if { (ac_try="$ac_compile"
16383
+case "(($ac_try" in
16384
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16385
+ *) ac_try_echo=$ac_try;;
16387
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16388
+ (eval "$ac_compile") 2>conftest.er1
16390
+ grep -v '^ *+' conftest.er1 >conftest.err
16391
+ rm -f conftest.er1
16392
+ cat conftest.err >&5
16393
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394
+ (exit $ac_status); } && {
16395
+ test -z "$ac_c_werror_flag" ||
16396
+ test ! -s conftest.err
16397
+ } && test -s conftest.$ac_objext; then
16398
+ ac_cv_header_stdc=yes
16400
+ echo "$as_me: failed program was:" >&5
16401
+sed 's/^/| /' conftest.$ac_ext >&5
16403
+ ac_cv_header_stdc=no
16406
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16408
+if test $ac_cv_header_stdc = yes; then
16409
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16410
+ cat >conftest.$ac_ext <<_ACEOF
16413
+cat confdefs.h >>conftest.$ac_ext
16414
+cat >>conftest.$ac_ext <<_ACEOF
16415
+/* end confdefs.h. */
16416
+#include <string.h>
16419
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16420
+ $EGREP "memchr" >/dev/null 2>&1; then
16423
+ ac_cv_header_stdc=no
16429
+if test $ac_cv_header_stdc = yes; then
16430
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16431
+ cat >conftest.$ac_ext <<_ACEOF
16434
+cat confdefs.h >>conftest.$ac_ext
16435
+cat >>conftest.$ac_ext <<_ACEOF
16436
+/* end confdefs.h. */
16437
+#include <stdlib.h>
16440
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16441
+ $EGREP "free" >/dev/null 2>&1; then
16444
+ ac_cv_header_stdc=no
16450
+if test $ac_cv_header_stdc = yes; then
16451
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16452
+ if test "$cross_compiling" = yes; then
16455
+ cat >conftest.$ac_ext <<_ACEOF
16458
+cat confdefs.h >>conftest.$ac_ext
16459
+cat >>conftest.$ac_ext <<_ACEOF
16460
+/* end confdefs.h. */
16461
+#include <ctype.h>
16462
+#include <stdlib.h>
16463
+#if ((' ' & 0x0FF) == 0x020)
16464
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16465
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16467
+# define ISLOWER(c) \
16468
+ (('a' <= (c) && (c) <= 'i') \
16469
+ || ('j' <= (c) && (c) <= 'r') \
16470
+ || ('s' <= (c) && (c) <= 'z'))
16471
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16474
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16479
+ for (i = 0; i < 256; i++)
16480
+ if (XOR (islower (i), ISLOWER (i))
16481
+ || toupper (i) != TOUPPER (i))
16486
+rm -f conftest$ac_exeext
16487
+if { (ac_try="$ac_link"
16488
+case "(($ac_try" in
16489
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490
+ *) ac_try_echo=$ac_try;;
16492
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493
+ (eval "$ac_link") 2>&5
16495
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16497
+ { (case "(($ac_try" in
16498
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16499
+ *) ac_try_echo=$ac_try;;
16501
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16502
+ (eval "$ac_try") 2>&5
16504
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505
+ (exit $ac_status); }; }; then
16508
+ echo "$as_me: program exited with status $ac_status" >&5
16509
+echo "$as_me: failed program was:" >&5
16510
+sed 's/^/| /' conftest.$ac_ext >&5
16512
+( exit $ac_status )
16513
+ac_cv_header_stdc=no
16515
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16521
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16522
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
16523
+if test $ac_cv_header_stdc = yes; then
16525
+cat >>confdefs.h <<\_ACEOF
16526
+#define STDC_HEADERS 1
16531
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
16541
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16542
+ inttypes.h stdint.h unistd.h
16544
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16545
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16546
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16547
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16548
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16550
+ cat >conftest.$ac_ext <<_ACEOF
16553
+cat confdefs.h >>conftest.$ac_ext
16554
+cat >>conftest.$ac_ext <<_ACEOF
16555
+/* end confdefs.h. */
16556
+$ac_includes_default
16558
+#include <$ac_header>
16560
+rm -f conftest.$ac_objext
16561
+if { (ac_try="$ac_compile"
16562
+case "(($ac_try" in
16563
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16564
+ *) ac_try_echo=$ac_try;;
16566
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567
+ (eval "$ac_compile") 2>conftest.er1
16569
+ grep -v '^ *+' conftest.er1 >conftest.err
16570
+ rm -f conftest.er1
16571
+ cat conftest.err >&5
16572
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573
+ (exit $ac_status); } && {
16574
+ test -z "$ac_c_werror_flag" ||
16575
+ test ! -s conftest.err
16576
+ } && test -s conftest.$ac_objext; then
16577
+ eval "$as_ac_Header=yes"
16579
+ echo "$as_me: failed program was:" >&5
16580
+sed 's/^/| /' conftest.$ac_ext >&5
16582
+ eval "$as_ac_Header=no"
16585
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16587
+ac_res=`eval echo '${'$as_ac_Header'}'`
16588
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
16589
+echo "${ECHO_T}$ac_res" >&6; }
16590
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
16591
+ cat >>confdefs.h <<_ACEOF
16592
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16601
+for ac_header in dlfcn.h
16603
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16604
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16605
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
16606
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16607
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16608
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16610
+ac_res=`eval echo '${'$as_ac_Header'}'`
16611
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
16612
+echo "${ECHO_T}$ac_res" >&6; }
16614
+ # Is the header compilable?
16615
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16616
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16617
+cat >conftest.$ac_ext <<_ACEOF
16620
+cat confdefs.h >>conftest.$ac_ext
16621
+cat >>conftest.$ac_ext <<_ACEOF
16622
+/* end confdefs.h. */
16623
+$ac_includes_default
16624
+#include <$ac_header>
16626
+rm -f conftest.$ac_objext
16627
+if { (ac_try="$ac_compile"
16628
+case "(($ac_try" in
16629
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16630
+ *) ac_try_echo=$ac_try;;
16632
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16633
+ (eval "$ac_compile") 2>conftest.er1
16635
+ grep -v '^ *+' conftest.er1 >conftest.err
16636
+ rm -f conftest.er1
16637
+ cat conftest.err >&5
16638
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639
+ (exit $ac_status); } && {
16640
+ test -z "$ac_c_werror_flag" ||
16641
+ test ! -s conftest.err
16642
+ } && test -s conftest.$ac_objext; then
16643
+ ac_header_compiler=yes
16645
+ echo "$as_me: failed program was:" >&5
16646
+sed 's/^/| /' conftest.$ac_ext >&5
16648
+ ac_header_compiler=no
16651
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16652
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16653
+echo "${ECHO_T}$ac_header_compiler" >&6; }
16655
+# Is the header present?
16656
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16657
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16658
+cat >conftest.$ac_ext <<_ACEOF
16661
+cat confdefs.h >>conftest.$ac_ext
16662
+cat >>conftest.$ac_ext <<_ACEOF
16663
+/* end confdefs.h. */
16664
+#include <$ac_header>
16666
+if { (ac_try="$ac_cpp conftest.$ac_ext"
16667
+case "(($ac_try" in
16668
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16669
+ *) ac_try_echo=$ac_try;;
16671
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16672
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16674
+ grep -v '^ *+' conftest.er1 >conftest.err
16675
+ rm -f conftest.er1
16676
+ cat conftest.err >&5
16677
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678
+ (exit $ac_status); } >/dev/null && {
16679
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16680
+ test ! -s conftest.err
16682
+ ac_header_preproc=yes
16684
+ echo "$as_me: failed program was:" >&5
16685
+sed 's/^/| /' conftest.$ac_ext >&5
16687
+ ac_header_preproc=no
16690
+rm -f conftest.err conftest.$ac_ext
16691
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16692
+echo "${ECHO_T}$ac_header_preproc" >&6; }
16694
+# So? What about this header?
16695
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16697
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16698
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16699
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16700
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16701
+ ac_header_preproc=yes
16704
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16705
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16706
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16707
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16708
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16709
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16710
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16711
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16712
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16713
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16714
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16715
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16717
+## ----------------------------------------- ##
16718
+## Report this to maniac@opencompositing.org ##
16719
+## ----------------------------------------- ##
16721
+ ) | sed "s/^/$as_me: WARNING: /" >&2
16724
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16725
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16726
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16727
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16729
+ eval "$as_ac_Header=\$ac_header_preproc"
16731
+ac_res=`eval echo '${'$as_ac_Header'}'`
16732
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
16733
+echo "${ECHO_T}$ac_res" >&6; }
16736
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
16737
+ cat >>confdefs.h <<_ACEOF
16738
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16746
+ac_cpp='$CXXCPP $CPPFLAGS'
16747
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16748
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16749
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16750
+if test -z "$CXX"; then
16751
+ if test -n "$CCC"; then
16754
+ if test -n "$ac_tool_prefix"; then
16755
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16757
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16758
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16759
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16760
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16761
+if test "${ac_cv_prog_CXX+set}" = set; then
16762
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16764
+ if test -n "$CXX"; then
16765
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
16767
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16768
+for as_dir in $PATH
16771
+ test -z "$as_dir" && as_dir=.
16772
+ for ac_exec_ext in '' $ac_executable_extensions; do
16773
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16774
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16775
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16784
+CXX=$ac_cv_prog_CXX
16785
+if test -n "$CXX"; then
16786
+ { echo "$as_me:$LINENO: result: $CXX" >&5
16787
+echo "${ECHO_T}$CXX" >&6; }
16789
+ { echo "$as_me:$LINENO: result: no" >&5
16790
+echo "${ECHO_T}no" >&6; }
16794
+ test -n "$CXX" && break
16797
+if test -z "$CXX"; then
16799
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16801
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
16802
+set dummy $ac_prog; ac_word=$2
16803
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
16804
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16805
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16806
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16808
+ if test -n "$ac_ct_CXX"; then
16809
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16811
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16812
+for as_dir in $PATH
16815
+ test -z "$as_dir" && as_dir=.
16816
+ for ac_exec_ext in '' $ac_executable_extensions; do
16817
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16818
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
16819
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16828
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16829
+if test -n "$ac_ct_CXX"; then
16830
+ { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16831
+echo "${ECHO_T}$ac_ct_CXX" >&6; }
16833
+ { echo "$as_me:$LINENO: result: no" >&5
16834
+echo "${ECHO_T}no" >&6; }
16838
+ test -n "$ac_ct_CXX" && break
16841
+ if test "x$ac_ct_CXX" = x; then
16844
+ case $cross_compiling:$ac_tool_warned in
16846
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16847
+whose name does not start with the host triplet. If you think this
16848
+configuration is useful to you, please write to autoconf@gnu.org." >&5
16849
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16850
+whose name does not start with the host triplet. If you think this
16851
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16852
+ac_tool_warned=yes ;;
16860
+# Provide some information about the compiler.
16861
+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16862
+ac_compiler=`set X $ac_compile; echo $2`
16863
+{ (ac_try="$ac_compiler --version >&5"
16864
+case "(($ac_try" in
16865
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16866
+ *) ac_try_echo=$ac_try;;
16868
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16869
+ (eval "$ac_compiler --version >&5") 2>&5
16871
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872
+ (exit $ac_status); }
16873
+{ (ac_try="$ac_compiler -v >&5"
16874
+case "(($ac_try" in
16875
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16876
+ *) ac_try_echo=$ac_try;;
16878
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16879
+ (eval "$ac_compiler -v >&5") 2>&5
16881
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882
+ (exit $ac_status); }
16883
+{ (ac_try="$ac_compiler -V >&5"
16884
+case "(($ac_try" in
16885
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16886
+ *) ac_try_echo=$ac_try;;
16888
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16889
+ (eval "$ac_compiler -V >&5") 2>&5
16891
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892
+ (exit $ac_status); }
16894
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16895
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16896
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16897
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16899
+ cat >conftest.$ac_ext <<_ACEOF
16902
+cat confdefs.h >>conftest.$ac_ext
16903
+cat >>conftest.$ac_ext <<_ACEOF
16904
+/* end confdefs.h. */
16917
+rm -f conftest.$ac_objext
16918
+if { (ac_try="$ac_compile"
16919
+case "(($ac_try" in
16920
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16921
+ *) ac_try_echo=$ac_try;;
16923
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16924
+ (eval "$ac_compile") 2>conftest.er1
16926
+ grep -v '^ *+' conftest.er1 >conftest.err
16927
+ rm -f conftest.er1
16928
+ cat conftest.err >&5
16929
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930
+ (exit $ac_status); } && {
16931
+ test -z "$ac_cxx_werror_flag" ||
16932
+ test ! -s conftest.err
16933
+ } && test -s conftest.$ac_objext; then
16934
+ ac_compiler_gnu=yes
16936
+ echo "$as_me: failed program was:" >&5
16937
+sed 's/^/| /' conftest.$ac_ext >&5
16939
+ ac_compiler_gnu=no
16942
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16943
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16946
+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16947
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16948
+GXX=`test $ac_compiler_gnu = yes && echo yes`
16949
+ac_test_CXXFLAGS=${CXXFLAGS+set}
16950
+ac_save_CXXFLAGS=$CXXFLAGS
16951
+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16952
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16953
+if test "${ac_cv_prog_cxx_g+set}" = set; then
16954
+ echo $ECHO_N "(cached) $ECHO_C" >&6
16956
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16957
+ ac_cxx_werror_flag=yes
16958
+ ac_cv_prog_cxx_g=no
16960
+ cat >conftest.$ac_ext <<_ACEOF
16963
+cat confdefs.h >>conftest.$ac_ext
16964
+cat >>conftest.$ac_ext <<_ACEOF
16965
+/* end confdefs.h. */
16975
+rm -f conftest.$ac_objext
16976
+if { (ac_try="$ac_compile"
16977
+case "(($ac_try" in
16978
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979
+ *) ac_try_echo=$ac_try;;
16981
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982
+ (eval "$ac_compile") 2>conftest.er1
16984
+ grep -v '^ *+' conftest.er1 >conftest.err
16985
+ rm -f conftest.er1
16986
+ cat conftest.err >&5
16987
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988
+ (exit $ac_status); } && {
16989
+ test -z "$ac_cxx_werror_flag" ||
16990
+ test ! -s conftest.err
16991
+ } && test -s conftest.$ac_objext; then
16992
+ ac_cv_prog_cxx_g=yes
16994
+ echo "$as_me: failed program was:" >&5
16995
+sed 's/^/| /' conftest.$ac_ext >&5
16998
+ cat >conftest.$ac_ext <<_ACEOF
17001
+cat confdefs.h >>conftest.$ac_ext
17002
+cat >>conftest.$ac_ext <<_ACEOF
17003
+/* end confdefs.h. */
17013
+rm -f conftest.$ac_objext
17014
+if { (ac_try="$ac_compile"
17015
+case "(($ac_try" in
17016
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17017
+ *) ac_try_echo=$ac_try;;
17019
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020
+ (eval "$ac_compile") 2>conftest.er1
17022
+ grep -v '^ *+' conftest.er1 >conftest.err
17023
+ rm -f conftest.er1
17024
+ cat conftest.err >&5
17025
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026
+ (exit $ac_status); } && {
17027
+ test -z "$ac_cxx_werror_flag" ||
17028
+ test ! -s conftest.err
17029
+ } && test -s conftest.$ac_objext; then
17032
+ echo "$as_me: failed program was:" >&5
17033
+sed 's/^/| /' conftest.$ac_ext >&5
17035
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17037
+ cat >conftest.$ac_ext <<_ACEOF
17040
+cat confdefs.h >>conftest.$ac_ext
17041
+cat >>conftest.$ac_ext <<_ACEOF
17042
+/* end confdefs.h. */
17052
+rm -f conftest.$ac_objext
17053
+if { (ac_try="$ac_compile"
17054
+case "(($ac_try" in
17055
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17056
+ *) ac_try_echo=$ac_try;;
17058
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17059
+ (eval "$ac_compile") 2>conftest.er1
17061
+ grep -v '^ *+' conftest.er1 >conftest.err
17062
+ rm -f conftest.er1
17063
+ cat conftest.err >&5
17064
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065
+ (exit $ac_status); } && {
17066
+ test -z "$ac_cxx_werror_flag" ||
17067
+ test ! -s conftest.err
17068
+ } && test -s conftest.$ac_objext; then
17069
+ ac_cv_prog_cxx_g=yes
17071
+ echo "$as_me: failed program was:" >&5
17072
+sed 's/^/| /' conftest.$ac_ext >&5
17077
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17080
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17083
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17084
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17086
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17087
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17088
+if test "$ac_test_CXXFLAGS" = set; then
17089
+ CXXFLAGS=$ac_save_CXXFLAGS
17090
+elif test $ac_cv_prog_cxx_g = yes; then
17091
+ if test "$GXX" = yes; then
17092
+ CXXFLAGS="-g -O2"
17097
+ if test "$GXX" = yes; then
17104
+ac_cpp='$CXXCPP $CPPFLAGS'
17105
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17106
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17109
+depcc="$CXX" am_compiler_list=
17111
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
17112
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
17113
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
17114
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17116
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17117
+ # We make a subdir and do the tests there. Otherwise we can end up
17118
+ # making bogus files that we don't know about and never remove. For
17119
+ # instance it was reported that on HP-UX the gcc test will end up
17120
+ # making a dummy file named `D' -- because `-MD' means `put the output
17122
+ mkdir conftest.dir
17123
+ # Copy depcomp to subdir because otherwise we won't find it if we're
17124
+ # using a relative directory.
17125
+ cp "$am_depcomp" conftest.dir
17127
+ # We will build objects and dependencies in a subdirectory because
17128
+ # it helps to detect inapplicable dependency modes. For instance
17129
+ # both Tru64's cc and ICC support -MD to output dependencies as a
17130
+ # side effect of compilation, but ICC will put the dependencies in
17131
+ # the current directory while Tru64 will put them in the object
17135
+ am_cv_CXX_dependencies_compiler_type=none
17136
+ if test "$am_compiler_list" = ""; then
17137
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17139
+ for depmode in $am_compiler_list; do
17140
+ # Setup a source with many dependencies, because some compilers
17141
+ # like to wrap large dependency lists on column 80 (with \), and
17142
+ # we should not choose a depcomp mode which is confused by this.
17144
+ # We need to recreate these files for each test, as the compiler may
17145
+ # overwrite some of them when testing with obscure command lines.
17146
+ # This happens at least with the AIX C compiler.
17147
+ : > sub/conftest.c
17148
+ for i in 1 2 3 4 5 6; do
17149
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
17150
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17151
+ # Solaris 8's {/usr,}/bin/sh.
17152
+ touch sub/conftst$i.h
17154
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17158
+ # after this tag, mechanisms are not by side-effect, so they'll
17159
+ # only be used when explicitly requested
17160
+ if test "x$enable_dependency_tracking" = xyes; then
17168
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
17169
+ # mode. It turns out that the SunPro C++ compiler does not properly
17170
+ # handle `-M -o', and we need to detect this.
17171
+ if depmode=$depmode \
17172
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
17173
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17174
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
17175
+ >/dev/null 2>conftest.err &&
17176
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17177
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
17178
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17179
+ # icc doesn't choke on unknown options, it will just issue warnings
17180
+ # or remarks (even with -Werror). So we grep stderr for any message
17181
+ # that says an option was ignored or not supported.
17182
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
17183
+ # icc: Command line warning: ignoring option '-M'; no argument required
17184
+ # The diagnosis changed in icc 8.0:
17185
+ # icc: Command line remark: option '-MP' not supported
17186
+ if (grep 'ignoring option' conftest.err ||
17187
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17188
+ am_cv_CXX_dependencies_compiler_type=$depmode
17195
+ rm -rf conftest.dir
17197
+ am_cv_CXX_dependencies_compiler_type=none
17201
+{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
17202
+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
17203
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17208
+ test "x$enable_dependency_tracking" != xno \
17209
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17210
+ am__fastdepCXX_TRUE=
17211
+ am__fastdepCXX_FALSE='#'
17213
+ am__fastdepCXX_TRUE='#'
17214
+ am__fastdepCXX_FALSE=
17220
+if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17221
+ ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17222
+ (test "X$CXX" != "Xg++"))) ; then
17224
+ac_cpp='$CXXCPP $CPPFLAGS'
17225
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17226
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17227
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17228
+{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17229
+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
17230
+if test -z "$CXXCPP"; then
17231
+ if test "${ac_cv_prog_CXXCPP+set}" = set; then
17232
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17234
+ # Double quotes because CXXCPP needs to be expanded
17235
+ for CXXCPP in "$CXX -E" "/lib/cpp"
17237
+ ac_preproc_ok=false
17238
+for ac_cxx_preproc_warn_flag in '' yes
17240
+ # Use a header file that comes with gcc, so configuring glibc
17241
+ # with a fresh cross-compiler works.
17242
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17243
+ # <limits.h> exists even on freestanding compilers.
17244
+ # On the NeXT, cc -E runs the code through the compiler's parser,
17245
+ # not just through cpp. "Syntax error" is here to catch this case.
17246
+ cat >conftest.$ac_ext <<_ACEOF
17249
+cat confdefs.h >>conftest.$ac_ext
17250
+cat >>conftest.$ac_ext <<_ACEOF
17251
+/* end confdefs.h. */
17253
+# include <limits.h>
17255
+# include <assert.h>
17259
+if { (ac_try="$ac_cpp conftest.$ac_ext"
17260
+case "(($ac_try" in
17261
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17262
+ *) ac_try_echo=$ac_try;;
17264
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17265
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17267
+ grep -v '^ *+' conftest.er1 >conftest.err
17268
+ rm -f conftest.er1
17269
+ cat conftest.err >&5
17270
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271
+ (exit $ac_status); } >/dev/null && {
17272
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17273
+ test ! -s conftest.err
17277
+ echo "$as_me: failed program was:" >&5
17278
+sed 's/^/| /' conftest.$ac_ext >&5
17280
+ # Broken: fails on valid input.
17284
+rm -f conftest.err conftest.$ac_ext
17286
+ # OK, works on sane cases. Now check whether nonexistent headers
17287
+ # can be detected and how.
17288
+ cat >conftest.$ac_ext <<_ACEOF
17291
+cat confdefs.h >>conftest.$ac_ext
17292
+cat >>conftest.$ac_ext <<_ACEOF
17293
+/* end confdefs.h. */
17294
+#include <ac_nonexistent.h>
17296
+if { (ac_try="$ac_cpp conftest.$ac_ext"
17297
+case "(($ac_try" in
17298
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299
+ *) ac_try_echo=$ac_try;;
17301
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17304
+ grep -v '^ *+' conftest.er1 >conftest.err
17305
+ rm -f conftest.er1
17306
+ cat conftest.err >&5
17307
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308
+ (exit $ac_status); } >/dev/null && {
17309
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17310
+ test ! -s conftest.err
17312
+ # Broken: success on invalid input.
17315
+ echo "$as_me: failed program was:" >&5
17316
+sed 's/^/| /' conftest.$ac_ext >&5
17318
+ # Passes both tests.
17323
+rm -f conftest.err conftest.$ac_ext
17326
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17327
+rm -f conftest.err conftest.$ac_ext
17328
+if $ac_preproc_ok; then
17333
+ ac_cv_prog_CXXCPP=$CXXCPP
17336
+ CXXCPP=$ac_cv_prog_CXXCPP
17338
+ ac_cv_prog_CXXCPP=$CXXCPP
17340
+{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
17341
+echo "${ECHO_T}$CXXCPP" >&6; }
17342
+ac_preproc_ok=false
17343
+for ac_cxx_preproc_warn_flag in '' yes
17345
+ # Use a header file that comes with gcc, so configuring glibc
17346
+ # with a fresh cross-compiler works.
17347
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17348
+ # <limits.h> exists even on freestanding compilers.
17349
+ # On the NeXT, cc -E runs the code through the compiler's parser,
17350
+ # not just through cpp. "Syntax error" is here to catch this case.
17351
+ cat >conftest.$ac_ext <<_ACEOF
17354
+cat confdefs.h >>conftest.$ac_ext
17355
+cat >>conftest.$ac_ext <<_ACEOF
17356
+/* end confdefs.h. */
17358
+# include <limits.h>
17360
+# include <assert.h>
17364
+if { (ac_try="$ac_cpp conftest.$ac_ext"
17365
+case "(($ac_try" in
17366
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17367
+ *) ac_try_echo=$ac_try;;
17369
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17370
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17372
+ grep -v '^ *+' conftest.er1 >conftest.err
17373
+ rm -f conftest.er1
17374
+ cat conftest.err >&5
17375
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376
+ (exit $ac_status); } >/dev/null && {
17377
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17378
+ test ! -s conftest.err
17382
+ echo "$as_me: failed program was:" >&5
17383
+sed 's/^/| /' conftest.$ac_ext >&5
17385
+ # Broken: fails on valid input.
17389
+rm -f conftest.err conftest.$ac_ext
17391
+ # OK, works on sane cases. Now check whether nonexistent headers
17392
+ # can be detected and how.
17393
+ cat >conftest.$ac_ext <<_ACEOF
17396
+cat confdefs.h >>conftest.$ac_ext
17397
+cat >>conftest.$ac_ext <<_ACEOF
17398
+/* end confdefs.h. */
17399
+#include <ac_nonexistent.h>
17401
+if { (ac_try="$ac_cpp conftest.$ac_ext"
17402
+case "(($ac_try" in
17403
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17404
+ *) ac_try_echo=$ac_try;;
17406
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17407
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17409
+ grep -v '^ *+' conftest.er1 >conftest.err
17410
+ rm -f conftest.er1
17411
+ cat conftest.err >&5
17412
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413
+ (exit $ac_status); } >/dev/null && {
17414
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
17415
+ test ! -s conftest.err
17417
+ # Broken: success on invalid input.
17420
+ echo "$as_me: failed program was:" >&5
17421
+sed 's/^/| /' conftest.$ac_ext >&5
17423
+ # Passes both tests.
17428
+rm -f conftest.err conftest.$ac_ext
17431
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17432
+rm -f conftest.err conftest.$ac_ext
17433
+if $ac_preproc_ok; then
17436
+ { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17437
+See \`config.log' for more details." >&5
17438
+echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17439
+See \`config.log' for more details." >&2;}
17440
+ { (exit 1); exit 1; }; }
17444
+ac_cpp='$CXXCPP $CPPFLAGS'
17445
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17453
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17454
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17456
+if test -n "$ac_tool_prefix"; then
17457
+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
17459
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17460
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17461
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17462
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17463
+if test "${ac_cv_prog_F77+set}" = set; then
17464
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17466
+ if test -n "$F77"; then
17467
+ ac_cv_prog_F77="$F77" # Let the user override the test.
17469
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17470
+for as_dir in $PATH
17473
+ test -z "$as_dir" && as_dir=.
17474
+ for ac_exec_ext in '' $ac_executable_extensions; do
17475
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17476
+ ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
17477
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17486
+F77=$ac_cv_prog_F77
17487
+if test -n "$F77"; then
17488
+ { echo "$as_me:$LINENO: result: $F77" >&5
17489
+echo "${ECHO_T}$F77" >&6; }
17491
+ { echo "$as_me:$LINENO: result: no" >&5
17492
+echo "${ECHO_T}no" >&6; }
17496
+ test -n "$F77" && break
17499
+if test -z "$F77"; then
17501
+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
17503
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
17504
+set dummy $ac_prog; ac_word=$2
17505
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17506
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17507
+if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
17508
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17510
+ if test -n "$ac_ct_F77"; then
17511
+ ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
17513
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17514
+for as_dir in $PATH
17517
+ test -z "$as_dir" && as_dir=.
17518
+ for ac_exec_ext in '' $ac_executable_extensions; do
17519
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17520
+ ac_cv_prog_ac_ct_F77="$ac_prog"
17521
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17530
+ac_ct_F77=$ac_cv_prog_ac_ct_F77
17531
+if test -n "$ac_ct_F77"; then
17532
+ { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
17533
+echo "${ECHO_T}$ac_ct_F77" >&6; }
17535
+ { echo "$as_me:$LINENO: result: no" >&5
17536
+echo "${ECHO_T}no" >&6; }
17540
+ test -n "$ac_ct_F77" && break
17543
+ if test "x$ac_ct_F77" = x; then
17546
+ case $cross_compiling:$ac_tool_warned in
17548
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17549
+whose name does not start with the host triplet. If you think this
17550
+configuration is useful to you, please write to autoconf@gnu.org." >&5
17551
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17552
+whose name does not start with the host triplet. If you think this
17553
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17554
+ac_tool_warned=yes ;;
17561
+# Provide some information about the compiler.
17562
+echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
17563
+ac_compiler=`set X $ac_compile; echo $2`
17564
+{ (ac_try="$ac_compiler --version >&5"
17565
+case "(($ac_try" in
17566
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17567
+ *) ac_try_echo=$ac_try;;
17569
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17570
+ (eval "$ac_compiler --version >&5") 2>&5
17572
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573
+ (exit $ac_status); }
17574
+{ (ac_try="$ac_compiler -v >&5"
17575
+case "(($ac_try" in
17576
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577
+ *) ac_try_echo=$ac_try;;
17579
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580
+ (eval "$ac_compiler -v >&5") 2>&5
17582
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583
+ (exit $ac_status); }
17584
+{ (ac_try="$ac_compiler -V >&5"
17585
+case "(($ac_try" in
17586
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17587
+ *) ac_try_echo=$ac_try;;
17589
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17590
+ (eval "$ac_compiler -V >&5") 2>&5
17592
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593
+ (exit $ac_status); }
17596
+# If we don't use `.F' as extension, the preprocessor is not run on the
17597
+# input file. (Note that this only needs to work for GNU compilers.)
17598
+ac_save_ext=$ac_ext
17600
+{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
17601
+echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
17602
+if test "${ac_cv_f77_compiler_gnu+set}" = set; then
17603
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17605
+ cat >conftest.$ac_ext <<_ACEOF
17613
+rm -f conftest.$ac_objext
17614
+if { (ac_try="$ac_compile"
17615
+case "(($ac_try" in
17616
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17617
+ *) ac_try_echo=$ac_try;;
17619
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17620
+ (eval "$ac_compile") 2>conftest.er1
17622
+ grep -v '^ *+' conftest.er1 >conftest.err
17623
+ rm -f conftest.er1
17624
+ cat conftest.err >&5
17625
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626
+ (exit $ac_status); } && {
17627
+ test -z "$ac_f77_werror_flag" ||
17628
+ test ! -s conftest.err
17629
+ } && test -s conftest.$ac_objext; then
17630
+ ac_compiler_gnu=yes
17632
+ echo "$as_me: failed program was:" >&5
17633
+sed 's/^/| /' conftest.$ac_ext >&5
17635
+ ac_compiler_gnu=no
17638
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17639
+ac_cv_f77_compiler_gnu=$ac_compiler_gnu
17642
+{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
17643
+echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
17644
+ac_ext=$ac_save_ext
17645
+ac_test_FFLAGS=${FFLAGS+set}
17646
+ac_save_FFLAGS=$FFLAGS
17648
+{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
17649
+echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
17650
+if test "${ac_cv_prog_f77_g+set}" = set; then
17651
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17654
+cat >conftest.$ac_ext <<_ACEOF
17659
+rm -f conftest.$ac_objext
17660
+if { (ac_try="$ac_compile"
17661
+case "(($ac_try" in
17662
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17663
+ *) ac_try_echo=$ac_try;;
17665
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17666
+ (eval "$ac_compile") 2>conftest.er1
17668
+ grep -v '^ *+' conftest.er1 >conftest.err
17669
+ rm -f conftest.er1
17670
+ cat conftest.err >&5
17671
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672
+ (exit $ac_status); } && {
17673
+ test -z "$ac_f77_werror_flag" ||
17674
+ test ! -s conftest.err
17675
+ } && test -s conftest.$ac_objext; then
17676
+ ac_cv_prog_f77_g=yes
17678
+ echo "$as_me: failed program was:" >&5
17679
+sed 's/^/| /' conftest.$ac_ext >&5
17681
+ ac_cv_prog_f77_g=no
17684
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
17688
+echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
17689
+if test "$ac_test_FFLAGS" = set; then
17690
+ FFLAGS=$ac_save_FFLAGS
17691
+elif test $ac_cv_prog_f77_g = yes; then
17692
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
17698
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
17705
+G77=`test $ac_compiler_gnu = yes && echo yes`
17707
+ac_cpp='$CPP $CPPFLAGS'
17708
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17709
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17710
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
17714
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
17716
+# find the maximum length of command line arguments
17717
+{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
17718
+echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
17719
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then
17720
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17723
+ teststring="ABCD"
17725
+ case $build_os in
17727
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
17728
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
17729
+ # during glob expansion). Even if it were fixed, the result of this
17730
+ # check would be larger than it should be.
17731
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
17735
+ # Under GNU Hurd, this test is not required because there is
17736
+ # no limit to the length of command line arguments.
17737
+ # Libtool will interpret -1 as no limit whatsoever
17738
+ lt_cv_sys_max_cmd_len=-1;
17741
+ cygwin* | mingw*)
17742
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
17743
+ # about 5 minutes as the teststring grows exponentially.
17744
+ # Worse, since 9x/ME are not pre-emptively multitasking,
17745
+ # you end up with a "frozen" computer, even though with patience
17746
+ # the test eventually succeeds (with a max line length of 256k).
17747
+ # Instead, let's just punt: use the minimum linelength reported by
17748
+ # all of the supported platforms: 8192 (on NT/2K/XP).
17749
+ lt_cv_sys_max_cmd_len=8192;
17753
+ # On AmigaOS with pdksh, this test takes hours, literally.
17754
+ # So we just punt and use a minimum line length of 8192.
17755
+ lt_cv_sys_max_cmd_len=8192;
17758
+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
17759
+ # This has been around since 386BSD, at least. Likely further.
17760
+ if test -x /sbin/sysctl; then
17761
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
17762
+ elif test -x /usr/sbin/sysctl; then
17763
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
17765
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
17767
+ # And add a safety zone
17768
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
17769
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
17773
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
17774
+ lt_cv_sys_max_cmd_len=196608
17778
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
17779
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
17780
+ # nice to cause kernel panics so lets avoid the loop below.
17781
+ # First set a reasonable default.
17782
+ lt_cv_sys_max_cmd_len=16384
17784
+ if test -x /sbin/sysconfig; then
17785
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
17786
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
17791
+ lt_cv_sys_max_cmd_len=102400
17793
+ sysv5* | sco5v6* | sysv4.2uw2*)
17794
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
17795
+ if test -n "$kargmax"; then
17796
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
17798
+ lt_cv_sys_max_cmd_len=32768
17802
+ # If test is not a shell built-in, we'll probably end up computing a
17803
+ # maximum length that is only half of the actual maximum length, but
17805
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
17806
+ while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
17807
+ = "XX$teststring") >/dev/null 2>&1 &&
17808
+ new_result=`expr "X$teststring" : ".*" 2>&1` &&
17809
+ lt_cv_sys_max_cmd_len=$new_result &&
17810
+ test $i != 17 # 1/2 MB should be enough
17813
+ teststring=$teststring$teststring
17816
+ # Add a significant safety factor because C++ compilers can tack on massive
17817
+ # amounts of additional arguments before passing them to the linker.
17818
+ # It appears as though 1/2 is a usable value.
17819
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
17825
+if test -n $lt_cv_sys_max_cmd_len ; then
17826
+ { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
17827
+echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
17829
+ { echo "$as_me:$LINENO: result: none" >&5
17830
+echo "${ECHO_T}none" >&6; }
17836
+# Check for command to grab the raw symbol name followed by C symbol from nm.
17837
+{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
17838
+echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
17839
+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
17840
+ echo $ECHO_N "(cached) $ECHO_C" >&6
17843
+# These are sane defaults that work on at least a few old systems.
17844
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
17846
+# Character class describing NM global symbol codes.
17847
+symcode='[BCDEGRST]'
17849
+# Regexp to match symbols that can be accessed directly from C.
17850
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
17852
+# Transform an extracted symbol line into a proper C declaration
17853
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
17855
+# Transform an extracted symbol line into symbol name and symbol address
17856
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
17858
+# Define system-specific variables.
17863
+cygwin* | mingw* | pw32*)
17864
+ symcode='[ABCDGISTW]'
17866
+hpux*) # Its linker distinguishes data from code symbols
17867
+ if test "$host_cpu" = ia64; then
17868
+ symcode='[ABCDEGRST]'
17870
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
17871
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
17873
+linux* | k*bsd*-gnu)
17874
+ if test "$host_cpu" = ia64; then
17875
+ symcode='[ABCDGIRSTW]'
17876
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
17877
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
17880
+irix* | nonstopux*)
17881
+ symcode='[BCDEGRST]'
17884
+ symcode='[BCDEGQRST]'
17895
+sysv5* | sco5v6* | unixware* | OpenUNIX*)
17899
+ symcode='[DFNSTU]'
17903
+# Handle CRLF in mingw tool chain
17907
+ opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
17911
+# If we're using GNU nm, then use its standard symbol codes.
17912
+case `$NM -V 2>&1` in
17913
+*GNU* | *'with BFD'*)
17914
+ symcode='[ABCDGIRSTW]' ;;
17917
+# Try without a prefix undercore, then with it.
17918
+for ac_symprfx in "" "_"; do
17920
+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
17921
+ symxfrm="\\1 $ac_symprfx\\2 \\2"
17923
+ # Write the raw and C identifiers.
17924
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
17926
+ # Check to see that the pipe works correctly.
17930
+ cat > conftest.$ac_ext <<EOF
17931
+#ifdef __cplusplus
17935
+void nm_test_func(){}
17936
+#ifdef __cplusplus
17939
+int main(){nm_test_var='a';nm_test_func();return(0);}
17942
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17943
+ (eval $ac_compile) 2>&5
17945
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946
+ (exit $ac_status); }; then
17947
+ # Now try to grab the symbols.
17948
+ nlist=conftest.nm
17949
+ if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
17950
+ (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
17952
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953
+ (exit $ac_status); } && test -s "$nlist"; then
17954
+ # Try sorting and uniquifying the output.
17955
+ if sort "$nlist" | uniq > "$nlist"T; then
17956
+ mv -f "$nlist"T "$nlist"
17961
+ # Make sure that we snagged all the symbols we need.
17962
+ if grep ' nm_test_var$' "$nlist" >/dev/null; then
17963
+ if grep ' nm_test_func$' "$nlist" >/dev/null; then
17964
+ cat <<EOF > conftest.$ac_ext
17965
+#ifdef __cplusplus
17970
+ # Now generate the symbol file.
17971
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
17973
+ cat <<EOF >> conftest.$ac_ext
17974
+#if defined (__STDC__) && __STDC__
17975
+# define lt_ptr_t void *
17977
+# define lt_ptr_t char *
17981
+/* The mapping between symbol names and symbols. */
17983
+ const char *name;
17984
+ lt_ptr_t address;
17986
+lt_preloaded_symbols[] =
17989
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
17990
+ cat <<\EOF >> conftest.$ac_ext
17991
+ {0, (lt_ptr_t) 0}
17994
+#ifdef __cplusplus
17998
+ # Now try linking the two files.
17999
+ mv conftest.$ac_objext conftstm.$ac_objext
18000
+ lt_save_LIBS="$LIBS"
18001
+ lt_save_CFLAGS="$CFLAGS"
18002
+ LIBS="conftstm.$ac_objext"
18003
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
18004
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18005
+ (eval $ac_link) 2>&5
18007
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008
+ (exit $ac_status); } && test -s conftest${ac_exeext}; then
18011
+ LIBS="$lt_save_LIBS"
18012
+ CFLAGS="$lt_save_CFLAGS"
18014
+ echo "cannot find nm_test_func in $nlist" >&5
18017
+ echo "cannot find nm_test_var in $nlist" >&5
18020
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
18023
+ echo "$progname: failed program was:" >&5
18024
+ cat conftest.$ac_ext >&5
18026
+ rm -f conftest* conftst*
18028
+ # Do not use the global_symbol_pipe unless it works.
18029
+ if test "$pipe_works" = yes; then
18032
+ lt_cv_sys_global_symbol_pipe=
18038
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
18039
+ lt_cv_sys_global_symbol_to_cdecl=
18041
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
18042
+ { echo "$as_me:$LINENO: result: failed" >&5
18043
+echo "${ECHO_T}failed" >&6; }
18045
+ { echo "$as_me:$LINENO: result: ok" >&5
18046
+echo "${ECHO_T}ok" >&6; }
18049
+{ echo "$as_me:$LINENO: checking for objdir" >&5
18050
+echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
18051
+if test "${lt_cv_objdir+set}" = set; then
18052
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18054
+ rm -f .libs 2>/dev/null
18055
+mkdir .libs 2>/dev/null
18056
+if test -d .libs; then
18057
+ lt_cv_objdir=.libs
18059
+ # MS-DOS does not allow filenames that begin with a dot.
18060
+ lt_cv_objdir=_libs
18062
+rmdir .libs 2>/dev/null
18064
+{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
18065
+echo "${ECHO_T}$lt_cv_objdir" >&6; }
18066
+objdir=$lt_cv_objdir
18074
+ # AIX sometimes has problems with the GCC collect2 program. For some
18075
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
18076
+ # vanish in a puff of smoke.
18077
+ if test "X${COLLECT_NAMES+set}" != Xset; then
18079
+ export COLLECT_NAMES
18084
+# Sed substitution that helps us do robust quoting. It backslashifies
18085
+# metacharacters that are still active within double-quoted strings.
18086
+Xsed='sed -e 1s/^X//'
18087
+sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
18089
+# Same as above, but do not quote variable references.
18090
+double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
18092
+# Sed substitution to delay expansion of an escaped shell variable in a
18093
+# double_quote_subst'ed string.
18094
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
18096
+# Sed substitution to avoid accidental globbing in evaled expressions
18097
+no_glob_subst='s/\*/\\\*/g'
18102
+# Global variables:
18103
+default_ofile=libtool
18104
+can_build_shared=yes
18106
+# All known linkers require a `.a' archive for static linking (except MSVC,
18107
+# which needs '.lib').
18109
+ltmain="$ac_aux_dir/ltmain.sh"
18110
+ofile="$default_ofile"
18111
+with_gnu_ld="$lt_cv_prog_gnu_ld"
18113
+if test -n "$ac_tool_prefix"; then
18114
+ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18115
+set dummy ${ac_tool_prefix}ar; ac_word=$2
18116
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18117
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18118
+if test "${ac_cv_prog_AR+set}" = set; then
18119
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18121
+ if test -n "$AR"; then
18122
+ ac_cv_prog_AR="$AR" # Let the user override the test.
18124
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18125
+for as_dir in $PATH
18128
+ test -z "$as_dir" && as_dir=.
18129
+ for ac_exec_ext in '' $ac_executable_extensions; do
18130
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18131
+ ac_cv_prog_AR="${ac_tool_prefix}ar"
18132
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18142
+if test -n "$AR"; then
18143
+ { echo "$as_me:$LINENO: result: $AR" >&5
18144
+echo "${ECHO_T}$AR" >&6; }
18146
+ { echo "$as_me:$LINENO: result: no" >&5
18147
+echo "${ECHO_T}no" >&6; }
18152
+if test -z "$ac_cv_prog_AR"; then
18154
+ # Extract the first word of "ar", so it can be a program name with args.
18155
+set dummy ar; ac_word=$2
18156
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18157
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18158
+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18159
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18161
+ if test -n "$ac_ct_AR"; then
18162
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18164
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18165
+for as_dir in $PATH
18168
+ test -z "$as_dir" && as_dir=.
18169
+ for ac_exec_ext in '' $ac_executable_extensions; do
18170
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18171
+ ac_cv_prog_ac_ct_AR="ar"
18172
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18181
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
18182
+if test -n "$ac_ct_AR"; then
18183
+ { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18184
+echo "${ECHO_T}$ac_ct_AR" >&6; }
18186
+ { echo "$as_me:$LINENO: result: no" >&5
18187
+echo "${ECHO_T}no" >&6; }
18190
+ if test "x$ac_ct_AR" = x; then
18193
+ case $cross_compiling:$ac_tool_warned in
18195
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18196
+whose name does not start with the host triplet. If you think this
18197
+configuration is useful to you, please write to autoconf@gnu.org." >&5
18198
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18199
+whose name does not start with the host triplet. If you think this
18200
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18201
+ac_tool_warned=yes ;;
18206
+ AR="$ac_cv_prog_AR"
18209
+if test -n "$ac_tool_prefix"; then
18210
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
18211
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
18212
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18213
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18214
+if test "${ac_cv_prog_RANLIB+set}" = set; then
18215
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18217
+ if test -n "$RANLIB"; then
18218
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
18220
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18221
+for as_dir in $PATH
18224
+ test -z "$as_dir" && as_dir=.
18225
+ for ac_exec_ext in '' $ac_executable_extensions; do
18226
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18227
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
18228
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18237
+RANLIB=$ac_cv_prog_RANLIB
18238
+if test -n "$RANLIB"; then
18239
+ { echo "$as_me:$LINENO: result: $RANLIB" >&5
18240
+echo "${ECHO_T}$RANLIB" >&6; }
18242
+ { echo "$as_me:$LINENO: result: no" >&5
18243
+echo "${ECHO_T}no" >&6; }
18248
+if test -z "$ac_cv_prog_RANLIB"; then
18249
+ ac_ct_RANLIB=$RANLIB
18250
+ # Extract the first word of "ranlib", so it can be a program name with args.
18251
+set dummy ranlib; ac_word=$2
18252
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18253
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18254
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
18255
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18257
+ if test -n "$ac_ct_RANLIB"; then
18258
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
18260
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18261
+for as_dir in $PATH
18264
+ test -z "$as_dir" && as_dir=.
18265
+ for ac_exec_ext in '' $ac_executable_extensions; do
18266
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18267
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
18268
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18277
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
18278
+if test -n "$ac_ct_RANLIB"; then
18279
+ { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
18280
+echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
18282
+ { echo "$as_me:$LINENO: result: no" >&5
18283
+echo "${ECHO_T}no" >&6; }
18286
+ if test "x$ac_ct_RANLIB" = x; then
18289
+ case $cross_compiling:$ac_tool_warned in
18291
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18292
+whose name does not start with the host triplet. If you think this
18293
+configuration is useful to you, please write to autoconf@gnu.org." >&5
18294
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18295
+whose name does not start with the host triplet. If you think this
18296
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18297
+ac_tool_warned=yes ;;
18299
+ RANLIB=$ac_ct_RANLIB
18302
+ RANLIB="$ac_cv_prog_RANLIB"
18305
+if test -n "$ac_tool_prefix"; then
18306
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
18307
+set dummy ${ac_tool_prefix}strip; ac_word=$2
18308
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18309
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18310
+if test "${ac_cv_prog_STRIP+set}" = set; then
18311
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18313
+ if test -n "$STRIP"; then
18314
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
18316
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18317
+for as_dir in $PATH
18320
+ test -z "$as_dir" && as_dir=.
18321
+ for ac_exec_ext in '' $ac_executable_extensions; do
18322
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18323
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
18324
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18333
+STRIP=$ac_cv_prog_STRIP
18334
+if test -n "$STRIP"; then
18335
+ { echo "$as_me:$LINENO: result: $STRIP" >&5
18336
+echo "${ECHO_T}$STRIP" >&6; }
18338
+ { echo "$as_me:$LINENO: result: no" >&5
18339
+echo "${ECHO_T}no" >&6; }
18344
+if test -z "$ac_cv_prog_STRIP"; then
18345
+ ac_ct_STRIP=$STRIP
18346
+ # Extract the first word of "strip", so it can be a program name with args.
18347
+set dummy strip; ac_word=$2
18348
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
18349
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18350
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
18351
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18353
+ if test -n "$ac_ct_STRIP"; then
18354
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
18356
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18357
+for as_dir in $PATH
18360
+ test -z "$as_dir" && as_dir=.
18361
+ for ac_exec_ext in '' $ac_executable_extensions; do
18362
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18363
+ ac_cv_prog_ac_ct_STRIP="strip"
18364
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18373
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
18374
+if test -n "$ac_ct_STRIP"; then
18375
+ { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
18376
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
18378
+ { echo "$as_me:$LINENO: result: no" >&5
18379
+echo "${ECHO_T}no" >&6; }
18382
+ if test "x$ac_ct_STRIP" = x; then
18385
+ case $cross_compiling:$ac_tool_warned in
18387
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18388
+whose name does not start with the host triplet. If you think this
18389
+configuration is useful to you, please write to autoconf@gnu.org." >&5
18390
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18391
+whose name does not start with the host triplet. If you think this
18392
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18393
+ac_tool_warned=yes ;;
18395
+ STRIP=$ac_ct_STRIP
18398
+ STRIP="$ac_cv_prog_STRIP"
18403
+old_CFLAGS="$CFLAGS"
18405
+# Set sane defaults for various variables
18406
+test -z "$AR" && AR=ar
18407
+test -z "$AR_FLAGS" && AR_FLAGS=cru
18408
+test -z "$AS" && AS=as
18409
+test -z "$CC" && CC=cc
18410
+test -z "$LTCC" && LTCC=$CC
18411
+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
18412
+test -z "$DLLTOOL" && DLLTOOL=dlltool
18413
+test -z "$LD" && LD=ld
18414
+test -z "$LN_S" && LN_S="ln -s"
18415
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
18416
+test -z "$NM" && NM=nm
18417
+test -z "$SED" && SED=sed
18418
+test -z "$OBJDUMP" && OBJDUMP=objdump
18419
+test -z "$RANLIB" && RANLIB=:
18420
+test -z "$STRIP" && STRIP=:
18421
+test -z "$ac_objext" && ac_objext=o
18423
+# Determine commands to create old-style static archives.
18424
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
18425
+old_postinstall_cmds='chmod 644 $oldlib'
18426
+old_postuninstall_cmds=
18428
+if test -n "$RANLIB"; then
18431
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
18434
+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
18437
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
18440
+for cc_temp in $compiler""; do
18442
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18443
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18448
+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18451
+# Only perform the check for file, if the check method requires it
18452
+case $deplibs_check_method in
18454
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
18455
+ { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
18456
+echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
18457
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
18458
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18460
+ case $MAGIC_CMD in
18461
+[\\/*] | ?:[\\/]*)
18462
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
18465
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
18466
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18467
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
18468
+ for ac_dir in $ac_dummy; do
18469
+ IFS="$lt_save_ifs"
18470
+ test -z "$ac_dir" && ac_dir=.
18471
+ if test -f $ac_dir/${ac_tool_prefix}file; then
18472
+ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
18473
+ if test -n "$file_magic_test_file"; then
18474
+ case $deplibs_check_method in
18476
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
18477
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
18478
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
18479
+ $EGREP "$file_magic_regex" > /dev/null; then
18484
+*** Warning: the command libtool uses to detect shared libraries,
18485
+*** $file_magic_cmd, produces output that libtool cannot recognize.
18486
+*** The result is that libtool may fail to recognize shared libraries
18487
+*** as such. This will affect the creation of libtool libraries that
18488
+*** depend on shared libraries, but programs linked with such libtool
18489
+*** libraries will work regardless of this problem. Nevertheless, you
18490
+*** may want to report the problem to your system manager and/or to
18491
+*** bug-libtool@gnu.org
18500
+ IFS="$lt_save_ifs"
18501
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
18506
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
18507
+if test -n "$MAGIC_CMD"; then
18508
+ { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
18509
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
18511
+ { echo "$as_me:$LINENO: result: no" >&5
18512
+echo "${ECHO_T}no" >&6; }
18515
+if test -z "$lt_cv_path_MAGIC_CMD"; then
18516
+ if test -n "$ac_tool_prefix"; then
18517
+ { echo "$as_me:$LINENO: checking for file" >&5
18518
+echo $ECHO_N "checking for file... $ECHO_C" >&6; }
18519
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
18520
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18522
+ case $MAGIC_CMD in
18523
+[\\/*] | ?:[\\/]*)
18524
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
18527
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
18528
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18529
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
18530
+ for ac_dir in $ac_dummy; do
18531
+ IFS="$lt_save_ifs"
18532
+ test -z "$ac_dir" && ac_dir=.
18533
+ if test -f $ac_dir/file; then
18534
+ lt_cv_path_MAGIC_CMD="$ac_dir/file"
18535
+ if test -n "$file_magic_test_file"; then
18536
+ case $deplibs_check_method in
18538
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
18539
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
18540
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
18541
+ $EGREP "$file_magic_regex" > /dev/null; then
18546
+*** Warning: the command libtool uses to detect shared libraries,
18547
+*** $file_magic_cmd, produces output that libtool cannot recognize.
18548
+*** The result is that libtool may fail to recognize shared libraries
18549
+*** as such. This will affect the creation of libtool libraries that
18550
+*** depend on shared libraries, but programs linked with such libtool
18551
+*** libraries will work regardless of this problem. Nevertheless, you
18552
+*** may want to report the problem to your system manager and/or to
18553
+*** bug-libtool@gnu.org
18562
+ IFS="$lt_save_ifs"
18563
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
18568
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
18569
+if test -n "$MAGIC_CMD"; then
18570
+ { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
18571
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
18573
+ { echo "$as_me:$LINENO: result: no" >&5
18574
+echo "${ECHO_T}no" >&6; }
18587
+enable_win32_dll=no
18589
+# Check whether --enable-libtool-lock was given.
18590
+if test "${enable_libtool_lock+set}" = set; then
18591
+ enableval=$enable_libtool_lock;
18594
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
18597
+# Check whether --with-pic was given.
18598
+if test "${with_pic+set}" = set; then
18599
+ withval=$with_pic; pic_mode="$withval"
18604
+test -z "$pic_mode" && pic_mode=default
18606
+# Use C for the default configuration in the libtool script
18610
+ac_cpp='$CPP $CPPFLAGS'
18611
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
18616
+# Source file extension for C test sources.
18619
+# Object file extension for compiled C test sources.
18623
+# Code to be used in simple compile tests
18624
+lt_simple_compile_test_code="int some_variable = 0;\n"
18626
+# Code to be used in simple link tests
18627
+lt_simple_link_test_code='int main(){return(0);}\n'
18630
+# If no C compiler was specified, use CC.
18631
+LTCC=${LTCC-"$CC"}
18633
+# If no C compiler flags were specified, use CFLAGS.
18634
+LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18636
+# Allow CC to be a program name with arguments.
18640
+# save warnings/boilerplate of simple test code
18641
+ac_outfile=conftest.$ac_objext
18642
+printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18643
+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18644
+_lt_compiler_boilerplate=`cat conftest.err`
18647
+ac_outfile=conftest.$ac_objext
18648
+printf "$lt_simple_link_test_code" >conftest.$ac_ext
18649
+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18650
+_lt_linker_boilerplate=`cat conftest.err`
18655
+lt_prog_compiler_no_builtin_flag=
18657
+if test "$GCC" = yes; then
18658
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin'
18661
+{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18662
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18663
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18664
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18666
+ lt_cv_prog_compiler_rtti_exceptions=no
18667
+ ac_outfile=conftest.$ac_objext
18668
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18669
+ lt_compiler_flag="-fno-rtti -fno-exceptions"
18670
+ # Insert the option either (1) after the last *FLAGS variable, or
18671
+ # (2) before a word containing "conftest.", or (3) at the end.
18672
+ # Note that $ac_compile itself does not contain backslashes and begins
18673
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
18674
+ # The option is referenced via a variable to avoid confusing sed.
18675
+ lt_compile=`echo "$ac_compile" | $SED \
18676
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18677
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18678
+ -e 's:$: $lt_compiler_flag:'`
18679
+ (eval echo "\"\$as_me:7998: $lt_compile\"" >&5)
18680
+ (eval "$lt_compile" 2>conftest.err)
18682
+ cat conftest.err >&5
18683
+ echo "$as_me:8002: \$? = $ac_status" >&5
18684
+ if (exit $ac_status) && test -s "$ac_outfile"; then
18685
+ # The compiler can only warn and ignore the option if not recognized
18686
+ # So say no if there are warnings other than the usual output.
18687
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18688
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18689
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18690
+ lt_cv_prog_compiler_rtti_exceptions=yes
18696
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18697
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18699
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18700
+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
18707
+lt_prog_compiler_wl=
18708
+lt_prog_compiler_pic=
18709
+lt_prog_compiler_static=
18711
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18712
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18714
+ if test "$GCC" = yes; then
18715
+ lt_prog_compiler_wl='-Wl,'
18716
+ lt_prog_compiler_static='-static'
18720
+ # All AIX code is PIC.
18721
+ if test "$host_cpu" = ia64; then
18722
+ # AIX 5 now supports IA64 processor
18723
+ lt_prog_compiler_static='-Bstatic'
18728
+ # FIXME: we need at least 68020 code to build shared libraries, but
18729
+ # adding the `-m68020' flag to GCC prevents building anything better,
18730
+ # like `-m68040'.
18731
+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
18734
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18735
+ # PIC is the default for these OSes.
18738
+ mingw* | pw32* | os2*)
18739
+ # This hack is so that the source file can tell whether it is being
18740
+ # built for inclusion in a dll (and should export symbols for example).
18741
+ lt_prog_compiler_pic='-DDLL_EXPORT'
18744
+ darwin* | rhapsody*)
18745
+ # PIC is the default on this platform
18746
+ # Common symbols not allowed in MH_DYLIB files
18747
+ lt_prog_compiler_pic='-fno-common'
18751
+ # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18752
+ # Instead, we relocate shared libraries at runtime.
18756
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
18757
+ # on systems that don't support them.
18758
+ lt_prog_compiler_can_build_shared=no
18763
+ if test -d /usr/nec; then
18764
+ lt_prog_compiler_pic=-Kconform_pic
18769
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18770
+ # not for PA HP-UX.
18771
+ case $host_cpu in
18776
+ lt_prog_compiler_pic='-fPIC'
18782
+ lt_prog_compiler_pic='-fPIC'
18786
+ # PORTME Check for flag to pass linker flags through the system compiler.
18789
+ lt_prog_compiler_wl='-Wl,'
18790
+ if test "$host_cpu" = ia64; then
18791
+ # AIX 5 now supports IA64 processor
18792
+ lt_prog_compiler_static='-Bstatic'
18794
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
18798
+ # PIC is the default on this platform
18799
+ # Common symbols not allowed in MH_DYLIB files
18800
+ case $cc_basename in
18802
+ lt_prog_compiler_pic='-qnocommon'
18803
+ lt_prog_compiler_wl='-Wl,'
18808
+ mingw* | pw32* | os2*)
18809
+ # This hack is so that the source file can tell whether it is being
18810
+ # built for inclusion in a dll (and should export symbols for example).
18811
+ lt_prog_compiler_pic='-DDLL_EXPORT'
18814
+ hpux9* | hpux10* | hpux11*)
18815
+ lt_prog_compiler_wl='-Wl,'
18816
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18817
+ # not for PA HP-UX.
18818
+ case $host_cpu in
18823
+ lt_prog_compiler_pic='+Z'
18826
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
18827
+ lt_prog_compiler_static='${wl}-a ${wl}archive'
18830
+ irix5* | irix6* | nonstopux*)
18831
+ lt_prog_compiler_wl='-Wl,'
18832
+ # PIC (with -KPIC) is the default.
18833
+ lt_prog_compiler_static='-non_shared'
18837
+ lt_prog_compiler_pic='-KPIC'
18838
+ lt_prog_compiler_static='-Bstatic'
18841
+ linux* | k*bsd*-gnu)
18842
+ case $cc_basename in
18844
+ lt_prog_compiler_wl='-Wl,'
18845
+ lt_prog_compiler_pic='-KPIC'
18846
+ lt_prog_compiler_static='-static'
18848
+ pgcc* | pgf77* | pgf90* | pgf95*)
18849
+ # Portland Group compilers (*not* the Pentium gcc compiler,
18850
+ # which looks to be a dead project)
18851
+ lt_prog_compiler_wl='-Wl,'
18852
+ lt_prog_compiler_pic='-fpic'
18853
+ lt_prog_compiler_static='-Bstatic'
18856
+ lt_prog_compiler_wl='-Wl,'
18857
+ # All Alpha code is PIC.
18858
+ lt_prog_compiler_static='-non_shared'
18863
+ osf3* | osf4* | osf5*)
18864
+ lt_prog_compiler_wl='-Wl,'
18865
+ # All OSF/1 code is PIC.
18866
+ lt_prog_compiler_static='-non_shared'
18870
+ lt_prog_compiler_pic='-KPIC'
18871
+ lt_prog_compiler_static='-Bstatic'
18872
+ case $cc_basename in
18873
+ f77* | f90* | f95*)
18874
+ lt_prog_compiler_wl='-Qoption ld ';;
18876
+ lt_prog_compiler_wl='-Wl,';;
18881
+ lt_prog_compiler_wl='-Qoption ld '
18882
+ lt_prog_compiler_pic='-PIC'
18883
+ lt_prog_compiler_static='-Bstatic'
18886
+ sysv4 | sysv4.2uw2* | sysv4.3*)
18887
+ lt_prog_compiler_wl='-Wl,'
18888
+ lt_prog_compiler_pic='-KPIC'
18889
+ lt_prog_compiler_static='-Bstatic'
18893
+ if test -d /usr/nec ;then
18894
+ lt_prog_compiler_pic='-Kconform_pic'
18895
+ lt_prog_compiler_static='-Bstatic'
18899
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18900
+ lt_prog_compiler_wl='-Wl,'
18901
+ lt_prog_compiler_pic='-KPIC'
18902
+ lt_prog_compiler_static='-Bstatic'
18906
+ lt_prog_compiler_wl='-Wl,'
18907
+ lt_prog_compiler_can_build_shared=no
18911
+ lt_prog_compiler_pic='-pic'
18912
+ lt_prog_compiler_static='-Bstatic'
18916
+ lt_prog_compiler_can_build_shared=no
18921
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
18922
+echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
18925
+# Check to make sure the PIC flag actually works.
18927
+if test -n "$lt_prog_compiler_pic"; then
18929
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
18930
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
18931
+if test "${lt_prog_compiler_pic_works+set}" = set; then
18932
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18934
+ lt_prog_compiler_pic_works=no
18935
+ ac_outfile=conftest.$ac_objext
18936
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18937
+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
18938
+ # Insert the option either (1) after the last *FLAGS variable, or
18939
+ # (2) before a word containing "conftest.", or (3) at the end.
18940
+ # Note that $ac_compile itself does not contain backslashes and begins
18941
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
18942
+ # The option is referenced via a variable to avoid confusing sed.
18943
+ lt_compile=`echo "$ac_compile" | $SED \
18944
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18945
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18946
+ -e 's:$: $lt_compiler_flag:'`
18947
+ (eval echo "\"\$as_me:8266: $lt_compile\"" >&5)
18948
+ (eval "$lt_compile" 2>conftest.err)
18950
+ cat conftest.err >&5
18951
+ echo "$as_me:8270: \$? = $ac_status" >&5
18952
+ if (exit $ac_status) && test -s "$ac_outfile"; then
18953
+ # The compiler can only warn and ignore the option if not recognized
18954
+ # So say no if there are warnings other than the usual output.
18955
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18956
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18957
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18958
+ lt_prog_compiler_pic_works=yes
18964
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
18965
+echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
18967
+if test x"$lt_prog_compiler_pic_works" = xyes; then
18968
+ case $lt_prog_compiler_pic in
18970
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
18973
+ lt_prog_compiler_pic=
18974
+ lt_prog_compiler_can_build_shared=no
18979
+ # For platforms which do not support PIC, -DPIC is meaningless:
18981
+ lt_prog_compiler_pic=
18984
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
18989
+# Check to make sure the static flag actually works.
18991
+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
18992
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18993
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18994
+if test "${lt_prog_compiler_static_works+set}" = set; then
18995
+ echo $ECHO_N "(cached) $ECHO_C" >&6
18997
+ lt_prog_compiler_static_works=no
18998
+ save_LDFLAGS="$LDFLAGS"
18999
+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19000
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
19001
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19002
+ # The linker can only warn and ignore the option if not recognized
19003
+ # So say no if there are warnings
19004
+ if test -s conftest.err; then
19005
+ # Append any errors to the config.log.
19006
+ cat conftest.err 1>&5
19007
+ $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19008
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19009
+ if diff conftest.exp conftest.er2 >/dev/null; then
19010
+ lt_prog_compiler_static_works=yes
19013
+ lt_prog_compiler_static_works=yes
19017
+ LDFLAGS="$save_LDFLAGS"
19020
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
19021
+echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
19023
+if test x"$lt_prog_compiler_static_works" = xyes; then
19026
+ lt_prog_compiler_static=
19030
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19031
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19032
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
19033
+ echo $ECHO_N "(cached) $ECHO_C" >&6
19035
+ lt_cv_prog_compiler_c_o=no
19036
+ $rm -r conftest 2>/dev/null
19040
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19042
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
19043
+ # Insert the option either (1) after the last *FLAGS variable, or
19044
+ # (2) before a word containing "conftest.", or (3) at the end.
19045
+ # Note that $ac_compile itself does not contain backslashes and begins
19046
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
19047
+ lt_compile=`echo "$ac_compile" | $SED \
19048
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19049
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19050
+ -e 's:$: $lt_compiler_flag:'`
19051
+ (eval echo "\"\$as_me:8370: $lt_compile\"" >&5)
19052
+ (eval "$lt_compile" 2>out/conftest.err)
19054
+ cat out/conftest.err >&5
19055
+ echo "$as_me:8374: \$? = $ac_status" >&5
19056
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
19058
+ # The compiler can only warn and ignore the option if not recognized
19059
+ # So say no if there are warnings
19060
+ $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19061
+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19062
+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19063
+ lt_cv_prog_compiler_c_o=yes
19068
+ # SGI C++ compiler will create directory out/ii_files/ for
19069
+ # template instantiation
19070
+ test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
19071
+ $rm out/* && rmdir out
19077
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
19078
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
19081
+hard_links="nottested"
19082
+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
19083
+ # do not overwrite the value of need_locks provided by the user
19084
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19085
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19088
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
19090
+ ln conftest.a conftest.b 2>&5 || hard_links=no
19091
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
19092
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
19093
+echo "${ECHO_T}$hard_links" >&6; }
19094
+ if test "$hard_links" = no; then
19095
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19096
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19103
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19104
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19107
+ allow_undefined_flag=
19108
+ enable_shared_with_static_runtimes=no
19110
+ archive_expsym_cmds=
19111
+ old_archive_From_new_cmds=
19112
+ old_archive_from_expsyms_cmds=
19113
+ export_dynamic_flag_spec=
19114
+ whole_archive_flag_spec=
19115
+ thread_safe_flag_spec=
19116
+ hardcode_libdir_flag_spec=
19117
+ hardcode_libdir_flag_spec_ld=
19118
+ hardcode_libdir_separator=
19119
+ hardcode_direct=no
19120
+ hardcode_minus_L=no
19121
+ hardcode_shlibpath_var=unsupported
19122
+ link_all_deplibs=unknown
19123
+ hardcode_automatic=no
19125
+ module_expsym_cmds=
19126
+ always_export_symbols=no
19127
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19128
+ # include_expsyms should be a list of space-separated symbols to be *always*
19129
+ # included in the symbol list
19131
+ # exclude_expsyms can be an extended regexp of symbols to exclude
19132
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
19133
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19134
+ # as well as any symbol that contains `d'.
19135
+ exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
19136
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19137
+ # platforms (ab)use it in PIC code, but their linkers get confused if
19138
+ # the symbol is explicitly referenced. Since portable code cannot
19139
+ # rely on this symbol name, it's probably fine to never include it in
19140
+ # preloaded symbol tables.
19141
+ extract_expsyms_cmds=
19142
+ # Just being paranoid about ensuring that cc_basename is set.
19143
+ for cc_temp in $compiler""; do
19145
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19146
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19151
+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19154
+ cygwin* | mingw* | pw32*)
19155
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
19156
+ # When not using gcc, we currently assume that we are using
19157
+ # Microsoft Visual C++.
19158
+ if test "$GCC" != yes; then
19163
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
19172
+ if test "$with_gnu_ld" = yes; then
19173
+ # If archive_cmds runs LD, not CC, wlarc should be empty
19176
+ # Set some defaults for GNU ld with shared library support. These
19177
+ # are reset later if shared libraries are not supported. Putting them
19178
+ # here allows them to be overridden if necessary.
19179
+ runpath_var=LD_RUN_PATH
19180
+ hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
19181
+ export_dynamic_flag_spec='${wl}--export-dynamic'
19182
+ # ancient GNU ld didn't support --whole-archive et. al.
19183
+ if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19184
+ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19186
+ whole_archive_flag_spec=
19188
+ supports_anon_versioning=no
19189
+ case `$LD -v 2>/dev/null` in
19190
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
19191
+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
19192
+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
19193
+ *\ 2.11.*) ;; # other 2.11 versions
19194
+ *) supports_anon_versioning=yes ;;
19197
+ # See if GNU ld supports shared libraries.
19199
+ aix3* | aix4* | aix5*)
19200
+ # On AIX/PPC, the GNU linker is very broken
19201
+ if test "$host_cpu" != ia64; then
19205
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19206
+*** to be unable to reliably create shared libraries on AIX.
19207
+*** Therefore, libtool is disabling shared libraries support. If you
19208
+*** really care for shared libraries, you may want to modify your PATH
19209
+*** so that a non-GNU linker is found, and then restart.
19216
+ 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)'
19217
+ hardcode_libdir_flag_spec='-L$libdir'
19218
+ hardcode_minus_L=yes
19220
+ # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19221
+ # that the semantics of dynamic libraries on AmigaOS, at least up
19222
+ # to version 4, is to share data among multiple programs linked
19223
+ # with the same dynamic library. Since this doesn't match the
19224
+ # behavior of shared libraries on other platforms, we can't use
19230
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19231
+ allow_undefined_flag=unsupported
19232
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19233
+ # support --undefined. This deserves some investigation. FIXME
19234
+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19240
+ cygwin* | mingw* | pw32*)
19241
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
19242
+ # as there is no search path for DLLs.
19243
+ hardcode_libdir_flag_spec='-L$libdir'
19244
+ allow_undefined_flag=unsupported
19245
+ always_export_symbols=no
19246
+ enable_shared_with_static_runtimes=yes
19247
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19249
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19250
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19251
+ # If the export-symbols file already is a .def file (1st line
19252
+ # is EXPORTS), use it as is; otherwise, prepend...
19253
+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19254
+ cp $export_symbols $output_objdir/$soname.def;
19256
+ echo EXPORTS > $output_objdir/$soname.def;
19257
+ cat $export_symbols >> $output_objdir/$soname.def;
19259
+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19266
+ hardcode_direct=no
19267
+ hardcode_shlibpath_var=no
19268
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
19269
+ export_dynamic_flag_spec='${wl}-E'
19270
+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19271
+ # Instead, shared libraries are loaded at an image base (0x10000000 by
19272
+ # default) and relocated if they conflict, which is a slow very memory
19273
+ # consuming and fragmenting process. To avoid this, we pick a random,
19274
+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19275
+ # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19276
+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19277
+ 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'
19280
+ linux* | k*bsd*-gnu)
19281
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19283
+ case $cc_basename,$host_cpu in
19284
+ pgcc*) # Portland Group C compiler
19285
+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19286
+ tmp_addflag=' $pic_flag'
19288
+ pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
19289
+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19290
+ tmp_addflag=' $pic_flag -Mnomain' ;;
19291
+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
19292
+ tmp_addflag=' -i_dynamic' ;;
19293
+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
19294
+ tmp_addflag=' -i_dynamic -nofor_main' ;;
19295
+ ifc* | ifort*) # Intel Fortran compiler
19296
+ tmp_addflag=' -nofor_main' ;;
19298
+ archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19300
+ if test $supports_anon_versioning = yes; then
19301
+ archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
19302
+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19303
+ $echo "local: *; };" >> $output_objdir/$libname.ver~
19304
+ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19306
+ link_all_deplibs=no
19312
+ netbsd* | netbsdelf*-gnu)
19313
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19314
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19317
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19318
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19323
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19327
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19328
+*** create shared libraries on Solaris systems. Therefore, libtool
19329
+*** is disabling shared libraries support. We urge you to upgrade GNU
19330
+*** binutils to release 2.9.1 or newer. Another option is to modify
19331
+*** your PATH or compiler configuration so that the native linker is
19332
+*** used, and then restart.
19335
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19336
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19337
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19343
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19344
+ case `$LD -v 2>&1` in
19345
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19347
+ cat <<_LT_EOF 1>&2
19349
+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19350
+*** reliably create shared libraries on SCO systems. Therefore, libtool
19351
+*** is disabling shared libraries support. We urge you to upgrade GNU
19352
+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
19353
+*** your PATH or compiler configuration so that the native linker is
19354
+*** used, and then restart.
19359
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19360
+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19361
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19362
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19371
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19373
+ hardcode_direct=yes
19374
+ hardcode_shlibpath_var=no
19378
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19379
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19380
+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19387
+ if test "$ld_shlibs" = no; then
19389
+ hardcode_libdir_flag_spec=
19390
+ export_dynamic_flag_spec=
19391
+ whole_archive_flag_spec=
19394
+ # PORTME fill in a description of your system's linker (not GNU ld)
19397
+ allow_undefined_flag=unsupported
19398
+ always_export_symbols=yes
19399
+ 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'
19400
+ # Note: this linker hardcodes the directories in LIBPATH if there
19401
+ # are no directories specified by -L.
19402
+ hardcode_minus_L=yes
19403
+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19404
+ # Neither direct hardcoding nor static linking is supported with a
19405
+ # broken collect2.
19406
+ hardcode_direct=unsupported
19411
+ if test "$host_cpu" = ia64; then
19412
+ # On IA64, the linker does run time linking by default, so we don't
19413
+ # have to do anything special.
19414
+ aix_use_runtimelinking=no
19415
+ exp_sym_flag='-Bexport'
19418
+ # If we're using GNU nm, then we don't want the "-C" option.
19419
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
19420
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19421
+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19423
+ 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'
19425
+ aix_use_runtimelinking=no
19427
+ # Test if we are trying to use run time linking or normal
19428
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19429
+ # need to do runtime linking.
19430
+ case $host_os in aix4.[23]|aix4.[23].*|aix5*)
19431
+ for ld_flag in $LDFLAGS; do
19432
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19433
+ aix_use_runtimelinking=yes
19440
+ exp_sym_flag='-bexport'
19441
+ no_entry_flag='-bnoentry'
19444
+ # When large executables or shared objects are built, AIX ld can
19445
+ # have problems creating the table of contents. If linking a library
19446
+ # or program results in "error TOC overflow" add -mminimal-toc to
19447
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19448
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19451
+ hardcode_direct=yes
19452
+ hardcode_libdir_separator=':'
19453
+ link_all_deplibs=yes
19455
+ if test "$GCC" = yes; then
19456
+ case $host_os in aix4.[012]|aix4.[012].*)
19457
+ # We only want to do this on AIX 4.2 and lower, the check
19458
+ # below for broken collect2 doesn't work under 4.3+
19459
+ collect2name=`${CC} -print-prog-name=collect2`
19460
+ if test -f "$collect2name" && \
19461
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
19463
+ # We have reworked collect2
19464
+ hardcode_direct=yes
19466
+ # We have old collect2
19467
+ hardcode_direct=unsupported
19468
+ # It fails to find uninstalled libraries when the uninstalled
19469
+ # path is not listed in the libpath. Setting hardcode_minus_L
19470
+ # to unsupported forces relinking
19471
+ hardcode_minus_L=yes
19472
+ hardcode_libdir_flag_spec='-L$libdir'
19473
+ hardcode_libdir_separator=
19477
+ shared_flag='-shared'
19478
+ if test "$aix_use_runtimelinking" = yes; then
19479
+ shared_flag="$shared_flag "'${wl}-G'
19483
+ if test "$host_cpu" = ia64; then
19484
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19485
+ # chokes on -Wl,-G. The following line is correct:
19488
+ if test "$aix_use_runtimelinking" = yes; then
19489
+ shared_flag='${wl}-G'
19491
+ shared_flag='${wl}-bM:SRE'
19496
+ # It seems that -bexpall does not export symbols beginning with
19497
+ # underscore (_), so it is better to generate a list of symbols to export.
19498
+ always_export_symbols=yes
19499
+ if test "$aix_use_runtimelinking" = yes; then
19500
+ # Warning - without using the other runtime loading flags (-brtl),
19501
+ # -berok will link without error, but may produce a broken library.
19502
+ allow_undefined_flag='-berok'
19503
+ # Determine the default libpath from the value encoded in an empty executable.
19504
+ cat >conftest.$ac_ext <<_ACEOF
19507
+cat confdefs.h >>conftest.$ac_ext
19508
+cat >>conftest.$ac_ext <<_ACEOF
19509
+/* end confdefs.h. */
19519
+rm -f conftest.$ac_objext conftest$ac_exeext
19520
+if { (ac_try="$ac_link"
19521
+case "(($ac_try" in
19522
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523
+ *) ac_try_echo=$ac_try;;
19525
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526
+ (eval "$ac_link") 2>conftest.er1
19528
+ grep -v '^ *+' conftest.er1 >conftest.err
19529
+ rm -f conftest.er1
19530
+ cat conftest.err >&5
19531
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532
+ (exit $ac_status); } && {
19533
+ test -z "$ac_c_werror_flag" ||
19534
+ test ! -s conftest.err
19535
+ } && test -s conftest$ac_exeext &&
19536
+ $as_test_x conftest$ac_exeext; then
19538
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19540
+# Check for a 64-bit object if we didn't find anything.
19541
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19544
+ echo "$as_me: failed program was:" >&5
19545
+sed 's/^/| /' conftest.$ac_ext >&5
19550
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19551
+ conftest$ac_exeext conftest.$ac_ext
19552
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19554
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
19555
+ archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19557
+ if test "$host_cpu" = ia64; then
19558
+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
19559
+ allow_undefined_flag="-z nodefs"
19560
+ 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"
19562
+ # Determine the default libpath from the value encoded in an empty executable.
19563
+ cat >conftest.$ac_ext <<_ACEOF
19566
+cat confdefs.h >>conftest.$ac_ext
19567
+cat >>conftest.$ac_ext <<_ACEOF
19568
+/* end confdefs.h. */
19578
+rm -f conftest.$ac_objext conftest$ac_exeext
19579
+if { (ac_try="$ac_link"
19580
+case "(($ac_try" in
19581
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19582
+ *) ac_try_echo=$ac_try;;
19584
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585
+ (eval "$ac_link") 2>conftest.er1
19587
+ grep -v '^ *+' conftest.er1 >conftest.err
19588
+ rm -f conftest.er1
19589
+ cat conftest.err >&5
19590
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591
+ (exit $ac_status); } && {
19592
+ test -z "$ac_c_werror_flag" ||
19593
+ test ! -s conftest.err
19594
+ } && test -s conftest$ac_exeext &&
19595
+ $as_test_x conftest$ac_exeext; then
19597
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19599
+# Check for a 64-bit object if we didn't find anything.
19600
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19603
+ echo "$as_me: failed program was:" >&5
19604
+sed 's/^/| /' conftest.$ac_ext >&5
19609
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19610
+ conftest$ac_exeext conftest.$ac_ext
19611
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19613
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
19614
+ # Warning - without using the other run time loading flags,
19615
+ # -berok will link without error, but may produce a broken library.
19616
+ no_undefined_flag=' ${wl}-bernotok'
19617
+ allow_undefined_flag=' ${wl}-berok'
19618
+ # Exported symbols can be pulled into shared objects from archives
19619
+ whole_archive_flag_spec='$convenience'
19620
+ archive_cmds_need_lc=yes
19621
+ # This is similar to how AIX traditionally builds its shared libraries.
19622
+ 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'
19628
+ 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)'
19629
+ hardcode_libdir_flag_spec='-L$libdir'
19630
+ hardcode_minus_L=yes
19631
+ # see comment about different semantics on the GNU ld section
19636
+ export_dynamic_flag_spec=-rdynamic
19639
+ cygwin* | mingw* | pw32*)
19640
+ # When not using gcc, we currently assume that we are using
19641
+ # Microsoft Visual C++.
19642
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
19643
+ # no search path for DLLs.
19644
+ hardcode_libdir_flag_spec=' '
19645
+ allow_undefined_flag=unsupported
19646
+ # Tell ltmain to make .lib files, not .a files.
19648
+ # Tell ltmain to make .dll files, not .so files.
19649
+ shrext_cmds=".dll"
19650
+ # FIXME: Setting linknames here is a bad hack.
19651
+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19652
+ # The linker will automatically build a .lib file if we build a DLL.
19653
+ old_archive_From_new_cmds='true'
19654
+ # FIXME: Should let the user specify the lib program.
19655
+ old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
19656
+ fix_srcfile_path='`cygpath -w "$srcfile"`'
19657
+ enable_shared_with_static_runtimes=yes
19660
+ darwin* | rhapsody*)
19662
+ rhapsody* | darwin1.[012])
19663
+ allow_undefined_flag='${wl}-undefined ${wl}suppress'
19665
+ *) # Darwin 1.3 on
19666
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19667
+ allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19669
+ case ${MACOSX_DEPLOYMENT_TARGET} in
19671
+ allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19674
+ allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
19680
+ archive_cmds_need_lc=no
19681
+ hardcode_direct=no
19682
+ hardcode_automatic=yes
19683
+ hardcode_shlibpath_var=unsupported
19684
+ whole_archive_flag_spec=''
19685
+ link_all_deplibs=yes
19686
+ if test "$GCC" = yes ; then
19687
+ output_verbose_link_cmd='echo'
19688
+ archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
19689
+ module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19690
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19691
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19692
+ module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19694
+ case $cc_basename in
19696
+ output_verbose_link_cmd='echo'
19697
+ archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
19698
+ module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19699
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19700
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19701
+ module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19711
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19712
+ hardcode_libdir_flag_spec='-L$libdir'
19713
+ hardcode_shlibpath_var=no
19720
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19721
+ # support. Future versions do this automatically, but an explicit c++rt0.o
19722
+ # does not break anything, and helps significantly (at the cost of a little
19725
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19726
+ hardcode_libdir_flag_spec='-R$libdir'
19727
+ hardcode_direct=yes
19728
+ hardcode_shlibpath_var=no
19731
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19733
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19734
+ hardcode_direct=yes
19735
+ hardcode_minus_L=yes
19736
+ hardcode_shlibpath_var=no
19739
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19740
+ freebsd* | dragonfly*)
19741
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19742
+ hardcode_libdir_flag_spec='-R$libdir'
19743
+ hardcode_direct=yes
19744
+ hardcode_shlibpath_var=no
19748
+ if test "$GCC" = yes; then
19749
+ archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19751
+ 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'
19753
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
19754
+ hardcode_libdir_separator=:
19755
+ hardcode_direct=yes
19757
+ # hardcode_minus_L: Not really in the search PATH,
19758
+ # but as the default location of the library.
19759
+ hardcode_minus_L=yes
19760
+ export_dynamic_flag_spec='${wl}-E'
19764
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19765
+ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19767
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19769
+ if test "$with_gnu_ld" = no; then
19770
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
19771
+ hardcode_libdir_separator=:
19773
+ hardcode_direct=yes
19774
+ export_dynamic_flag_spec='${wl}-E'
19776
+ # hardcode_minus_L: Not really in the search PATH,
19777
+ # but as the default location of the library.
19778
+ hardcode_minus_L=yes
19783
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19784
+ case $host_cpu in
19786
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19789
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19792
+ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19796
+ case $host_cpu in
19798
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19801
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19804
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19808
+ if test "$with_gnu_ld" = no; then
19809
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
19810
+ hardcode_libdir_separator=:
19812
+ case $host_cpu in
19814
+ hardcode_libdir_flag_spec_ld='+b $libdir'
19815
+ hardcode_direct=no
19816
+ hardcode_shlibpath_var=no
19819
+ hardcode_direct=yes
19820
+ export_dynamic_flag_spec='${wl}-E'
19822
+ # hardcode_minus_L: Not really in the search PATH,
19823
+ # but as the default location of the library.
19824
+ hardcode_minus_L=yes
19830
+ irix5* | irix6* | nonstopux*)
19831
+ if test "$GCC" = yes; then
19832
+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19834
+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19835
+ hardcode_libdir_flag_spec_ld='-rpath $libdir'
19837
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
19838
+ hardcode_libdir_separator=:
19839
+ link_all_deplibs=yes
19842
+ netbsd* | netbsdelf*-gnu)
19843
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19844
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19846
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19848
+ hardcode_libdir_flag_spec='-R$libdir'
19849
+ hardcode_direct=yes
19850
+ hardcode_shlibpath_var=no
19854
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19855
+ hardcode_direct=yes
19856
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
19857
+ hardcode_libdir_separator=:
19858
+ hardcode_shlibpath_var=no
19862
+ hardcode_direct=yes
19863
+ hardcode_shlibpath_var=no
19864
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19865
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19866
+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19867
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
19868
+ export_dynamic_flag_spec='${wl}-E'
19871
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19872
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19873
+ hardcode_libdir_flag_spec='-R$libdir'
19876
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19877
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
19884
+ hardcode_libdir_flag_spec='-L$libdir'
19885
+ hardcode_minus_L=yes
19886
+ allow_undefined_flag=unsupported
19887
+ 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'
19888
+ old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19892
+ if test "$GCC" = yes; then
19893
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
19894
+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19896
+ allow_undefined_flag=' -expect_unresolved \*'
19897
+ archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19899
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
19900
+ hardcode_libdir_separator=:
19903
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
19904
+ if test "$GCC" = yes; then
19905
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
19906
+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19907
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
19909
+ allow_undefined_flag=' -expect_unresolved \*'
19910
+ archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19911
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19912
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19914
+ # Both c and cxx compiler support -rpath directly
19915
+ hardcode_libdir_flag_spec='-rpath $libdir'
19917
+ hardcode_libdir_separator=:
19921
+ no_undefined_flag=' -z text'
19922
+ if test "$GCC" = yes; then
19924
+ archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19925
+ archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19926
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19929
+ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19930
+ archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19931
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19933
+ hardcode_libdir_flag_spec='-R$libdir'
19934
+ hardcode_shlibpath_var=no
19936
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
19938
+ # The compiler driver will combine linker options so we
19939
+ # cannot just pass the convience library names through
19940
+ # without $wl, iff we do not link with $LD.
19941
+ # Luckily, gcc supports the same syntax we need for Sun Studio.
19942
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
19945
+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
19947
+ whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
19950
+ link_all_deplibs=yes
19954
+ if test "x$host_vendor" = xsequent; then
19955
+ # Use $CC to link under sequent, because it throws in some extra .o
19956
+ # files that make .init and .fini sections work.
19957
+ archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19959
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'