1
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:55: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
2
dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
3
dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
4
AC_PROVIDE_IFELSE([AC_PROG_CXX],
6
[define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
8
dnl And a similar setup for Fortran 77 support
9
AC_PROVIDE_IFELSE([AC_PROG_F77],
11
[define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
14
dnl Quote AM_PROG_GCJ so that aclocal doesn't bring it in needlessly.
15
dnl If either AC_PROG_GCJ or AM_PROG_GCJ have already been expanded, run
16
dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
17
AC_PROVIDE_IFELSE([AC_PROG_GCJ],
19
[AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
21
[AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
24
[define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
25
ifdef([A][M_PROG_GCJ],
26
[define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
27
ifdef([LT_AC_PROG_GCJ],
28
[define([LT_AC_PROG_GCJ],
29
defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
31
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:75: -1- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
32
AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
33
AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
34
AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
36
# This can be used to rebuild libtool when needed
37
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
39
# Always use our own libtool.
40
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
43
# Prevent multiple expansion
44
define([AC_PROG_LIBTOOL], [])
46
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:221: -1- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl
47
AC_REQUIRE([AC_ENABLE_SHARED])dnl
48
AC_REQUIRE([AC_ENABLE_STATIC])dnl
49
AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
50
AC_REQUIRE([AC_CANONICAL_HOST])dnl
51
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
52
AC_REQUIRE([AC_PROG_CC])dnl
53
AC_REQUIRE([AC_PROG_LD])dnl
54
AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
55
AC_REQUIRE([AC_PROG_NM])dnl
57
AC_REQUIRE([AC_PROG_LN_S])dnl
58
AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
59
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
60
AC_REQUIRE([AC_OBJEXT])dnl
61
AC_REQUIRE([AC_EXEEXT])dnl
63
AC_LIBTOOL_SYS_MAX_CMD_LEN
64
AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
67
AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
68
_LT_AC_PROG_ECHO_BACKSLASH
72
# AIX sometimes has problems with the GCC collect2 program. For some
73
# reason, if we set the COLLECT_NAMES environment variable, the problems
74
# vanish in a puff of smoke.
75
if test "X${COLLECT_NAMES+set}" != Xset; then
82
# Sed substitution that helps us do robust quoting. It backslashifies
83
# metacharacters that are still active within double-quoted strings.
85
[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
87
# Same as above, but do not quote variable references.
88
[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
90
# Sed substitution to delay expansion of an escaped shell variable in a
91
# double_quote_subst'ed string.
92
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
94
# Sed substitution to avoid accidental globbing in evaled expressions
95
no_glob_subst='s/\*/\\\*/g'
101
default_ofile=libtool
104
# All known linkers require a `.a' archive for static linking (except MSVC,
105
# which needs '.lib').
107
ltmain="$ac_aux_dir/ltmain.sh"
108
ofile="$default_ofile"
109
with_gnu_ld="$lt_cv_prog_gnu_ld"
111
AC_CHECK_TOOL(AR, ar, false)
112
AC_CHECK_TOOL(RANLIB, ranlib, :)
113
AC_CHECK_TOOL(STRIP, strip, :)
118
# Set sane defaults for various variables
119
test -z "$AR" && AR=ar
120
test -z "$AR_FLAGS" && AR_FLAGS=cru
121
test -z "$AS" && AS=as
122
test -z "$CC" && CC=cc
123
test -z "$LTCC" && LTCC=$CC
124
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
125
test -z "$DLLTOOL" && DLLTOOL=dlltool
126
test -z "$LD" && LD=ld
127
test -z "$LN_S" && LN_S="ln -s"
128
test -z "$MAGIC_CMD" && MAGIC_CMD=file
129
test -z "$NM" && NM=nm
130
test -z "$SED" && SED=sed
131
test -z "$OBJDUMP" && OBJDUMP=objdump
132
test -z "$RANLIB" && RANLIB=:
133
test -z "$STRIP" && STRIP=:
134
test -z "$ac_objext" && ac_objext=o
136
# Determine commands to create old-style static archives.
137
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
138
old_postinstall_cmds='chmod 644 $oldlib'
139
old_postuninstall_cmds=
141
if test -n "$RANLIB"; then
144
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
147
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
150
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
153
_LT_CC_BASENAME([$compiler])
155
# Only perform the check for file, if the check method requires it
156
case $deplibs_check_method in
158
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
164
_LT_REQUIRED_DARWIN_CHECKS
166
AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
167
AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
168
enable_win32_dll=yes, enable_win32_dll=no)
170
AC_ARG_ENABLE([libtool-lock],
171
[AC_HELP_STRING([--disable-libtool-lock],
172
[avoid locking (might break parallel builds)])])
173
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
176
[AC_HELP_STRING([--with-pic],
177
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
178
[pic_mode="$withval"],
180
test -z "$pic_mode" && pic_mode=default
182
# Use C for the default configuration in the libtool script
184
AC_LIBTOOL_LANG_C_CONFIG
187
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:237: -1- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl
189
# If no C compiler was specified, use CC.
192
# If no C compiler flags were specified, use CFLAGS.
193
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
195
# Allow CC to be a program name with arguments.
198
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:253: -1- AC_DEFUN([_LT_CC_BASENAME], [for cc_temp in $1""; do
200
compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
201
distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
206
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
208
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:267: -1- AC_DEFUN([_LT_COMPILER_BOILERPLATE], [AC_REQUIRE([LT_AC_PROG_SED])dnl
209
ac_outfile=conftest.$ac_objext
210
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
211
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
212
_lt_compiler_boilerplate=`cat conftest.err`
215
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:281: -1- AC_DEFUN([_LT_LINKER_BOILERPLATE], [AC_REQUIRE([LT_AC_PROG_SED])dnl
216
ac_outfile=conftest.$ac_objext
217
echo "$lt_simple_link_test_code" >conftest.$ac_ext
218
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
219
_lt_linker_boilerplate=`cat conftest.err`
222
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:353: -1- AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS], [
225
AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
226
AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
228
AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
229
[lt_cv_apple_cc_single_mod=no
230
if test -z "${LT_MULTI_MODULE}"; then
231
# By default we will add the -single_module flag. You can override
232
# by either setting the environment variable LT_MULTI_MODULE
233
# non-empty at configure time, or by adding -multi_module to the
235
echo "int foo(void){return 1;}" > conftest.c
236
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
237
-dynamiclib ${wl}-single_module conftest.c
238
if test -f libconftest.dylib; then
239
lt_cv_apple_cc_single_mod=yes
240
rm -rf libconftest.dylib*
244
AC_CACHE_CHECK([for -exported_symbols_list linker flag],
245
[lt_cv_ld_exported_symbols_list],
246
[lt_cv_ld_exported_symbols_list=no
247
save_LDFLAGS=$LDFLAGS
248
echo "_main" > conftest.sym
249
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
250
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
251
[lt_cv_ld_exported_symbols_list=yes],
252
[lt_cv_ld_exported_symbols_list=no])
253
LDFLAGS="$save_LDFLAGS"
256
rhapsody* | darwin1.[[0123]])
257
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
259
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
261
# if running on 10.5 or later, the deployment target defaults
262
# to the OS version, if on x86, and 10.4, the deployment
263
# target defaults to 10.4. Don't you love it?
264
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
265
10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
266
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
268
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
270
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
274
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
275
_lt_dar_single_mod='$single_module'
277
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
278
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
280
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
282
if test "$DSYMUTIL" != ":"; then
283
_lt_dsymutil="~$DSYMUTIL \$lib || :"
290
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:379: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_REQUIRE([LT_AC_PROG_SED])dnl
291
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
293
/Import File Strings/,/^$/ {
299
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
300
# Check for a 64-bit object if we didn't find anything.
301
if test -z "$aix_libpath"; then
302
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
304
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
306
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:390: -1- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE],
307
[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
308
[AC_DIVERT_PUSH(NOTICE)])
312
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:546: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([
313
# Check that we are running under the correct shell.
314
SHELL=${CONFIG_SHELL-/bin/sh}
318
# Remove one level of quotation (which was required for Make).
319
ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
324
if test "X[$]1" = X--no-reexec; then
325
# Discard the --no-reexec flag, and continue.
327
elif test "X[$]1" = X--fallback-echo; then
328
# Avoid inline document here, it may be left over
330
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
331
# Yippee, $echo works!
334
# Restart under the correct shell.
335
exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
338
if test "X[$]1" = X--fallback-echo; then
339
# used as fallback echo
347
# The HP-UX ksh and POSIX shell print the target directory to stdout
349
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
351
if test -z "$ECHO"; then
352
if test "X${echo_test_string+set}" != Xset; then
353
# find a string as large as possible, as long as the shell can cope with it
354
for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
355
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
356
if (echo_test_string=`eval $cmd`) 2>/dev/null &&
357
echo_test_string=`eval $cmd` &&
358
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
365
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
366
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
367
test "X$echo_testing_string" = "X$echo_test_string"; then
370
# The Solaris, AIX, and Digital Unix default echo programs unquote
371
# backslashes. This makes it impossible to quote backslashes using
372
# echo "$something" | sed 's/\\/\\\\/g'
374
# So, first we look for a working echo in the user's PATH.
376
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
377
for dir in $PATH /usr/ucb; do
379
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
380
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
381
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
382
test "X$echo_testing_string" = "X$echo_test_string"; then
389
if test "X$echo" = Xecho; then
390
# We didn't find a better echo, so look for alternatives.
391
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
392
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
393
test "X$echo_testing_string" = "X$echo_test_string"; then
394
# This shell has a builtin print -r that does the trick.
396
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
397
test "X$CONFIG_SHELL" != X/bin/ksh; then
398
# If we have ksh, try running configure again with it.
399
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
400
export ORIGINAL_CONFIG_SHELL
401
CONFIG_SHELL=/bin/ksh
403
exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
407
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
408
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
409
test "X$echo_testing_string" = "X$echo_test_string"; then
412
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
413
test "X$echo_testing_string" = 'X\t' &&
414
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
415
test "X$echo_testing_string" = "X$echo_test_string"; then
416
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
418
SHELL="$CONFIG_SHELL"
420
echo="$CONFIG_SHELL [$]0 --fallback-echo"
421
elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
422
test "X$echo_testing_string" = 'X\t' &&
423
echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
424
test "X$echo_testing_string" = "X$echo_test_string"; then
425
echo="$CONFIG_SHELL [$]0 --fallback-echo"
427
# maybe with a smaller string...
430
for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
431
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
438
if test "$prev" != 'sed 50q "[$]0"'; then
439
echo_test_string=`eval $prev`
440
export echo_test_string
441
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
443
# Oops. We lost completely, so just stick with echo.
452
# Copy echo and quote the copy suitably for passing to libtool from
453
# the Makefile, instead of quoting the original, which is used later.
455
if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
456
ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
461
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:701: -1- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock],
462
[AC_HELP_STRING([--disable-libtool-lock],
463
[avoid locking (might break parallel builds)])])
464
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
466
# Some flags need to be propagated to the compiler or linker for good
470
# Find out which ABI we are using.
471
echo 'int i;' > conftest.$ac_ext
472
if AC_TRY_EVAL(ac_compile); then
473
case `/usr/bin/file conftest.$ac_objext` in
485
# Find out which ABI we are using.
486
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
487
if AC_TRY_EVAL(ac_compile); then
488
if test "$lt_cv_prog_gnu_ld" = yes; then
489
case `/usr/bin/file conftest.$ac_objext` in
491
LD="${LD-ld} -melf32bsmip"
494
LD="${LD-ld} -melf32bmipn32"
497
LD="${LD-ld} -melf64bmip"
501
case `/usr/bin/file conftest.$ac_objext` in
517
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
518
s390*-*linux*|sparc*-*linux*)
519
# Find out which ABI we are using.
520
echo 'int i;' > conftest.$ac_ext
521
if AC_TRY_EVAL(ac_compile); then
522
case `/usr/bin/file conftest.o` in
525
x86_64-*kfreebsd*-gnu)
526
LD="${LD-ld} -m elf_i386_fbsd"
529
LD="${LD-ld} -m elf_i386"
531
ppc64-*linux*|powerpc64-*linux*)
532
LD="${LD-ld} -m elf32ppclinux"
535
LD="${LD-ld} -m elf_s390"
538
LD="${LD-ld} -m elf32_sparc"
544
x86_64-*kfreebsd*-gnu)
545
LD="${LD-ld} -m elf_x86_64_fbsd"
548
LD="${LD-ld} -m elf_x86_64"
550
ppc*-*linux*|powerpc*-*linux*)
551
LD="${LD-ld} -m elf64ppc"
554
LD="${LD-ld} -m elf64_s390"
557
LD="${LD-ld} -m elf64_sparc"
567
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
568
SAVE_CFLAGS="$CFLAGS"
569
CFLAGS="$CFLAGS -belf"
570
AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
572
AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
574
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
575
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
576
CFLAGS="$SAVE_CFLAGS"
580
# Find out which ABI we are using.
581
echo 'int i;' > conftest.$ac_ext
582
if AC_TRY_EVAL(ac_compile); then
583
case `/usr/bin/file conftest.o` in
585
case $lt_cv_prog_gnu_ld in
586
yes*) LD="${LD-ld} -m elf64_sparc" ;;
588
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
599
AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
600
[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
601
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
602
AC_CHECK_TOOL(AS, as, false)
603
AC_CHECK_TOOL(OBJDUMP, objdump, false)
608
need_locks="$enable_libtool_lock"
611
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:746: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED])
612
AC_CACHE_CHECK([$1], [$2],
614
ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
615
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
616
lt_compiler_flag="$3"
617
# Insert the option either (1) after the last *FLAGS variable, or
618
# (2) before a word containing "conftest.", or (3) at the end.
619
# Note that $ac_compile itself does not contain backslashes and begins
620
# with a dollar sign (not a hyphen), so the echo should work correctly.
621
# The option is referenced via a variable to avoid confusing sed.
622
lt_compile=`echo "$ac_compile" | $SED \
623
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
624
-e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
625
-e 's:$: $lt_compiler_flag:'`
626
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
627
(eval "$lt_compile" 2>conftest.err)
629
cat conftest.err >&AS_MESSAGE_LOG_FD
630
echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
631
if (exit $ac_status) && test -s "$ac_outfile"; then
632
# The compiler can only warn and ignore the option if not recognized
633
# So say no if there are warnings other than the usual output.
634
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
635
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
636
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
643
if test x"[$]$2" = xyes; then
644
ifelse([$5], , :, [$5])
646
ifelse([$6], , :, [$6])
649
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:784: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED])dnl
650
AC_CACHE_CHECK([$1], [$2],
652
save_LDFLAGS="$LDFLAGS"
653
LDFLAGS="$LDFLAGS $3"
654
echo "$lt_simple_link_test_code" > conftest.$ac_ext
655
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
656
# The linker can only warn and ignore the option if not recognized
657
# So say no if there are warnings
658
if test -s conftest.err; then
659
# Append any errors to the config.log.
660
cat conftest.err 1>&AS_MESSAGE_LOG_FD
661
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
662
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
663
if diff conftest.exp conftest.er2 >/dev/null; then
671
LDFLAGS="$save_LDFLAGS"
674
if test x"[$]$2" = xyes; then
675
ifelse([$4], , :, [$4])
677
ifelse([$5], , :, [$5])
680
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:902: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments
681
AC_MSG_CHECKING([the maximum length of command line arguments])
682
AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
688
# On DJGPP, this test can blow up pretty badly due to problems in libc
689
# (any single argument exceeding 2000 bytes causes a buffer overrun
690
# during glob expansion). Even if it were fixed, the result of this
691
# check would be larger than it should be.
692
lt_cv_sys_max_cmd_len=12288; # 12K is about right
696
# Under GNU Hurd, this test is not required because there is
697
# no limit to the length of command line arguments.
698
# Libtool will interpret -1 as no limit whatsoever
699
lt_cv_sys_max_cmd_len=-1;
703
# On Win9x/ME, this test blows up -- it succeeds, but takes
704
# about 5 minutes as the teststring grows exponentially.
705
# Worse, since 9x/ME are not pre-emptively multitasking,
706
# you end up with a "frozen" computer, even though with patience
707
# the test eventually succeeds (with a max line length of 256k).
708
# Instead, let's just punt: use the minimum linelength reported by
709
# all of the supported platforms: 8192 (on NT/2K/XP).
710
lt_cv_sys_max_cmd_len=8192;
714
# On AmigaOS with pdksh, this test takes hours, literally.
715
# So we just punt and use a minimum line length of 8192.
716
lt_cv_sys_max_cmd_len=8192;
719
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
720
# This has been around since 386BSD, at least. Likely further.
721
if test -x /sbin/sysctl; then
722
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
723
elif test -x /usr/sbin/sysctl; then
724
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
726
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
728
# And add a safety zone
729
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
730
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
734
# We know the value 262144 and hardcode it with a safety zone (like BSD)
735
lt_cv_sys_max_cmd_len=196608
739
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
740
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
741
# nice to cause kernel panics so lets avoid the loop below.
742
# First set a reasonable default.
743
lt_cv_sys_max_cmd_len=16384
745
if test -x /sbin/sysconfig; then
746
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
747
*1*) lt_cv_sys_max_cmd_len=-1 ;;
752
lt_cv_sys_max_cmd_len=102400
754
sysv5* | sco5v6* | sysv4.2uw2*)
755
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
756
if test -n "$kargmax"; then
757
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
759
lt_cv_sys_max_cmd_len=32768
763
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
764
if test -n "$lt_cv_sys_max_cmd_len"; then
765
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
766
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
768
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
769
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
770
= "XX$teststring") >/dev/null 2>&1 &&
771
new_result=`expr "X$teststring" : ".*" 2>&1` &&
772
lt_cv_sys_max_cmd_len=$new_result &&
773
test $i != 17 # 1/2 MB should be enough
776
teststring=$teststring$teststring
779
# Add a significant safety factor because C++ compilers can tack on massive
780
# amounts of additional arguments before passing them to the linker.
781
# It appears as though 1/2 is a usable value.
782
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
787
if test -n $lt_cv_sys_max_cmd_len ; then
788
AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
793
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:909: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl
795
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:1000: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
796
if test "$cross_compiling" = yes; then :
799
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
800
lt_status=$lt_dlunknown
801
cat > conftest.$ac_ext <<EOF
802
[#line __oline__ "configure"
803
#include "confdefs.h"
812
# define LT_DLGLOBAL RTLD_GLOBAL
815
# define LT_DLGLOBAL DL_GLOBAL
817
# define LT_DLGLOBAL 0
821
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
822
find out it does not work in some platform. */
823
#ifndef LT_DLLAZY_OR_NOW
825
# define LT_DLLAZY_OR_NOW RTLD_LAZY
828
# define LT_DLLAZY_OR_NOW DL_LAZY
831
# define LT_DLLAZY_OR_NOW RTLD_NOW
834
# define LT_DLLAZY_OR_NOW DL_NOW
836
# define LT_DLLAZY_OR_NOW 0
844
extern "C" void exit (int);
847
void fnord() { int i=42;}
850
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
851
int status = $lt_dlunknown;
855
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
856
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
857
/* dlclose (self); */
865
if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
866
(./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
869
x$lt_dlno_uscore) $1 ;;
870
x$lt_dlneed_uscore) $2 ;;
871
x$lt_dlunknown|x*) $3 ;;
880
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:1113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
881
if test "x$enable_dlopen" != xyes; then
882
enable_dlopen=unknown
883
enable_dlopen_self=unknown
884
enable_dlopen_self_static=unknown
891
lt_cv_dlopen="load_add_on"
893
lt_cv_dlopen_self=yes
897
lt_cv_dlopen="LoadLibrary"
902
lt_cv_dlopen="dlopen"
907
# if libdl is installed we need to link against it
908
AC_CHECK_LIB([dl], [dlopen],
909
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
912
lt_cv_dlopen_self=yes
917
AC_CHECK_FUNC([shl_load],
918
[lt_cv_dlopen="shl_load"],
919
[AC_CHECK_LIB([dld], [shl_load],
920
[lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
921
[AC_CHECK_FUNC([dlopen],
922
[lt_cv_dlopen="dlopen"],
923
[AC_CHECK_LIB([dl], [dlopen],
924
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
925
[AC_CHECK_LIB([svld], [dlopen],
926
[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
927
[AC_CHECK_LIB([dld], [dld_link],
928
[lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
937
if test "x$lt_cv_dlopen" != xno; then
943
case $lt_cv_dlopen in
945
save_CPPFLAGS="$CPPFLAGS"
946
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
948
save_LDFLAGS="$LDFLAGS"
949
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
952
LIBS="$lt_cv_dlopen_libs $LIBS"
954
AC_CACHE_CHECK([whether a program can dlopen itself],
955
lt_cv_dlopen_self, [dnl
956
_LT_AC_TRY_DLOPEN_SELF(
957
lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
958
lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
961
if test "x$lt_cv_dlopen_self" = xyes; then
962
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
963
AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
964
lt_cv_dlopen_self_static, [dnl
965
_LT_AC_TRY_DLOPEN_SELF(
966
lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
967
lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
971
CPPFLAGS="$save_CPPFLAGS"
972
LDFLAGS="$save_LDFLAGS"
977
case $lt_cv_dlopen_self in
978
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
979
*) enable_dlopen_self=unknown ;;
982
case $lt_cv_dlopen_self_static in
983
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
984
*) enable_dlopen_self_static=unknown ;;
988
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:1165: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([LT_AC_PROG_SED])dnl
989
AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
990
AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
991
[_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
992
[_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
993
$rm -r conftest 2>/dev/null
997
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
999
lt_compiler_flag="-o out/conftest2.$ac_objext"
1000
# Insert the option either (1) after the last *FLAGS variable, or
1001
# (2) before a word containing "conftest.", or (3) at the end.
1002
# Note that $ac_compile itself does not contain backslashes and begins
1003
# with a dollar sign (not a hyphen), so the echo should work correctly.
1004
lt_compile=`echo "$ac_compile" | $SED \
1005
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1006
-e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1007
-e 's:$: $lt_compiler_flag:'`
1008
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1009
(eval "$lt_compile" 2>out/conftest.err)
1011
cat out/conftest.err >&AS_MESSAGE_LOG_FD
1012
echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1013
if (exit $ac_status) && test -s out/conftest2.$ac_objext
1015
# The compiler can only warn and ignore the option if not recognized
1016
# So say no if there are warnings
1017
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
1018
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
1019
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
1020
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
1023
chmod u+w . 2>&AS_MESSAGE_LOG_FD
1025
# SGI C++ compiler will create directory out/ii_files/ for
1026
# template instantiation
1027
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
1028
$rm out/* && rmdir out
1034
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:1192: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl
1036
hard_links="nottested"
1037
if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
1038
# do not overwrite the value of need_locks provided by the user
1039
AC_MSG_CHECKING([if we can lock with hard links])
1042
ln conftest.a conftest.b 2>/dev/null && hard_links=no
1044
ln conftest.a conftest.b 2>&5 || hard_links=no
1045
ln conftest.a conftest.b 2>/dev/null && hard_links=no
1046
AC_MSG_RESULT([$hard_links])
1047
if test "$hard_links" = no; then
1048
AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
1055
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:1209: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
1056
[rm -f .libs 2>/dev/null
1057
mkdir .libs 2>/dev/null
1058
if test -d .libs; then
1061
# MS-DOS does not allow filenames that begin with a dot.
1064
rmdir .libs 2>/dev/null])
1065
objdir=$lt_cv_objdir
1067
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:1250: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs])
1068
_LT_AC_TAGVAR(hardcode_action, $1)=
1069
if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
1070
test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \
1071
test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
1073
# We can hardcode non-existant directories.
1074
if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
1075
# If the only mechanism to avoid hardcoding is shlibpath_var, we
1076
# have to relink, otherwise we might link with an installed library
1077
# when we should be linking with a yet-to-be-installed one
1078
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
1079
test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
1080
# Linking always hardcodes the temporary library directory.
1081
_LT_AC_TAGVAR(hardcode_action, $1)=relink
1083
# We can link without hardcoding, and we can hardcode nonexisting dirs.
1084
_LT_AC_TAGVAR(hardcode_action, $1)=immediate
1087
# We cannot hardcode anything, or else we can only hardcode existing
1089
_LT_AC_TAGVAR(hardcode_action, $1)=unsupported
1091
AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
1093
if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
1094
# Fast installation is not supported
1095
enable_fast_install=no
1096
elif test "$shlibpath_overrides_runpath" = yes ||
1097
test "$enable_shared" = no; then
1098
# Fast installation is not necessary
1099
enable_fast_install=needless
1102
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:1280: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib=
1104
AC_MSG_CHECKING([whether stripping libraries is possible])
1105
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
1106
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1107
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1108
AC_MSG_RESULT([yes])
1110
# FIXME - insert some real tests, host_os isn't really good enough
1113
if test -n "$STRIP" ; then
1114
striplib="$STRIP -x"
1115
old_striplib="$STRIP -S"
1116
AC_MSG_RESULT([yes])
1127
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:1914: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_REQUIRE([LT_AC_PROG_SED])dnl
1128
AC_MSG_CHECKING([dynamic linker characteristics])
1130
libname_spec='lib$name'
1138
shlibpath_overrides_runpath=unknown
1140
dynamic_linker="$host_os ld.so"
1141
sys_lib_dlsearch_path_spec="/lib /usr/lib"
1143
if test "$GCC" = yes; then
1145
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1146
*) lt_awk_arg="/^libraries:/" ;;
1148
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1149
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
1150
# if the path contains ";" then we assume it to be the separator
1151
# otherwise default to the standard path separator (i.e. ":") - it is
1152
# assumed that no part of a normal pathname contains ";" but that should
1153
# okay in the real world where ";" in dirpaths is itself problematic.
1154
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1156
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1158
# Ok, now we have the path, separated by spaces, we can step through it
1159
# and add multilib dir if necessary.
1160
lt_tmp_lt_search_path_spec=
1161
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
1162
for lt_sys_path in $lt_search_path_spec; do
1163
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
1164
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
1166
test -d "$lt_sys_path" && \
1167
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1170
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
1171
BEGIN {RS=" "; FS="/|\n";} {
1174
for (lt_i = NF; lt_i > 0; lt_i--) {
1175
if ($lt_i != "" && $lt_i != ".") {
1176
if ($lt_i == "..") {
1179
if (lt_count == 0) {
1180
lt_foo="/" $lt_i lt_foo;
1187
if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1188
if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1190
sys_lib_search_path_spec=`echo $lt_search_path_spec`
1192
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1194
need_lib_prefix=unknown
1195
hardcode_into_libs=no
1197
# when you set need_version to no, make sure it does not cause -set_version
1198
# flags to be left without arguments
1199
need_version=unknown
1204
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1205
shlibpath_var=LIBPATH
1207
# AIX 3 has no versioning support, so we append a major version to the name.
1208
soname_spec='${libname}${release}${shared_ext}$major'
1215
# Globus - changed to support relocatability
1216
hardcode_into_libs=no
1217
if test "$host_cpu" = ia64; then
1218
# AIX 5 supports IA64
1219
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1220
shlibpath_var=LD_LIBRARY_PATH
1222
# With GCC up to 2.95.x, collect2 would create an import file
1223
# for dependence libraries. The import file would start with
1224
# the line `#! .'. This would cause the generated library to
1225
# depend on `.', always an invalid library. This was fixed in
1226
# development snapshots of GCC prior to 3.0.
1228
aix4 | aix4.[[01]] | aix4.[[01]].*)
1229
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
1231
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
1238
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
1239
# soname into executable. Probably we can add versioning support to
1240
# collect2, so additional links can be useful in future.
1241
if test "$aix_use_runtimelinking" = yes; then
1242
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
1243
# instead of lib<name>.a to let people know that these are not
1244
# typical AIX shared libraries.
1245
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1247
# We preserve .a as extension for shared libraries through AIX4.2
1248
# and later when we are not doing run time linking.
1249
library_names_spec='${libname}${release}.a $libname.a'
1250
soname_spec='${libname}${release}${shared_ext}$major'
1252
shlibpath_var=LIBPATH
1257
library_names_spec='$libname.ixlibrary $libname.a'
1258
# Create ${libname}_ixlibrary.a entries in /sys/libs.
1259
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'
1263
library_names_spec='${libname}${shared_ext}'
1264
dynamic_linker="$host_os ld.so"
1265
shlibpath_var=LIBRARY_PATH
1271
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1272
soname_spec='${libname}${release}${shared_ext}$major'
1273
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
1274
shlibpath_var=LD_LIBRARY_PATH
1275
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
1276
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
1277
# the default ld.so.conf also contains /usr/contrib/lib and
1278
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
1279
# libtool to hard-code these into programs
1282
cygwin* | mingw* | pw32*)
1283
version_type=windows
1288
case $GCC,$host_os in
1289
yes,cygwin* | yes,mingw* | yes,pw32*)
1290
library_names_spec='$libname.dll.a'
1291
# DLL is installed to $(libdir)/../bin by postinstall_cmds
1292
postinstall_cmds='base_file=`basename \${file}`~
1293
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
1294
dldir=$destdir/`dirname \$dlpath`~
1295
test -d \$dldir || mkdir -p \$dldir~
1296
$install_prog $dir/$dlname \$dldir/$dlname~
1297
chmod a+x \$dldir/$dlname'
1298
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1299
dlpath=$dir/\$dldll~
1301
shlibpath_overrides_runpath=yes
1305
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
1306
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1307
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1310
# MinGW DLLs use traditional 'lib' prefix
1311
soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1312
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1313
if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
1314
# It is most probably a Windows format PATH printed by
1315
# mingw gcc, but we are running on Cygwin. Gcc prints its search
1316
# path with ; separators, and with drive letters. We can handle the
1317
# drive letters (cygwin fileutils understands them), so leave them,
1318
# especially as we might pass files found there to a mingw objdump,
1319
# which wouldn't understand a cygwinified path. Ahh.
1320
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1322
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1326
# pw32 DLLs use 'pw' prefix rather than 'lib'
1327
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1333
library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
1336
dynamic_linker='Win32 ld.exe'
1337
# FIXME: first we should search . and the directory the executable is in
1341
darwin* | rhapsody*)
1342
dynamic_linker="$host_os dyld"
1346
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1347
soname_spec='${libname}${release}${major}$shared_ext'
1348
shlibpath_overrides_runpath=yes
1349
shlibpath_var=DYLD_LIBRARY_PATH
1350
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1352
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
1353
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1360
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1361
soname_spec='${libname}${release}${shared_ext}$major'
1362
shlibpath_var=LD_LIBRARY_PATH
1369
freebsd* | dragonfly*)
1370
# DragonFly does not have aout. When/if they implement a new
1371
# versioning mechanism, adjust this.
1372
if test -x /usr/bin/objformat; then
1373
objformat=`/usr/bin/objformat`
1376
freebsd[[123]]*) objformat=aout ;;
1380
version_type=freebsd-$objformat
1381
case $version_type in
1383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1388
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1392
shlibpath_var=LD_LIBRARY_PATH
1395
shlibpath_overrides_runpath=yes
1397
freebsd3.[[01]]* | freebsdelf3.[[01]]*)
1398
shlibpath_overrides_runpath=yes
1399
# Globus - changed to "no" to support relocatability
1400
hardcode_into_libs=no
1402
freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
1403
freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
1404
shlibpath_overrides_runpath=no
1405
# Globus - changed to "no" to support relocatability
1406
hardcode_into_libs=no
1408
*) # from 4.6 on, and DragonFly
1409
shlibpath_overrides_runpath=yes
1410
# Globus - changed to "no" to support relocatability
1411
hardcode_into_libs=no
1420
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1421
soname_spec='${libname}${release}${shared_ext}$major'
1422
shlibpath_var=LD_LIBRARY_PATH
1423
# Globus - changed to "no" to support relocatability
1424
hardcode_into_libs=no
1427
hpux9* | hpux10* | hpux11*)
1428
# Give a soname corresponding to the major version so that dld.sl refuses to
1429
# link against other versions.
1436
# Globus - we need to keep this "yes", see bug 4309
1437
hardcode_into_libs=yes
1438
dynamic_linker="$host_os dld.so"
1439
shlibpath_var=LD_LIBRARY_PATH
1440
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1441
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1442
soname_spec='${libname}${release}${shared_ext}$major'
1443
if test "X$HPUX_IA64_MODE" = X32; then
1444
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1446
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1448
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1452
# Globus - we need to keep this "yes", see bug 4309
1453
hardcode_into_libs=yes
1454
dynamic_linker="$host_os dld.sl"
1455
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1456
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1457
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1458
soname_spec='${libname}${release}${shared_ext}$major'
1459
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
1460
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1464
dynamic_linker="$host_os dld.sl"
1465
shlibpath_var=SHLIB_PATH
1466
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1467
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1468
soname_spec='${libname}${release}${shared_ext}$major'
1471
# HP-UX runs *really* slowly unless shared libraries are mode 555.
1472
postinstall_cmds='chmod 555 $lib'
1479
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1480
soname_spec='${libname}${release}${shared_ext}$major'
1481
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
1482
shlibpath_var=LD_LIBRARY_PATH
1483
shlibpath_overrides_runpath=no
1484
hardcode_into_libs=yes
1487
irix5* | irix6* | nonstopux*)
1489
nonstopux*) version_type=nonstopux ;;
1491
if test "$lt_cv_prog_gnu_ld" = yes; then
1499
soname_spec='${libname}${release}${shared_ext}$major'
1500
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1502
irix5* | nonstopux*)
1506
case $LD in # libtool.m4 will add one of these switches to LD
1507
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
1508
libsuff= shlibsuff= libmagic=32-bit;;
1509
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
1510
libsuff=32 shlibsuff=N32 libmagic=N32;;
1511
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
1512
libsuff=64 shlibsuff=64 libmagic=64-bit;;
1513
*) libsuff= shlibsuff= libmagic=never-match;;
1517
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
1518
shlibpath_overrides_runpath=no
1519
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
1520
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1521
# Globus - changed to "no" to support relocatability
1522
hardcode_into_libs=no
1525
# No shared lib support for Linux oldld, aout, or coff.
1526
linux*oldld* | linux*aout* | linux*coff*)
1530
# This must be Linux ELF.
1531
linux* | k*bsd*-gnu)
1535
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1536
soname_spec='${libname}${release}${shared_ext}$major'
1537
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
1538
shlibpath_var=LD_LIBRARY_PATH
1539
shlibpath_overrides_runpath=no
1540
# This implies no fast_install, which is unacceptable.
1541
# Some rework will be needed to allow for fast_install
1542
# before this can be enabled.
1543
# Globus - changed to "no" to support relocatability
1544
hardcode_into_libs=no
1546
# Append ld.so.conf contents to the search path
1547
if test -f /etc/ld.so.conf; then
1548
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1549
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1552
# We used to test for /lib/ld.so.1 and disable shared libraries on
1553
# powerpc, because MkLinux only supported shared libraries with the
1554
# GNU dynamic linker. Since this was broken with cross compilers,
1555
# most powerpc-linux boxes support dynamic linking these days and
1556
# people can always --disable-shared, the test was removed, and we
1557
# assume the GNU/Linux dynamic linker is in use.
1558
dynamic_linker='GNU/Linux ld.so'
1565
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
1566
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1567
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1568
dynamic_linker='NetBSD (a.out) ld.so'
1570
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1571
soname_spec='${libname}${release}${shared_ext}$major'
1572
dynamic_linker='NetBSD ld.elf_so'
1574
shlibpath_var=LD_LIBRARY_PATH
1575
shlibpath_overrides_runpath=yes
1576
# Globus - changed to "no" to support relocatability
1577
hardcode_into_libs=no
1582
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1583
shlibpath_var=LD_LIBRARY_PATH
1584
shlibpath_overrides_runpath=yes
1591
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1592
soname_spec='${libname}${release}${shared_ext}$major'
1593
shlibpath_var=LD_LIBRARY_PATH
1594
shlibpath_overrides_runpath=yes
1599
sys_lib_dlsearch_path_spec="/usr/lib"
1601
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
1603
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
1604
*) need_version=no ;;
1606
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1607
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1608
shlibpath_var=LD_LIBRARY_PATH
1609
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1611
openbsd2.[[89]] | openbsd2.[[89]].*)
1612
shlibpath_overrides_runpath=no
1615
shlibpath_overrides_runpath=yes
1619
shlibpath_overrides_runpath=yes
1624
libname_spec='$name'
1627
library_names_spec='$libname${shared_ext} $libname.a'
1628
dynamic_linker='OS/2 ld.exe'
1629
shlibpath_var=LIBPATH
1632
osf3* | osf4* | osf5*)
1636
soname_spec='${libname}${release}${shared_ext}$major'
1637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1638
shlibpath_var=LD_LIBRARY_PATH
1639
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1640
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1651
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1652
soname_spec='${libname}${release}${shared_ext}$major'
1653
shlibpath_var=LD_LIBRARY_PATH
1654
shlibpath_overrides_runpath=yes
1655
# Globus - changed to "no" to support relocatability
1656
hardcode_into_libs=no
1657
# ldd complains unless libraries are executable
1658
postinstall_cmds='chmod +x $lib'
1663
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1664
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
1665
shlibpath_var=LD_LIBRARY_PATH
1666
shlibpath_overrides_runpath=yes
1667
if test "$with_gnu_ld" = yes; then
1675
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1676
soname_spec='${libname}${release}${shared_ext}$major'
1677
shlibpath_var=LD_LIBRARY_PATH
1678
case $host_vendor in
1680
shlibpath_overrides_runpath=no
1682
export_dynamic_flag_spec='${wl}-Blargedynsym'
1683
runpath_var=LD_RUN_PATH
1691
shlibpath_overrides_runpath=no
1692
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
1698
if test -d /usr/nec ;then
1700
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1701
soname_spec='$libname${shared_ext}.$major'
1702
shlibpath_var=LD_LIBRARY_PATH
1706
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1707
version_type=freebsd-elf
1710
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1711
soname_spec='${libname}${release}${shared_ext}$major'
1712
shlibpath_var=LD_LIBRARY_PATH
1713
hardcode_into_libs=yes
1714
if test "$with_gnu_ld" = yes; then
1715
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1716
shlibpath_overrides_runpath=no
1718
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1719
shlibpath_overrides_runpath=yes
1722
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1726
sys_lib_dlsearch_path_spec='/usr/lib'
1731
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1732
soname_spec='${libname}${release}${shared_ext}$major'
1733
shlibpath_var=LD_LIBRARY_PATH
1740
AC_MSG_RESULT([$dynamic_linker])
1741
test "$dynamic_linker" = no && can_build_shared=no
1743
AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
1744
[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
1745
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1746
AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
1747
[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
1748
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1750
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1751
if test "$GCC" = yes; then
1752
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
1755
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2019: -1- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_REQUIRE([LT_AC_PROG_SED])dnl
1757
[AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
1758
[include additional configurations @<:@automatic@:>@])],
1759
[tagnames="$withval"])
1761
if test -f "$ltmain" && test -n "$tagnames"; then
1762
if test ! -f "${ofile}"; then
1763
AC_MSG_WARN([output file `$ofile' does not exist])
1766
if test -z "$LTCC"; then
1767
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
1768
if test -z "$LTCC"; then
1769
AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
1771
AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
1774
if test -z "$LTCFLAGS"; then
1775
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
1778
# Extract list of available tagged configurations in $ofile.
1779
# Note that this assumes the entire list is on one line.
1780
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1782
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1783
for tagname in $tagnames; do
1785
# Check whether tagname contains only valid characters
1786
case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
1788
*) AC_MSG_ERROR([invalid tag name: $tagname])
1792
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
1794
AC_MSG_ERROR([tag name \"$tagname\" already exists])
1797
# Update the list of available tags.
1798
if test -n "$tagname"; then
1799
echo appending configuration tag \"$tagname\" to $ofile
1803
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1804
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1805
(test "X$CXX" != "Xg++"))) ; then
1806
AC_LIBTOOL_LANG_CXX_CONFIG
1813
if test -n "$F77" && test "X$F77" != "Xno"; then
1814
AC_LIBTOOL_LANG_F77_CONFIG
1821
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
1822
AC_LIBTOOL_LANG_GCJ_CONFIG
1829
AC_LIBTOOL_LANG_RC_CONFIG
1833
AC_MSG_ERROR([Unsupported tag name: $tagname])
1837
# Append the new tag name to the list of available tags.
1838
if test -n "$tagname" ; then
1839
available_tags="$available_tags $tagname"
1845
# Now substitute the updated list of available tags.
1846
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
1847
mv "${ofile}T" "$ofile"
1851
AC_MSG_ERROR([unable to update list of available tagged configurations.])
1855
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2027: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
1857
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2035: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
1859
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2065: -1- AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
1860
AC_ARG_ENABLE([shared],
1861
[AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
1862
[build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
1863
[p=${PACKAGE-default}
1865
yes) enable_shared=yes ;;
1866
no) enable_shared=no ;;
1869
# Look at the argument we got. We use all the common list separators.
1870
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1871
for pkg in $enableval; do
1873
if test "X$pkg" = "X$p"; then
1880
[enable_shared=]AC_ENABLE_SHARED_DEFAULT)
1882
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2074: -1- AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1883
AC_ENABLE_SHARED(no)
1885
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2104: -1- AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
1886
AC_ARG_ENABLE([static],
1887
[AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
1888
[build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
1889
[p=${PACKAGE-default}
1891
yes) enable_static=yes ;;
1892
no) enable_static=no ;;
1895
# Look at the argument we got. We use all the common list separators.
1896
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1897
for pkg in $enableval; do
1899
if test "X$pkg" = "X$p"; then
1906
[enable_static=]AC_ENABLE_STATIC_DEFAULT)
1908
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2113: -1- AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1909
AC_ENABLE_STATIC(no)
1911
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2143: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
1912
AC_ARG_ENABLE([fast-install],
1913
[AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
1914
[optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
1915
[p=${PACKAGE-default}
1917
yes) enable_fast_install=yes ;;
1918
no) enable_fast_install=no ;;
1920
enable_fast_install=no
1921
# Look at the argument we got. We use all the common list separators.
1922
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1923
for pkg in $enableval; do
1925
if test "X$pkg" = "X$p"; then
1926
enable_fast_install=yes
1932
[enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
1934
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2152: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1935
AC_ENABLE_FAST_INSTALL(no)
1937
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2162: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
1938
pic_mode=ifelse($#,1,$1,default)
1940
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2240: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl
1941
AC_MSG_CHECKING([for $1])
1942
AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
1944
[[\\/*] | ?:[\\/]*])
1945
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1948
lt_save_MAGIC_CMD="$MAGIC_CMD"
1949
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1950
dnl $ac_dummy forces splitting on constant user-supplied paths.
1951
dnl POSIX.2 word splitting is done only on the output of word expansions,
1952
dnl not every word. This closes a longstanding sh security hole.
1953
ac_dummy="ifelse([$2], , $PATH, [$2])"
1954
for ac_dir in $ac_dummy; do
1956
test -z "$ac_dir" && ac_dir=.
1957
if test -f $ac_dir/$1; then
1958
lt_cv_path_MAGIC_CMD="$ac_dir/$1"
1959
if test -n "$file_magic_test_file"; then
1960
case $deplibs_check_method in
1962
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1963
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1964
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1965
$EGREP "$file_magic_regex" > /dev/null; then
1970
*** Warning: the command libtool uses to detect shared libraries,
1971
*** $file_magic_cmd, produces output that libtool cannot recognize.
1972
*** The result is that libtool may fail to recognize shared libraries
1973
*** as such. This will affect the creation of libtool libraries that
1974
*** depend on shared libraries, but programs linked with such libtool
1975
*** libraries will work regardless of this problem. Nevertheless, you
1976
*** may want to report the problem to your system manager and/or to
1977
*** bug-libtool@gnu.org
1987
MAGIC_CMD="$lt_save_MAGIC_CMD"
1990
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1991
if test -n "$MAGIC_CMD"; then
1992
AC_MSG_RESULT($MAGIC_CMD)
1997
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2255: -1- AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
1998
if test -z "$lt_cv_path_MAGIC_CMD"; then
1999
if test -n "$ac_tool_prefix"; then
2000
AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
2006
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2340: -1- AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld],
2007
[AC_HELP_STRING([--with-gnu-ld],
2008
[assume the C compiler uses GNU ld @<:@default=no@:>@])],
2009
[test "$withval" = no || with_gnu_ld=yes],
2011
AC_REQUIRE([LT_AC_PROG_SED])dnl
2012
AC_REQUIRE([AC_PROG_CC])dnl
2013
AC_REQUIRE([AC_CANONICAL_HOST])dnl
2014
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2016
if test "$GCC" = yes; then
2017
# Check if gcc -print-prog-name=ld gives a path.
2018
AC_MSG_CHECKING([for ld used by $CC])
2021
# gcc leaves a trailing carriage return which upsets mingw
2022
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2024
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2027
# Accept absolute paths.
2028
[[\\/]]* | ?:[[\\/]]*)
2029
re_direlt='/[[^/]][[^/]]*/\.\./'
2030
# Canonicalize the pathname of ld
2031
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2032
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2033
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2035
test -z "$LD" && LD="$ac_prog"
2038
# If it fails, then pretend we aren't using GCC.
2042
# If it is relative, then search for the first ld in PATH.
2046
elif test "$with_gnu_ld" = yes; then
2047
AC_MSG_CHECKING([for GNU ld])
2049
AC_MSG_CHECKING([for non-GNU ld])
2051
AC_CACHE_VAL(lt_cv_path_LD,
2052
[if test -z "$LD"; then
2053
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2054
for ac_dir in $PATH; do
2056
test -z "$ac_dir" && ac_dir=.
2057
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2058
lt_cv_path_LD="$ac_dir/$ac_prog"
2059
# Check to see if the program is GNU ld. I'd rather use --version,
2060
# but apparently some variants of GNU ld only accept -v.
2061
# Break only if it was the GNU/non-GNU ld that we prefer.
2062
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2063
*GNU* | *'with BFD'*)
2064
test "$with_gnu_ld" != no && break
2067
test "$with_gnu_ld" != yes && break
2074
lt_cv_path_LD="$LD" # Let the user override the test with a path.
2077
if test -n "$LD"; then
2082
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2085
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2358: -1- AC_DEFUN([AC_PROG_LD_GNU], [AC_REQUIRE([AC_PROG_EGREP])dnl
2086
AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
2087
[# I'd rather use --version here, but apparently some GNU lds only accept -v.
2088
case `$LD -v 2>&1 </dev/null` in
2089
*GNU* | *'with BFD'*)
2090
lt_cv_prog_gnu_ld=yes
2093
lt_cv_prog_gnu_ld=no
2096
with_gnu_ld=$lt_cv_prog_gnu_ld
2098
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2384: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], [AC_CACHE_CHECK([for $LD option to reload object files],
2099
lt_cv_ld_reload_flag,
2100
[lt_cv_ld_reload_flag='-r'])
2101
reload_flag=$lt_cv_ld_reload_flag
2102
case $reload_flag in
2104
*) reload_flag=" $reload_flag" ;;
2106
reload_cmds='$LD$reload_flag -o $output$reload_objs'
2109
if test "$GCC" = yes; then
2110
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
2112
reload_cmds='$LD$reload_flag -o $output$reload_objs'
2117
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2577: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], [AC_CACHE_CHECK([how to recognize dependent libraries],
2118
lt_cv_deplibs_check_method,
2119
[lt_cv_file_magic_cmd='$MAGIC_CMD'
2120
lt_cv_file_magic_test_file=
2121
lt_cv_deplibs_check_method='unknown'
2122
# Need to set the preceding variable on all platforms that support
2123
# interlibrary dependencies.
2124
# 'none' -- dependencies not supported.
2125
# `unknown' -- same as none, but documents that we really don't know.
2126
# 'pass_all' -- all dependencies passed with no checks.
2127
# 'test_compile' -- check by making test program.
2128
# 'file_magic [[regex]]' -- check by looking for files in library path
2129
# which responds to the $file_magic_cmd with a given extended regex.
2130
# If you have `file' or equivalent on your system and you're not sure
2131
# whether `pass_all' will *always* work, you probably want this one.
2135
lt_cv_deplibs_check_method=pass_all
2139
lt_cv_deplibs_check_method=pass_all
2143
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
2144
lt_cv_file_magic_cmd='/usr/bin/file -L'
2145
lt_cv_file_magic_test_file=/shlib/libc.so
2149
# func_win32_libid is a shell function defined in ltmain.sh
2150
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2151
lt_cv_file_magic_cmd='func_win32_libid'
2155
# Base MSYS/MinGW do not provide the 'file' command needed by
2156
# func_win32_libid shell function, so use a weaker test based on 'objdump',
2157
# unless we find 'file', for example because we are cross-compiling.
2158
if ( file / ) >/dev/null 2>&1; then
2159
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2160
lt_cv_file_magic_cmd='func_win32_libid'
2162
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2163
lt_cv_file_magic_cmd='$OBJDUMP -f'
2167
darwin* | rhapsody*)
2168
lt_cv_deplibs_check_method=pass_all
2171
freebsd* | dragonfly*)
2172
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2175
# Not sure whether the presence of OpenBSD here was a mistake.
2176
# Let's accept both of them until this is cleared up.
2177
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
2178
lt_cv_file_magic_cmd=/usr/bin/file
2179
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2183
lt_cv_deplibs_check_method=pass_all
2188
lt_cv_deplibs_check_method=pass_all
2191
hpux10.20* | hpux11*)
2192
lt_cv_file_magic_cmd=/usr/bin/file
2195
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
2196
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2199
[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]']
2200
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
2203
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
2204
lt_cv_file_magic_test_file=/usr/lib/libc.sl
2210
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
2211
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
2214
irix5* | irix6* | nonstopux*)
2216
*-32|*"-32 ") libmagic=32-bit;;
2217
*-n32|*"-n32 ") libmagic=N32;;
2218
*-64|*"-64 ") libmagic=64-bit;;
2219
*) libmagic=never-match;;
2221
lt_cv_deplibs_check_method=pass_all
2224
# This must be Linux ELF.
2225
linux* | k*bsd*-gnu)
2226
lt_cv_deplibs_check_method=pass_all
2230
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2231
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2233
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
2238
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
2239
lt_cv_file_magic_cmd=/usr/bin/file
2240
lt_cv_file_magic_test_file=/usr/lib/libnls.so
2244
lt_cv_deplibs_check_method=unknown
2248
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
2249
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
2251
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2255
osf3* | osf4* | osf5*)
2256
lt_cv_deplibs_check_method=pass_all
2260
lt_cv_deplibs_check_method=pass_all
2264
lt_cv_deplibs_check_method=pass_all
2268
case $host_vendor in
2270
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]]'
2271
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2274
lt_cv_deplibs_check_method=pass_all
2277
lt_cv_file_magic_cmd='/bin/file'
2278
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
2281
lt_cv_file_magic_cmd='/bin/file'
2282
lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
2283
lt_cv_file_magic_test_file=/lib/libc.so
2286
lt_cv_deplibs_check_method=pass_all
2289
lt_cv_deplibs_check_method=pass_all
2294
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
2295
lt_cv_deplibs_check_method=pass_all
2299
file_magic_cmd=$lt_cv_file_magic_cmd
2300
deplibs_check_method=$lt_cv_deplibs_check_method
2301
test -z "$deplibs_check_method" && deplibs_check_method=unknown
2303
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2629: -1- AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
2304
[if test -n "$NM"; then
2305
# Let the user override the test.
2308
lt_nm_to_check="${ac_tool_prefix}nm"
2309
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2310
lt_nm_to_check="$lt_nm_to_check nm"
2312
for lt_tmp_nm in $lt_nm_to_check; do
2313
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2314
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2316
test -z "$ac_dir" && ac_dir=.
2317
tmp_nm="$ac_dir/$lt_tmp_nm"
2318
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2319
# Check to see if the nm accepts a BSD-compat flag.
2320
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
2321
# nm: unknown option "B" ignored
2322
# Tru64's nm complains that /dev/null is an invalid object file
2323
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2324
*/dev/null* | *'Invalid file or object type'*)
2325
lt_cv_path_NM="$tmp_nm -B"
2329
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2331
lt_cv_path_NM="$tmp_nm -p"
2335
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2336
continue # so that we can try to find one that supports BSD flags
2345
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2349
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2650: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2352
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
2353
# These system don't have libm, or don't need it
2356
AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
2357
AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2360
AC_CHECK_LIB(m, cos, LIBM="-lm")
2364
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2675: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2365
case $enable_ltdl_convenience in
2366
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
2367
"") enable_ltdl_convenience=yes
2368
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
2370
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
2371
LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
2372
# For backwards non-gettext consistent compatibility...
2375
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2711: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
2376
AC_CHECK_LIB(ltdl, lt_dlinit,
2377
[test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
2378
[if test x"$enable_ltdl_install" = xno; then
2379
AC_MSG_WARN([libltdl not installed, but installation disabled])
2381
enable_ltdl_install=yes
2384
if test x"$enable_ltdl_install" = x"yes"; then
2385
ac_configure_args="$ac_configure_args --enable-ltdl-install"
2386
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
2387
LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
2389
ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
2393
# For backwards non-gettext consistent compatibility...
2396
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2719: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX])
2398
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2728: -1- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX])
2399
AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2400
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
2402
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2740: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP], [
2403
AC_REQUIRE([AC_PROG_CXX])
2404
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
2405
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
2406
(test "X$CXX" != "Xg++"))) ; then
2410
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2747: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77])
2412
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2755: -1- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77])
2413
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
2415
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2763: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ])
2417
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2776: -1- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
2418
[AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
2419
[AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
2420
[ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
2421
[ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
2422
[AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
2423
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
2425
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2785: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC])
2426
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
2428
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2793: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
2429
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2866: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC"
2432
# Source file extension for C test sources.
2435
# Object file extension for compiled C test sources.
2437
_LT_AC_TAGVAR(objext, $1)=$objext
2439
# Code to be used in simple compile tests
2440
lt_simple_compile_test_code="int some_variable = 0;"
2442
# Code to be used in simple link tests
2443
lt_simple_link_test_code='int main(){return(0);}'
2447
# save warnings/boilerplate of simple test code
2448
_LT_COMPILER_BOILERPLATE
2449
_LT_LINKER_BOILERPLATE
2452
## There is no encapsulation within the following macros, do not change
2453
## the running order or otherwise move them around unless you know exactly
2454
## what you are doing...
2455
AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2456
AC_LIBTOOL_PROG_COMPILER_PIC($1)
2457
AC_LIBTOOL_PROG_CC_C_O($1)
2458
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2459
AC_LIBTOOL_PROG_LD_SHLIBS($1)
2460
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2461
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2462
AC_LIBTOOL_SYS_LIB_STRIP
2463
AC_LIBTOOL_DLOPEN_SELF
2465
# Report which library types will actually be built
2466
AC_MSG_CHECKING([if libtool supports shared libraries])
2467
AC_MSG_RESULT([$can_build_shared])
2469
AC_MSG_CHECKING([whether to build shared libraries])
2470
test "$can_build_shared" = "no" && enable_shared=no
2472
# On AIX, shared libraries and static libraries use the same namespace, and
2473
# are all built from PIC.
2476
test "$enable_shared" = yes && enable_static=no
2477
if test -n "$RANLIB"; then
2478
archive_cmds="$archive_cmds~\$RANLIB \$lib"
2479
postinstall_cmds='$RANLIB $lib'
2484
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2485
test "$enable_shared" = yes && enable_static=no
2489
AC_MSG_RESULT([$enable_shared])
2491
AC_MSG_CHECKING([whether to build static libraries])
2492
# Make sure either enable_shared or enable_static is yes.
2493
test "$enable_shared" = yes || enable_static=yes
2494
AC_MSG_RESULT([$enable_static])
2496
AC_LIBTOOL_CONFIG($1)
2501
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:2874: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
2502
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:3873: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++)
2503
AC_REQUIRE([AC_PROG_CXX])
2504
AC_REQUIRE([_LT_AC_PROG_CXXCPP])
2506
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2507
_LT_AC_TAGVAR(allow_undefined_flag, $1)=
2508
_LT_AC_TAGVAR(always_export_symbols, $1)=no
2509
_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
2510
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
2511
_LT_AC_TAGVAR(hardcode_direct, $1)=no
2512
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
2513
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
2514
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2515
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
2516
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2517
_LT_AC_TAGVAR(hardcode_automatic, $1)=no
2518
_LT_AC_TAGVAR(module_cmds, $1)=
2519
_LT_AC_TAGVAR(module_expsym_cmds, $1)=
2520
_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
2521
_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
2522
_LT_AC_TAGVAR(no_undefined_flag, $1)=
2523
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
2524
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
2526
# Dependencies to place before and after the object being linked:
2527
_LT_AC_TAGVAR(predep_objects, $1)=
2528
_LT_AC_TAGVAR(postdep_objects, $1)=
2529
_LT_AC_TAGVAR(predeps, $1)=
2530
_LT_AC_TAGVAR(postdeps, $1)=
2531
_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
2532
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
2534
# Source file extension for C++ test sources.
2537
# Object file extension for compiled C++ test sources.
2539
_LT_AC_TAGVAR(objext, $1)=$objext
2541
# Code to be used in simple compile tests
2542
lt_simple_compile_test_code="int some_variable = 0;"
2544
# Code to be used in simple link tests
2545
lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
2547
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
2550
# save warnings/boilerplate of simple test code
2551
_LT_COMPILER_BOILERPLATE
2552
_LT_LINKER_BOILERPLATE
2554
# Allow CC to be a program name with arguments.
2559
lt_save_with_gnu_ld=$with_gnu_ld
2560
lt_save_path_LD=$lt_cv_path_LD
2561
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
2562
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
2564
$as_unset lt_cv_prog_gnu_ld
2566
if test -n "${lt_cv_path_LDCXX+set}"; then
2567
lt_cv_path_LD=$lt_cv_path_LDCXX
2569
$as_unset lt_cv_path_LD
2571
test -z "${LDCXX+set}" || LD=$LDCXX
2574
_LT_AC_TAGVAR(compiler, $1)=$CC
2575
_LT_CC_BASENAME([$compiler])
2577
# We don't want -fno-exception wen compiling C++ code, so set the
2578
# no_builtin_flag separately
2579
if test "$GXX" = yes; then
2580
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
2582
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
2585
if test "$GXX" = yes; then
2586
# Set up default GNU C++ configuration
2590
# Check if GNU C++ uses GNU ld as the underlying linker, since the
2591
# archiving commands below assume that GNU ld is being used.
2592
if test "$with_gnu_ld" = yes; then
2593
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
2594
_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'
2596
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
2597
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
2599
# If archive_cmds runs LD, not CC, wlarc should be empty
2600
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
2601
# investigate it a little bit more. (MM)
2604
# ancient GNU ld didn't support --whole-archive et. al.
2605
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
2606
grep 'no-whole-archive' > /dev/null; then
2607
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
2609
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
2615
# A generic and very simple default shared library creation
2616
# command for GNU C++ for the case where it uses the native
2617
# linker, instead of GNU ld. If possible, this setting should
2618
# overridden to take advantage of the native linker features on
2619
# the platform it is being used on.
2620
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
2623
# Commands to make compiler produce verbose output that lists
2624
# what "hidden" libraries, object files and flags are used when
2625
# linking a shared library.
2626
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
2634
# PORTME: fill in a description of your system's C++ link characteristics
2635
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
2636
_LT_AC_TAGVAR(ld_shlibs, $1)=yes
2639
# FIXME: insert proper C++ library support
2640
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2643
if test "$host_cpu" = ia64; then
2644
# On IA64, the linker does run time linking by default, so we don't
2645
# have to do anything special.
2646
aix_use_runtimelinking=no
2647
exp_sym_flag='-Bexport'
2650
aix_use_runtimelinking=no
2652
# Test if we are trying to use run time linking or normal
2653
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
2654
# need to do runtime linking.
2655
case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
2656
for ld_flag in $LDFLAGS; do
2659
aix_use_runtimelinking=yes
2667
exp_sym_flag='-bexport'
2668
no_entry_flag='-bnoentry'
2671
# When large executables or shared objects are built, AIX ld can
2672
# have problems creating the table of contents. If linking a library
2673
# or program results in "error TOC overflow" add -mminimal-toc to
2674
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
2675
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
2677
_LT_AC_TAGVAR(archive_cmds, $1)=''
2678
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
2679
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
2680
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2682
if test "$GXX" = yes; then
2683
case $host_os in aix4.[[012]]|aix4.[[012]].*)
2684
# We only want to do this on AIX 4.2 and lower, the check
2685
# below for broken collect2 doesn't work under 4.3+
2686
collect2name=`${CC} -print-prog-name=collect2`
2687
if test -f "$collect2name" && \
2688
strings "$collect2name" | grep resolve_lib_name >/dev/null
2690
# We have reworked collect2
2693
# We have old collect2
2694
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
2695
# It fails to find uninstalled libraries when the uninstalled
2696
# path is not listed in the libpath. Setting hardcode_minus_L
2697
# to unsupported forces relinking
2698
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
2699
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2700
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
2704
shared_flag='-shared'
2705
if test "$aix_use_runtimelinking" = yes; then
2706
shared_flag="$shared_flag "'${wl}-G'
2710
if test "$host_cpu" = ia64; then
2711
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
2712
# chokes on -Wl,-G. The following line is correct:
2715
if test "$aix_use_runtimelinking" = yes; then
2716
shared_flag='${wl}-G ${wl}-bnoipath'
2718
shared_flag='${wl}-bM:SRE'
2723
# It seems that -bexpall does not export symbols beginning with
2724
# underscore (_), so it is better to generate a list of symbols to export.
2725
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
2726
if test "$aix_use_runtimelinking" = yes; then
2727
# Warning - without using the other runtime loading flags (-brtl),
2728
# -berok will link without error, but may produce a broken library.
2729
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
2730
# Determine the default libpath from the value encoded in an empty executable.
2731
_LT_AC_SYS_LIBPATH_AIX
2732
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2734
_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"
2736
if test "$host_cpu" = ia64; then
2737
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2738
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
2739
_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"
2741
# Determine the default libpath from the value encoded in an empty executable.
2742
_LT_AC_SYS_LIBPATH_AIX
2743
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2744
# Warning - without using the other run time loading flags,
2745
# -berok will link without error, but may produce a broken library.
2746
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2747
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2748
# Exported symbols can be pulled into shared objects from archives
2749
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2750
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
2751
# This is similar to how AIX traditionally builds its shared libraries.
2752
_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'
2758
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
2759
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
2760
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
2761
# support --undefined. This deserves some investigation. FIXME
2762
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
2764
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2769
case $cc_basename in
2771
# FIXME: insert proper C++ library support
2772
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2777
cygwin* | mingw* | pw32*)
2778
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
2779
# as there is no search path for DLLs.
2780
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
2781
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
2782
_LT_AC_TAGVAR(always_export_symbols, $1)=no
2783
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
2785
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
2786
_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'
2787
# If the export-symbols file already is a .def file (1st line
2788
# is EXPORTS), use it as is; otherwise, prepend...
2789
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
2790
cp $export_symbols $output_objdir/$soname.def;
2792
echo EXPORTS > $output_objdir/$soname.def;
2793
cat $export_symbols >> $output_objdir/$soname.def;
2795
$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'
2797
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2800
darwin* | rhapsody*)
2801
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2802
_LT_AC_TAGVAR(hardcode_direct, $1)=no
2803
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2804
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2805
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
2806
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2807
_LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
2808
if test "$GXX" = yes ; then
2809
output_verbose_link_cmd='echo'
2810
_LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
2811
_LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
2812
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
2813
_LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
2814
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
2815
_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${_lt_dsymutil}"
2816
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
2819
case $cc_basename in
2821
output_verbose_link_cmd='echo'
2822
_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` $xlcverstring'
2823
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2824
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
2825
_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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2826
_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}'
2829
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2836
case $cc_basename in
2838
# FIXME: insert proper C++ library support
2839
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2842
# Green Hills C++ Compiler
2843
# FIXME: insert proper C++ library support
2844
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2847
# FIXME: insert proper C++ library support
2848
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2853
# C++ shared libraries reported to be fairly broken before switch to ELF
2854
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2857
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2859
freebsd* | dragonfly*)
2860
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
2862
_LT_AC_TAGVAR(ld_shlibs, $1)=yes
2867
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2868
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2869
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2870
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
2871
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
2872
# but as the default
2873
# location of the library.
2875
case $cc_basename in
2877
# FIXME: insert proper C++ library support
2878
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2881
_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'
2882
# Commands to make compiler produce verbose output that lists
2883
# what "hidden" libraries, object files and flags are used when
2884
# linking a shared library.
2886
# There doesn't appear to be a way to prevent this compiler from
2887
# explicitly linking system object files so we need to strip them
2888
# from the output so that they don't get included in the library
2890
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'
2893
if test "$GXX" = yes; then
2894
_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'
2896
# FIXME: insert proper C++ library support
2897
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2903
if test $with_gnu_ld = no; then
2904
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
2905
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
2910
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2916
_LT_AC_TAGVAR(hardcode_direct, $1)=no
2917
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2920
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
2921
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
2922
# but as the default
2923
# location of the library.
2927
case $cc_basename in
2929
# FIXME: insert proper C++ library support
2930
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2935
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2938
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2941
_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'
2944
# Commands to make compiler produce verbose output that lists
2945
# what "hidden" libraries, object files and flags are used when
2946
# linking a shared library.
2948
# There doesn't appear to be a way to prevent this compiler from
2949
# explicitly linking system object files so we need to strip them
2950
# from the output so that they don't get included in the library
2952
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'
2955
if test "$GXX" = yes; then
2956
if test $with_gnu_ld = no; then
2959
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
2962
_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'
2965
_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'
2970
# FIXME: insert proper C++ library support
2971
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2977
_LT_AC_TAGVAR(hardcode_direct, $1)=no
2978
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
2979
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
2980
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
2981
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
2982
# Instead, shared libraries are loaded at an image base (0x10000000 by
2983
# default) and relocated if they conflict, which is a slow very memory
2984
# consuming and fragmenting process. To avoid this, we pick a random,
2985
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
2986
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
2987
_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'
2988
_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'
2991
case $cc_basename in
2994
_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'
2996
# Archives containing C++ object files must be created using
2997
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
2998
# necessary to make sure instantiated templates are included
3000
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
3003
if test "$GXX" = yes; then
3004
if test "$with_gnu_ld" = no; then
3005
_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'
3007
_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'
3010
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3013
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3014
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3016
linux* | k*bsd*-gnu)
3017
case $cc_basename in
3019
# Kuck and Associates, Inc. (KAI) C++ Compiler
3021
# KCC will only create a shared library if the output file
3022
# ends with ".so" (or ".sl" for HP-UX), so rename the library
3023
# to its proper name (with version) after linking.
3024
_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'
3025
_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'
3026
# Commands to make compiler produce verbose output that lists
3027
# what "hidden" libraries, object files and flags are used when
3028
# linking a shared library.
3030
# There doesn't appear to be a way to prevent this compiler from
3031
# explicitly linking system object files so we need to strip them
3032
# from the output so that they don't get included in the library
3034
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'
3036
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
3037
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3039
# Archives containing C++ object files must be created using
3040
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
3041
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3046
# version 8.0 and above of icpc choke on multiply defined symbols
3047
# if we add $predep_objects and $postdep_objects, however 7.1 and
3048
# earlier do not add the objects themselves.
3049
case `$CC -V 2>&1` in
3051
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3052
_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'
3054
*) # Version 8.0 or newer
3057
ia64*) tmp_idyn=' -i_dynamic';;
3059
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3060
_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'
3063
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3064
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3065
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3066
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
3069
# Portland Group C++ compiler
3070
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3071
_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'
3073
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
3074
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3075
_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'
3079
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
3080
_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'
3082
runpath_var=LD_RUN_PATH
3083
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3084
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3086
# Commands to make compiler produce verbose output that lists
3087
# what "hidden" libraries, object files and flags are used when
3088
# linking a shared library.
3090
# There doesn't appear to be a way to prevent this compiler from
3091
# explicitly linking system object files so we need to strip them
3092
# from the output so that they don't get included in the library
3094
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'
3097
case `$CC -V 2>&1 | sed 5q` in
3100
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3101
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3102
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
3103
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3104
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3106
# Not sure whether something based on
3107
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
3109
output_verbose_link_cmd='echo'
3111
# Archives containing C++ object files must be created using
3112
# "CC -xar", where "CC" is the Sun C++ compiler. This is
3113
# necessary to make sure instantiated templates are included
3115
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3122
# FIXME: insert proper C++ library support
3123
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3126
# FIXME: insert proper C++ library support
3127
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3130
case $cc_basename in
3132
# FIXME: insert proper C++ library support
3133
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3136
# FIXME: insert proper C++ library support
3137
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3142
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3143
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3145
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3146
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
3147
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3149
# Workaround some broken pre-1.5 toolchains
3150
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
3153
# C++ shared libraries are fairly broken
3154
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3157
if test -f /usr/libexec/ld.so; then
3158
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
3159
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3160
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3161
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3162
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3163
_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'
3164
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3165
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3167
output_verbose_link_cmd='echo'
3169
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3173
case $cc_basename in
3175
# Kuck and Associates, Inc. (KAI) C++ Compiler
3177
# KCC will only create a shared library if the output file
3178
# ends with ".so" (or ".sl" for HP-UX), so rename the library
3179
# to its proper name (with version) after linking.
3180
_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'
3182
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3183
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3185
# Archives containing C++ object files must be created using
3186
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
3187
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
3191
# Rational C++ 2.4.1
3192
# FIXME: insert proper C++ library support
3193
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3196
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3197
_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'
3199
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3200
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3202
# Commands to make compiler produce verbose output that lists
3203
# what "hidden" libraries, object files and flags are used when
3204
# linking a shared library.
3206
# There doesn't appear to be a way to prevent this compiler from
3207
# explicitly linking system object files so we need to strip them
3208
# from the output so that they don't get included in the library
3210
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'
3213
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3214
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3215
_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'
3217
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3218
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3220
# Commands to make compiler produce verbose output that lists
3221
# what "hidden" libraries, object files and flags are used when
3222
# linking a shared library.
3223
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3226
# FIXME: insert proper C++ library support
3227
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3233
case $cc_basename in
3235
# Kuck and Associates, Inc. (KAI) C++ Compiler
3237
# KCC will only create a shared library if the output file
3238
# ends with ".so" (or ".sl" for HP-UX), so rename the library
3239
# to its proper name (with version) after linking.
3240
_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'
3242
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3243
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3245
# Archives containing C++ object files must be created using
3246
# the KAI C++ compiler.
3247
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
3250
# Rational C++ 2.4.1
3251
# FIXME: insert proper C++ library support
3252
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3255
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
3256
_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'
3257
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
3258
echo "-hidden">> $lib.exp~
3259
$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~
3262
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
3263
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3265
# Commands to make compiler produce verbose output that lists
3266
# what "hidden" libraries, object files and flags are used when
3267
# linking a shared library.
3269
# There doesn't appear to be a way to prevent this compiler from
3270
# explicitly linking system object files so we need to strip them
3271
# from the output so that they don't get included in the library
3273
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'
3276
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3277
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
3278
_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'
3280
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3281
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3283
# Commands to make compiler produce verbose output that lists
3284
# what "hidden" libraries, object files and flags are used when
3285
# linking a shared library.
3286
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
3289
# FIXME: insert proper C++ library support
3290
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3296
# FIXME: insert proper C++ library support
3297
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3300
case $cc_basename in
3303
# FIXME: insert proper C++ library support
3304
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3308
# FIXME: insert proper C++ library support
3309
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3312
# FIXME: insert proper C++ library support
3313
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3318
case $cc_basename in
3320
# Sun C++ 4.2, 5.x and Centerline C++
3321
_LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
3322
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3323
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3324
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3325
$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'
3327
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3328
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3330
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3332
# The compiler driver will combine and reorder linker options,
3333
# but understands `-z linker_flag'.
3334
# Supported since Solaris 2.6 (maybe 2.5.1?)
3335
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
3338
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3340
output_verbose_link_cmd='echo'
3342
# Archives containing C++ object files must be created using
3343
# "CC -xar", where "CC" is the Sun C++ compiler. This is
3344
# necessary to make sure instantiated templates are included
3346
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3349
# Green Hills C++ Compiler
3350
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3352
# The C++ compiler must be used to create the archive.
3353
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
3356
# GNU C++ compiler with Solaris linker
3357
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
3358
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
3359
if $CC --version | grep -v '^2\.7' > /dev/null; then
3360
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3361
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3362
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3364
# Commands to make compiler produce verbose output that lists
3365
# what "hidden" libraries, object files and flags are used when
3366
# linking a shared library.
3367
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3369
# g++ 2.7 appears to require `-G' NOT `-shared' on this
3371
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
3372
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
3373
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
3375
# Commands to make compiler produce verbose output that lists
3376
# what "hidden" libraries, object files and flags are used when
3377
# linking a shared library.
3378
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
3381
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
3383
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3385
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
3392
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
3393
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3394
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3395
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3396
runpath_var='LD_RUN_PATH'
3398
case $cc_basename in
3400
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3401
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3404
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3405
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3409
sysv5* | sco3.2v5* | sco5v6*)
3410
# Note: We can NOT use -z defs as we might desire, because we do not
3411
# link with -lc, and that would cause any symbols used from libc to
3412
# always be unresolved, which means just about no library would
3413
# ever link correctly. If we're not using GNU ld we use -z text
3414
# though, which does catch some bad symbols but isn't as heavy-handed
3416
# For security reasons, it is highly recommended that you always
3417
# use absolute paths for naming shared libraries, and exclude the
3418
# DT_RUNPATH tag from executables and libraries. But doing so
3419
# requires that you compile everything twice, which is a pain.
3420
# So that behaviour is only enabled if SCOABSPATH is set to a
3421
# non-empty value in the environment. Most likely only useful for
3422
# creating official distributions of packages.
3423
# This is a hack until libtool officially supports absolute path
3424
# names for shared libraries.
3425
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3426
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
3427
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3428
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3429
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3430
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3431
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3432
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3433
runpath_var='LD_RUN_PATH'
3435
case $cc_basename in
3437
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3438
_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'
3441
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3442
_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'
3447
case $cc_basename in
3449
# NonStop-UX NCC 3.20
3450
# FIXME: insert proper C++ library support
3451
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3454
# FIXME: insert proper C++ library support
3455
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3460
# FIXME: insert proper C++ library support
3461
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3464
# FIXME: insert proper C++ library support
3465
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3468
AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
3469
test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
3471
_LT_AC_TAGVAR(GCC, $1)="$GXX"
3472
_LT_AC_TAGVAR(LD, $1)="$LD"
3475
## There is no encapsulation within the following macros, do not change
3476
## the running order or otherwise move them around unless you know exactly
3477
## what you are doing...
3478
AC_LIBTOOL_POSTDEP_PREDEP($1)
3479
AC_LIBTOOL_PROG_COMPILER_PIC($1)
3480
AC_LIBTOOL_PROG_CC_C_O($1)
3481
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3482
AC_LIBTOOL_PROG_LD_SHLIBS($1)
3483
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3484
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3486
AC_LIBTOOL_CONFIG($1)
3493
with_gnu_ldcxx=$with_gnu_ld
3494
with_gnu_ld=$lt_save_with_gnu_ld
3495
lt_cv_path_LDCXX=$lt_cv_path_LD
3496
lt_cv_path_LD=$lt_save_path_LD
3497
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
3498
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
3500
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4071: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], [AC_REQUIRE([LT_AC_PROG_SED])dnl
3501
dnl we can't use the lt_simple_compile_test_code here,
3502
dnl because it contains code intended for an executable,
3503
dnl not a library. It's possible we should let each
3504
dnl tag define a new lt_????_link_test_code variable,
3505
dnl but it's only used here...
3506
ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
3508
void foo (void) { a = 0; }
3510
],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
3514
Foo (void) { a = 0; }
3519
],[$1],[F77],[cat > conftest.$ac_ext <<EOF
3527
],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
3530
public void bar (void) {
3536
dnl Parse the compiler output and extract the necessary
3537
dnl objects, libraries and library flags.
3538
if AC_TRY_EVAL(ac_compile); then
3539
# Parse the compiler output and extract the necessary
3540
# objects, libraries and library flags.
3542
# Sentinel used to keep track of whether or not we are before
3543
# the conftest object file.
3544
pre_test_object_deps_done=no
3546
# The `*' in the case matches for architectures that use `case' in
3547
# $output_verbose_cmd can trigger glob expansion during the loop
3548
# eval without this substitution.
3549
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
3551
for p in `eval $output_verbose_link_cmd`; do
3555
# Some compilers place space between "-{L,R}" and the path.
3558
|| test $p = "-R"; then
3565
if test "$pre_test_object_deps_done" = no; then
3568
# Internal compiler library paths should come after those
3569
# provided the user. The postdeps already come after the
3570
# user supplied libs so there is no need to process them.
3571
if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
3572
_LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
3574
_LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
3577
# The "-l" case would never come before the object being
3578
# linked, so don't bother handling this case.
3581
if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
3582
_LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
3584
_LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
3590
# This assumes that the test object file only shows up
3591
# once in the compiler output.
3592
if test "$p" = "conftest.$objext"; then
3593
pre_test_object_deps_done=yes
3597
if test "$pre_test_object_deps_done" = no; then
3598
if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
3599
_LT_AC_TAGVAR(predep_objects, $1)="$p"
3601
_LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
3604
if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
3605
_LT_AC_TAGVAR(postdep_objects, $1)="$p"
3607
_LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
3612
*) ;; # Ignore the rest.
3620
echo "libtool.m4: error: problem compiling $1 test program"
3623
$rm -f confest.$objext
3625
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
3626
if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
3627
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
3630
# PORTME: override above test on systems where it is broken
3634
# Interix 3.5 installs completely hosed .la files for C++, so rather than
3635
# hack all around it, let's just trust "g++" to DTRT.
3636
_LT_AC_TAGVAR(predep_objects,$1)=
3637
_LT_AC_TAGVAR(postdep_objects,$1)=
3638
_LT_AC_TAGVAR(postdeps,$1)=
3642
case `$CC -V 2>&1 | sed 5q` in
3646
# The more standards-conforming stlport4 library is
3647
# incompatible with the Cstd library. Avoid specifying
3648
# it if it's in CXXFLAGS. Ignore libCrun as
3649
# -library=stlport4 depends on it.
3650
case " $CXX $CXXFLAGS " in
3651
*" -library=stlport4 "*)
3652
solaris_use_stlport4=yes
3655
if test "$solaris_use_stlport4" != yes; then
3656
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
3663
case $cc_basename in
3665
# The more standards-conforming stlport4 library is
3666
# incompatible with the Cstd library. Avoid specifying
3667
# it if it's in CXXFLAGS. Ignore libCrun as
3668
# -library=stlport4 depends on it.
3669
case " $CXX $CXXFLAGS " in
3670
*" -library=stlport4 "*)
3671
solaris_use_stlport4=yes
3675
# Adding this requires a known-good setup of shared libraries for
3676
# Sun compiler versions before 5.6, else PIC objects from an old
3677
# archive will be linked into the output, leading to subtle bugs.
3678
if test "$solaris_use_stlport4" != yes; then
3679
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
3686
case " $_LT_AC_TAGVAR(postdeps, $1) " in
3687
*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
3690
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4078: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
3691
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4179: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG], [AC_REQUIRE([AC_PROG_F77])
3692
AC_LANG_PUSH(Fortran 77)
3694
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3695
_LT_AC_TAGVAR(allow_undefined_flag, $1)=
3696
_LT_AC_TAGVAR(always_export_symbols, $1)=no
3697
_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
3698
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
3699
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3700
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
3701
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
3702
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
3703
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
3704
_LT_AC_TAGVAR(hardcode_automatic, $1)=no
3705
_LT_AC_TAGVAR(module_cmds, $1)=
3706
_LT_AC_TAGVAR(module_expsym_cmds, $1)=
3707
_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
3708
_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3709
_LT_AC_TAGVAR(no_undefined_flag, $1)=
3710
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
3711
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
3713
# Source file extension for f77 test sources.
3716
# Object file extension for compiled f77 test sources.
3718
_LT_AC_TAGVAR(objext, $1)=$objext
3720
# Code to be used in simple compile tests
3721
lt_simple_compile_test_code="\
3727
# Code to be used in simple link tests
3728
lt_simple_link_test_code="\
3733
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3736
# save warnings/boilerplate of simple test code
3737
_LT_COMPILER_BOILERPLATE
3738
_LT_LINKER_BOILERPLATE
3740
# Allow CC to be a program name with arguments.
3744
_LT_AC_TAGVAR(compiler, $1)=$CC
3745
_LT_CC_BASENAME([$compiler])
3747
AC_MSG_CHECKING([if libtool supports shared libraries])
3748
AC_MSG_RESULT([$can_build_shared])
3750
AC_MSG_CHECKING([whether to build shared libraries])
3751
test "$can_build_shared" = "no" && enable_shared=no
3753
# On AIX, shared libraries and static libraries use the same namespace, and
3754
# are all built from PIC.
3757
test "$enable_shared" = yes && enable_static=no
3758
if test -n "$RANLIB"; then
3759
archive_cmds="$archive_cmds~\$RANLIB \$lib"
3760
postinstall_cmds='$RANLIB $lib'
3764
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3765
test "$enable_shared" = yes && enable_static=no
3769
AC_MSG_RESULT([$enable_shared])
3771
AC_MSG_CHECKING([whether to build static libraries])
3772
# Make sure either enable_shared or enable_static is yes.
3773
test "$enable_shared" = yes || enable_static=yes
3774
AC_MSG_RESULT([$enable_static])
3776
_LT_AC_TAGVAR(GCC, $1)="$G77"
3777
_LT_AC_TAGVAR(LD, $1)="$LD"
3779
AC_LIBTOOL_PROG_COMPILER_PIC($1)
3780
AC_LIBTOOL_PROG_CC_C_O($1)
3781
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3782
AC_LIBTOOL_PROG_LD_SHLIBS($1)
3783
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3784
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3786
AC_LIBTOOL_CONFIG($1)
3791
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4187: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
3792
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4239: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], [AC_LANG_SAVE
3794
# Source file extension for Java test sources.
3797
# Object file extension for compiled Java test sources.
3799
_LT_AC_TAGVAR(objext, $1)=$objext
3801
# Code to be used in simple compile tests
3802
lt_simple_compile_test_code="class foo {}"
3804
# Code to be used in simple link tests
3805
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
3807
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3810
# save warnings/boilerplate of simple test code
3811
_LT_COMPILER_BOILERPLATE
3812
_LT_LINKER_BOILERPLATE
3814
# Allow CC to be a program name with arguments.
3818
_LT_AC_TAGVAR(compiler, $1)=$CC
3819
_LT_CC_BASENAME([$compiler])
3821
# GCJ did not exist at the time GCC didn't implicitly link libc in.
3822
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3824
_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
3827
## There is no encapsulation within the following macros, do not change
3828
## the running order or otherwise move them around unless you know exactly
3829
## what you are doing...
3830
AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
3831
AC_LIBTOOL_PROG_COMPILER_PIC($1)
3832
AC_LIBTOOL_PROG_CC_C_O($1)
3833
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3834
AC_LIBTOOL_PROG_LD_SHLIBS($1)
3835
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3836
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3838
AC_LIBTOOL_CONFIG($1)
3843
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4247: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
3844
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4283: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG], [AC_LANG_SAVE
3846
# Source file extension for RC test sources.
3849
# Object file extension for compiled RC test sources.
3851
_LT_AC_TAGVAR(objext, $1)=$objext
3853
# Code to be used in simple compile tests
3854
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
3856
# Code to be used in simple link tests
3857
lt_simple_link_test_code="$lt_simple_compile_test_code"
3859
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3862
# save warnings/boilerplate of simple test code
3863
_LT_COMPILER_BOILERPLATE
3864
_LT_LINKER_BOILERPLATE
3866
# Allow CC to be a program name with arguments.
3870
_LT_AC_TAGVAR(compiler, $1)=$CC
3871
_LT_CC_BASENAME([$compiler])
3872
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
3874
AC_LIBTOOL_CONFIG($1)
3879
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4783: -1- AC_DEFUN([AC_LIBTOOL_CONFIG], [# The else clause should only fire when bootstrapping the
3880
# libtool distribution, otherwise you forgot to ship ltmain.sh
3881
# with your package, and you will get complaints that there are
3882
# no rules to generate ltmain.sh.
3883
if test -f "$ltmain"; then
3884
# See if we are running on zsh, and set the options which allow our commands through
3885
# without removal of \ escapes.
3886
if test -n "${ZSH_VERSION+set}" ; then
3887
setopt NO_GLOB_SUBST
3889
# Now quote all the things that may contain metacharacters while being
3890
# careful not to overquote the AC_SUBSTed values. We take copies of the
3891
# variables and quote the copies for generation of the libtool script.
3892
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
3894
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
3895
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
3896
deplibs_check_method reload_flag reload_cmds need_locks \
3897
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
3898
lt_cv_sys_global_symbol_to_c_name_address \
3899
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
3900
old_postinstall_cmds old_postuninstall_cmds \
3901
_LT_AC_TAGVAR(compiler, $1) \
3902
_LT_AC_TAGVAR(CC, $1) \
3903
_LT_AC_TAGVAR(LD, $1) \
3904
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
3905
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
3906
_LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
3907
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
3908
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
3909
_LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
3910
_LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
3911
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
3912
_LT_AC_TAGVAR(old_archive_cmds, $1) \
3913
_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
3914
_LT_AC_TAGVAR(predep_objects, $1) \
3915
_LT_AC_TAGVAR(postdep_objects, $1) \
3916
_LT_AC_TAGVAR(predeps, $1) \
3917
_LT_AC_TAGVAR(postdeps, $1) \
3918
_LT_AC_TAGVAR(compiler_lib_search_path, $1) \
3919
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
3920
_LT_AC_TAGVAR(archive_cmds, $1) \
3921
_LT_AC_TAGVAR(archive_expsym_cmds, $1) \
3922
_LT_AC_TAGVAR(postinstall_cmds, $1) \
3923
_LT_AC_TAGVAR(postuninstall_cmds, $1) \
3924
_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
3925
_LT_AC_TAGVAR(allow_undefined_flag, $1) \
3926
_LT_AC_TAGVAR(no_undefined_flag, $1) \
3927
_LT_AC_TAGVAR(export_symbols_cmds, $1) \
3928
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
3929
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
3930
_LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
3931
_LT_AC_TAGVAR(hardcode_automatic, $1) \
3932
_LT_AC_TAGVAR(module_cmds, $1) \
3933
_LT_AC_TAGVAR(module_expsym_cmds, $1) \
3934
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
3935
_LT_AC_TAGVAR(fix_srcfile_path, $1) \
3936
_LT_AC_TAGVAR(exclude_expsyms, $1) \
3937
_LT_AC_TAGVAR(include_expsyms, $1); do
3940
_LT_AC_TAGVAR(old_archive_cmds, $1) | \
3941
_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
3942
_LT_AC_TAGVAR(archive_cmds, $1) | \
3943
_LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
3944
_LT_AC_TAGVAR(module_cmds, $1) | \
3945
_LT_AC_TAGVAR(module_expsym_cmds, $1) | \
3946
_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
3947
_LT_AC_TAGVAR(export_symbols_cmds, $1) | \
3948
extract_expsyms_cmds | reload_cmds | finish_cmds | \
3949
postinstall_cmds | postuninstall_cmds | \
3950
old_postinstall_cmds | old_postuninstall_cmds | \
3951
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
3952
# Double-quote double-evaled strings.
3953
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
3956
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
3962
*'\[$]0 --fallback-echo"')
3963
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
3968
[cfgfile="${ofile}T"
3969
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
3971
AC_MSG_NOTICE([creating $ofile])],
3974
cat <<__EOF__ >> "$cfgfile"
3978
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
3979
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
3980
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
3982
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
3983
# Free Software Foundation, Inc.
3985
# This file is part of GNU Libtool:
3986
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
3988
# This program is free software; you can redistribute it and/or modify
3989
# it under the terms of the GNU General Public License as published by
3990
# the Free Software Foundation; either version 2 of the License, or
3991
# (at your option) any later version.
3993
# This program is distributed in the hope that it will be useful, but
3994
# WITHOUT ANY WARRANTY; without even the implied warranty of
3995
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3996
# General Public License for more details.
3998
# You should have received a copy of the GNU General Public License
3999
# along with this program; if not, write to the Free Software
4000
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
4002
# As a special exception to the GNU General Public License, if you
4003
# distribute this file as part of a program that contains a
4004
# configuration script generated by Autoconf, you may include it under
4005
# the same distribution terms that you use for the rest of that program.
4007
# A sed program that does not truncate output.
4010
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
4011
Xsed="$SED -e 1s/^X//"
4013
# The HP-UX ksh and POSIX shell print the target directory to stdout
4015
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4017
# The names of the tagged configurations supported by this script.
4020
# ### BEGIN LIBTOOL CONFIG],
4021
[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
4023
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4025
# Shell to use when invoking shell scripts.
4028
# Whether or not to build shared libraries.
4029
build_libtool_libs=$enable_shared
4031
# Whether or not to build static libraries.
4032
build_old_libs=$enable_static
4034
# Whether or not to add -lc for building shared libraries.
4035
build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
4037
# Whether or not to disallow shared libs when runtime libs are static
4038
allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
4040
# Whether or not to optimize for fast installation.
4041
fast_install=$enable_fast_install
4044
host_alias=$host_alias
4049
build_alias=$build_alias
4053
# An echo program that does not interpret backslashes.
4058
AR_FLAGS=$lt_AR_FLAGS
4063
# LTCC compiler flags.
4064
LTCFLAGS=$lt_LTCFLAGS
4066
# A language-specific compiler.
4067
CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
4069
# Is the compiler the GNU C compiler?
4070
with_gcc=$_LT_AC_TAGVAR(GCC, $1)
4075
# The linker used to build libraries.
4076
LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
4078
# Whether we need hard or soft links.
4081
# A BSD-compatible nm program.
4084
# A symbol stripping program
4087
# Used to examine libraries when file_magic_cmd begins "file"
4088
MAGIC_CMD=$MAGIC_CMD
4090
# Used on cygwin: DLL creation program.
4093
# Used on cygwin: object dumper.
4096
# Used on cygwin: assembler.
4099
# The name of the directory that contains temporary libtool files.
4102
# How to create reloadable object files.
4103
reload_flag=$lt_reload_flag
4104
reload_cmds=$lt_reload_cmds
4106
# How to pass a linker flag through the compiler.
4107
wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
4109
# Object file suffix (normally "o").
4112
# Old archive suffix (normally "a").
4115
# Shared library suffix (normally ".so").
4116
shrext_cmds='$shrext_cmds'
4118
# Executable file suffix (normally "").
4121
# Additional compiler flags for building library objects.
4122
pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
4125
# What is the maximum length of a command?
4126
max_cmd_len=$lt_cv_sys_max_cmd_len
4128
# Does compiler simultaneously support -c and -o options?
4129
compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
4131
# Must we lock files when doing compilation?
4132
need_locks=$lt_need_locks
4134
# Do we need the lib prefix for modules?
4135
need_lib_prefix=$need_lib_prefix
4137
# Do we need a version for libraries?
4138
need_version=$need_version
4140
# Whether dlopen is supported.
4141
dlopen_support=$enable_dlopen
4143
# Whether dlopen of programs is supported.
4144
dlopen_self=$enable_dlopen_self
4146
# Whether dlopen of statically linked programs is supported.
4147
dlopen_self_static=$enable_dlopen_self_static
4149
# Compiler flag to prevent dynamic linking.
4150
link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
4152
# Compiler flag to turn off builtin functions.
4153
no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
4155
# Compiler flag to allow reflexive dlopens.
4156
export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
4158
# Compiler flag to generate shared objects directly from archives.
4159
whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
4161
# Compiler flag to generate thread-safe objects.
4162
thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
4164
# Library versioning type.
4165
version_type=$version_type
4167
# Format of library name prefix.
4168
libname_spec=$lt_libname_spec
4170
# List of archive names. First name is the real one, the rest are links.
4171
# The last name is the one that the linker finds with -lNAME.
4172
library_names_spec=$lt_library_names_spec
4174
# The coded name of the library, if different from the real name.
4175
soname_spec=$lt_soname_spec
4177
# Commands used to build and install an old-style archive.
4179
old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
4180
old_postinstall_cmds=$lt_old_postinstall_cmds
4181
old_postuninstall_cmds=$lt_old_postuninstall_cmds
4183
# Create an old-style archive from a shared archive.
4184
old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
4186
# Create a temporary old-style archive to link instead of a shared archive.
4187
old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
4189
# Commands used to build and install a shared archive.
4190
archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
4191
archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
4192
postinstall_cmds=$lt_postinstall_cmds
4193
postuninstall_cmds=$lt_postuninstall_cmds
4195
# Commands used to build a loadable module (assumed same as above if empty)
4196
module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
4197
module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
4199
# Commands to strip libraries.
4200
old_striplib=$lt_old_striplib
4201
striplib=$lt_striplib
4203
# Dependencies to place before the objects being linked to create a
4205
predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
4207
# Dependencies to place after the objects being linked to create a
4209
postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
4211
# Dependencies to place before the objects being linked to create a
4213
predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
4215
# Dependencies to place after the objects being linked to create a
4217
postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
4219
# The directories searched by this compiler when creating a shared
4221
compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
4223
# The library search path used internally by the compiler when linking
4225
compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
4227
# Method to check whether dependent libraries are shared objects.
4228
deplibs_check_method=$lt_deplibs_check_method
4230
# Command to use when deplibs_check_method == file_magic.
4231
file_magic_cmd=$lt_file_magic_cmd
4233
# Flag that allows shared libraries with undefined symbols to be built.
4234
allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
4236
# Flag that forces no undefined symbols.
4237
no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
4239
# Commands used to finish a libtool library installation in a directory.
4240
finish_cmds=$lt_finish_cmds
4242
# Same as above, but a single script fragment to be evaled but not shown.
4243
finish_eval=$lt_finish_eval
4245
# Take the output of nm and produce a listing of raw symbols and C names.
4246
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
4248
# Transform the output of nm in a proper C declaration
4249
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
4251
# Transform the output of nm in a C name address pair
4252
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
4254
# This is the shared library runtime path variable.
4255
runpath_var=$runpath_var
4257
# This is the shared library path variable.
4258
shlibpath_var=$shlibpath_var
4260
# Is shlibpath searched before the hard-coded library search path?
4261
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
4263
# How to hardcode a shared library path into an executable.
4264
hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
4266
# Whether we should hardcode library paths into libraries.
4267
hardcode_into_libs=$hardcode_into_libs
4269
# Flag to hardcode \$libdir into a binary during linking.
4270
# This must work even if \$libdir does not exist.
4271
hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
4273
# If ld is used when linking, flag to hardcode \$libdir into
4274
# a binary during linking. This must work even if \$libdir does
4276
hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
4278
# Whether we need a single -rpath flag with a separated argument.
4279
hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
4281
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
4283
hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
4285
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
4287
hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
4289
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
4290
# the resulting binary.
4291
hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
4293
# Set to yes if building a shared library automatically hardcodes DIR into the library
4294
# and all subsequent libraries and executables linked against it.
4295
hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
4297
# Variables whose values should be saved in libtool wrapper scripts and
4298
# restored at relink time.
4299
variables_saved_for_relink="$variables_saved_for_relink"
4301
# Whether libtool must link a program against all its dependency libraries.
4302
link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
4304
# Compile-time system search path for libraries
4305
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
4307
# Run-time system search path for libraries
4308
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4310
# Fix the shell variable \$srcfile for the compiler.
4311
fix_srcfile_path=$lt_fix_srcfile_path
4313
# Set to yes if exported symbols are required.
4314
always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
4316
# The commands to list exported symbols.
4317
export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
4319
# The commands to extract the exported symbol list from a shared archive.
4320
extract_expsyms_cmds=$lt_extract_expsyms_cmds
4322
# Symbols that should not be listed in the preloaded symbols.
4323
exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
4325
# Symbols that must always be exported.
4326
include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
4329
[# ### END LIBTOOL CONFIG],
4330
[# ### END LIBTOOL TAG CONFIG: $tagname])
4337
cat <<\EOF >> "$cfgfile"
4339
# AIX sometimes has problems with the GCC collect2 program. For some
4340
# reason, if we set the COLLECT_NAMES environment variable, the problems
4341
# vanish in a puff of smoke.
4342
if test "X${COLLECT_NAMES+set}" != Xset; then
4344
export COLLECT_NAMES
4350
# We use sed instead of cat because bash on DJGPP gets confused if
4351
# if finds mixed CR/LF and LF-only lines. Since sed operates in
4352
# text mode, it properly converts lines to CR/LF. This bash problem
4353
# is reportedly fixed, but why not run on old versions too?
4354
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
4356
mv -f "$cfgfile" "$ofile" || \
4357
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
4361
# If there is no Makefile yet, we rely on a make rule to execute
4362
# `config.status --recheck' to rerun these tests and create the
4363
# libtool script then.
4364
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
4365
if test -f "$ltmain_in"; then
4366
test -f Makefile && make "$ltmain"
4370
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:4801: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
4372
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
4374
if test "$GCC" = yes; then
4375
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
4377
AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
4378
lt_cv_prog_compiler_rtti_exceptions,
4379
[-fno-rtti -fno-exceptions], [],
4380
[_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
4383
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:5011: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST])
4384
AC_REQUIRE([LT_AC_PROG_SED])
4385
AC_REQUIRE([AC_PROG_NM])
4386
AC_REQUIRE([AC_OBJEXT])
4387
# Check for command to grab the raw symbol name followed by C symbol from nm.
4388
AC_MSG_CHECKING([command to parse $NM output from $compiler object])
4389
AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
4391
# These are sane defaults that work on at least a few old systems.
4392
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
4394
# Character class describing NM global symbol codes.
4395
symcode='[[BCDEGRST]]'
4397
# Regexp to match symbols that can be accessed directly from C.
4398
sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
4400
# Transform an extracted symbol line into a proper C declaration
4401
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
4403
# Transform an extracted symbol line into symbol name and symbol address
4404
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'"
4406
# Define system-specific variables.
4411
cygwin* | mingw* | pw32*)
4412
symcode='[[ABCDGISTW]]'
4414
hpux*) # Its linker distinguishes data from code symbols
4415
if test "$host_cpu" = ia64; then
4416
symcode='[[ABCDEGRST]]'
4418
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4419
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'"
4421
linux* | k*bsd*-gnu)
4422
if test "$host_cpu" = ia64; then
4423
symcode='[[ABCDGIRSTW]]'
4424
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4425
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'"
4429
if test "$host_cpu" = ia64; then
4430
symcode='[[ABCDGIRSTW]]'
4431
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4432
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'"
4436
symcode='[[BCDEGRST]]'
4439
symcode='[[BCDEGQRST]]'
4450
sysv5* | sco5v6* | unixware* | OpenUNIX*)
4454
symcode='[[DFNSTU]]'
4458
# Handle CRLF in mingw tool chain
4462
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4466
# If we're using GNU nm, then use its standard symbol codes.
4467
case `$NM -V 2>&1` in
4468
*GNU* | *'with BFD'*)
4469
symcode='[[ABCDGIRSTW]]' ;;
4472
# Try without a prefix undercore, then with it.
4473
for ac_symprfx in "" "_"; do
4475
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4476
symxfrm="\\1 $ac_symprfx\\2 \\2"
4478
# Write the raw and C identifiers.
4479
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4481
# Check to see that the pipe works correctly.
4485
cat > conftest.$ac_ext <<EOF
4490
void nm_test_func(){}
4494
int main(){nm_test_var='a';nm_test_func();return(0);}
4497
if AC_TRY_EVAL(ac_compile); then
4498
# Now try to grab the symbols.
4500
if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
4501
# Try sorting and uniquifying the output.
4502
if sort "$nlist" | uniq > "$nlist"T; then
4503
mv -f "$nlist"T "$nlist"
4508
# Make sure that we snagged all the symbols we need.
4509
if grep ' nm_test_var$' "$nlist" >/dev/null; then
4510
if grep ' nm_test_func$' "$nlist" >/dev/null; then
4511
cat <<EOF > conftest.$ac_ext
4517
# Now generate the symbol file.
4518
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
4520
cat <<EOF >> conftest.$ac_ext
4521
#if defined (__STDC__) && __STDC__
4522
# define lt_ptr_t void *
4524
# define lt_ptr_t char *
4528
/* The mapping between symbol names and symbols. */
4533
lt_preloaded_symbols[[]] =
4536
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
4537
cat <<\EOF >> conftest.$ac_ext
4545
# Now try linking the two files.
4546
mv conftest.$ac_objext conftstm.$ac_objext
4547
lt_save_LIBS="$LIBS"
4548
lt_save_CFLAGS="$CFLAGS"
4549
LIBS="conftstm.$ac_objext"
4550
CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
4551
if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
4554
LIBS="$lt_save_LIBS"
4555
CFLAGS="$lt_save_CFLAGS"
4557
echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
4560
echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
4563
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
4566
echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4567
cat conftest.$ac_ext >&5
4569
rm -rf conftest* conftst*
4571
# Do not use the global_symbol_pipe unless it works.
4572
if test "$pipe_works" = yes; then
4575
lt_cv_sys_global_symbol_pipe=
4579
if test -z "$lt_cv_sys_global_symbol_pipe"; then
4580
lt_cv_sys_global_symbol_to_cdecl=
4582
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4583
AC_MSG_RESULT(failed)
4588
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:5575: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
4589
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4590
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
4592
AC_MSG_CHECKING([for $compiler option to produce PIC])
4594
# C++ specific cases for pic, static, wl, etc.
4595
if test "$GXX" = yes; then
4596
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4597
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4601
# All AIX code is PIC.
4602
if test "$host_cpu" = ia64; then
4603
# AIX 5 now supports IA64 processor
4604
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4608
# FIXME: we need at least 68020 code to build shared libraries, but
4609
# adding the `-m68020' flag to GCC prevents building anything better,
4611
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4613
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4614
# PIC is the default for these OSes.
4616
mingw* | cygwin* | os2* | pw32*)
4617
# This hack is so that the source file can tell whether it is being
4618
# built for inclusion in a dll (and should export symbols for example).
4619
# Although the cygwin gcc ignores -fPIC, still need this for old-style
4620
# (--disable-auto-import) libraries
4621
m4_if([$1], [GCJ], [],
4622
[_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4624
darwin* | rhapsody*)
4625
# PIC is the default on this platform
4626
# Common symbols not allowed in MH_DYLIB files
4627
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4630
# DJGPP does not support shared libraries at all
4631
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4634
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
4635
# Instead, we relocate shared libraries at runtime.
4638
if test -d /usr/nec; then
4639
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4643
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4649
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4654
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4660
# All AIX code is PIC.
4661
if test "$host_cpu" = ia64; then
4662
# AIX 5 now supports IA64 processor
4663
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4665
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4669
case $cc_basename in
4671
# Green Hills C++ Compiler
4672
# _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"
4677
# PIC is the default on this platform
4678
# Common symbols not allowed in MH_DYLIB files
4679
case $cc_basename in
4681
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
4682
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4687
case $cc_basename in
4689
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4692
# Green Hills C++ Compiler
4693
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4699
freebsd* | dragonfly*)
4700
# FreeBSD uses GNU C++
4702
hpux9* | hpux10* | hpux11*)
4703
case $cc_basename in
4705
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4706
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4707
if test "$host_cpu" != ia64; then
4708
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4712
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4713
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4719
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4728
# This is c89, which is MS Visual C++ (no shared libs)
4729
# Anyone wants to do a port?
4731
irix5* | irix6* | nonstopux*)
4732
case $cc_basename in
4734
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4735
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4736
# CC pic flag -KPIC is the default.
4742
linux* | k*bsd*-gnu)
4743
case $cc_basename in
4746
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4747
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4751
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4752
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4753
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4756
# Portland Group C++ compiler.
4757
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4758
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4759
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4763
# Make sure the PIC flag is empty. It appears that all Alpha
4764
# Linux and Compaq Tru64 Unix objects are PIC.
4765
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4766
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4769
case `$CC -V 2>&1 | sed 5q` in
4772
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4773
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4774
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4785
case $cc_basename in
4787
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
4795
osf3* | osf4* | osf5*)
4796
case $cc_basename in
4798
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4801
# Rational C++ 2.4.1
4802
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4805
# Digital/Compaq C++
4806
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4807
# Make sure the PIC flag is empty. It appears that all Alpha
4808
# Linux and Compaq Tru64 Unix objects are PIC.
4809
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4810
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4819
case $cc_basename in
4821
# Sun C++ 4.2, 5.x and Centerline C++
4822
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4823
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4824
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4827
# Green Hills C++ Compiler
4828
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
4835
case $cc_basename in
4838
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4839
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4843
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
4850
case $cc_basename in
4852
# NonStop-UX NCC 3.20
4853
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4859
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
4860
case $cc_basename in
4862
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4863
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4864
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4871
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4877
if test "$GCC" = yes; then
4878
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4879
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
4883
# All AIX code is PIC.
4884
if test "$host_cpu" = ia64; then
4885
# AIX 5 now supports IA64 processor
4886
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4891
# FIXME: we need at least 68020 code to build shared libraries, but
4892
# adding the `-m68020' flag to GCC prevents building anything better,
4894
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4897
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4898
# PIC is the default for these OSes.
4901
mingw* | cygwin* | pw32* | os2*)
4902
# This hack is so that the source file can tell whether it is being
4903
# built for inclusion in a dll (and should export symbols for example).
4904
# Although the cygwin gcc ignores -fPIC, still need this for old-style
4905
# (--disable-auto-import) libraries
4906
m4_if([$1], [GCJ], [],
4907
[_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4910
darwin* | rhapsody*)
4911
# PIC is the default on this platform
4912
# Common symbols not allowed in MH_DYLIB files
4913
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4917
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
4918
# Instead, we relocate shared libraries at runtime.
4922
# Just because we use GCC doesn't mean we suddenly get shared libraries
4923
# on systems that don't support them.
4924
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
4929
if test -d /usr/nec; then
4930
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
4935
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4942
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4948
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4952
# PORTME Check for flag to pass linker flags through the system compiler.
4955
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4956
if test "$host_cpu" = ia64; then
4957
# AIX 5 now supports IA64 processor
4958
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4960
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
4964
# PIC is the default on this platform
4965
# Common symbols not allowed in MH_DYLIB files
4966
case $cc_basename in
4968
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
4969
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4974
mingw* | cygwin* | pw32* | os2*)
4975
# This hack is so that the source file can tell whether it is being
4976
# built for inclusion in a dll (and should export symbols for example).
4977
m4_if([$1], [GCJ], [],
4978
[_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4981
hpux9* | hpux10* | hpux11*)
4982
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4983
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4990
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4993
# Is there a better lt_prog_compiler_static that works with the bundled CC?
4994
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4997
irix5* | irix6* | nonstopux*)
4998
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4999
# PIC (with -KPIC) is the default.
5000
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5004
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5005
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5008
linux* | k*bsd*-gnu)
5009
case $cc_basename in
5010
dnl Added mpicc o this list for building Globus with
5011
dnl mpicc flavors based on icc. In case of other vendorcc
5012
dnl compilers, we have to do something smarter here
5013
icc* | ecc* | mpicc*)
5014
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5015
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5016
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5018
pgcc* | pgf77* | pgf90* | pgf95*)
5019
# Portland Group compilers (*not* the Pentium gcc compiler,
5020
# which looks to be a dead project)
5021
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5022
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5023
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5026
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5027
# All Alpha code is PIC.
5028
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5031
case `$CC -V 2>&1 | sed 5q` in
5034
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5035
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5036
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5039
# Sun Fortran 8.3 passes all unrecognized flags to the linker
5040
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5041
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5042
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
5049
osf3* | osf4* | osf5*)
5050
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5051
# All OSF/1 code is PIC.
5052
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5056
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5060
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5061
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5062
case $cc_basename in
5064
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
5066
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
5071
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5072
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
5073
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5076
sysv4 | sysv4.2uw2* | sysv4.3*)
5077
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5078
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5079
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5083
if test -d /usr/nec ;then
5084
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
5085
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5089
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
5090
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5091
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5092
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5096
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5097
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5101
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
5102
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5106
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
5111
AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
5114
# Check to make sure the PIC flag actually works.
5116
if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
5117
AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
5118
_LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
5119
[$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
5120
[case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
5122
*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
5124
[_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5125
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
5128
# For platforms which do not support PIC, -DPIC is meaningless:
5130
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5133
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
5138
# Check to make sure the static flag actually works.
5140
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5141
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5142
_LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
5143
$lt_tmp_static_flag,
5145
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5147
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6520: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_REQUIRE([LT_AC_PROG_SED])dnl
5148
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5150
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5153
# If we're using GNU nm, then we don't want the "-C" option.
5154
# -C means demangle to AIX nm, but means don't demangle with GNU nm
5155
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5156
_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'
5158
_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'
5162
_LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
5165
_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'
5168
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5171
_LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5174
_LT_AC_TAGVAR(allow_undefined_flag, $1)=
5175
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5176
_LT_AC_TAGVAR(archive_cmds, $1)=
5177
_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
5178
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
5179
_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
5180
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5181
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5182
_LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
5183
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5184
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5185
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5186
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5187
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5188
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5189
_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5190
_LT_AC_TAGVAR(hardcode_automatic, $1)=no
5191
_LT_AC_TAGVAR(module_cmds, $1)=
5192
_LT_AC_TAGVAR(module_expsym_cmds, $1)=
5193
_LT_AC_TAGVAR(always_export_symbols, $1)=no
5194
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5195
# include_expsyms should be a list of space-separated symbols to be *always*
5196
# included in the symbol list
5197
_LT_AC_TAGVAR(include_expsyms, $1)=
5198
# exclude_expsyms can be an extended regexp of symbols to exclude
5199
# it will be wrapped by ` (' and `)$', so one must not match beginning or
5200
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5201
# as well as any symbol that contains `d'.
5202
_LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5203
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5204
# platforms (ab)use it in PIC code, but their linkers get confused if
5205
# the symbol is explicitly referenced. Since portable code cannot
5206
# rely on this symbol name, it's probably fine to never include it in
5207
# preloaded symbol tables.
5208
# Exclude shared library initialization/finalization symbols.
5209
dnl Note also adjust exclude_expsyms for C++ above.
5210
extract_expsyms_cmds=
5211
# Just being paranoid about ensuring that cc_basename is set.
5212
_LT_CC_BASENAME([$compiler])
5214
cygwin* | mingw* | pw32*)
5215
# FIXME: the MSVC++ port hasn't been tested in a loooong time
5216
# When not using gcc, we currently assume that we are using
5217
# Microsoft Visual C++.
5218
if test "$GCC" != yes; then
5223
# we just hope/assume this is gcc and not c89 (= MSVC++)
5231
_LT_AC_TAGVAR(ld_shlibs, $1)=yes
5232
if test "$with_gnu_ld" = yes; then
5233
# If archive_cmds runs LD, not CC, wlarc should be empty
5236
# Set some defaults for GNU ld with shared library support. These
5237
# are reset later if shared libraries are not supported. Putting them
5238
# here allows them to be overridden if necessary.
5239
runpath_var=LD_RUN_PATH
5240
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
5241
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
5242
# ancient GNU ld didn't support --whole-archive et. al.
5243
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
5244
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5246
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5248
supports_anon_versioning=no
5249
case `$LD -v 2>/dev/null` in
5250
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
5251
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
5252
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5253
*\ 2.11.*) ;; # other 2.11 versions
5254
*) supports_anon_versioning=yes ;;
5257
# See if GNU ld supports shared libraries.
5260
# On AIX/PPC, the GNU linker is very broken
5261
if test "$host_cpu" != ia64; then
5262
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5265
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
5266
*** to be unable to reliably create shared libraries on AIX.
5267
*** Therefore, libtool is disabling shared libraries support. If you
5268
*** really care for shared libraries, you may want to modify your PATH
5269
*** so that a non-GNU linker is found, and then restart.
5276
_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)'
5277
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5278
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5280
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5281
# that the semantics of dynamic libraries on AmigaOS, at least up
5282
# to version 4, is to share data among multiple programs linked
5283
# with the same dynamic library. Since this doesn't match the
5284
# behavior of shared libraries on other platforms, we can't use
5286
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5290
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5291
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5292
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5293
# support --undefined. This deserves some investigation. FIXME
5294
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5296
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5300
cygwin* | mingw* | pw32*)
5301
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5302
# as there is no search path for DLLs.
5303
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5304
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5305
_LT_AC_TAGVAR(always_export_symbols, $1)=no
5306
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5307
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5309
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5310
_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'
5311
# If the export-symbols file already is a .def file (1st line
5312
# is EXPORTS), use it as is; otherwise, prepend...
5313
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5314
cp $export_symbols $output_objdir/$soname.def;
5316
echo EXPORTS > $output_objdir/$soname.def;
5317
cat $export_symbols >> $output_objdir/$soname.def;
5319
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5321
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5326
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5327
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5328
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5329
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5330
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5331
# Instead, shared libraries are loaded at an image base (0x10000000 by
5332
# default) and relocated if they conflict, which is a slow very memory
5333
# consuming and fragmenting process. To avoid this, we pick a random,
5334
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5335
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
5336
_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'
5337
_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'
5340
gnu* | linux* | k*bsd*-gnu)
5341
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5343
case $cc_basename,$host_cpu in
5344
pgcc*) # Portland Group C compiler
5345
_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'
5346
tmp_addflag=' $pic_flag'
5348
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
5349
_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'
5350
tmp_addflag=' $pic_flag -Mnomain' ;;
5351
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
5352
tmp_addflag=' -i_dynamic' ;;
5353
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
5354
tmp_addflag=' -i_dynamic -nofor_main' ;;
5355
ifc* | ifort*) # Intel Fortran compiler
5356
tmp_addflag=' -nofor_main' ;;
5358
case `$CC -V 2>&1 | sed 5q` in
5359
*Sun\ C*) # Sun C 5.9
5360
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5361
tmp_sharedflag='-G' ;;
5362
*Sun\ F*) # Sun Fortran 8.3
5363
tmp_sharedflag='-G' ;;
5365
tmp_sharedflag='-shared' ;;
5367
_LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5369
if test $supports_anon_versioning = yes; then
5370
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
5371
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5372
$echo "local: *; };" >> $output_objdir/$libname.ver~
5373
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5376
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5381
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5382
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5385
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5386
_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'
5391
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
5392
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5395
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
5396
*** create shared libraries on Solaris systems. Therefore, libtool
5397
*** is disabling shared libraries support. We urge you to upgrade GNU
5398
*** binutils to release 2.9.1 or newer. Another option is to modify
5399
*** your PATH or compiler configuration so that the native linker is
5400
*** used, and then restart.
5403
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5404
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5405
_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'
5407
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5411
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5412
case `$LD -v 2>&1` in
5413
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5414
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5417
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
5418
*** reliably create shared libraries on SCO systems. Therefore, libtool
5419
*** is disabling shared libraries support. We urge you to upgrade GNU
5420
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5421
*** your PATH or compiler configuration so that the native linker is
5422
*** used, and then restart.
5427
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5428
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
5429
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
5430
_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'
5432
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5439
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5441
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5442
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5446
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5447
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5448
_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'
5450
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5455
if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
5457
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5458
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
5459
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
5462
# PORTME fill in a description of your system's linker (not GNU ld)
5465
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5466
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
5467
_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'
5468
# Note: this linker hardcodes the directories in LIBPATH if there
5469
# are no directories specified by -L.
5470
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5471
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
5472
# Neither direct hardcoding nor static linking is supported with a
5474
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5479
if test "$host_cpu" = ia64; then
5480
# On IA64, the linker does run time linking by default, so we don't
5481
# have to do anything special.
5482
aix_use_runtimelinking=no
5483
exp_sym_flag='-Bexport'
5486
# If we're using GNU nm, then we don't want the "-C" option.
5487
# -C means demangle to AIX nm, but means don't demangle with GNU nm
5488
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5489
_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'
5491
_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'
5493
aix_use_runtimelinking=no
5495
# Test if we are trying to use run time linking or normal
5496
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
5497
# need to do runtime linking.
5498
case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5499
for ld_flag in $LDFLAGS; do
5500
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5501
aix_use_runtimelinking=yes
5508
exp_sym_flag='-bexport'
5509
no_entry_flag='-bnoentry'
5512
# When large executables or shared objects are built, AIX ld can
5513
# have problems creating the table of contents. If linking a library
5514
# or program results in "error TOC overflow" add -mminimal-toc to
5515
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5516
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5518
_LT_AC_TAGVAR(archive_cmds, $1)=''
5519
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5520
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
5521
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5523
if test "$GCC" = yes; then
5524
case $host_os in aix4.[[012]]|aix4.[[012]].*)
5525
# We only want to do this on AIX 4.2 and lower, the check
5526
# below for broken collect2 doesn't work under 4.3+
5527
collect2name=`${CC} -print-prog-name=collect2`
5528
if test -f "$collect2name" && \
5529
strings "$collect2name" | grep resolve_lib_name >/dev/null
5531
# We have reworked collect2
5534
# We have old collect2
5535
_LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5536
# It fails to find uninstalled libraries when the uninstalled
5537
# path is not listed in the libpath. Setting hardcode_minus_L
5538
# to unsupported forces relinking
5539
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5540
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5541
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
5545
shared_flag='-shared'
5546
if test "$aix_use_runtimelinking" = yes; then
5547
shared_flag="$shared_flag "'${wl}-G'
5551
if test "$host_cpu" = ia64; then
5552
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
5553
# chokes on -Wl,-G. The following line is correct:
5556
if test "$aix_use_runtimelinking" = yes; then
5557
shared_flag='${wl}-G ${wl}-bnoipath'
5559
shared_flag='${wl}-bM:SRE'
5564
# It seems that -bexpall does not export symbols beginning with
5565
# underscore (_), so it is better to generate a list of symbols to export.
5566
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
5567
if test "$aix_use_runtimelinking" = yes; then
5568
# Warning - without using the other runtime loading flags (-brtl),
5569
# -berok will link without error, but may produce a broken library.
5570
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
5571
# Determine the default libpath from the value encoded in an empty executable.
5572
_LT_AC_SYS_LIBPATH_AIX
5573
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5574
_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"
5576
if test "$host_cpu" = ia64; then
5577
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5578
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5579
_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"
5581
# Determine the default libpath from the value encoded in an empty executable.
5582
_LT_AC_SYS_LIBPATH_AIX
5583
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5584
# Warning - without using the other run time loading flags,
5585
# -berok will link without error, but may produce a broken library.
5586
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5587
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5588
# Exported symbols can be pulled into shared objects from archives
5589
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5590
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5591
# This is similar to how AIX traditionally builds its shared libraries.
5592
_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'
5598
_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)'
5599
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5600
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5601
# see comment about different semantics on the GNU ld section
5602
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5606
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5609
cygwin* | mingw* | pw32*)
5610
# When not using gcc, we currently assume that we are using
5611
# Microsoft Visual C++.
5612
# hardcode_libdir_flag_spec is actually meaningless, as there is
5613
# no search path for DLLs.
5614
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
5615
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5616
# Tell ltmain to make .lib files, not .a files.
5618
# Tell ltmain to make .dll files, not .so files.
5620
# FIXME: Setting linknames here is a bad hack.
5621
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
5622
# The linker will automatically build a .lib file if we build a DLL.
5623
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
5624
# FIXME: Should let the user specify the lib program.
5625
_LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5626
_LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
5627
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5630
darwin* | rhapsody*)
5632
rhapsody* | darwin1.[[012]])
5633
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
5636
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5637
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5639
case ${MACOSX_DEPLOYMENT_TARGET} in
5641
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
5644
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
5650
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5651
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5652
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
5653
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5654
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
5655
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5656
if test "$GCC" = yes ; then
5657
output_verbose_link_cmd='echo'
5658
_LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
5659
_LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
5660
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
5661
_LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
5663
case $cc_basename in
5665
output_verbose_link_cmd='echo'
5666
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
5667
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5668
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5669
_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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5670
_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}'
5673
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5680
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5681
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5682
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5686
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5689
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5690
# support. Future versions do this automatically, but an explicit c++rt0.o
5691
# does not break anything, and helps significantly (at the cost of a little
5694
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5695
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5696
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5697
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5700
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
5702
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5703
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5704
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5705
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5708
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5709
freebsd* | dragonfly*)
5710
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5711
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5712
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5713
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5717
if test "$GCC" = yes; then
5718
_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'
5720
_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'
5722
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5723
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5724
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5726
# hardcode_minus_L: Not really in the search PATH,
5727
# but as the default location of the library.
5728
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5729
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5733
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5734
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5736
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5738
if test "$with_gnu_ld" = no; then
5739
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5740
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5742
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5743
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5745
# hardcode_minus_L: Not really in the search PATH,
5746
# but as the default location of the library.
5747
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5752
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5755
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5758
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5761
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5767
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5770
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5773
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5777
if test "$with_gnu_ld" = no; then
5778
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5779
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5783
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5784
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5785
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5788
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5789
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5791
# hardcode_minus_L: Not really in the search PATH,
5792
# but as the default location of the library.
5793
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5799
irix5* | irix6* | nonstopux*)
5800
if test "$GCC" = yes; then
5801
_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'
5803
_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'
5804
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
5806
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5807
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5808
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5812
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5813
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5815
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5817
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5818
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5819
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5823
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5824
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5825
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5826
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5827
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5831
if test -f /usr/libexec/ld.so; then
5832
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5833
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5834
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5835
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5836
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5837
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5838
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5841
openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
5842
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5843
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5846
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5847
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5852
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5857
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5858
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5859
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5860
_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'
5861
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5865
if test "$GCC" = yes; then
5866
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5867
_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'
5869
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5870
_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'
5872
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5873
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5876
osf4* | osf5*) # as osf3* with the addition of -msym flag
5877
if test "$GCC" = yes; then
5878
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5879
_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'
5880
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5882
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5883
_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'
5884
_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~
5885
$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'
5887
# Both c and cxx compiler support -rpath directly
5888
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5890
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5894
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
5895
if test "$GCC" = yes; then
5897
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5898
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5899
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
5902
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5903
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5904
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5906
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5907
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5909
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5911
# The compiler driver will combine and reorder linker options,
5912
# but understands `-z linker_flag'. GCC discards it without `$wl',
5913
# but is careful enough not to reorder.
5914
# Supported since Solaris 2.6 (maybe 2.5.1?)
5915
if test "$GCC" = yes; then
5916
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
5918
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5922
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5926
if test "x$host_vendor" = xsequent; then
5927
# Use $CC to link under sequent, because it throws in some extra .o
5928
# files that make .init and .fini sections work.
5929
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5931
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5933
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5934
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5935
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5936
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5940
case $host_vendor in
5942
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5943
_LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
5946
## LD is ld it makes a PLAMLIB
5947
## CC just makes a GrossModule.
5948
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5949
_LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
5950
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5953
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5954
_LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
5957
runpath_var='LD_RUN_PATH'
5958
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5962
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5963
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5964
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
5968
if test -d /usr/nec; then
5969
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5970
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5971
runpath_var=LD_RUN_PATH
5972
hardcode_runpath_var=yes
5973
_LT_AC_TAGVAR(ld_shlibs, $1)=yes
5977
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
5978
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
5979
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5980
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5981
runpath_var='LD_RUN_PATH'
5983
if test "$GCC" = yes; then
5984
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5985
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5987
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5988
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
5992
sysv5* | sco3.2v5* | sco5v6*)
5993
# Note: We can NOT use -z defs as we might desire, because we do not
5994
# link with -lc, and that would cause any symbols used from libc to
5995
# always be unresolved, which means just about no library would
5996
# ever link correctly. If we're not using GNU ld we use -z text
5997
# though, which does catch some bad symbols but isn't as heavy-handed
5999
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6000
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6001
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6002
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6003
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
6004
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6005
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6006
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6007
runpath_var='LD_RUN_PATH'
6009
if test "$GCC" = yes; then
6010
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6011
_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'
6013
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6014
_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'
6019
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6020
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6021
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6025
_LT_AC_TAGVAR(ld_shlibs, $1)=no
6030
AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
6031
test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
6034
# Do we need to explicitly link libc?
6036
case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
6038
# Assume -lc should be added
6039
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6041
if test "$enable_shared" = yes && test "$GCC" = yes; then
6042
case $_LT_AC_TAGVAR(archive_cmds, $1) in
6044
# FIXME: we may have to deal with multi-command sequences.
6047
# Test whether the compiler implicitly links with -lc since on some
6048
# systems, -lgcc has to come before -lc. If gcc already passes -lc
6049
# to ld, don't add -lc before -lgcc.
6050
AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6052
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6054
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6057
libobjs=conftest.$ac_objext
6059
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
6060
pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
6066
lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
6067
_LT_AC_TAGVAR(allow_undefined_flag, $1)=
6068
if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
6070
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6072
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
6074
_LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
6076
cat conftest.err 1>&5
6079
AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
6086
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6560: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
6087
# /* ltdll.c starts here */
6088
# #define WIN32_LEAN_AND_MEAN
6089
# #include <windows.h>
6090
# #undef WIN32_LEAN_AND_MEAN
6091
# #include <stdio.h>
6093
# #ifndef __CYGWIN__
6094
# # ifdef __CYGWIN32__
6095
# # define __CYGWIN__ __CYGWIN32__
6099
# #ifdef __cplusplus
6102
# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
6103
# #ifdef __cplusplus
6108
# #include <cygwin/cygwin_dll.h>
6109
# DECLARE_CYGWIN_DLL( DllMain );
6111
# HINSTANCE __hDllInstance_base;
6114
# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
6116
# __hDllInstance_base = hInst;
6119
# /* ltdll.c ends here */
6121
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6565: -1- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
6122
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6569: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
6123
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6570: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
6124
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6571: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
6125
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6572: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
6126
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6573: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
6127
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6574: -1- AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
6128
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6575: -1- AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
6129
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6584: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no)
6130
test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
6133
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6588: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no)
6135
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal/libtool.m4:6677: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output])
6136
AC_CACHE_VAL(lt_cv_path_SED,
6137
[# Loop through the user's path and test for sed and gsed.
6138
# Then use that list of sed's as ones to test for truncation.
6139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143
test -z "$as_dir" && as_dir=.
6144
for lt_ac_prog in sed gsed; do
6145
for ac_exec_ext in '' $ac_executable_extensions; do
6146
if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
6147
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6155
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6156
# along with /bin/sed that truncates output.
6157
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6158
test ! -f $lt_ac_sed && continue
6159
cat /dev/null > conftest.in
6161
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6162
# Check for GNU sed and select it if it is found.
6163
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6164
lt_cv_path_SED=$lt_ac_sed
6168
cat conftest.in conftest.in >conftest.tmp
6169
mv conftest.tmp conftest.in
6170
cp conftest.in conftest.nl
6172
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6173
cmp -s conftest.out conftest.nl || break
6174
# 10000 chars as input seems more than enough
6175
test $lt_ac_count -gt 10 && break
6176
lt_ac_count=`expr $lt_ac_count + 1`
6177
if test $lt_ac_count -gt $lt_ac_max; then
6178
lt_ac_max=$lt_ac_count
6179
lt_cv_path_SED=$lt_ac_sed
6186
AC_MSG_RESULT([$SED])
6188
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/amversion.m4:23: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
6189
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/amversion.m4:30: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.1])])
6190
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/auxdir.m4:63: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
6191
AC_PREREQ([2.50])dnl
6192
# expand $ac_aux_dir to an absolute path
6193
am_aux_dir=`cd $ac_aux_dir && pwd`
6195
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/cond.m4:42: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
6196
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
6197
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
6199
AC_SUBST([$1_FALSE])
6207
AC_CONFIG_COMMANDS_PRE(
6208
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
6209
AC_MSG_ERROR([[conditional "$1" was never defined.
6210
Usually this means the macro was only invoked conditionally.]])
6212
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/depend.m4:142: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
6213
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
6214
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
6215
AC_REQUIRE([AM_DEP_TRACK])dnl
6217
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
6218
[$1], CXX, [depcc="$CXX" am_compiler_list=],
6219
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
6220
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
6221
[depcc="$$1" am_compiler_list=])
6223
AC_CACHE_CHECK([dependency style of $depcc],
6224
[am_cv_$1_dependencies_compiler_type],
6225
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6226
# We make a subdir and do the tests there. Otherwise we can end up
6227
# making bogus files that we don't know about and never remove. For
6228
# instance it was reported that on HP-UX the gcc test will end up
6229
# making a dummy file named `D' -- because `-MD' means `put the output
6232
# Copy depcomp to subdir because otherwise we won't find it if we're
6233
# using a relative directory.
6234
cp "$am_depcomp" conftest.dir
6236
# We will build objects and dependencies in a subdirectory because
6237
# it helps to detect inapplicable dependency modes. For instance
6238
# both Tru64's cc and ICC support -MD to output dependencies as a
6239
# side effect of compilation, but ICC will put the dependencies in
6240
# the current directory while Tru64 will put them in the object
6244
am_cv_$1_dependencies_compiler_type=none
6245
if test "$am_compiler_list" = ""; then
6246
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
6248
for depmode in $am_compiler_list; do
6249
# Setup a source with many dependencies, because some compilers
6250
# like to wrap large dependency lists on column 80 (with \), and
6251
# we should not choose a depcomp mode which is confused by this.
6253
# We need to recreate these files for each test, as the compiler may
6254
# overwrite some of them when testing with obscure command lines.
6255
# This happens at least with the AIX C compiler.
6257
for i in 1 2 3 4 5 6; do
6258
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6259
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6260
# Solaris 8's {/usr,}/bin/sh.
6261
touch sub/conftst$i.h
6263
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6267
# after this tag, mechanisms are not by side-effect, so they'll
6268
# only be used when explicitly requested
6269
if test "x$enable_dependency_tracking" = xyes; then
6277
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6278
# mode. It turns out that the SunPro C++ compiler does not properly
6279
# handle `-M -o', and we need to detect this.
6280
if depmode=$depmode \
6281
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6282
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6283
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6284
>/dev/null 2>conftest.err &&
6285
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6286
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6287
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6288
# icc doesn't choke on unknown options, it will just issue warnings
6289
# or remarks (even with -Werror). So we grep stderr for any message
6290
# that says an option was ignored or not supported.
6291
# When given -MP, icc 7.0 and 7.1 complain thusly:
6292
# icc: Command line warning: ignoring option '-M'; no argument required
6293
# The diagnosis changed in icc 8.0:
6294
# icc: Command line remark: option '-MP' not supported
6295
if (grep 'ignoring option' conftest.err ||
6296
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6297
am_cv_$1_dependencies_compiler_type=$depmode
6306
am_cv_$1_dependencies_compiler_type=none
6309
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
6310
AM_CONDITIONAL([am__fastdep$1], [
6311
test "x$enable_dependency_tracking" != xno \
6312
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
6314
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/depend.m4:152: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
6315
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
6317
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/depend.m4:167: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
6318
[ --disable-dependency-tracking speeds up one-time build
6319
--enable-dependency-tracking do not reject slow dependency extractors])
6320
if test "x$enable_dependency_tracking" != xno; then
6321
am_depcomp="$ac_aux_dir/depcomp"
6324
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
6325
AC_SUBST([AMDEPBACKSLASH])
6327
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/depout.m4:64: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do
6328
# Strip MF so we end up with the name of the file.
6329
mf=`echo "$mf" | sed -e 's/:.*$//'`
6330
# Check whether this is an Automake generated Makefile or not.
6331
# We used to match only the files named `Makefile.in', but
6332
# some people rename them; so instead we look at the file content.
6333
# Grep'ing the first line is not enough: some people post-process
6334
# each Makefile.in and add a new line on top of each file to say so.
6335
# So let's grep whole file.
6336
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6337
dirpart=`AS_DIRNAME("$mf")`
6341
# Extract the definition of DEPDIR, am__include, and am__quote
6342
# from the Makefile without running `make'.
6343
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6344
test -z "$DEPDIR" && continue
6345
am__include=`sed -n 's/^am__include = //p' < "$mf"`
6346
test -z "am__include" && continue
6347
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6348
# When using ansi2knr, U may be empty or an underscore; expand it
6349
U=`sed -n 's/^U = //p' < "$mf"`
6350
# Find all dependency output files, they are included files with
6351
# $(DEPDIR) in their names. We invoke sed twice because it is the
6352
# simplest approach to changing $(DEPDIR) to its actual value in the
6354
for file in `sed -n "
6355
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6356
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6357
# Make sure the directory exists.
6358
test -f "$dirpart/$file" && continue
6359
fdir=`AS_DIRNAME(["$file"])`
6360
AS_MKDIR_P([$dirpart/$fdir])
6361
# echo "creating $dirpart/$file"
6362
echo '# dummy' > "$dirpart/$file"
6366
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/depout.m4:78: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
6367
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
6368
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
6370
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/init.m4:103: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl
6371
dnl Autoconf wants to disallow AM_ names. We explicitly allow
6372
dnl the ones we care about.
6373
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
6374
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
6375
AC_REQUIRE([AC_PROG_INSTALL])dnl
6376
# test to see if srcdir already configured
6377
if test "`cd $srcdir && pwd`" != "`pwd`" &&
6378
test -f $srcdir/config.status; then
6379
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
6382
# test whether we have cygpath
6383
if test -z "$CYGPATH_W"; then
6384
if (cygpath --version) >/dev/null 2>/dev/null; then
6385
CYGPATH_W='cygpath -w'
6390
AC_SUBST([CYGPATH_W])
6392
# Define the identity of the package.
6393
dnl Distinguish between old-style and new-style calls.
6395
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
6396
AC_SUBST([PACKAGE], [$1])dnl
6397
AC_SUBST([VERSION], [$2])],
6398
[_AM_SET_OPTIONS([$1])dnl
6399
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
6400
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
6402
_AM_IF_OPTION([no-define],,
6403
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
6404
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
6406
# Some tools Automake needs.
6407
AC_REQUIRE([AM_SANITY_CHECK])dnl
6408
AC_REQUIRE([AC_ARG_PROGRAM])dnl
6409
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
6410
AM_MISSING_PROG(AUTOCONF, autoconf)
6411
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
6412
AM_MISSING_PROG(AUTOHEADER, autoheader)
6413
AM_MISSING_PROG(MAKEINFO, makeinfo)
6415
AM_PROG_INSTALL_STRIP
6416
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
6417
# We need awk for the "check" target. The system "awk" is bad on
6419
AC_REQUIRE([AC_PROG_AWK])dnl
6420
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
6421
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
6422
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
6423
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
6424
[_AM_PROG_TAR([v7])])])
6425
_AM_IF_OPTION([no-dependencies],,
6426
[AC_PROVIDE_IFELSE([AC_PROG_CC],
6427
[_AM_DEPENDENCIES(CC)],
6428
[define([AC_PROG_CC],
6429
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
6430
AC_PROVIDE_IFELSE([AC_PROG_CXX],
6431
[_AM_DEPENDENCIES(CXX)],
6432
[define([AC_PROG_CXX],
6433
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
6436
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/init.m4:124: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
6438
for _am_header in $config_headers :; do
6443
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6446
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
6447
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/install-sh.m4:25: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6448
install_sh=${install_sh-"$am_aux_dir/install-sh"}
6449
AC_SUBST(install_sh)])
6450
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/lead-dot.m4:32: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
6451
mkdir .tst 2>/dev/null
6452
if test -d .tst; then
6457
rmdir .tst 2>/dev/null
6458
AC_SUBST([am__leading_dot])])
6459
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/maintainer.m4:37: -1- AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
6460
dnl maintainer-mode is disabled by default
6461
AC_ARG_ENABLE(maintainer-mode,
6462
[ --enable-maintainer-mode enable make rules and dependencies not useful
6463
(and sometimes confusing) to the casual installer],
6464
USE_MAINTAINER_MODE=$enableval,
6465
USE_MAINTAINER_MODE=no)
6466
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
6467
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
6468
MAINT=$MAINTAINER_MODE_TRUE
6472
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/maintainer.m4:39: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
6473
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/maintainer.m4:39: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
6474
You should run autoupdate.])dnl
6475
AM_MAINTAINER_MODE])
6476
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/make.m4:62: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
6477
cat > confinc << 'END'
6482
# If we don't find an include directive, just comment out the code.
6483
AC_MSG_CHECKING([for style of include used by $am_make])
6487
# First try GNU make style include.
6488
echo "include confinc" > confmf
6489
# We grep out `Entering directory' and `Leaving directory'
6490
# messages which can occur if `w' ends up in MAKEFLAGS.
6491
# In particular we don't look at `^make:' because GNU make might
6492
# be invoked under some other name (usually "gmake"), in which
6493
# case it prints its new name instead of `make'.
6494
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6499
# Now try BSD make style include.
6500
if test "$am__include" = "#"; then
6501
echo '.include "confinc"' > confmf
6502
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6503
am__include=.include
6508
AC_SUBST([am__include])
6509
AC_SUBST([am__quote])
6510
AC_MSG_RESULT([$_am_result])
6511
rm -f confinc confmf
6513
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/missing.m4:31: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
6514
$1=${$1-"${am_missing_run}$2"}
6516
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/missing.m4:48: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
6517
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
6518
# Use eval to expand $SHELL
6519
if eval "$MISSING --run true"; then
6520
am_missing_run="$MISSING --run "
6523
AC_MSG_WARN([`missing' script is too old or missing])
6526
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/mkdirp.m4:73: -1- AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
6527
# We used to keeping the `.' as first argument, in order to
6528
# allow $(mkdir_p) to be used without argument. As in
6529
# $(mkdir_p) $(somedir)
6530
# where $(somedir) is conditionally defined. However this is wrong
6532
# 1. if the package is installed by a user who cannot write `.'
6533
# make install will fail,
6534
# 2. the above comment should most certainly read
6535
# $(mkdir_p) $(DESTDIR)$(somedir)
6536
# so it does not work when $(somedir) is undefined and
6537
# $(DESTDIR) is not.
6538
# To support the latter case, we have to write
6539
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
6540
# so the `.' trick is pointless.
6541
mkdir_p='mkdir -p --'
6543
# On NextStep and OpenStep, the `mkdir' command does not
6544
# recognize any option. It will interpret all options as
6545
# directories to create, and then abort because `.' already
6547
for d in ./-p ./--version;
6549
test -d $d && rmdir $d
6551
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6552
if test -f "$ac_aux_dir/mkinstalldirs"; then
6553
mkdir_p='$(mkinstalldirs)'
6555
mkdir_p='$(install_sh) -d'
6558
AC_SUBST([mkdir_p])])
6559
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/options.m4:25: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
6560
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/options.m4:31: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
6561
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/options.m4:37: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
6562
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/options.m4:43: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
6563
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/runlog.m4:27: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
6564
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
6566
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
6567
(exit $ac_status); }])
6568
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/sanity.m4:63: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
6571
echo timestamp > conftest.file
6572
# Do `set' in a subshell so we don't clobber the current shell's
6573
# arguments. Must try -L first in case configure is actually a
6574
# symlink; some systems play weird games with the mod time of symlinks
6575
# (eg FreeBSD returns the mod time of the symlink's containing
6578
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6579
if test "$[*]" = "X"; then
6581
set X `ls -t $srcdir/configure conftest.file`
6584
if test "$[*]" != "X $srcdir/configure conftest.file" \
6585
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
6587
# If neither matched, then we have a broken ls. This can happen
6588
# if, for instance, CONFIG_SHELL is bash and it inherits a
6589
# broken ls alias from the environment. This has actually
6590
# happened. Such a system could not be considered "sane".
6591
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
6592
alias in your environment])
6595
test "$[2]" = conftest.file
6601
AC_MSG_ERROR([newly created file is older than distributed files!
6602
Check your system clock])
6604
AC_MSG_RESULT(yes)])
6605
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/strip.m4:38: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
6606
# Installed binaries are usually stripped using `strip' when the user
6607
# run `make install-strip'. However `strip' might not be the right
6608
# tool to use in cross-compilation environments, therefore Automake
6609
# will honor the `STRIP' environment variable to overrule this program.
6610
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
6611
if test "$cross_compiling" != no; then
6612
AC_CHECK_TOOL([STRIP], [strip], :)
6614
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
6615
AC_SUBST([INSTALL_STRIP_PROGRAM])])
6616
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-trees/autotools/share/aclocal-1.9/tar.m4:107: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
6617
AM_MISSING_PROG([AMTAR], [tar])
6619
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
6620
[m4_case([$1], [ustar],, [pax],,
6621
[m4_fatal([Unknown tar format])])
6622
AC_MSG_CHECKING([how to create a $1 tar archive])
6623
# Loop over all known methods to create a tar archive until one works.
6624
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
6625
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
6626
# Do not fold the above two line into one, because Tru64 sh and
6627
# Solaris sh will not grok spaces in the rhs of `-'.
6628
for _am_tool in $_am_tools
6632
for _am_tar in tar gnutar gtar;
6634
AM_RUN_LOG([$_am_tar --version]) && break
6636
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
6637
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
6638
am__untar="$_am_tar -xf -"
6641
# Must skip GNU tar: if it does not support --format= it doesn't create
6642
# ustar tarball either.
6643
(tar --version) >/dev/null 2>&1 && continue
6644
am__tar='tar chf - "$$tardir"'
6645
am__tar_='tar chf - "$tardir"'
6646
am__untar='tar xf -'
6649
am__tar='pax -L -x $1 -w "$$tardir"'
6650
am__tar_='pax -L -x $1 -w "$tardir"'
6654
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
6655
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
6656
am__untar='cpio -i -H $1 -d'
6665
# If the value was cached, stop now. We just wanted to have am__tar
6666
# and am__untar set.
6667
test -n "${am_cv_prog_tar_$1}" && break
6669
# tar/untar a dummy directory, and stop if the command works
6672
echo GrepMe > conftest.dir/file
6673
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
6675
if test -s conftest.tar; then
6676
AM_RUN_LOG([$am__untar <conftest.tar])
6677
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
6682
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
6683
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
6685
AC_SUBST([am__untar])
6687
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/gpt-3.2globus2/share/gpt/aclocal/gpt_autoconf_macros.m4:100: -1- AC_DEFUN([GPT_INIT], [
6688
if test "x$GPT_LOCATION" = "x"; then
6689
echo "ERROR Please specify GPT_LOCATION" >&2
6693
AC_SUBST(GPT_LOCATION)
6695
#extract the name and version of the package from the src metadata
6696
$GPT_LOCATION/sbin/gpt_extract_data --name --version $srcdir/pkgdata/pkg_data_src.gpt.in > tmpfile.gpt
6699
GPT_VERSION="$GPT_MAJOR_VERSION.$GPT_MINOR_VERSION"
6701
# Determine if GPT is version 2.x
6705
if test -f "$GPT_LOCATION/sbin/gpt-build"; then
6711
#Default to shared, before checking static-only
6712
GPT_LINKTYPE="shared"
6713
# We have to figure out if we're linking only static before build_config
6714
AC_ARG_ENABLE(static-only,
6715
[ --enable-static-only Don't do any dynamic linking],
6720
GPT_LINKTYPE="shared"
6723
GPT_LINKTYPE="static"
6724
dnl if test "$STATIC_LDFLAGS" = ""; then
6725
dnl GPT_LDFLAGS=" -all-static $GPT_LDFLAGS"
6727
dnl GPT_LDFLAGS=" $STATIC_LDFLAGS $GPT_LDFLAGS"
6731
echo "--enable-static-only has no arguments" >&2
6738
#extract the cumulative build environment from the installed development tree
6740
if $GPT_LOCATION/sbin/gpt_build_config -src $srcdir/pkgdata/pkg_data_src.gpt.in -f $GLOBUS_FLAVOR_NAME -link $GPT_LINKTYPE; then
6741
echo "Dependencies Complete";
6747
# The following variables are used to manage the build enviroment
6748
# GPT_CFLAGS, GPT_INCLUDES, GPT_PGM_LINKS, GPT_LIB_LINKS, and GPT_LDFLAGS
6749
# are the variables used in the Makefile.am's
6750
# GPT_PKG_CFLAGS, GPT_EXTERNAL_INCLUDES and GPT_EXTERNAL_LIBS are stored
6751
# as build data in the packaging metadata file.
6752
# GPT_CONFIG_FLAGS, GPT_CONFIG_INCLUDES, GPT_CONFIG_PGM_LINKS, and
6753
# GPT_CONFIG_LIB_LINKS are returned by gpt_build_config and contain build
6754
# environment data from the dependent packages.
6758
. ./gpt_build_temp.sh
6759
rm ./gpt_build_temp.sh
6760
GPT_CFLAGS="$GPT_CONFIG_CFLAGS"
6761
GPT_INCLUDES="-I$GLOBUS_LOCATION/include/$GLOBUS_FLAVOR_NAME $GPT_CONFIG_INCLUDES"
6762
GPT_LIBS="$GPT_CONFIG_PKG_LIBS $GPT_CONFIG_LIBS"
6763
GPT_LDFLAGS="$GPT_CONFIG_STATIC_LINKLINE -L$GLOBUS_LOCATION/lib $GPT_LDFLAGS"
6764
GPT_PGM_LINKS="$GPT_CONFIG_PGM_LINKS $GPT_CONFIG_LIBS"
6765
GPT_LIB_LINKS="$GPT_CONFIG_LIB_LINKS $GPT_CONFIG_LIBS"
6769
AC_SUBST(GPT_CFLAGS)
6770
AC_SUBST(GPT_PKG_CFLAGS)
6771
AC_SUBST(GPT_INCLUDES)
6772
AC_SUBST(GPT_EXTERNAL_INCLUDES)
6773
AC_SUBST(GPT_EXTERNAL_LIBS)
6775
AC_SUBST(GPT_LDFLAGS)
6776
AC_SUBST(GPT_CONFIG_CFLAGS)
6777
AC_SUBST(GPT_CONFIG_INCLUDES)
6778
AC_SUBST(GPT_CONFIG_LIBS)
6779
AC_SUBST(GPT_CONFIG_PKG_LIBS)
6780
AC_SUBST(GPT_PGM_LINKS)
6781
AC_SUBST(GPT_LIB_LINKS)
6782
AC_SUBST(GPT_LINKTYPE)
6786
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/gpt-3.2globus2/share/gpt/aclocal/gpt_autoconf_macros.m4:106: -1- AC_DEFUN([GPT_SET_CFLAGS], [
6788
GPT_CFLAGS="$GPT_CFLAGS_TMP $GPT_CFLAGS"
6789
GPT_PKG_CFLAGS="$GPT_CFLAGS_TMP $GPT_PKG_CFLAGS"
6791
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/gpt-3.2globus2/share/gpt/aclocal/gpt_autoconf_macros.m4:113: -1- AC_DEFUN([GPT_SET_INCLUDES], [
6794
GPT_EXTERNAL_INCLUDES="$GPT_EXTERNAL_INCLUDES $GPT_INCLUDES_TMP"
6795
GPT_INCLUDES="$GPT_INCLUDES_TMP $GPT_INCLUDES"
6797
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/gpt-3.2globus2/share/gpt/aclocal/gpt_autoconf_macros.m4:121: -1- AC_DEFUN([GPT_SET_LIBS], [
6800
GPT_EXTERNAL_LIBS="$GPT_EXTERNAL_LIBS $GPT_LIBS_TMP"
6801
GPT_LIB_LINKS=" $GPT_LIB_LINKS $GPT_LIBS_TMP"
6802
GPT_PGM_LINKS=" $GPT_PGM_LINKS $GPT_LIBS_TMP"
6804
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/gpt-3.2globus2/share/gpt/aclocal/gpt_autoconf_macros.m4:128: -1- AC_DEFUN([GPT_SET_LDFLAGS], [
6807
GPT_EXTERNAL_LDFLAGS="$GPT_EXTERNAL_LDFLAGS $GPT_LDFLAGS_TMP"
6808
GPT_LDFLAGS=" $GPT_LDFLAGS_TMP $GPT_LDFLAGS"
6810
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:13: -1- AC_DEFUN([LAC_DOXYGEN_PROJECT], [
6811
lac_doxygen_project=`echo "$1" | sed -e 's/_/ /g'`
6812
AC_SUBST(lac_doxygen_project)
6814
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:19: -1- AC_DEFUN([LAC_DOXYGEN_SOURCE_DIRS], [
6815
lac_doxygen_srcdirs=[$1]
6816
AC_SUBST(lac_doxygen_srcdirs)
6818
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:25: -1- AC_DEFUN([LAC_DOXYGEN_INPUT_FILTER], [
6819
lac_doxygen_input_filter=[$1]
6820
AC_SUBST(lac_doxygen_input_filter)
6822
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:31: -1- AC_DEFUN([LAC_DOXYGEN_OUTPUT_TAGFILE], [
6823
lac_doxygen_output_tagfile=[$1]
6824
AC_SUBST(lac_doxygen_output_tagfile)
6826
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:48: -1- AC_DEFUN([LAC_DOXYGEN_TAGFILES], [
6827
lac_doxygen_tagfiles=""
6829
if test "X$x" != "X" ; then
6830
lac_tag_base=`echo ${x} | sed -e 's|.*/||' -e 's|\.tag$||'`
6831
lac_tag="${lac_tag_base}.tag"
6832
lac_doxygen_tagfiles="$lac_doxygen_tagfiles $x"
6833
lac_doxygen_internal_tagfiles="$lac_doxygen_internal_tagfiles ${x}i"
6834
lac_doxygen_installdox="$lac_doxygen_installdox -l${lac_tag}@../../${lac_tag_base}/html"
6837
AC_SUBST(lac_doxygen_tagfiles)
6838
AC_SUBST(lac_doxygen_internal_tagfiles)
6839
AC_SUBST(lac_doxygen_installdox)
6841
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:53: -1- AC_DEFUN([LAC_DOXYGEN_FILE_PATTERNS], [
6842
lac_doxygen_file_patterns=[$1]
6844
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:58: -1- AC_DEFUN([LAC_DOXYGEN_EXAMPLE_DIR], [
6845
lac_doxygen_examples=[$1]
6847
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:63: -1- AC_DEFUN([LAC_DOXYGEN_PREDEFINES], [
6848
lac_doxygen_predefines=[$1]
6850
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/acdoxygen.m4:154: -1- AC_DEFUN([LAC_DOXYGEN], [
6851
AC_ARG_ENABLE(doxygen,
6852
changequote(<<, >>)dnl
6853
<< --enable-doxygen[=PATH] use Doxygen to generate documentation>>,
6854
changequote([, ])dnl
6856
if test "$enableval" = "yes"; then
6857
AC_PATH_PROG(DOXYGEN,
6860
AC_MSG_ERROR(Doxygen installation not found)
6863
DOXYGEN="$enableval"
6873
AC_ARG_ENABLE(internal-doc,
6874
[ --enable-internal-doc Generate Doxygen documentation for
6875
internal functions. Requires --enable-doxygen],
6877
DOXYFILE="Doxyfile-internal"
6886
if test -n "$DOXYGEN" ; then
6887
AC_PATH_PROG(DOT, dot)
6889
if test -z "$GLOBUS_SH_PERL" ; then
6890
AC_PATH_PROG(PERL, perl)
6892
PERL="$GLOBUS_SH_PERL"
6895
if test "$DOT" != ""; then
6903
LAC_DOXYGEN_SOURCE_DIRS($1)
6904
LAC_DOXYGEN_FILE_PATTERNS($2)
6905
LAC_DOXYGEN_INPUT_FILTER($3)
6907
LAC_DOXYGEN_PROJECT($GPT_NAME)
6908
LAC_DOXYGEN_OUTPUT_TAGFILE($GPT_NAME)
6910
lac_dep_check="$GLOBUS_LOCATION/sbin/globus-build-doxygen-dependencies"
6912
if test ! -x $lac_dep_check ; then
6914
# assume we are dealing with common
6916
lac_dep_check="$srcdir/scripts/globus-build-doxygen-dependencies"
6917
chmod 0755 $lac_dep_check
6921
AC_MSG_CHECKING([documentation dependencies])
6923
tagfiles="`$lac_dep_check -src $srcdir/pkgdata/pkg_data_src.gpt.in 2>/dev/null`"
6924
if test "$?" != "0"; then
6925
AC_MSG_RESULT([failed])
6926
AC_MSG_ERROR([Documentation dependencies could not be satisfied.])
6931
LAC_DOXYGEN_TAGFILES($tagfiles)
6933
AC_SUBST(lac_doxygen_file_patterns)
6934
AC_SUBST(lac_doxygen_examples)
6935
AC_SUBST(lac_doxygen_predefines)
6939
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/globus_package.m4:152: -1- AC_DEFUN([GLOBUS_INIT], [
6943
# checking for the GLOBUS_LOCATION
6945
if test "x$GLOBUS_LOCATION" = "x"; then
6946
echo "ERROR Please specify GLOBUS_LOCATION" >&2
6949
if test "x$GPT_LOCATION" = "x"; then
6950
GPT_LOCATION=$GLOBUS_LOCATION
6954
#extract whether the package is built with flavors from the src metadata
6955
$GPT_LOCATION/sbin/gpt_extract_data --build $srcdir/pkgdata/pkg_data_src.gpt.in > tmpfile.gpt
6960
if test "x$GPT_BUILD_WITH_FLAVORS" = "xno"; then
6961
GLOBUS_FLAVOR_NAME="noflavor"
6965
[ --with-flavor=<FL> Specify the globus build flavor or without-flavor for a flavor independent ],
6973
echo "Please specify a globus build flavor" >&2
6977
if test "x$GLOBUS_FLAVOR_NAME" = "xnoflavor"; then
6978
echo "Warning: package doesn't build with flavors $withval ignored" >&2
6979
echo "Warning: $withval ignored" >&2
6981
GLOBUS_FLAVOR_NAME=$withval
6982
if test ! -f "$GLOBUS_LOCATION/etc/globus_core/flavor_$GLOBUS_FLAVOR_NAME.gpt"; then
6983
echo "ERROR: Flavor $GLOBUS_FLAVOR_NAME has not been installed" >&2
6993
if test "x$GLOBUS_FLAVOR_NAME" = "x"; then
6994
echo "Please specify a globus build flavor" >&2
7005
AM_CONDITIONAL(WITHOUT_FLAVORS, test "$NO_FLAVOR" = "yes")
7006
AC_SUBST(GLOBUS_FLAVOR_NAME)
7009
# get the environment scripts
7011
if test "x$GLOBUS_FLAVOR_NAME" != "xnoflavor" ; then
7012
. $GLOBUS_LOCATION/libexec/globus-build-env-$GLOBUS_FLAVOR_NAME.sh
7015
prefix='$(GLOBUS_LOCATION)'
7016
exec_prefix='$(GLOBUS_LOCATION)'
7039
AC_SUBST(cross_compiling)
7042
AC_SUBST(OBJECT_MODE)
7045
define([AM_PROG_LIBTOOL],[
7046
LIBTOOL='$(SHELL) $(GLOBUS_LOCATION)/sbin/libtool-$(GLOBUS_FLAVOR_NAME)'
7051
dnl define FILELIST_FILE variable
7052
FILELIST_FILE=`pwd`;
7053
FILELIST_FILE="$FILELIST_FILE/pkgdata/master.filelist"
7054
AC_SUBST(FILELIST_FILE)
7056
dnl export version information
7057
dnl branch id 99999 means that timestamp refers to build time
7058
if test -f $srcdir/dirt.sh ; then
7061
DIRT_TIMESTAMP=`perl -e 'print time'`
7062
DIRT_BRANCH_ID=99999
7065
dnl GPT_MAJOR_VERSION and GPT_MINOR_VERSION provided by GPT_INIT
7066
AC_SUBST(GPT_MAJOR_VERSION)
7067
AC_SUBST(GPT_MINOR_VERSION)
7068
AC_SUBST(DIRT_TIMESTAMP)
7069
AC_SUBST(DIRT_BRANCH_ID)
7072
AC_ARG_ENABLE([programs],
7073
[ --disable-programs Don't compile/link programs],
7074
[case "${enableval}" in
7076
ENABLE_PROGRAMS=true
7079
ENABLE_PROGRAMS=false
7082
AC_MSG_ERROR([bad value ${enableval} for --enable-programs])
7085
[ENABLE_PROGRAMS=true])
7086
AM_CONDITIONAL(ENABLE_PROGRAMS, test "x$ENABLE_PROGRAMS" = "xtrue")
7089
dnl END OF GLOBUS_INIT
7091
m4trace:/home/globbugz/src/globus_4_2_branch/packaging/source-output/tmp_core/share/globus_aclocal/globus_package.m4:184: -1- AC_DEFUN([GLOBUS_FINALIZE], [
7095
AC_ARG_ENABLE(insure,
7096
changequote(<<, >>)dnl
7097
<<--disable-insure disable Insure++ >>,
7098
changequote([, ])dnl
7100
if test "$enableval" = "yes"; then
7101
lac_INSURE="${INSURE-insure}"
7103
lac_INSURE="$enableval"
7111
if test ! -z "$lac_INSURE"; then
7121
m4trace:configure.in:4: -1- AC_INIT([Makefile.am])
7122
m4trace:configure.in:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
7123
m4trace:configure.in:4: -1- m4_pattern_forbid([_AC_])
7124
m4trace:configure.in:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
7125
m4trace:configure.in:4: -1- m4_pattern_allow([^AS_FLAGS$])
7126
m4trace:configure.in:4: -1- m4_pattern_forbid([^_?m4_])
7127
m4trace:configure.in:4: -1- m4_pattern_forbid([^dnl$])
7128
m4trace:configure.in:4: -1- m4_pattern_forbid([^_?AS_])
7129
m4trace:configure.in:4: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
7130
m4trace:configure.in:4: -1- AC_SUBST([PATH_SEPARATOR])
7131
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
7132
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
7133
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
7134
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
7135
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
7136
m4trace:configure.in:4: -1- AC_SUBST([exec_prefix], [NONE])
7137
m4trace:configure.in:4: -1- AC_SUBST([prefix], [NONE])
7138
m4trace:configure.in:4: -1- AC_SUBST([program_transform_name], [s,x,x,])
7139
m4trace:configure.in:4: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
7140
m4trace:configure.in:4: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
7141
m4trace:configure.in:4: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
7142
m4trace:configure.in:4: -1- AC_SUBST([datadir], ['${prefix}/share'])
7143
m4trace:configure.in:4: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
7144
m4trace:configure.in:4: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
7145
m4trace:configure.in:4: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
7146
m4trace:configure.in:4: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
7147
m4trace:configure.in:4: -1- AC_SUBST([includedir], ['${prefix}/include'])
7148
m4trace:configure.in:4: -1- AC_SUBST([oldincludedir], ['/usr/include'])
7149
m4trace:configure.in:4: -1- AC_SUBST([infodir], ['${prefix}/info'])
7150
m4trace:configure.in:4: -1- AC_SUBST([mandir], ['${prefix}/man'])
7151
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
7152
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
7153
#undef PACKAGE_NAME])
7154
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
7155
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
7156
#undef PACKAGE_TARNAME])
7157
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
7158
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
7159
#undef PACKAGE_VERSION])
7160
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
7161
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
7162
#undef PACKAGE_STRING])
7163
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
7164
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
7165
#undef PACKAGE_BUGREPORT])
7166
m4trace:configure.in:4: -1- AC_SUBST([build_alias])
7167
m4trace:configure.in:4: -1- AC_SUBST([host_alias])
7168
m4trace:configure.in:4: -1- AC_SUBST([target_alias])
7169
m4trace:configure.in:4: -1- AC_SUBST([DEFS])
7170
m4trace:configure.in:4: -1- AC_SUBST([ECHO_C])
7171
m4trace:configure.in:4: -1- AC_SUBST([ECHO_N])
7172
m4trace:configure.in:4: -1- AC_SUBST([ECHO_T])
7173
m4trace:configure.in:4: -1- AC_SUBST([LIBS])
7174
m4trace:configure.in:6: -1- GLOBUS_INIT
7175
m4trace:configure.in:6: -1- AM_MAINTAINER_MODE
7176
m4trace:configure.in:6: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
7177
m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
7178
m4trace:configure.in:6: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
7179
m4trace:configure.in:6: -1- AC_SUBST([MAINT])
7180
m4trace:configure.in:6: -1- GPT_INIT
7181
m4trace:configure.in:6: -1- AC_SUBST([GPT_LOCATION])
7182
m4trace:configure.in:6: -1- AC_SUBST([GPT_IS_2])
7183
m4trace:configure.in:6: -1- AC_SUBST([GPT_CFLAGS])
7184
m4trace:configure.in:6: -1- AC_SUBST([GPT_PKG_CFLAGS])
7185
m4trace:configure.in:6: -1- AC_SUBST([GPT_INCLUDES])
7186
m4trace:configure.in:6: -1- AC_SUBST([GPT_EXTERNAL_INCLUDES])
7187
m4trace:configure.in:6: -1- AC_SUBST([GPT_EXTERNAL_LIBS])
7188
m4trace:configure.in:6: -1- AC_SUBST([GPT_LIBS])
7189
m4trace:configure.in:6: -1- AC_SUBST([GPT_LDFLAGS])
7190
m4trace:configure.in:6: -1- AC_SUBST([GPT_CONFIG_CFLAGS])
7191
m4trace:configure.in:6: -1- AC_SUBST([GPT_CONFIG_INCLUDES])
7192
m4trace:configure.in:6: -1- AC_SUBST([GPT_CONFIG_LIBS])
7193
m4trace:configure.in:6: -1- AC_SUBST([GPT_CONFIG_PKG_LIBS])
7194
m4trace:configure.in:6: -1- AC_SUBST([GPT_PGM_LINKS])
7195
m4trace:configure.in:6: -1- AC_SUBST([GPT_LIB_LINKS])
7196
m4trace:configure.in:6: -1- AC_SUBST([GPT_LINKTYPE])
7197
m4trace:configure.in:6: -1- AC_SUBST([builddir])
7198
m4trace:configure.in:6: -1- AM_CONDITIONAL([WITHOUT_FLAVORS], [test "$NO_FLAVOR" = "yes"])
7199
m4trace:configure.in:6: -1- AC_SUBST([WITHOUT_FLAVORS_TRUE])
7200
m4trace:configure.in:6: -1- AC_SUBST([WITHOUT_FLAVORS_FALSE])
7201
m4trace:configure.in:6: -1- AC_SUBST([GLOBUS_FLAVOR_NAME])
7202
m4trace:configure.in:6: -1- AC_SUBST([CC])
7203
m4trace:configure.in:6: -1- AC_SUBST([CPP])
7204
m4trace:configure.in:6: -1- AC_SUBST([CFLAGS])
7205
m4trace:configure.in:6: -1- AC_SUBST([CPPFLAGS])
7206
m4trace:configure.in:6: -1- AC_SUBST([LD])
7207
m4trace:configure.in:6: -1- AC_SUBST([LDFLAGS])
7208
m4trace:configure.in:6: -1- AC_SUBST([LIBS])
7209
m4trace:configure.in:6: -1- AC_SUBST([CXX])
7210
m4trace:configure.in:6: -1- AC_SUBST([CXXCPP])
7211
m4trace:configure.in:6: -1- AC_SUBST([CXXFLAGS])
7212
m4trace:configure.in:6: -1- AC_SUBST([INSURE])
7213
m4trace:configure.in:6: -1- AC_SUBST([DOXYGEN])
7214
m4trace:configure.in:6: -1- AC_SUBST([F77])
7215
m4trace:configure.in:6: -1- AC_SUBST([F77FLAGS])
7216
m4trace:configure.in:6: -1- AC_SUBST([F90])
7217
m4trace:configure.in:6: -1- AC_SUBST([F90FLAGS])
7218
m4trace:configure.in:6: -1- AC_SUBST([AR])
7219
m4trace:configure.in:6: -1- AC_SUBST([ARFLAGS])
7220
m4trace:configure.in:6: -1- AC_SUBST([RANLIB])
7221
m4trace:configure.in:6: -1- AC_SUBST([PERL])
7222
m4trace:configure.in:6: -1- AC_SUBST([CROSS])
7223
m4trace:configure.in:6: -1- AC_SUBST([cross_compiling])
7224
m4trace:configure.in:6: -1- AC_SUBST([OBJEXT])
7225
m4trace:configure.in:6: -1- AC_SUBST([EXEEXT])
7226
m4trace:configure.in:6: -1- AC_SUBST([OBJECT_MODE])
7227
m4trace:configure.in:6: -1- AC_SUBST([FILELIST_FILE])
7228
m4trace:configure.in:6: -1- AC_SUBST([GPT_MAJOR_VERSION])
7229
m4trace:configure.in:6: -1- AC_SUBST([GPT_MINOR_VERSION])
7230
m4trace:configure.in:6: -1- AC_SUBST([DIRT_TIMESTAMP])
7231
m4trace:configure.in:6: -1- AC_SUBST([DIRT_BRANCH_ID])
7232
m4trace:configure.in:6: -1- AM_CONDITIONAL([ENABLE_PROGRAMS], [test "x$ENABLE_PROGRAMS" = "xtrue"])
7233
m4trace:configure.in:6: -1- AC_SUBST([ENABLE_PROGRAMS_TRUE])
7234
m4trace:configure.in:6: -1- AC_SUBST([ENABLE_PROGRAMS_FALSE])
7235
m4trace:configure.in:8: -1- AM_PROG_LIBTOOL
7236
m4trace:configure.in:8: -1- AC_SUBST([LIBTOOL])
7237
m4trace:configure.in:8: -1- AC_SUBST([LN_S])
7238
m4trace:configure.in:13: -1- AM_INIT_AUTOMAKE([$GPT_NAME], [$GPT_VERSION])
7239
m4trace:configure.in:13: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
7240
m4trace:configure.in:13: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
7241
m4trace:configure.in:13: -1- AM_AUTOMAKE_VERSION([1.9.1])
7242
m4trace:configure.in:13: -1- AC_PROG_INSTALL
7243
m4trace:configure.in:13: -1- AC_SUBST([INSTALL_PROGRAM])
7244
m4trace:configure.in:13: -1- AC_SUBST([INSTALL_SCRIPT])
7245
m4trace:configure.in:13: -1- AC_SUBST([INSTALL_DATA])
7246
m4trace:configure.in:13: -1- AC_SUBST([CYGPATH_W])
7247
m4trace:configure.in:13: -1- AC_SUBST([PACKAGE], [$GPT_NAME])
7248
m4trace:configure.in:13: -1- AC_SUBST([VERSION], [$GPT_VERSION])
7249
m4trace:configure.in:13: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
7250
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
7251
m4trace:configure.in:13: -2- _AM_MANGLE_OPTION([no-define])
7252
m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
7253
m4trace:configure.in:13: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
7255
m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
7256
m4trace:configure.in:13: -1- AH_OUTPUT([VERSION], [/* Version number of package */
7258
m4trace:configure.in:13: -1- AM_SANITY_CHECK
7259
m4trace:configure.in:13: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
7260
m4trace:configure.in:13: -1- AM_MISSING_HAS_RUN
7261
m4trace:configure.in:13: -1- AM_AUX_DIR_EXPAND
7262
m4trace:configure.in:13: -1- AC_SUBST([ACLOCAL])
7263
m4trace:configure.in:13: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
7264
m4trace:configure.in:13: -1- AC_SUBST([AUTOCONF])
7265
m4trace:configure.in:13: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
7266
m4trace:configure.in:13: -1- AC_SUBST([AUTOMAKE])
7267
m4trace:configure.in:13: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
7268
m4trace:configure.in:13: -1- AC_SUBST([AUTOHEADER])
7269
m4trace:configure.in:13: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
7270
m4trace:configure.in:13: -1- AC_SUBST([MAKEINFO])
7271
m4trace:configure.in:13: -1- AM_PROG_INSTALL_SH
7272
m4trace:configure.in:13: -1- AC_SUBST([install_sh])
7273
m4trace:configure.in:13: -1- AM_PROG_INSTALL_STRIP
7274
m4trace:configure.in:13: -1- AC_SUBST([STRIP])
7275
m4trace:configure.in:13: -1- AC_SUBST([ac_ct_STRIP])
7276
m4trace:configure.in:13: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
7277
m4trace:configure.in:13: -1- AM_PROG_MKDIR_P
7278
m4trace:configure.in:13: -1- AC_SUBST([mkdir_p])
7279
m4trace:configure.in:13: -1- AC_PROG_AWK
7280
m4trace:configure.in:13: -1- AC_SUBST([AWK])
7281
m4trace:configure.in:13: -1- AC_PROG_MAKE_SET
7282
m4trace:configure.in:13: -1- AC_SUBST([SET_MAKE])
7283
m4trace:configure.in:13: -1- AM_SET_LEADING_DOT
7284
m4trace:configure.in:13: -1- AC_SUBST([am__leading_dot])
7285
m4trace:configure.in:13: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
7286
[_AM_PROG_TAR([v7])])])
7287
m4trace:configure.in:13: -2- _AM_MANGLE_OPTION([tar-ustar])
7288
m4trace:configure.in:13: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
7289
m4trace:configure.in:13: -2- _AM_MANGLE_OPTION([tar-pax])
7290
m4trace:configure.in:13: -1- _AM_PROG_TAR([v7])
7291
m4trace:configure.in:13: -1- AM_MISSING_PROG([AMTAR], [tar])
7292
m4trace:configure.in:13: -1- AC_SUBST([AMTAR])
7293
m4trace:configure.in:13: -1- AC_SUBST([am__tar])
7294
m4trace:configure.in:13: -1- AC_SUBST([am__untar])
7295
m4trace:configure.in:13: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
7296
[_AM_DEPENDENCIES(CC)],
7297
[define([AC_PROG_CC],
7298
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
7299
AC_PROVIDE_IFELSE([AC_PROG_CXX],
7300
[_AM_DEPENDENCIES(CXX)],
7301
[define([AC_PROG_CXX],
7302
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
7304
m4trace:configure.in:13: -2- _AM_MANGLE_OPTION([no-dependencies])
7305
m4trace:configure.in:17: -1- LAC_DOXYGEN([" ../ "])
7306
m4trace:configure.in:17: -1- AC_SUBST([DOXYGEN], [$ac_cv_path_DOXYGEN])
7307
m4trace:configure.in:17: -1- AC_SUBST([DOXYGEN])
7308
m4trace:configure.in:17: -1- AC_SUBST([DOXYGEN])
7309
m4trace:configure.in:17: -1- AC_SUBST([DOXYFILE])
7310
m4trace:configure.in:17: -1- AC_SUBST([DOXYFILE])
7311
m4trace:configure.in:17: -1- AC_SUBST([DOT], [$ac_cv_path_DOT])
7312
m4trace:configure.in:17: -1- AC_SUBST([PERL], [$ac_cv_path_PERL])
7313
m4trace:configure.in:17: -1- AC_SUBST([PERL])
7314
m4trace:configure.in:17: -1- AC_SUBST([HAVE_DOT])
7315
m4trace:configure.in:17: -1- LAC_DOXYGEN_SOURCE_DIRS([" ../ "])
7316
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_srcdirs])
7317
m4trace:configure.in:17: -1- LAC_DOXYGEN_FILE_PATTERNS([])
7318
m4trace:configure.in:17: -1- LAC_DOXYGEN_INPUT_FILTER([])
7319
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_input_filter])
7320
m4trace:configure.in:17: -1- LAC_DOXYGEN_PROJECT([$GPT_NAME])
7321
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_project])
7322
m4trace:configure.in:17: -1- LAC_DOXYGEN_OUTPUT_TAGFILE([$GPT_NAME])
7323
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_output_tagfile])
7324
m4trace:configure.in:17: -1- LAC_DOXYGEN_TAGFILES([$tagfiles])
7325
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_tagfiles])
7326
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_internal_tagfiles])
7327
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_installdox])
7328
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_file_patterns])
7329
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_examples])
7330
m4trace:configure.in:17: -1- AC_SUBST([lac_doxygen_predefines])
7331
m4trace:configure.in:19: -1- GLOBUS_FINALIZE
7332
m4trace:configure.in:19: -1- AC_SUBST([CC])
7333
m4trace:configure.in:19: -1- AC_SUBST([LD])
7334
m4trace:configure.in:19: -1- AC_SUBST([CXX])
7335
m4trace:configure.in:28: -1- AC_CONFIG_FILES([pkgdata/Makefile
7336
pkgdata/pkg_data_src.gpt
7340
doxygen/Doxyfile-internal
7342
m4trace:configure.in:28: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
7343
You should run autoupdate.], [])
7344
m4trace:configure.in:28: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
7345
m4trace:configure.in:28: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])