~ubuntu-branches/ubuntu/karmic/globus-rsl-assist/karmic

« back to all changes in this revision

Viewing changes to autom4te.cache/traces.0

  • Committer: Bazaar Package Importer
  • Author(s): Mattias Ellert
  • Date: 2009-04-18 20:17:36 UTC
  • Revision ID: james.westby@ubuntu.com-20090418201736-382bhb1s4e8ri963
Tags: upstream-2.1
ImportĀ upstreamĀ versionĀ 2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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],
 
5
    [AC_LIBTOOL_CXX],
 
6
    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
 
7
  ])])
 
8
dnl And a similar setup for Fortran 77 support
 
9
  AC_PROVIDE_IFELSE([AC_PROG_F77],
 
10
    [AC_LIBTOOL_F77],
 
11
    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
 
12
])])
 
13
 
 
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],
 
18
    [AC_LIBTOOL_GCJ],
 
19
    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
 
20
      [AC_LIBTOOL_GCJ],
 
21
      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
 
22
        [AC_LIBTOOL_GCJ],
 
23
      [ifdef([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])])])])
 
30
])])
 
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
 
35
 
 
36
# This can be used to rebuild libtool when needed
 
37
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 
38
 
 
39
# Always use our own libtool.
 
40
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
41
AC_SUBST(LIBTOOL)dnl
 
42
 
 
43
# Prevent multiple expansion
 
44
define([AC_PROG_LIBTOOL], [])
 
45
])
 
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
 
56
 
 
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
 
62
dnl
 
63
AC_LIBTOOL_SYS_MAX_CMD_LEN
 
64
AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
 
65
AC_LIBTOOL_OBJDIR
 
66
 
 
67
AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
68
_LT_AC_PROG_ECHO_BACKSLASH
 
69
 
 
70
case $host_os in
 
71
aix3*)
 
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
 
76
    COLLECT_NAMES=
 
77
    export COLLECT_NAMES
 
78
  fi
 
79
  ;;
 
80
esac
 
81
 
 
82
# Sed substitution that helps us do robust quoting.  It backslashifies
 
83
# metacharacters that are still active within double-quoted strings.
 
84
Xsed='sed -e 1s/^X//'
 
85
[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
 
86
 
 
87
# Same as above, but do not quote variable references.
 
88
[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
 
89
 
 
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'
 
93
 
 
94
# Sed substitution to avoid accidental globbing in evaled expressions
 
95
no_glob_subst='s/\*/\\\*/g'
 
96
 
 
97
# Constants:
 
98
rm="rm -f"
 
99
 
 
100
# Global variables:
 
101
default_ofile=libtool
 
102
can_build_shared=yes
 
103
 
 
104
# All known linkers require a `.a' archive for static linking (except MSVC,
 
105
# which needs '.lib').
 
106
libext=a
 
107
ltmain="$ac_aux_dir/ltmain.sh"
 
108
ofile="$default_ofile"
 
109
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
110
 
 
111
AC_CHECK_TOOL(AR, ar, false)
 
112
AC_CHECK_TOOL(RANLIB, ranlib, :)
 
113
AC_CHECK_TOOL(STRIP, strip, :)
 
114
 
 
115
old_CC="$CC"
 
116
old_CFLAGS="$CFLAGS"
 
117
 
 
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
 
135
 
 
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=
 
140
 
 
141
if test -n "$RANLIB"; then
 
142
  case $host_os in
 
143
  openbsd*)
 
144
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
145
    ;;
 
146
  *)
 
147
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
148
    ;;
 
149
  esac
 
150
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
151
fi
 
152
 
 
153
_LT_CC_BASENAME([$compiler])
 
154
 
 
155
# Only perform the check for file, if the check method requires it
 
156
case $deplibs_check_method in
 
157
file_magic*)
 
158
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
159
    AC_PATH_MAGIC
 
160
  fi
 
161
  ;;
 
162
esac
 
163
 
 
164
_LT_REQUIRED_DARWIN_CHECKS
 
165
 
 
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)
 
169
 
 
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
 
174
 
 
175
AC_ARG_WITH([pic],
 
176
    [AC_HELP_STRING([--with-pic],
 
177
        [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
 
178
    [pic_mode="$withval"],
 
179
    [pic_mode=default])
 
180
test -z "$pic_mode" && pic_mode=default
 
181
 
 
182
# Use C for the default configuration in the libtool script
 
183
tagname=
 
184
AC_LIBTOOL_LANG_C_CONFIG
 
185
_LT_AC_TAGCONFIG
 
186
])
 
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
 
188
 
 
189
# If no C compiler was specified, use CC.
 
190
LTCC=${LTCC-"$CC"}
 
191
 
 
192
# If no C compiler flags were specified, use CFLAGS.
 
193
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
194
 
 
195
# Allow CC to be a program name with arguments.
 
196
compiler=$CC
 
197
])
 
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
 
199
  case $cc_temp in
 
200
    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
 
201
    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
 
202
    \-*) ;;
 
203
    *) break;;
 
204
  esac
 
205
done
 
206
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
207
])
 
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`
 
213
$rm conftest*
 
214
])
 
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`
 
220
$rm -r conftest*
 
221
])
 
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], [
 
223
  case $host_os in
 
224
    rhapsody* | darwin*)
 
225
    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 
226
    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
227
 
 
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
 
234
   # link flags.
 
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*
 
241
   fi
 
242
   rm conftest.c
 
243
      fi])
 
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"
 
254
    ])
 
255
    case $host_os in
 
256
    rhapsody* | darwin1.[[0123]])
 
257
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
258
    darwin1.*)
 
259
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
260
    darwin*)
 
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' ;;
 
267
   10.[[012]]*)
 
268
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
269
   10.*)
 
270
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
271
      esac
 
272
    ;;
 
273
  esac
 
274
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
275
      _lt_dar_single_mod='$single_module'
 
276
    fi
 
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'
 
279
    else
 
280
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
281
    fi
 
282
    if test "$DSYMUTIL" != ":"; then
 
283
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
284
    else
 
285
      _lt_dsymutil=
 
286
    fi
 
287
    ;;
 
288
  esac
 
289
])
 
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,[
 
292
lt_aix_libpath_sed='
 
293
    /Import File Strings/,/^$/ {
 
294
        /^0/ {
 
295
            s/^0  *\(.*\)$/\1/
 
296
            p
 
297
        }
 
298
    }'
 
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"`
 
303
fi],[])
 
304
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
305
])
 
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)])
 
309
$1
 
310
AC_DIVERT_POP
 
311
])
 
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}
 
315
 
 
316
case X$ECHO in
 
317
X*--fallback-echo)
 
318
  # Remove one level of quotation (which was required for Make).
 
319
  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
 
320
  ;;
 
321
esac
 
322
 
 
323
echo=${ECHO-echo}
 
324
if test "X[$]1" = X--no-reexec; then
 
325
  # Discard the --no-reexec flag, and continue.
 
326
  shift
 
327
elif test "X[$]1" = X--fallback-echo; then
 
328
  # Avoid inline document here, it may be left over
 
329
  :
 
330
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
 
331
  # Yippee, $echo works!
 
332
  :
 
333
else
 
334
  # Restart under the correct shell.
 
335
  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
336
fi
 
337
 
 
338
if test "X[$]1" = X--fallback-echo; then
 
339
  # used as fallback echo
 
340
  shift
 
341
  cat <<EOF
 
342
[$]*
 
343
EOF
 
344
  exit 0
 
345
fi
 
346
 
 
347
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
348
# if CDPATH is set.
 
349
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
350
 
 
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
 
359
    then
 
360
      break
 
361
    fi
 
362
  done
 
363
fi
 
364
 
 
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
 
368
  :
 
369
else
 
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'
 
373
  #
 
374
  # So, first we look for a working echo in the user's PATH.
 
375
 
 
376
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
377
  for dir in $PATH /usr/ucb; do
 
378
    IFS="$lt_save_ifs"
 
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
 
383
      echo="$dir/echo"
 
384
      break
 
385
    fi
 
386
  done
 
387
  IFS="$lt_save_ifs"
 
388
 
 
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.
 
395
      echo='print -r'
 
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
 
402
      export CONFIG_SHELL
 
403
      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
 
404
    else
 
405
      # Try using printf.
 
406
      echo='printf %s\n'
 
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
 
410
        # Cool, printf works
 
411
        :
 
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
 
417
        export CONFIG_SHELL
 
418
        SHELL="$CONFIG_SHELL"
 
419
        export 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"
 
426
      else
 
427
        # maybe with a smaller string...
 
428
        prev=:
 
429
 
 
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
 
432
          then
 
433
            break
 
434
          fi
 
435
          prev="$cmd"
 
436
        done
 
437
 
 
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+"[$]@"}
 
442
        else
 
443
          # Oops.  We lost completely, so just stick with echo.
 
444
          echo=echo
 
445
        fi
 
446
      fi
 
447
    fi
 
448
  fi
 
449
fi
 
450
fi
 
451
 
 
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.
 
454
ECHO=$echo
 
455
if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
 
456
   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
 
457
fi
 
458
 
 
459
AC_SUBST(ECHO)
 
460
])])
 
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
 
465
 
 
466
# Some flags need to be propagated to the compiler or linker for good
 
467
# libtool support.
 
468
case $host in
 
469
ia64-*-hpux*)
 
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
 
474
    *ELF-32*)
 
475
      HPUX_IA64_MODE="32"
 
476
      ;;
 
477
    *ELF-64*)
 
478
      HPUX_IA64_MODE="64"
 
479
      ;;
 
480
    esac
 
481
  fi
 
482
  rm -rf conftest*
 
483
  ;;
 
484
*-*-irix6*)
 
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
 
490
    *32-bit*)
 
491
      LD="${LD-ld} -melf32bsmip"
 
492
      ;;
 
493
    *N32*)
 
494
      LD="${LD-ld} -melf32bmipn32"
 
495
      ;;
 
496
    *64-bit*)
 
497
      LD="${LD-ld} -melf64bmip"
 
498
      ;;
 
499
    esac
 
500
   else
 
501
    case `/usr/bin/file conftest.$ac_objext` in
 
502
    *32-bit*)
 
503
      LD="${LD-ld} -32"
 
504
      ;;
 
505
    *N32*)
 
506
      LD="${LD-ld} -n32"
 
507
      ;;
 
508
    *64-bit*)
 
509
      LD="${LD-ld} -64"
 
510
      ;;
 
511
    esac
 
512
   fi
 
513
  fi
 
514
  rm -rf conftest*
 
515
  ;;
 
516
 
 
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
 
523
    *32-bit*)
 
524
      case $host in
 
525
        x86_64-*kfreebsd*-gnu)
 
526
          LD="${LD-ld} -m elf_i386_fbsd"
 
527
          ;;
 
528
        x86_64-*linux*)
 
529
          LD="${LD-ld} -m elf_i386"
 
530
          ;;
 
531
        ppc64-*linux*|powerpc64-*linux*)
 
532
          LD="${LD-ld} -m elf32ppclinux"
 
533
          ;;
 
534
        s390x-*linux*)
 
535
          LD="${LD-ld} -m elf_s390"
 
536
          ;;
 
537
        sparc64-*linux*)
 
538
          LD="${LD-ld} -m elf32_sparc"
 
539
          ;;
 
540
      esac
 
541
      ;;
 
542
    *64-bit*)
 
543
      case $host in
 
544
        x86_64-*kfreebsd*-gnu)
 
545
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
546
          ;;
 
547
        x86_64-*linux*)
 
548
          LD="${LD-ld} -m elf_x86_64"
 
549
          ;;
 
550
        ppc*-*linux*|powerpc*-*linux*)
 
551
          LD="${LD-ld} -m elf64ppc"
 
552
          ;;
 
553
        s390*-*linux*)
 
554
          LD="${LD-ld} -m elf64_s390"
 
555
          ;;
 
556
        sparc*-*linux*)
 
557
          LD="${LD-ld} -m elf64_sparc"
 
558
          ;;
 
559
      esac
 
560
      ;;
 
561
    esac
 
562
  fi
 
563
  rm -rf conftest*
 
564
  ;;
 
565
 
 
566
*-*-sco3.2v5*)
 
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,
 
571
    [AC_LANG_PUSH(C)
 
572
     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 
573
     AC_LANG_POP])
 
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"
 
577
  fi
 
578
  ;;
 
579
sparc*-*solaris*)
 
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
 
584
    *64-bit*)
 
585
      case $lt_cv_prog_gnu_ld in
 
586
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
587
      *)
 
588
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
589
          LD="${LD-ld} -64"
 
590
        fi
 
591
        ;;
 
592
      esac
 
593
      ;;
 
594
    esac
 
595
  fi
 
596
  rm -rf conftest*
 
597
  ;;
 
598
 
 
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)
 
604
  ;;
 
605
  ])
 
606
esac
 
607
 
 
608
need_locks="$enable_libtool_lock"
 
609
 
 
610
])
 
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],
 
613
  [$2=no
 
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)
 
628
   ac_status=$?
 
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
 
637
       $2=yes
 
638
     fi
 
639
   fi
 
640
   $rm conftest*
 
641
])
 
642
 
 
643
if test x"[$]$2" = xyes; then
 
644
    ifelse([$5], , :, [$5])
 
645
else
 
646
    ifelse([$6], , :, [$6])
 
647
fi
 
648
])
 
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],
 
651
  [$2=no
 
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
 
664
         $2=yes
 
665
       fi
 
666
     else
 
667
       $2=yes
 
668
     fi
 
669
   fi
 
670
   $rm -r conftest*
 
671
   LDFLAGS="$save_LDFLAGS"
 
672
])
 
673
 
 
674
if test x"[$]$2" = xyes; then
 
675
    ifelse([$4], , :, [$4])
 
676
else
 
677
    ifelse([$5], , :, [$5])
 
678
fi
 
679
])
 
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
 
683
  i=0
 
684
  teststring="ABCD"
 
685
 
 
686
  case $build_os in
 
687
  msdosdjgpp*)
 
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
 
693
    ;;
 
694
 
 
695
  gnu*)
 
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;
 
700
    ;;
 
701
 
 
702
  cygwin* | mingw*)
 
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;
 
711
    ;;
 
712
 
 
713
  amigaos*)
 
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;
 
717
    ;;
 
718
 
 
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`
 
725
    else
 
726
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
727
    fi
 
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`
 
731
    ;;
 
732
 
 
733
  interix*)
 
734
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
735
    lt_cv_sys_max_cmd_len=196608
 
736
    ;;
 
737
 
 
738
  osf*)
 
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
 
744
    #
 
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 ;;
 
748
      esac
 
749
    fi
 
750
    ;;
 
751
  sco3.2v5*)
 
752
    lt_cv_sys_max_cmd_len=102400
 
753
    ;;
 
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/.*[[        ]]//'`
 
758
    else
 
759
      lt_cv_sys_max_cmd_len=32768
 
760
    fi
 
761
    ;;
 
762
  *)
 
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`
 
767
    else
 
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
 
774
      do
 
775
        i=`expr $i + 1`
 
776
        teststring=$teststring$teststring
 
777
      done
 
778
      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`
 
783
    fi
 
784
    ;;
 
785
  esac
 
786
])
 
787
if test -n $lt_cv_sys_max_cmd_len ; then
 
788
  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 
789
else
 
790
  AC_MSG_RESULT(none)
 
791
fi
 
792
])
 
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
 
794
])
 
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 :
 
797
  [$4]
 
798
else
 
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"
 
804
 
 
805
#if HAVE_DLFCN_H
 
806
#include <dlfcn.h>
 
807
#endif
 
808
 
 
809
#include <stdio.h>
 
810
 
 
811
#ifdef RTLD_GLOBAL
 
812
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
813
#else
 
814
#  ifdef DL_GLOBAL
 
815
#    define LT_DLGLOBAL         DL_GLOBAL
 
816
#  else
 
817
#    define LT_DLGLOBAL         0
 
818
#  endif
 
819
#endif
 
820
 
 
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
 
824
#  ifdef RTLD_LAZY
 
825
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
826
#  else
 
827
#    ifdef DL_LAZY
 
828
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
829
#    else
 
830
#      ifdef RTLD_NOW
 
831
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
832
#      else
 
833
#        ifdef DL_NOW
 
834
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
835
#        else
 
836
#          define LT_DLLAZY_OR_NOW      0
 
837
#        endif
 
838
#      endif
 
839
#    endif
 
840
#  endif
 
841
#endif
 
842
 
 
843
#ifdef __cplusplus
 
844
extern "C" void exit (int);
 
845
#endif
 
846
 
 
847
void fnord() { int i=42;}
 
848
int main ()
 
849
{
 
850
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
851
  int status = $lt_dlunknown;
 
852
 
 
853
  if (self)
 
854
    {
 
855
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
856
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
857
      /* dlclose (self); */
 
858
    }
 
859
  else
 
860
    puts (dlerror ());
 
861
 
 
862
    exit (status);
 
863
}]
 
864
EOF
 
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
 
867
    lt_status=$?
 
868
    case x$lt_status in
 
869
      x$lt_dlno_uscore) $1 ;;
 
870
      x$lt_dlneed_uscore) $2 ;;
 
871
      x$lt_dlunknown|x*) $3 ;;
 
872
    esac
 
873
  else :
 
874
    # compilation failed
 
875
    $3
 
876
  fi
 
877
fi
 
878
rm -fr conftest*
 
879
])
 
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
 
885
else
 
886
  lt_cv_dlopen=no
 
887
  lt_cv_dlopen_libs=
 
888
 
 
889
  case $host_os in
 
890
  beos*)
 
891
    lt_cv_dlopen="load_add_on"
 
892
    lt_cv_dlopen_libs=
 
893
    lt_cv_dlopen_self=yes
 
894
    ;;
 
895
 
 
896
  mingw* | pw32*)
 
897
    lt_cv_dlopen="LoadLibrary"
 
898
    lt_cv_dlopen_libs=
 
899
   ;;
 
900
 
 
901
  cygwin*)
 
902
    lt_cv_dlopen="dlopen"
 
903
    lt_cv_dlopen_libs=
 
904
   ;;
 
905
 
 
906
  darwin*)
 
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"],[
 
910
    lt_cv_dlopen="dyld"
 
911
    lt_cv_dlopen_libs=
 
912
    lt_cv_dlopen_self=yes
 
913
    ])
 
914
   ;;
 
915
 
 
916
  *)
 
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"])
 
929
              ])
 
930
            ])
 
931
          ])
 
932
        ])
 
933
      ])
 
934
    ;;
 
935
  esac
 
936
 
 
937
  if test "x$lt_cv_dlopen" != xno; then
 
938
    enable_dlopen=yes
 
939
  else
 
940
    enable_dlopen=no
 
941
  fi
 
942
 
 
943
  case $lt_cv_dlopen in
 
944
  dlopen)
 
945
    save_CPPFLAGS="$CPPFLAGS"
 
946
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
947
 
 
948
    save_LDFLAGS="$LDFLAGS"
 
949
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
950
 
 
951
    save_LIBS="$LIBS"
 
952
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
953
 
 
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)
 
959
    ])
 
960
 
 
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)
 
968
      ])
 
969
    fi
 
970
 
 
971
    CPPFLAGS="$save_CPPFLAGS"
 
972
    LDFLAGS="$save_LDFLAGS"
 
973
    LIBS="$save_LIBS"
 
974
    ;;
 
975
  esac
 
976
 
 
977
  case $lt_cv_dlopen_self in
 
978
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
979
  *) enable_dlopen_self=unknown ;;
 
980
  esac
 
981
 
 
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 ;;
 
985
  esac
 
986
fi
 
987
])
 
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
 
994
   mkdir conftest
 
995
   cd conftest
 
996
   mkdir out
 
997
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
998
 
 
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)
 
1010
   ac_status=$?
 
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
 
1014
   then
 
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
 
1021
     fi
 
1022
   fi
 
1023
   chmod u+w . 2>&AS_MESSAGE_LOG_FD
 
1024
   $rm conftest*
 
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
 
1029
   cd ..
 
1030
   rmdir conftest
 
1031
   $rm conftest*
 
1032
])
 
1033
])
 
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
 
1035
 
 
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])
 
1040
  hard_links=yes
 
1041
  $rm conftest*
 
1042
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
1043
  touch conftest.a
 
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])
 
1049
    need_locks=warn
 
1050
  fi
 
1051
else
 
1052
  need_locks=no
 
1053
fi
 
1054
])
 
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
 
1059
  lt_cv_objdir=.libs
 
1060
else
 
1061
  # MS-DOS does not allow filenames that begin with a dot.
 
1062
  lt_cv_objdir=_libs
 
1063
fi
 
1064
rmdir .libs 2>/dev/null])
 
1065
objdir=$lt_cv_objdir
 
1066
])
 
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
 
1072
 
 
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
 
1082
  else
 
1083
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
1084
    _LT_AC_TAGVAR(hardcode_action, $1)=immediate
 
1085
  fi
 
1086
else
 
1087
  # We cannot hardcode anything, or else we can only hardcode existing
 
1088
  # directories.
 
1089
  _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
 
1090
fi
 
1091
AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
 
1092
 
 
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
 
1100
fi
 
1101
])
 
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=
 
1103
old_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])
 
1109
else
 
1110
# FIXME - insert some real tests, host_os isn't really good enough
 
1111
  case $host_os in
 
1112
   darwin*)
 
1113
       if test -n "$STRIP" ; then
 
1114
         striplib="$STRIP -x"
 
1115
         old_striplib="$STRIP -S"
 
1116
         AC_MSG_RESULT([yes])
 
1117
       else
 
1118
  AC_MSG_RESULT([no])
 
1119
fi
 
1120
       ;;
 
1121
   *)
 
1122
  AC_MSG_RESULT([no])
 
1123
    ;;
 
1124
  esac
 
1125
fi
 
1126
])
 
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])
 
1129
library_names_spec=
 
1130
libname_spec='lib$name'
 
1131
soname_spec=
 
1132
shrext_cmds=".so"
 
1133
postinstall_cmds=
 
1134
postuninstall_cmds=
 
1135
finish_cmds=
 
1136
finish_eval=
 
1137
shlibpath_var=
 
1138
shlibpath_overrides_runpath=unknown
 
1139
version_type=none
 
1140
dynamic_linker="$host_os ld.so"
 
1141
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
1142
m4_if($1,[],[
 
1143
if test "$GCC" = yes; then
 
1144
  case $host_os in
 
1145
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
1146
    *) lt_awk_arg="/^libraries:/" ;;
 
1147
  esac
 
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'`
 
1155
  else
 
1156
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
1157
  fi
 
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"
 
1165
    else
 
1166
      test -d "$lt_sys_path" && \
 
1167
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
1168
    fi
 
1169
  done
 
1170
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
1171
BEGIN {RS=" "; FS="/|\n";} {
 
1172
  lt_foo="";
 
1173
  lt_count=0;
 
1174
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
1175
    if ($lt_i != "" && $lt_i != ".") {
 
1176
      if ($lt_i == "..") {
 
1177
        lt_count++;
 
1178
      } else {
 
1179
        if (lt_count == 0) {
 
1180
          lt_foo="/" $lt_i lt_foo;
 
1181
        } else {
 
1182
          lt_count--;
 
1183
        }
 
1184
      }
 
1185
    }
 
1186
  }
 
1187
  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
 
1188
  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 
1189
}'`
 
1190
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
1191
else
 
1192
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
1193
fi])
 
1194
need_lib_prefix=unknown
 
1195
hardcode_into_libs=no
 
1196
 
 
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
 
1200
 
 
1201
case $host_os in
 
1202
aix3*)
 
1203
  version_type=linux
 
1204
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
1205
  shlibpath_var=LIBPATH
 
1206
 
 
1207
  # AIX 3 has no versioning support, so we append a major version to the name.
 
1208
  soname_spec='${libname}${release}${shared_ext}$major'
 
1209
  ;;
 
1210
 
 
1211
aix[[4-9]]*)
 
1212
  version_type=linux
 
1213
  need_lib_prefix=no
 
1214
  need_version=no
 
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
 
1221
  else
 
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.
 
1227
    case $host_os in
 
1228
      aix4 | aix4.[[01]] | aix4.[[01]].*)
 
1229
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
1230
           echo ' yes '
 
1231
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
1232
        :
 
1233
      else
 
1234
        can_build_shared=no
 
1235
      fi
 
1236
      ;;
 
1237
    esac
 
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}'
 
1246
    else
 
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'
 
1251
    fi
 
1252
    shlibpath_var=LIBPATH
 
1253
  fi
 
1254
  ;;
 
1255
 
 
1256
amigaos*)
 
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'
 
1260
  ;;
 
1261
 
 
1262
beos*)
 
1263
  library_names_spec='${libname}${shared_ext}'
 
1264
  dynamic_linker="$host_os ld.so"
 
1265
  shlibpath_var=LIBRARY_PATH
 
1266
  ;;
 
1267
 
 
1268
bsdi[[45]]*)
 
1269
  version_type=linux
 
1270
  need_version=no
 
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
 
1280
  ;;
 
1281
 
 
1282
cygwin* | mingw* | pw32*)
 
1283
  version_type=windows
 
1284
  shrext_cmds=".dll"
 
1285
  need_version=no
 
1286
  need_lib_prefix=no
 
1287
 
 
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~
 
1300
       $rm \$dlpath'
 
1301
    shlibpath_overrides_runpath=yes
 
1302
 
 
1303
    case $host_os in
 
1304
    cygwin*)
 
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"
 
1308
      ;;
 
1309
    mingw*)
 
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'`
 
1321
      else
 
1322
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
1323
      fi
 
1324
      ;;
 
1325
    pw32*)
 
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}'
 
1328
      ;;
 
1329
    esac
 
1330
    ;;
 
1331
 
 
1332
  *)
 
1333
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
1334
    ;;
 
1335
  esac
 
1336
  dynamic_linker='Win32 ld.exe'
 
1337
  # FIXME: first we should search . and the directory the executable is in
 
1338
  shlibpath_var=PATH
 
1339
  ;;
 
1340
 
 
1341
darwin* | rhapsody*)
 
1342
  dynamic_linker="$host_os dyld"
 
1343
  version_type=darwin
 
1344
  need_lib_prefix=no
 
1345
  need_version=no
 
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`'
 
1351
  m4_if([$1], [],[
 
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'
 
1354
  ;;
 
1355
 
 
1356
dgux*)
 
1357
  version_type=linux
 
1358
  need_lib_prefix=no
 
1359
  need_version=no
 
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
 
1363
  ;;
 
1364
 
 
1365
freebsd1*)
 
1366
  dynamic_linker=no
 
1367
  ;;
 
1368
 
 
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`
 
1374
  else
 
1375
    case $host_os in
 
1376
    freebsd[[123]]*) objformat=aout ;;
 
1377
    *) objformat=elf ;;
 
1378
    esac
 
1379
  fi
 
1380
  version_type=freebsd-$objformat
 
1381
  case $version_type in
 
1382
    freebsd-elf*)
 
1383
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
1384
      need_version=no
 
1385
      need_lib_prefix=no
 
1386
      ;;
 
1387
    freebsd-*)
 
1388
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
1389
      need_version=yes
 
1390
      ;;
 
1391
  esac
 
1392
  shlibpath_var=LD_LIBRARY_PATH
 
1393
  case $host_os in
 
1394
  freebsd2*)
 
1395
    shlibpath_overrides_runpath=yes
 
1396
    ;;
 
1397
  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
 
1398
    shlibpath_overrides_runpath=yes
 
1399
    # Globus - changed to "no" to support relocatability
 
1400
    hardcode_into_libs=no
 
1401
    ;;
 
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
 
1407
    ;;
 
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
 
1412
    ;;
 
1413
  esac
 
1414
  ;;
 
1415
 
 
1416
gnu*)
 
1417
  version_type=linux
 
1418
  need_lib_prefix=no
 
1419
  need_version=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
 
1425
  ;;
 
1426
 
 
1427
hpux9* | hpux10* | hpux11*)
 
1428
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
1429
  # link against other versions.
 
1430
  version_type=sunos
 
1431
  need_lib_prefix=no
 
1432
  need_version=no
 
1433
  case $host_cpu in
 
1434
  ia64*)
 
1435
    shrext_cmds='.so'
 
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"
 
1445
    else
 
1446
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
1447
    fi
 
1448
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
1449
    ;;
 
1450
   hppa*64*)
 
1451
     shrext_cmds='.sl'
 
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
 
1461
     ;;
 
1462
   *)
 
1463
    shrext_cmds='.sl'
 
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'
 
1469
    ;;
 
1470
  esac
 
1471
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
1472
  postinstall_cmds='chmod 555 $lib'
 
1473
  ;;
 
1474
 
 
1475
interix[[3-9]]*)
 
1476
  version_type=linux
 
1477
  need_lib_prefix=no
 
1478
  need_version=no
 
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
 
1485
  ;;
 
1486
 
 
1487
irix5* | irix6* | nonstopux*)
 
1488
  case $host_os in
 
1489
    nonstopux*) version_type=nonstopux ;;
 
1490
    *)
 
1491
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
1492
                version_type=linux
 
1493
        else
 
1494
                version_type=irix
 
1495
        fi ;;
 
1496
  esac
 
1497
  need_lib_prefix=no
 
1498
  need_version=no
 
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}'
 
1501
  case $host_os in
 
1502
  irix5* | nonstopux*)
 
1503
    libsuff= shlibsuff=
 
1504
    ;;
 
1505
  *)
 
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;;
 
1514
    esac
 
1515
    ;;
 
1516
  esac
 
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
 
1523
  ;;
 
1524
 
 
1525
# No shared lib support for Linux oldld, aout, or coff.
 
1526
linux*oldld* | linux*aout* | linux*coff*)
 
1527
  dynamic_linker=no
 
1528
  ;;
 
1529
 
 
1530
# This must be Linux ELF.
 
1531
linux* | k*bsd*-gnu)
 
1532
  version_type=linux
 
1533
  need_lib_prefix=no
 
1534
  need_version=no
 
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
 
1545
 
 
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"
 
1550
  fi
 
1551
 
 
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'
 
1559
  ;;
 
1560
 
 
1561
netbsd*)
 
1562
  version_type=sunos
 
1563
  need_lib_prefix=no
 
1564
  need_version=no
 
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'
 
1569
  else
 
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'
 
1573
  fi
 
1574
  shlibpath_var=LD_LIBRARY_PATH
 
1575
  shlibpath_overrides_runpath=yes
 
1576
  # Globus - changed to "no" to support relocatability
 
1577
  hardcode_into_libs=no
 
1578
  ;;
 
1579
 
 
1580
newsos6)
 
1581
  version_type=linux
 
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
 
1585
  ;;
 
1586
 
 
1587
nto-qnx*)
 
1588
  version_type=linux
 
1589
  need_lib_prefix=no
 
1590
  need_version=no
 
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
 
1595
  ;;
 
1596
 
 
1597
openbsd*)
 
1598
  version_type=sunos
 
1599
  sys_lib_dlsearch_path_spec="/usr/lib"
 
1600
  need_lib_prefix=no
 
1601
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
1602
  case $host_os in
 
1603
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
1604
    *)                         need_version=no  ;;
 
1605
  esac
 
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
 
1610
    case $host_os in
 
1611
      openbsd2.[[89]] | openbsd2.[[89]].*)
 
1612
        shlibpath_overrides_runpath=no
 
1613
        ;;
 
1614
      *)
 
1615
        shlibpath_overrides_runpath=yes
 
1616
        ;;
 
1617
      esac
 
1618
  else
 
1619
    shlibpath_overrides_runpath=yes
 
1620
  fi
 
1621
  ;;
 
1622
 
 
1623
os2*)
 
1624
  libname_spec='$name'
 
1625
  shrext_cmds=".dll"
 
1626
  need_lib_prefix=no
 
1627
  library_names_spec='$libname${shared_ext} $libname.a'
 
1628
  dynamic_linker='OS/2 ld.exe'
 
1629
  shlibpath_var=LIBPATH
 
1630
  ;;
 
1631
 
 
1632
osf3* | osf4* | osf5*)
 
1633
  version_type=osf
 
1634
  need_lib_prefix=no
 
1635
  need_version=no
 
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"
 
1641
  ;;
 
1642
 
 
1643
rdos*)
 
1644
  dynamic_linker=no
 
1645
  ;;
 
1646
 
 
1647
solaris*)
 
1648
  version_type=linux
 
1649
  need_lib_prefix=no
 
1650
  need_version=no
 
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'
 
1659
  ;;
 
1660
 
 
1661
sunos4*)
 
1662
  version_type=sunos
 
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
 
1668
    need_lib_prefix=no
 
1669
  fi
 
1670
  need_version=yes
 
1671
  ;;
 
1672
 
 
1673
sysv4 | sysv4.3*)
 
1674
  version_type=linux
 
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
 
1679
    sni)
 
1680
      shlibpath_overrides_runpath=no
 
1681
      need_lib_prefix=no
 
1682
      export_dynamic_flag_spec='${wl}-Blargedynsym'
 
1683
      runpath_var=LD_RUN_PATH
 
1684
      ;;
 
1685
    siemens)
 
1686
      need_lib_prefix=no
 
1687
      ;;
 
1688
    motorola)
 
1689
      need_lib_prefix=no
 
1690
      need_version=no
 
1691
      shlibpath_overrides_runpath=no
 
1692
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
1693
      ;;
 
1694
  esac
 
1695
  ;;
 
1696
 
 
1697
sysv4*MP*)
 
1698
  if test -d /usr/nec ;then
 
1699
    version_type=linux
 
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
 
1703
  fi
 
1704
  ;;
 
1705
 
 
1706
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
1707
  version_type=freebsd-elf
 
1708
  need_lib_prefix=no
 
1709
  need_version=no
 
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
 
1717
  else
 
1718
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
1719
    shlibpath_overrides_runpath=yes
 
1720
    case $host_os in
 
1721
      sco3.2v5*)
 
1722
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
1723
        ;;
 
1724
    esac
 
1725
  fi
 
1726
  sys_lib_dlsearch_path_spec='/usr/lib'
 
1727
  ;;
 
1728
 
 
1729
uts4*)
 
1730
  version_type=linux
 
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
 
1734
  ;;
 
1735
 
 
1736
*)
 
1737
  dynamic_linker=no
 
1738
  ;;
 
1739
esac
 
1740
AC_MSG_RESULT([$dynamic_linker])
 
1741
test "$dynamic_linker" = no && can_build_shared=no
 
1742
 
 
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"
 
1749
 
 
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"
 
1753
fi
 
1754
])
 
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
 
1756
AC_ARG_WITH([tags],
 
1757
    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
 
1758
        [include additional configurations @<:@automatic@:>@])],
 
1759
    [tagnames="$withval"])
 
1760
 
 
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])
 
1764
  fi
 
1765
 
 
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])
 
1770
    else
 
1771
      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
 
1772
    fi
 
1773
  fi
 
1774
  if test -z "$LTCFLAGS"; then
 
1775
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 
1776
  fi
 
1777
 
 
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'`
 
1781
 
 
1782
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
1783
  for tagname in $tagnames; do
 
1784
    IFS="$lt_save_ifs"
 
1785
    # Check whether tagname contains only valid characters
 
1786
    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
 
1787
    "") ;;
 
1788
    *)  AC_MSG_ERROR([invalid tag name: $tagname])
 
1789
        ;;
 
1790
    esac
 
1791
 
 
1792
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 
1793
    then
 
1794
      AC_MSG_ERROR([tag name \"$tagname\" already exists])
 
1795
    fi
 
1796
 
 
1797
    # Update the list of available tags.
 
1798
    if test -n "$tagname"; then
 
1799
      echo appending configuration tag \"$tagname\" to $ofile
 
1800
 
 
1801
      case $tagname in
 
1802
      CXX)
 
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
 
1807
        else
 
1808
          tagname=""
 
1809
        fi
 
1810
        ;;
 
1811
 
 
1812
      F77)
 
1813
        if test -n "$F77" && test "X$F77" != "Xno"; then
 
1814
          AC_LIBTOOL_LANG_F77_CONFIG
 
1815
        else
 
1816
          tagname=""
 
1817
        fi
 
1818
        ;;
 
1819
 
 
1820
      GCJ)
 
1821
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 
1822
          AC_LIBTOOL_LANG_GCJ_CONFIG
 
1823
        else
 
1824
          tagname=""
 
1825
        fi
 
1826
        ;;
 
1827
 
 
1828
      RC)
 
1829
        AC_LIBTOOL_LANG_RC_CONFIG
 
1830
        ;;
 
1831
 
 
1832
      *)
 
1833
        AC_MSG_ERROR([Unsupported tag name: $tagname])
 
1834
        ;;
 
1835
      esac
 
1836
 
 
1837
      # Append the new tag name to the list of available tags.
 
1838
      if test -n "$tagname" ; then
 
1839
      available_tags="$available_tags $tagname"
 
1840
    fi
 
1841
    fi
 
1842
  done
 
1843
  IFS="$lt_save_ifs"
 
1844
 
 
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"
 
1848
    chmod +x "$ofile"
 
1849
  else
 
1850
    rm -f "${ofile}T"
 
1851
    AC_MSG_ERROR([unable to update list of available tagged configurations.])
 
1852
  fi
 
1853
fi
 
1854
])
 
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])
 
1856
])
 
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])
 
1858
])
 
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}
 
1864
    case $enableval in
 
1865
    yes) enable_shared=yes ;;
 
1866
    no) enable_shared=no ;;
 
1867
    *)
 
1868
      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
 
1872
        IFS="$lt_save_ifs"
 
1873
        if test "X$pkg" = "X$p"; then
 
1874
          enable_shared=yes
 
1875
        fi
 
1876
      done
 
1877
      IFS="$lt_save_ifs"
 
1878
      ;;
 
1879
    esac],
 
1880
    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
 
1881
])
 
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)
 
1884
])
 
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}
 
1890
    case $enableval in
 
1891
    yes) enable_static=yes ;;
 
1892
    no) enable_static=no ;;
 
1893
    *)
 
1894
     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
 
1898
        IFS="$lt_save_ifs"
 
1899
        if test "X$pkg" = "X$p"; then
 
1900
          enable_static=yes
 
1901
        fi
 
1902
      done
 
1903
      IFS="$lt_save_ifs"
 
1904
      ;;
 
1905
    esac],
 
1906
    [enable_static=]AC_ENABLE_STATIC_DEFAULT)
 
1907
])
 
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)
 
1910
])
 
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}
 
1916
    case $enableval in
 
1917
    yes) enable_fast_install=yes ;;
 
1918
    no) enable_fast_install=no ;;
 
1919
    *)
 
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
 
1924
        IFS="$lt_save_ifs"
 
1925
        if test "X$pkg" = "X$p"; then
 
1926
          enable_fast_install=yes
 
1927
        fi
 
1928
      done
 
1929
      IFS="$lt_save_ifs"
 
1930
      ;;
 
1931
    esac],
 
1932
    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
 
1933
])
 
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)
 
1936
])
 
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)
 
1939
])
 
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,
 
1943
[case $MAGIC_CMD in
 
1944
[[\\/*] |  ?:[\\/]*])
 
1945
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
1946
  ;;
 
1947
*)
 
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
 
1955
    IFS="$lt_save_ifs"
 
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
 
1961
        "file_magic "*)
 
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
 
1966
            :
 
1967
          else
 
1968
            cat <<EOF 1>&2
 
1969
 
 
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
 
1978
 
 
1979
EOF
 
1980
          fi ;;
 
1981
        esac
 
1982
      fi
 
1983
      break
 
1984
    fi
 
1985
  done
 
1986
  IFS="$lt_save_ifs"
 
1987
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
1988
  ;;
 
1989
esac])
 
1990
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
1991
if test -n "$MAGIC_CMD"; then
 
1992
  AC_MSG_RESULT($MAGIC_CMD)
 
1993
else
 
1994
  AC_MSG_RESULT(no)
 
1995
fi
 
1996
])
 
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)
 
2001
  else
 
2002
    MAGIC_CMD=:
 
2003
  fi
 
2004
fi
 
2005
])
 
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],
 
2010
    [with_gnu_ld=no])
 
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
 
2015
ac_prog=ld
 
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])
 
2019
  case $host in
 
2020
  *-*-mingw*)
 
2021
    # gcc leaves a trailing carriage return which upsets mingw
 
2022
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
2023
  *)
 
2024
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
2025
  esac
 
2026
  case $ac_prog in
 
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%/%"`
 
2034
      done
 
2035
      test -z "$LD" && LD="$ac_prog"
 
2036
      ;;
 
2037
  "")
 
2038
    # If it fails, then pretend we aren't using GCC.
 
2039
    ac_prog=ld
 
2040
    ;;
 
2041
  *)
 
2042
    # If it is relative, then search for the first ld in PATH.
 
2043
    with_gnu_ld=unknown
 
2044
    ;;
 
2045
  esac
 
2046
elif test "$with_gnu_ld" = yes; then
 
2047
  AC_MSG_CHECKING([for GNU ld])
 
2048
else
 
2049
  AC_MSG_CHECKING([for non-GNU ld])
 
2050
fi
 
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
 
2055
    IFS="$lt_save_ifs"
 
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
 
2065
        ;;
 
2066
      *)
 
2067
        test "$with_gnu_ld" != yes && break
 
2068
        ;;
 
2069
      esac
 
2070
    fi
 
2071
  done
 
2072
  IFS="$lt_save_ifs"
 
2073
else
 
2074
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
2075
fi])
 
2076
LD="$lt_cv_path_LD"
 
2077
if test -n "$LD"; then
 
2078
  AC_MSG_RESULT($LD)
 
2079
else
 
2080
  AC_MSG_RESULT(no)
 
2081
fi
 
2082
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 
2083
AC_PROG_LD_GNU
 
2084
])
 
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
 
2091
  ;;
 
2092
*)
 
2093
  lt_cv_prog_gnu_ld=no
 
2094
  ;;
 
2095
esac])
 
2096
with_gnu_ld=$lt_cv_prog_gnu_ld
 
2097
])
 
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
 
2103
"" | " "*) ;;
 
2104
*) reload_flag=" $reload_flag" ;;
 
2105
esac
 
2106
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
2107
case $host_os in
 
2108
  darwin*)
 
2109
    if test "$GCC" = yes; then
 
2110
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
2111
    else
 
2112
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
2113
    fi
 
2114
    ;;
 
2115
esac
 
2116
])
 
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.
 
2132
 
 
2133
case $host_os in
 
2134
aix[[4-9]]*)
 
2135
  lt_cv_deplibs_check_method=pass_all
 
2136
  ;;
 
2137
 
 
2138
beos*)
 
2139
  lt_cv_deplibs_check_method=pass_all
 
2140
  ;;
 
2141
 
 
2142
bsdi[[45]]*)
 
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
 
2146
  ;;
 
2147
 
 
2148
cygwin*)
 
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'
 
2152
  ;;
 
2153
 
 
2154
mingw* | pw32*)
 
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'
 
2161
  else
 
2162
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
2163
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
2164
  fi
 
2165
  ;;
 
2166
 
 
2167
darwin* | rhapsody*)
 
2168
  lt_cv_deplibs_check_method=pass_all
 
2169
  ;;
 
2170
 
 
2171
freebsd* | dragonfly*)
 
2172
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
2173
    case $host_cpu in
 
2174
    i*86 )
 
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.*`
 
2180
      ;;
 
2181
    esac
 
2182
  else
 
2183
    lt_cv_deplibs_check_method=pass_all
 
2184
  fi
 
2185
  ;;
 
2186
 
 
2187
gnu*)
 
2188
  lt_cv_deplibs_check_method=pass_all
 
2189
  ;;
 
2190
 
 
2191
hpux10.20* | hpux11*)
 
2192
  lt_cv_file_magic_cmd=/usr/bin/file
 
2193
  case $host_cpu in
 
2194
  ia64*)
 
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
 
2197
    ;;
 
2198
  hppa*64*)
 
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
 
2201
    ;;
 
2202
  *)
 
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
 
2205
    ;;
 
2206
  esac
 
2207
  ;;
 
2208
 
 
2209
interix[[3-9]]*)
 
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)$'
 
2212
  ;;
 
2213
 
 
2214
irix5* | irix6* | nonstopux*)
 
2215
  case $LD in
 
2216
  *-32|*"-32 ") libmagic=32-bit;;
 
2217
  *-n32|*"-n32 ") libmagic=N32;;
 
2218
  *-64|*"-64 ") libmagic=64-bit;;
 
2219
  *) libmagic=never-match;;
 
2220
  esac
 
2221
  lt_cv_deplibs_check_method=pass_all
 
2222
  ;;
 
2223
 
 
2224
# This must be Linux ELF.
 
2225
linux* | k*bsd*-gnu)
 
2226
  lt_cv_deplibs_check_method=pass_all
 
2227
  ;;
 
2228
 
 
2229
netbsd*)
 
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)$'
 
2232
  else
 
2233
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 
2234
  fi
 
2235
  ;;
 
2236
 
 
2237
newos6*)
 
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
 
2241
  ;;
 
2242
 
 
2243
nto-qnx*)
 
2244
  lt_cv_deplibs_check_method=unknown
 
2245
  ;;
 
2246
 
 
2247
openbsd*)
 
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)$'
 
2250
  else
 
2251
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 
2252
  fi
 
2253
  ;;
 
2254
 
 
2255
osf3* | osf4* | osf5*)
 
2256
  lt_cv_deplibs_check_method=pass_all
 
2257
  ;;
 
2258
 
 
2259
rdos*)
 
2260
  lt_cv_deplibs_check_method=pass_all
 
2261
  ;;
 
2262
 
 
2263
solaris*)
 
2264
  lt_cv_deplibs_check_method=pass_all
 
2265
  ;;
 
2266
 
 
2267
sysv4 | sysv4.3*)
 
2268
  case $host_vendor in
 
2269
  motorola)
 
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*`
 
2272
    ;;
 
2273
  ncr)
 
2274
    lt_cv_deplibs_check_method=pass_all
 
2275
    ;;
 
2276
  sequent)
 
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 )'
 
2279
    ;;
 
2280
  sni)
 
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
 
2284
    ;;
 
2285
  siemens)
 
2286
    lt_cv_deplibs_check_method=pass_all
 
2287
    ;;
 
2288
  pc)
 
2289
    lt_cv_deplibs_check_method=pass_all
 
2290
    ;;
 
2291
  esac
 
2292
  ;;
 
2293
 
 
2294
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
2295
  lt_cv_deplibs_check_method=pass_all
 
2296
  ;;
 
2297
esac
 
2298
])
 
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
 
2302
])
 
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.
 
2306
  lt_cv_path_NM="$NM"
 
2307
else
 
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"
 
2311
  fi
 
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
 
2315
      IFS="$lt_save_ifs"
 
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"
 
2326
          break
 
2327
          ;;
 
2328
        *)
 
2329
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
2330
          */dev/null*)
 
2331
            lt_cv_path_NM="$tmp_nm -p"
 
2332
            break
 
2333
            ;;
 
2334
          *)
 
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
 
2337
            ;;
 
2338
          esac
 
2339
          ;;
 
2340
        esac
 
2341
      fi
 
2342
    done
 
2343
    IFS="$lt_save_ifs"
 
2344
  done
 
2345
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
2346
fi])
 
2347
NM="$lt_cv_path_NM"
 
2348
])
 
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
 
2350
LIBM=
 
2351
case $host in
 
2352
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
2353
  # These system don't have libm, or don't need it
 
2354
  ;;
 
2355
*-ncr-sysv4.3*)
 
2356
  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
 
2357
  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
 
2358
  ;;
 
2359
*)
 
2360
  AC_CHECK_LIB(m, cos, LIBM="-lm")
 
2361
  ;;
 
2362
esac
 
2363
])
 
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" ;;
 
2369
  esac
 
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...
 
2373
  INCLTDL="$LTDLINCL"
 
2374
])
 
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])
 
2380
   else
 
2381
     enable_ltdl_install=yes
 
2382
   fi
 
2383
  ])
 
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'])
 
2388
  else
 
2389
    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
 
2390
    LIBLTDL="-lltdl"
 
2391
    LTDLINCL=
 
2392
  fi
 
2393
  # For backwards non-gettext consistent compatibility...
 
2394
  INCLTDL="$LTDLINCL"
 
2395
])
 
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])
 
2397
])
 
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])
 
2401
])
 
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
 
2407
  AC_PROG_CXXCPP
 
2408
fi
 
2409
])
 
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])
 
2411
])
 
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])
 
2414
])
 
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])
 
2416
])
 
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])
 
2424
])
 
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])
 
2427
])
 
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"
 
2430
AC_LANG_PUSH(C)
 
2431
 
 
2432
# Source file extension for C test sources.
 
2433
ac_ext=c
 
2434
 
 
2435
# Object file extension for compiled C test sources.
 
2436
objext=o
 
2437
_LT_AC_TAGVAR(objext, $1)=$objext
 
2438
 
 
2439
# Code to be used in simple compile tests
 
2440
lt_simple_compile_test_code="int some_variable = 0;"
 
2441
 
 
2442
# Code to be used in simple link tests
 
2443
lt_simple_link_test_code='int main(){return(0);}'
 
2444
 
 
2445
_LT_AC_SYS_COMPILER
 
2446
 
 
2447
# save warnings/boilerplate of simple test code
 
2448
_LT_COMPILER_BOILERPLATE
 
2449
_LT_LINKER_BOILERPLATE
 
2450
 
 
2451
## CAVEAT EMPTOR:
 
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
 
2464
 
 
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])
 
2468
 
 
2469
AC_MSG_CHECKING([whether to build shared libraries])
 
2470
test "$can_build_shared" = "no" && enable_shared=no
 
2471
 
 
2472
# On AIX, shared libraries and static libraries use the same namespace, and
 
2473
# are all built from PIC.
 
2474
case $host_os in
 
2475
aix3*)
 
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'
 
2480
  fi
 
2481
  ;;
 
2482
 
 
2483
aix[[4-9]]*)
 
2484
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
2485
    test "$enable_shared" = yes && enable_static=no
 
2486
  fi
 
2487
    ;;
 
2488
esac
 
2489
AC_MSG_RESULT([$enable_shared])
 
2490
 
 
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])
 
2495
 
 
2496
AC_LIBTOOL_CONFIG($1)
 
2497
 
 
2498
AC_LANG_POP
 
2499
CC="$lt_save_CC"
 
2500
])
 
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])
 
2505
 
 
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
 
2525
 
 
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)=
 
2533
 
 
2534
# Source file extension for C++ test sources.
 
2535
ac_ext=cpp
 
2536
 
 
2537
# Object file extension for compiled C++ test sources.
 
2538
objext=o
 
2539
_LT_AC_TAGVAR(objext, $1)=$objext
 
2540
 
 
2541
# Code to be used in simple compile tests
 
2542
lt_simple_compile_test_code="int some_variable = 0;"
 
2543
 
 
2544
# Code to be used in simple link tests
 
2545
lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
 
2546
 
 
2547
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
2548
_LT_AC_SYS_COMPILER
 
2549
 
 
2550
# save warnings/boilerplate of simple test code
 
2551
_LT_COMPILER_BOILERPLATE
 
2552
_LT_LINKER_BOILERPLATE
 
2553
 
 
2554
# Allow CC to be a program name with arguments.
 
2555
lt_save_CC=$CC
 
2556
lt_save_LD=$LD
 
2557
lt_save_GCC=$GCC
 
2558
GCC=$GXX
 
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
 
2563
else
 
2564
  $as_unset lt_cv_prog_gnu_ld
 
2565
fi
 
2566
if test -n "${lt_cv_path_LDCXX+set}"; then
 
2567
  lt_cv_path_LD=$lt_cv_path_LDCXX
 
2568
else
 
2569
  $as_unset lt_cv_path_LD
 
2570
fi
 
2571
test -z "${LDCXX+set}" || LD=$LDCXX
 
2572
CC=${CXX-"c++"}
 
2573
compiler=$CC
 
2574
_LT_AC_TAGVAR(compiler, $1)=$CC
 
2575
_LT_CC_BASENAME([$compiler])
 
2576
 
 
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'
 
2581
else
 
2582
  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
2583
fi
 
2584
 
 
2585
if test "$GXX" = yes; then
 
2586
  # Set up default GNU C++ configuration
 
2587
 
 
2588
  AC_PROG_LD
 
2589
 
 
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'
 
2595
 
 
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'
 
2598
 
 
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)
 
2602
    wlarc='${wl}'
 
2603
 
 
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'
 
2608
    else
 
2609
      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
2610
    fi
 
2611
  else
 
2612
    with_gnu_ld=no
 
2613
    wlarc=
 
2614
 
 
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'
 
2621
  fi
 
2622
 
 
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"'
 
2627
 
 
2628
else
 
2629
  GXX=no
 
2630
  with_gnu_ld=no
 
2631
  wlarc=
 
2632
fi
 
2633
 
 
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
 
2637
case $host_os in
 
2638
  aix3*)
 
2639
    # FIXME: insert proper C++ library support
 
2640
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2641
    ;;
 
2642
  aix[[4-9]]*)
 
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'
 
2648
      no_entry_flag=""
 
2649
    else
 
2650
      aix_use_runtimelinking=no
 
2651
 
 
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
 
2657
          case $ld_flag in
 
2658
          *-brtl*)
 
2659
            aix_use_runtimelinking=yes
 
2660
            break
 
2661
            ;;
 
2662
          esac
 
2663
        done
 
2664
        ;;
 
2665
      esac
 
2666
 
 
2667
      exp_sym_flag='-bexport'
 
2668
      no_entry_flag='-bnoentry'
 
2669
    fi
 
2670
 
 
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.
 
2676
 
 
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
 
2681
 
 
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
 
2689
        then
 
2690
          # We have reworked collect2
 
2691
          :
 
2692
        else
 
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)=
 
2701
        fi
 
2702
        ;;
 
2703
      esac
 
2704
      shared_flag='-shared'
 
2705
      if test "$aix_use_runtimelinking" = yes; then
 
2706
        shared_flag="$shared_flag "'${wl}-G'
 
2707
      fi
 
2708
    else
 
2709
      # not using gcc
 
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:
 
2713
        shared_flag='-G'
 
2714
      else
 
2715
        if test "$aix_use_runtimelinking" = yes; then
 
2716
          shared_flag='${wl}-G ${wl}-bnoipath'
 
2717
        else
 
2718
          shared_flag='${wl}-bM:SRE'
 
2719
        fi
 
2720
      fi
 
2721
    fi
 
2722
 
 
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"
 
2733
 
 
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"
 
2735
     else
 
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"
 
2740
      else
 
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'
 
2753
      fi
 
2754
    fi
 
2755
    ;;
 
2756
 
 
2757
  beos*)
 
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'
 
2763
    else
 
2764
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2765
    fi
 
2766
    ;;
 
2767
 
 
2768
  chorus*)
 
2769
    case $cc_basename in
 
2770
      *)
 
2771
        # FIXME: insert proper C++ library support
 
2772
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2773
        ;;
 
2774
    esac
 
2775
    ;;
 
2776
 
 
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
 
2784
 
 
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;
 
2791
      else
 
2792
        echo EXPORTS > $output_objdir/$soname.def;
 
2793
        cat $export_symbols >> $output_objdir/$soname.def;
 
2794
      fi~
 
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'
 
2796
    else
 
2797
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2798
    fi
 
2799
  ;;
 
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}"
 
2817
      fi
 
2818
      else
 
2819
      case $cc_basename in
 
2820
        xlc*)
 
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}'
 
2827
          ;;
 
2828
       *)
 
2829
         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2830
          ;;
 
2831
      esac
 
2832
      fi
 
2833
        ;;
 
2834
 
 
2835
  dgux*)
 
2836
    case $cc_basename in
 
2837
      ec++*)
 
2838
        # FIXME: insert proper C++ library support
 
2839
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2840
        ;;
 
2841
      ghcx*)
 
2842
        # Green Hills C++ Compiler
 
2843
        # FIXME: insert proper C++ library support
 
2844
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2845
        ;;
 
2846
      *)
 
2847
        # FIXME: insert proper C++ library support
 
2848
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2849
        ;;
 
2850
    esac
 
2851
    ;;
 
2852
  freebsd[[12]]*)
 
2853
    # C++ shared libraries reported to be fairly broken before switch to ELF
 
2854
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2855
    ;;
 
2856
  freebsd-elf*)
 
2857
    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
2858
    ;;
 
2859
  freebsd* | dragonfly*)
 
2860
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
2861
    # conventions
 
2862
    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
 
2863
    ;;
 
2864
  gnu*)
 
2865
    ;;
 
2866
  hpux9*)
 
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.
 
2874
 
 
2875
    case $cc_basename in
 
2876
    CC*)
 
2877
      # FIXME: insert proper C++ library support
 
2878
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2879
      ;;
 
2880
    aCC*)
 
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.
 
2885
      #
 
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
 
2889
      # dependencies.
 
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'
 
2891
      ;;
 
2892
    *)
 
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'
 
2895
      else
 
2896
        # FIXME: insert proper C++ library support
 
2897
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2898
      fi
 
2899
      ;;
 
2900
    esac
 
2901
    ;;
 
2902
  hpux10*|hpux11*)
 
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)=:
 
2906
 
 
2907
      case $host_cpu in
 
2908
      hppa*64*|ia64*) ;;
 
2909
      *)
 
2910
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
2911
        ;;
 
2912
      esac
 
2913
    fi
 
2914
    case $host_cpu in
 
2915
    hppa*64*|ia64*)
 
2916
      _LT_AC_TAGVAR(hardcode_direct, $1)=no
 
2917
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
2918
      ;;
 
2919
    *)
 
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.
 
2924
      ;;
 
2925
    esac
 
2926
 
 
2927
    case $cc_basename in
 
2928
      CC*)
 
2929
        # FIXME: insert proper C++ library support
 
2930
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2931
        ;;
 
2932
      aCC*)
 
2933
        case $host_cpu in
 
2934
        hppa*64*)
 
2935
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
2936
          ;;
 
2937
        ia64*)
 
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'
 
2939
          ;;
 
2940
        *)
 
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'
 
2942
          ;;
 
2943
        esac
 
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.
 
2947
        #
 
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
 
2951
        # dependencies.
 
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'
 
2953
        ;;
 
2954
      *)
 
2955
        if test "$GXX" = yes; then
 
2956
          if test $with_gnu_ld = no; then
 
2957
            case $host_cpu in
 
2958
            hppa*64*)
 
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'
 
2960
              ;;
 
2961
            ia64*)
 
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'
 
2963
              ;;
 
2964
            *)
 
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'
 
2966
              ;;
 
2967
            esac
 
2968
          fi
 
2969
        else
 
2970
          # FIXME: insert proper C++ library support
 
2971
          _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2972
        fi
 
2973
        ;;
 
2974
    esac
 
2975
    ;;
 
2976
  interix[[3-9]]*)
 
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'
 
2989
    ;;
 
2990
  irix5* | irix6*)
 
2991
    case $cc_basename in
 
2992
      CC*)
 
2993
        # SGI C++
 
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'
 
2995
 
 
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
 
2999
        # in the archive.
 
3000
        _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
3001
        ;;
 
3002
      *)
 
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'
 
3006
          else
 
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'
 
3008
          fi
 
3009
        fi
 
3010
        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
3011
        ;;
 
3012
    esac
 
3013
    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
3014
    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3015
    ;;
 
3016
  linux* | k*bsd*-gnu)
 
3017
    case $cc_basename in
 
3018
      KCC*)
 
3019
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
3020
 
 
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.
 
3029
        #
 
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
 
3033
        # dependencies.
 
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'
 
3035
 
 
3036
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
 
3037
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
 
3038
 
 
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'
 
3042
        ;;
 
3043
      icpc*)
 
3044
        # Intel C++
 
3045
        with_gnu_ld=yes
 
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
 
3050
        *"Version 7."*)
 
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'
 
3053
          ;;
 
3054
        *)  # Version 8.0 or newer
 
3055
          tmp_idyn=
 
3056
          case $host_cpu in
 
3057
            ia64*) tmp_idyn=' -i_dynamic';;
 
3058
          esac
 
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'
 
3061
          ;;
 
3062
        esac
 
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'
 
3067
        ;;
 
3068
      pgCC* | pgcpp*)
 
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'
 
3072
 
 
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'
 
3076
        ;;
 
3077
      cxx*)
 
3078
        # Compaq C++
 
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'
 
3081
 
 
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)=:
 
3085
 
 
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.
 
3089
        #
 
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
 
3093
        # dependencies.
 
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'
 
3095
        ;;
 
3096
      *)
 
3097
        case `$CC -V 2>&1 | sed 5q` in
 
3098
        *Sun\ C*)
 
3099
          # Sun C++ 5.9
 
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'
 
3105
 
 
3106
          # Not sure whether something based on
 
3107
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
3108
          # would be better.
 
3109
          output_verbose_link_cmd='echo'
 
3110
 
 
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
 
3114
          # in the archive.
 
3115
          _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
3116
          ;;
 
3117
        esac
 
3118
        ;;
 
3119
    esac
 
3120
    ;;
 
3121
  lynxos*)
 
3122
    # FIXME: insert proper C++ library support
 
3123
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3124
    ;;
 
3125
  m88k*)
 
3126
    # FIXME: insert proper C++ library support
 
3127
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3128
    ;;
 
3129
  mvs*)
 
3130
    case $cc_basename in
 
3131
      cxx*)
 
3132
        # FIXME: insert proper C++ library support
 
3133
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3134
        ;;
 
3135
      *)
 
3136
        # FIXME: insert proper C++ library support
 
3137
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3138
        ;;
 
3139
    esac
 
3140
    ;;
 
3141
  netbsd*)
 
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'
 
3144
      wlarc=
 
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
 
3148
    fi
 
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::"'
 
3151
    ;;
 
3152
  openbsd2*)
 
3153
    # C++ shared libraries are fairly broken
 
3154
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3155
    ;;
 
3156
  openbsd*)
 
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'
 
3166
      fi
 
3167
      output_verbose_link_cmd='echo'
 
3168
    else
 
3169
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3170
    fi
 
3171
    ;;
 
3172
  osf3*)
 
3173
    case $cc_basename in
 
3174
      KCC*)
 
3175
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
3176
 
 
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'
 
3181
 
 
3182
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
3183
        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3184
 
 
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'
 
3188
 
 
3189
        ;;
 
3190
      RCC*)
 
3191
        # Rational C++ 2.4.1
 
3192
        # FIXME: insert proper C++ library support
 
3193
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3194
        ;;
 
3195
      cxx*)
 
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'
 
3198
 
 
3199
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
3200
        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3201
 
 
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.
 
3205
        #
 
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
 
3209
        # dependencies.
 
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'
 
3211
        ;;
 
3212
      *)
 
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'
 
3216
 
 
3217
          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
3218
          _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3219
 
 
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"'
 
3224
 
 
3225
        else
 
3226
          # FIXME: insert proper C++ library support
 
3227
          _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3228
        fi
 
3229
        ;;
 
3230
    esac
 
3231
    ;;
 
3232
  osf4* | osf5*)
 
3233
    case $cc_basename in
 
3234
      KCC*)
 
3235
        # Kuck and Associates, Inc. (KAI) C++ Compiler
 
3236
 
 
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'
 
3241
 
 
3242
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
3243
        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3244
 
 
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'
 
3248
        ;;
 
3249
      RCC*)
 
3250
        # Rational C++ 2.4.1
 
3251
        # FIXME: insert proper C++ library support
 
3252
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3253
        ;;
 
3254
      cxx*)
 
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~
 
3260
          $rm $lib.exp'
 
3261
 
 
3262
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
3263
        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3264
 
 
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.
 
3268
        #
 
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
 
3272
        # dependencies.
 
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'
 
3274
        ;;
 
3275
      *)
 
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'
 
3279
 
 
3280
          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
3281
          _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
3282
 
 
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"'
 
3287
 
 
3288
        else
 
3289
          # FIXME: insert proper C++ library support
 
3290
          _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3291
        fi
 
3292
        ;;
 
3293
    esac
 
3294
    ;;
 
3295
  psos*)
 
3296
    # FIXME: insert proper C++ library support
 
3297
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3298
    ;;
 
3299
  sunos4*)
 
3300
    case $cc_basename in
 
3301
      CC*)
 
3302
        # Sun C++ 4.x
 
3303
        # FIXME: insert proper C++ library support
 
3304
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3305
        ;;
 
3306
      lcc*)
 
3307
        # Lucid
 
3308
        # FIXME: insert proper C++ library support
 
3309
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3310
        ;;
 
3311
      *)
 
3312
        # FIXME: insert proper C++ library support
 
3313
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3314
        ;;
 
3315
    esac
 
3316
    ;;
 
3317
  solaris*)
 
3318
    case $cc_basename in
 
3319
      CC*)
 
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'
 
3326
 
 
3327
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
3328
        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3329
        case $host_os in
 
3330
          solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
3331
          *)
 
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'
 
3336
            ;;
 
3337
        esac
 
3338
        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
3339
 
 
3340
        output_verbose_link_cmd='echo'
 
3341
 
 
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
 
3345
        # in the archive.
 
3346
        _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
3347
        ;;
 
3348
      gcx*)
 
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'
 
3351
 
 
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'
 
3354
        ;;
 
3355
      *)
 
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'
 
3363
 
 
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\""
 
3368
          else
 
3369
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
3370
            # platform.
 
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'
 
3374
 
 
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\""
 
3379
          fi
 
3380
 
 
3381
          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
 
3382
          case $host_os in
 
3383
          solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
3384
          *)
 
3385
            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
3386
            ;;
 
3387
          esac
 
3388
        fi
 
3389
        ;;
 
3390
    esac
 
3391
    ;;
 
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'
 
3397
 
 
3398
    case $cc_basename in
 
3399
      CC*)
 
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'
 
3402
        ;;
 
3403
      *)
 
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'
 
3406
        ;;
 
3407
    esac
 
3408
    ;;
 
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
 
3415
    # as -z defs.
 
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'
 
3434
 
 
3435
    case $cc_basename in
 
3436
      CC*)
 
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'
 
3439
        ;;
 
3440
      *)
 
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'
 
3443
        ;;
 
3444
    esac
 
3445
    ;;
 
3446
  tandem*)
 
3447
    case $cc_basename in
 
3448
      NCC*)
 
3449
        # NonStop-UX NCC 3.20
 
3450
        # FIXME: insert proper C++ library support
 
3451
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3452
        ;;
 
3453
      *)
 
3454
        # FIXME: insert proper C++ library support
 
3455
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3456
        ;;
 
3457
    esac
 
3458
    ;;
 
3459
  vxworks*)
 
3460
    # FIXME: insert proper C++ library support
 
3461
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3462
    ;;
 
3463
  *)
 
3464
    # FIXME: insert proper C++ library support
 
3465
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3466
    ;;
 
3467
esac
 
3468
AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
 
3469
test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
3470
 
 
3471
_LT_AC_TAGVAR(GCC, $1)="$GXX"
 
3472
_LT_AC_TAGVAR(LD, $1)="$LD"
 
3473
 
 
3474
## CAVEAT EMPTOR:
 
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)
 
3485
 
 
3486
AC_LIBTOOL_CONFIG($1)
 
3487
 
 
3488
AC_LANG_POP
 
3489
CC=$lt_save_CC
 
3490
LDCXX=$LD
 
3491
LD=$lt_save_LD
 
3492
GCC=$lt_save_GCC
 
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
 
3499
])
 
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
 
3507
int a;
 
3508
void foo (void) { a = 0; }
 
3509
EOF
 
3510
],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
 
3511
class Foo
 
3512
{
 
3513
public:
 
3514
  Foo (void) { a = 0; }
 
3515
private:
 
3516
  int a;
 
3517
};
 
3518
EOF
 
3519
],[$1],[F77],[cat > conftest.$ac_ext <<EOF
 
3520
      subroutine foo
 
3521
      implicit none
 
3522
      integer*4 a
 
3523
      a=0
 
3524
      return
 
3525
      end
 
3526
EOF
 
3527
],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
 
3528
public class foo {
 
3529
  private int a;
 
3530
  public void bar (void) {
 
3531
    a = 0;
 
3532
  }
 
3533
};
 
3534
EOF
 
3535
])
 
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.
 
3541
 
 
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
 
3545
 
 
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"`
 
3550
 
 
3551
  for p in `eval $output_verbose_link_cmd`; do
 
3552
    case $p in
 
3553
 
 
3554
    -L* | -R* | -l*)
 
3555
       # Some compilers place space between "-{L,R}" and the path.
 
3556
       # Remove the space.
 
3557
       if test $p = "-L" \
 
3558
          || test $p = "-R"; then
 
3559
         prev=$p
 
3560
         continue
 
3561
       else
 
3562
         prev=
 
3563
       fi
 
3564
 
 
3565
       if test "$pre_test_object_deps_done" = no; then
 
3566
         case $p in
 
3567
         -L* | -R*)
 
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}"
 
3573
           else
 
3574
             _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
 
3575
           fi
 
3576
           ;;
 
3577
         # The "-l" case would never come before the object being
 
3578
         # linked, so don't bother handling this case.
 
3579
         esac
 
3580
       else
 
3581
         if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
 
3582
           _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
 
3583
         else
 
3584
           _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
 
3585
         fi
 
3586
       fi
 
3587
       ;;
 
3588
 
 
3589
    *.$objext)
 
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
 
3594
         continue
 
3595
       fi
 
3596
 
 
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"
 
3600
         else
 
3601
           _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
 
3602
         fi
 
3603
       else
 
3604
         if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
 
3605
           _LT_AC_TAGVAR(postdep_objects, $1)="$p"
 
3606
         else
 
3607
           _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
 
3608
         fi
 
3609
       fi
 
3610
       ;;
 
3611
 
 
3612
    *) ;; # Ignore the rest.
 
3613
 
 
3614
    esac
 
3615
  done
 
3616
 
 
3617
  # Clean up.
 
3618
  rm -f a.out a.exe
 
3619
else
 
3620
  echo "libtool.m4: error: problem compiling $1 test program"
 
3621
fi
 
3622
 
 
3623
$rm -f confest.$objext
 
3624
 
 
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!^ !!'`
 
3628
fi
 
3629
 
 
3630
# PORTME: override above test on systems where it is broken
 
3631
ifelse([$1],[CXX],
 
3632
[case $host_os in
 
3633
interix[[3-9]]*)
 
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)=
 
3639
  ;;
 
3640
 
 
3641
linux*)
 
3642
  case `$CC -V 2>&1 | sed 5q` in
 
3643
  *Sun\ C*)
 
3644
    # Sun C++ 5.9
 
3645
    #
 
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
 
3653
      ;;
 
3654
    esac
 
3655
    if test "$solaris_use_stlport4" != yes; then
 
3656
      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
3657
    fi
 
3658
    ;;
 
3659
  esac
 
3660
  ;;
 
3661
 
 
3662
solaris*)
 
3663
  case $cc_basename in
 
3664
  CC*)
 
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
 
3672
      ;;
 
3673
    esac
 
3674
 
 
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'
 
3680
    fi
 
3681
    ;;
 
3682
  esac
 
3683
  ;;
 
3684
esac
 
3685
])
 
3686
case " $_LT_AC_TAGVAR(postdeps, $1) " in
 
3687
*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
 
3688
esac
 
3689
])
 
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)
 
3693
 
 
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
 
3712
 
 
3713
# Source file extension for f77 test sources.
 
3714
ac_ext=f
 
3715
 
 
3716
# Object file extension for compiled f77 test sources.
 
3717
objext=o
 
3718
_LT_AC_TAGVAR(objext, $1)=$objext
 
3719
 
 
3720
# Code to be used in simple compile tests
 
3721
lt_simple_compile_test_code="\
 
3722
      subroutine t
 
3723
      return
 
3724
      end
 
3725
"
 
3726
 
 
3727
# Code to be used in simple link tests
 
3728
lt_simple_link_test_code="\
 
3729
      program t
 
3730
      end
 
3731
"
 
3732
 
 
3733
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
3734
_LT_AC_SYS_COMPILER
 
3735
 
 
3736
# save warnings/boilerplate of simple test code
 
3737
_LT_COMPILER_BOILERPLATE
 
3738
_LT_LINKER_BOILERPLATE
 
3739
 
 
3740
# Allow CC to be a program name with arguments.
 
3741
lt_save_CC="$CC"
 
3742
CC=${F77-"f77"}
 
3743
compiler=$CC
 
3744
_LT_AC_TAGVAR(compiler, $1)=$CC
 
3745
_LT_CC_BASENAME([$compiler])
 
3746
 
 
3747
AC_MSG_CHECKING([if libtool supports shared libraries])
 
3748
AC_MSG_RESULT([$can_build_shared])
 
3749
 
 
3750
AC_MSG_CHECKING([whether to build shared libraries])
 
3751
test "$can_build_shared" = "no" && enable_shared=no
 
3752
 
 
3753
# On AIX, shared libraries and static libraries use the same namespace, and
 
3754
# are all built from PIC.
 
3755
case $host_os in
 
3756
aix3*)
 
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'
 
3761
  fi
 
3762
  ;;
 
3763
aix[[4-9]]*)
 
3764
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
3765
    test "$enable_shared" = yes && enable_static=no
 
3766
  fi
 
3767
  ;;
 
3768
esac
 
3769
AC_MSG_RESULT([$enable_shared])
 
3770
 
 
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])
 
3775
 
 
3776
_LT_AC_TAGVAR(GCC, $1)="$G77"
 
3777
_LT_AC_TAGVAR(LD, $1)="$LD"
 
3778
 
 
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)
 
3785
 
 
3786
AC_LIBTOOL_CONFIG($1)
 
3787
 
 
3788
AC_LANG_POP
 
3789
CC="$lt_save_CC"
 
3790
])
 
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
 
3793
 
 
3794
# Source file extension for Java test sources.
 
3795
ac_ext=java
 
3796
 
 
3797
# Object file extension for compiled Java test sources.
 
3798
objext=o
 
3799
_LT_AC_TAGVAR(objext, $1)=$objext
 
3800
 
 
3801
# Code to be used in simple compile tests
 
3802
lt_simple_compile_test_code="class foo {}"
 
3803
 
 
3804
# Code to be used in simple link tests
 
3805
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
 
3806
 
 
3807
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
3808
_LT_AC_SYS_COMPILER
 
3809
 
 
3810
# save warnings/boilerplate of simple test code
 
3811
_LT_COMPILER_BOILERPLATE
 
3812
_LT_LINKER_BOILERPLATE
 
3813
 
 
3814
# Allow CC to be a program name with arguments.
 
3815
lt_save_CC="$CC"
 
3816
CC=${GCJ-"gcj"}
 
3817
compiler=$CC
 
3818
_LT_AC_TAGVAR(compiler, $1)=$CC
 
3819
_LT_CC_BASENAME([$compiler])
 
3820
 
 
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
 
3823
 
 
3824
_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
3825
 
 
3826
## CAVEAT EMPTOR:
 
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)
 
3837
 
 
3838
AC_LIBTOOL_CONFIG($1)
 
3839
 
 
3840
AC_LANG_RESTORE
 
3841
CC="$lt_save_CC"
 
3842
])
 
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
 
3845
 
 
3846
# Source file extension for RC test sources.
 
3847
ac_ext=rc
 
3848
 
 
3849
# Object file extension for compiled RC test sources.
 
3850
objext=o
 
3851
_LT_AC_TAGVAR(objext, $1)=$objext
 
3852
 
 
3853
# Code to be used in simple compile tests
 
3854
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 
3855
 
 
3856
# Code to be used in simple link tests
 
3857
lt_simple_link_test_code="$lt_simple_compile_test_code"
 
3858
 
 
3859
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
3860
_LT_AC_SYS_COMPILER
 
3861
 
 
3862
# save warnings/boilerplate of simple test code
 
3863
_LT_COMPILER_BOILERPLATE
 
3864
_LT_LINKER_BOILERPLATE
 
3865
 
 
3866
# Allow CC to be a program name with arguments.
 
3867
lt_save_CC="$CC"
 
3868
CC=${RC-"windres"}
 
3869
compiler=$CC
 
3870
_LT_AC_TAGVAR(compiler, $1)=$CC
 
3871
_LT_CC_BASENAME([$compiler])
 
3872
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 
3873
 
 
3874
AC_LIBTOOL_CONFIG($1)
 
3875
 
 
3876
AC_LANG_RESTORE
 
3877
CC="$lt_save_CC"
 
3878
])
 
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
 
3888
  fi
 
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 \
 
3893
    SED SHELL STRIP \
 
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
 
3938
 
 
3939
    case $var in
 
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\"\`\\\""
 
3954
      ;;
 
3955
    *)
 
3956
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 
3957
      ;;
 
3958
    esac
 
3959
  done
 
3960
 
 
3961
  case $lt_echo in
 
3962
  *'\[$]0 --fallback-echo"')
 
3963
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
 
3964
    ;;
 
3965
  esac
 
3966
 
 
3967
ifelse([$1], [],
 
3968
  [cfgfile="${ofile}T"
 
3969
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 
3970
  $rm -f "$cfgfile"
 
3971
  AC_MSG_NOTICE([creating $ofile])],
 
3972
  [cfgfile="$ofile"])
 
3973
 
 
3974
  cat <<__EOF__ >> "$cfgfile"
 
3975
ifelse([$1], [],
 
3976
[#! $SHELL
 
3977
 
 
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.
 
3981
#
 
3982
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 
3983
# Free Software Foundation, Inc.
 
3984
#
 
3985
# This file is part of GNU Libtool:
 
3986
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
3987
#
 
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.
 
3992
#
 
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.
 
3997
#
 
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.
 
4001
#
 
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.
 
4006
 
 
4007
# A sed program that does not truncate output.
 
4008
SED=$lt_SED
 
4009
 
 
4010
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
4011
Xsed="$SED -e 1s/^X//"
 
4012
 
 
4013
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
4014
# if CDPATH is set.
 
4015
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
4016
 
 
4017
# The names of the tagged configurations supported by this script.
 
4018
available_tags=
 
4019
 
 
4020
# ### BEGIN LIBTOOL CONFIG],
 
4021
[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
 
4022
 
 
4023
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
4024
 
 
4025
# Shell to use when invoking shell scripts.
 
4026
SHELL=$lt_SHELL
 
4027
 
 
4028
# Whether or not to build shared libraries.
 
4029
build_libtool_libs=$enable_shared
 
4030
 
 
4031
# Whether or not to build static libraries.
 
4032
build_old_libs=$enable_static
 
4033
 
 
4034
# Whether or not to add -lc for building shared libraries.
 
4035
build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
 
4036
 
 
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)
 
4039
 
 
4040
# Whether or not to optimize for fast installation.
 
4041
fast_install=$enable_fast_install
 
4042
 
 
4043
# The host system.
 
4044
host_alias=$host_alias
 
4045
host=$host
 
4046
host_os=$host_os
 
4047
 
 
4048
# The build system.
 
4049
build_alias=$build_alias
 
4050
build=$build
 
4051
build_os=$build_os
 
4052
 
 
4053
# An echo program that does not interpret backslashes.
 
4054
echo=$lt_echo
 
4055
 
 
4056
# The archiver.
 
4057
AR=$lt_AR
 
4058
AR_FLAGS=$lt_AR_FLAGS
 
4059
 
 
4060
# A C compiler.
 
4061
LTCC=$lt_LTCC
 
4062
 
 
4063
# LTCC compiler flags.
 
4064
LTCFLAGS=$lt_LTCFLAGS
 
4065
 
 
4066
# A language-specific compiler.
 
4067
CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
 
4068
 
 
4069
# Is the compiler the GNU C compiler?
 
4070
with_gcc=$_LT_AC_TAGVAR(GCC, $1)
 
4071
 
 
4072
# An ERE matcher.
 
4073
EGREP=$lt_EGREP
 
4074
 
 
4075
# The linker used to build libraries.
 
4076
LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
 
4077
 
 
4078
# Whether we need hard or soft links.
 
4079
LN_S=$lt_LN_S
 
4080
 
 
4081
# A BSD-compatible nm program.
 
4082
NM=$lt_NM
 
4083
 
 
4084
# A symbol stripping program
 
4085
STRIP=$lt_STRIP
 
4086
 
 
4087
# Used to examine libraries when file_magic_cmd begins "file"
 
4088
MAGIC_CMD=$MAGIC_CMD
 
4089
 
 
4090
# Used on cygwin: DLL creation program.
 
4091
DLLTOOL="$DLLTOOL"
 
4092
 
 
4093
# Used on cygwin: object dumper.
 
4094
OBJDUMP="$OBJDUMP"
 
4095
 
 
4096
# Used on cygwin: assembler.
 
4097
AS="$AS"
 
4098
 
 
4099
# The name of the directory that contains temporary libtool files.
 
4100
objdir=$objdir
 
4101
 
 
4102
# How to create reloadable object files.
 
4103
reload_flag=$lt_reload_flag
 
4104
reload_cmds=$lt_reload_cmds
 
4105
 
 
4106
# How to pass a linker flag through the compiler.
 
4107
wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
 
4108
 
 
4109
# Object file suffix (normally "o").
 
4110
objext="$ac_objext"
 
4111
 
 
4112
# Old archive suffix (normally "a").
 
4113
libext="$libext"
 
4114
 
 
4115
# Shared library suffix (normally ".so").
 
4116
shrext_cmds='$shrext_cmds'
 
4117
 
 
4118
# Executable file suffix (normally "").
 
4119
exeext="$exeext"
 
4120
 
 
4121
# Additional compiler flags for building library objects.
 
4122
pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
 
4123
pic_mode=$pic_mode
 
4124
 
 
4125
# What is the maximum length of a command?
 
4126
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4127
 
 
4128
# Does compiler simultaneously support -c and -o options?
 
4129
compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
 
4130
 
 
4131
# Must we lock files when doing compilation?
 
4132
need_locks=$lt_need_locks
 
4133
 
 
4134
# Do we need the lib prefix for modules?
 
4135
need_lib_prefix=$need_lib_prefix
 
4136
 
 
4137
# Do we need a version for libraries?
 
4138
need_version=$need_version
 
4139
 
 
4140
# Whether dlopen is supported.
 
4141
dlopen_support=$enable_dlopen
 
4142
 
 
4143
# Whether dlopen of programs is supported.
 
4144
dlopen_self=$enable_dlopen_self
 
4145
 
 
4146
# Whether dlopen of statically linked programs is supported.
 
4147
dlopen_self_static=$enable_dlopen_self_static
 
4148
 
 
4149
# Compiler flag to prevent dynamic linking.
 
4150
link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
 
4151
 
 
4152
# Compiler flag to turn off builtin functions.
 
4153
no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
 
4154
 
 
4155
# Compiler flag to allow reflexive dlopens.
 
4156
export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
 
4157
 
 
4158
# Compiler flag to generate shared objects directly from archives.
 
4159
whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
 
4160
 
 
4161
# Compiler flag to generate thread-safe objects.
 
4162
thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
 
4163
 
 
4164
# Library versioning type.
 
4165
version_type=$version_type
 
4166
 
 
4167
# Format of library name prefix.
 
4168
libname_spec=$lt_libname_spec
 
4169
 
 
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
 
4173
 
 
4174
# The coded name of the library, if different from the real name.
 
4175
soname_spec=$lt_soname_spec
 
4176
 
 
4177
# Commands used to build and install an old-style archive.
 
4178
RANLIB=$lt_RANLIB
 
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
 
4182
 
 
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)
 
4185
 
 
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)
 
4188
 
 
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
 
4194
 
 
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)
 
4198
 
 
4199
# Commands to strip libraries.
 
4200
old_striplib=$lt_old_striplib
 
4201
striplib=$lt_striplib
 
4202
 
 
4203
# Dependencies to place before the objects being linked to create a
 
4204
# shared library.
 
4205
predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
 
4206
 
 
4207
# Dependencies to place after the objects being linked to create a
 
4208
# shared library.
 
4209
postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
 
4210
 
 
4211
# Dependencies to place before the objects being linked to create a
 
4212
# shared library.
 
4213
predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
 
4214
 
 
4215
# Dependencies to place after the objects being linked to create a
 
4216
# shared library.
 
4217
postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
 
4218
 
 
4219
# The directories searched by this compiler when creating a shared
 
4220
# library
 
4221
compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
 
4222
 
 
4223
# The library search path used internally by the compiler when linking
 
4224
# a shared library.
 
4225
compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
 
4226
 
 
4227
# Method to check whether dependent libraries are shared objects.
 
4228
deplibs_check_method=$lt_deplibs_check_method
 
4229
 
 
4230
# Command to use when deplibs_check_method == file_magic.
 
4231
file_magic_cmd=$lt_file_magic_cmd
 
4232
 
 
4233
# Flag that allows shared libraries with undefined symbols to be built.
 
4234
allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
 
4235
 
 
4236
# Flag that forces no undefined symbols.
 
4237
no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
 
4238
 
 
4239
# Commands used to finish a libtool library installation in a directory.
 
4240
finish_cmds=$lt_finish_cmds
 
4241
 
 
4242
# Same as above, but a single script fragment to be evaled but not shown.
 
4243
finish_eval=$lt_finish_eval
 
4244
 
 
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
 
4247
 
 
4248
# Transform the output of nm in a proper C declaration
 
4249
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
4250
 
 
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
 
4253
 
 
4254
# This is the shared library runtime path variable.
 
4255
runpath_var=$runpath_var
 
4256
 
 
4257
# This is the shared library path variable.
 
4258
shlibpath_var=$shlibpath_var
 
4259
 
 
4260
# Is shlibpath searched before the hard-coded library search path?
 
4261
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
4262
 
 
4263
# How to hardcode a shared library path into an executable.
 
4264
hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
 
4265
 
 
4266
# Whether we should hardcode library paths into libraries.
 
4267
hardcode_into_libs=$hardcode_into_libs
 
4268
 
 
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)
 
4272
 
 
4273
# If ld is used when linking, flag to hardcode \$libdir into
 
4274
# a binary during linking. This must work even if \$libdir does
 
4275
# not exist.
 
4276
hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
 
4277
 
 
4278
# Whether we need a single -rpath flag with a separated argument.
 
4279
hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
 
4280
 
 
4281
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 
4282
# resulting binary.
 
4283
hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
 
4284
 
 
4285
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 
4286
# resulting binary.
 
4287
hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
 
4288
 
 
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)
 
4292
 
 
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)
 
4296
 
 
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"
 
4300
 
 
4301
# Whether libtool must link a program against all its dependency libraries.
 
4302
link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
 
4303
 
 
4304
# Compile-time system search path for libraries
 
4305
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
4306
 
 
4307
# Run-time system search path for libraries
 
4308
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
4309
 
 
4310
# Fix the shell variable \$srcfile for the compiler.
 
4311
fix_srcfile_path=$lt_fix_srcfile_path
 
4312
 
 
4313
# Set to yes if exported symbols are required.
 
4314
always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
 
4315
 
 
4316
# The commands to list exported symbols.
 
4317
export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
 
4318
 
 
4319
# The commands to extract the exported symbol list from a shared archive.
 
4320
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
4321
 
 
4322
# Symbols that should not be listed in the preloaded symbols.
 
4323
exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
 
4324
 
 
4325
# Symbols that must always be exported.
 
4326
include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
 
4327
 
 
4328
ifelse([$1],[],
 
4329
[# ### END LIBTOOL CONFIG],
 
4330
[# ### END LIBTOOL TAG CONFIG: $tagname])
 
4331
 
 
4332
__EOF__
 
4333
 
 
4334
ifelse([$1],[], [
 
4335
  case $host_os in
 
4336
  aix3*)
 
4337
    cat <<\EOF >> "$cfgfile"
 
4338
 
 
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
 
4343
  COLLECT_NAMES=
 
4344
  export COLLECT_NAMES
 
4345
fi
 
4346
EOF
 
4347
    ;;
 
4348
  esac
 
4349
 
 
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)
 
4355
 
 
4356
  mv -f "$cfgfile" "$ofile" || \
 
4357
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
4358
  chmod +x "$ofile"
 
4359
])
 
4360
else
 
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"
 
4367
  fi
 
4368
fi
 
4369
])
 
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
 
4371
 
 
4372
_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
 
4373
 
 
4374
if test "$GCC" = yes; then
 
4375
  _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
4376
 
 
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"])
 
4381
fi
 
4382
])
 
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],
 
4390
[
 
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?!! ;)]
 
4393
 
 
4394
# Character class describing NM global symbol codes.
 
4395
symcode='[[BCDEGRST]]'
 
4396
 
 
4397
# Regexp to match symbols that can be accessed directly from C.
 
4398
sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
 
4399
 
 
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'"
 
4402
 
 
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'"
 
4405
 
 
4406
# Define system-specific variables.
 
4407
case $host_os in
 
4408
aix*)
 
4409
  symcode='[[BCDT]]'
 
4410
  ;;
 
4411
cygwin* | mingw* | pw32*)
 
4412
  symcode='[[ABCDGISTW]]'
 
4413
  ;;
 
4414
hpux*) # Its linker distinguishes data from code symbols
 
4415
  if test "$host_cpu" = ia64; then
 
4416
    symcode='[[ABCDEGRST]]'
 
4417
  fi
 
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'"
 
4420
  ;;
 
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'"
 
4426
  fi
 
4427
  ;;
 
4428
linux*)
 
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'"
 
4433
  fi
 
4434
  ;;
 
4435
irix* | nonstopux*)
 
4436
  symcode='[[BCDEGRST]]'
 
4437
  ;;
 
4438
osf*)
 
4439
  symcode='[[BCDEGQRST]]'
 
4440
  ;;
 
4441
solaris*)
 
4442
  symcode='[[BDRT]]'
 
4443
  ;;
 
4444
sco3.2v5*)
 
4445
  symcode='[[DT]]'
 
4446
  ;;
 
4447
sysv4.2uw2*)
 
4448
  symcode='[[DT]]'
 
4449
  ;;
 
4450
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
4451
  symcode='[[ABDT]]'
 
4452
  ;;
 
4453
sysv4)
 
4454
  symcode='[[DFNSTU]]'
 
4455
  ;;
 
4456
esac
 
4457
 
 
4458
# Handle CRLF in mingw tool chain
 
4459
opt_cr=
 
4460
case $build_os in
 
4461
mingw*)
 
4462
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
4463
  ;;
 
4464
esac
 
4465
 
 
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]]' ;;
 
4470
esac
 
4471
 
 
4472
# Try without a prefix undercore, then with it.
 
4473
for ac_symprfx in "" "_"; do
 
4474
 
 
4475
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
4476
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
4477
 
 
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'"
 
4480
 
 
4481
  # Check to see that the pipe works correctly.
 
4482
  pipe_works=no
 
4483
 
 
4484
  rm -f conftest*
 
4485
  cat > conftest.$ac_ext <<EOF
 
4486
#ifdef __cplusplus
 
4487
extern "C" {
 
4488
#endif
 
4489
char nm_test_var;
 
4490
void nm_test_func(){}
 
4491
#ifdef __cplusplus
 
4492
}
 
4493
#endif
 
4494
int main(){nm_test_var='a';nm_test_func();return(0);}
 
4495
EOF
 
4496
 
 
4497
  if AC_TRY_EVAL(ac_compile); then
 
4498
    # Now try to grab the symbols.
 
4499
    nlist=conftest.nm
 
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"
 
4504
      else
 
4505
        rm -f "$nlist"T
 
4506
      fi
 
4507
 
 
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
 
4512
#ifdef __cplusplus
 
4513
extern "C" {
 
4514
#endif
 
4515
 
 
4516
EOF
 
4517
          # Now generate the symbol file.
 
4518
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 
4519
 
 
4520
          cat <<EOF >> conftest.$ac_ext
 
4521
#if defined (__STDC__) && __STDC__
 
4522
# define lt_ptr_t void *
 
4523
#else
 
4524
# define lt_ptr_t char *
 
4525
# define const
 
4526
#endif
 
4527
 
 
4528
/* The mapping between symbol names and symbols. */
 
4529
const struct {
 
4530
  const char *name;
 
4531
  lt_ptr_t address;
 
4532
}
 
4533
lt_preloaded_symbols[[]] =
 
4534
{
 
4535
EOF
 
4536
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 
4537
          cat <<\EOF >> conftest.$ac_ext
 
4538
  {0, (lt_ptr_t) 0}
 
4539
};
 
4540
 
 
4541
#ifdef __cplusplus
 
4542
}
 
4543
#endif
 
4544
EOF
 
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
 
4552
            pipe_works=yes
 
4553
          fi
 
4554
          LIBS="$lt_save_LIBS"
 
4555
          CFLAGS="$lt_save_CFLAGS"
 
4556
        else
 
4557
          echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
 
4558
        fi
 
4559
      else
 
4560
        echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
 
4561
      fi
 
4562
    else
 
4563
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
 
4564
    fi
 
4565
  else
 
4566
    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
 
4567
    cat conftest.$ac_ext >&5
 
4568
  fi
 
4569
  rm -rf conftest* conftst*
 
4570
 
 
4571
  # Do not use the global_symbol_pipe unless it works.
 
4572
  if test "$pipe_works" = yes; then
 
4573
    break
 
4574
  else
 
4575
    lt_cv_sys_global_symbol_pipe=
 
4576
  fi
 
4577
done
 
4578
])
 
4579
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
4580
  lt_cv_sys_global_symbol_to_cdecl=
 
4581
fi
 
4582
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
4583
  AC_MSG_RESULT(failed)
 
4584
else
 
4585
  AC_MSG_RESULT(ok)
 
4586
fi
 
4587
])
 
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)=
 
4591
 
 
4592
AC_MSG_CHECKING([for $compiler option to produce PIC])
 
4593
 ifelse([$1],[CXX],[
 
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'
 
4598
 
 
4599
    case $host_os in
 
4600
    aix*)
 
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'
 
4605
      fi
 
4606
      ;;
 
4607
    amigaos*)
 
4608
      # FIXME: we need at least 68020 code to build shared libraries, but
 
4609
      # adding the `-m68020' flag to GCC prevents building anything better,
 
4610
      # like `-m68040'.
 
4611
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
4612
      ;;
 
4613
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
4614
      # PIC is the default for these OSes.
 
4615
      ;;
 
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'])
 
4623
      ;;
 
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'
 
4628
      ;;
 
4629
    *djgpp*)
 
4630
      # DJGPP does not support shared libraries at all
 
4631
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
4632
      ;;
 
4633
    interix[[3-9]]*)
 
4634
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
4635
      # Instead, we relocate shared libraries at runtime.
 
4636
      ;;
 
4637
    sysv4*MP*)
 
4638
      if test -d /usr/nec; then
 
4639
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
4640
      fi
 
4641
      ;;
 
4642
    hpux*)
 
4643
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
4644
      # not for PA HP-UX.
 
4645
      case $host_cpu in
 
4646
      hppa*64*|ia64*)
 
4647
        ;;
 
4648
      *)
 
4649
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4650
        ;;
 
4651
      esac
 
4652
      ;;
 
4653
    *)
 
4654
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4655
      ;;
 
4656
    esac
 
4657
  else
 
4658
    case $host_os in
 
4659
      aix[[4-9]]*)
 
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'
 
4664
        else
 
4665
          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
4666
        fi
 
4667
        ;;
 
4668
      chorus*)
 
4669
        case $cc_basename in
 
4670
        cxch68*)
 
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"
 
4673
          ;;
 
4674
        esac
 
4675
        ;;
 
4676
       darwin*)
 
4677
         # PIC is the default on this platform
 
4678
         # Common symbols not allowed in MH_DYLIB files
 
4679
         case $cc_basename in
 
4680
           xlc*)
 
4681
           _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
 
4682
           _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4683
           ;;
 
4684
         esac
 
4685
       ;;
 
4686
      dgux*)
 
4687
        case $cc_basename in
 
4688
          ec++*)
 
4689
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
4690
            ;;
 
4691
          ghcx*)
 
4692
            # Green Hills C++ Compiler
 
4693
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
4694
            ;;
 
4695
          *)
 
4696
            ;;
 
4697
        esac
 
4698
        ;;
 
4699
      freebsd* | dragonfly*)
 
4700
        # FreeBSD uses GNU C++
 
4701
        ;;
 
4702
      hpux9* | hpux10* | hpux11*)
 
4703
        case $cc_basename in
 
4704
          CC*)
 
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'
 
4709
            fi
 
4710
            ;;
 
4711
          aCC*)
 
4712
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4713
            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
 
4714
            case $host_cpu in
 
4715
            hppa*64*|ia64*)
 
4716
              # +Z the default
 
4717
              ;;
 
4718
            *)
 
4719
              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
4720
              ;;
 
4721
            esac
 
4722
            ;;
 
4723
          *)
 
4724
            ;;
 
4725
        esac
 
4726
        ;;
 
4727
      interix*)
 
4728
        # This is c89, which is MS Visual C++ (no shared libs)
 
4729
        # Anyone wants to do a port?
 
4730
        ;;
 
4731
      irix5* | irix6* | nonstopux*)
 
4732
        case $cc_basename in
 
4733
          CC*)
 
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.
 
4737
            ;;
 
4738
          *)
 
4739
            ;;
 
4740
        esac
 
4741
        ;;
 
4742
      linux* | k*bsd*-gnu)
 
4743
        case $cc_basename in
 
4744
          KCC*)
 
4745
            # KAI C++ Compiler
 
4746
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
4747
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4748
            ;;
 
4749
          icpc* | ecpc*)
 
4750
            # Intel C++
 
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'
 
4754
            ;;
 
4755
          pgCC* | pgcpp*)
 
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'
 
4760
            ;;
 
4761
          cxx*)
 
4762
            # Compaq C++
 
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'
 
4767
            ;;
 
4768
          *)
 
4769
            case `$CC -V 2>&1 | sed 5q` in
 
4770
            *Sun\ C*)
 
4771
              # Sun C++ 5.9
 
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 '
 
4775
              ;;
 
4776
            esac
 
4777
            ;;
 
4778
        esac
 
4779
        ;;
 
4780
      lynxos*)
 
4781
        ;;
 
4782
      m88k*)
 
4783
        ;;
 
4784
      mvs*)
 
4785
        case $cc_basename in
 
4786
          cxx*)
 
4787
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
 
4788
            ;;
 
4789
          *)
 
4790
            ;;
 
4791
        esac
 
4792
        ;;
 
4793
      netbsd*)
 
4794
        ;;
 
4795
      osf3* | osf4* | osf5*)
 
4796
        case $cc_basename in
 
4797
          KCC*)
 
4798
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
 
4799
            ;;
 
4800
          RCC*)
 
4801
            # Rational C++ 2.4.1
 
4802
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
4803
            ;;
 
4804
          cxx*)
 
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'
 
4811
            ;;
 
4812
          *)
 
4813
            ;;
 
4814
        esac
 
4815
        ;;
 
4816
      psos*)
 
4817
        ;;
 
4818
      solaris*)
 
4819
        case $cc_basename in
 
4820
          CC*)
 
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 '
 
4825
            ;;
 
4826
          gcx*)
 
4827
            # Green Hills C++ Compiler
 
4828
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
 
4829
            ;;
 
4830
          *)
 
4831
            ;;
 
4832
        esac
 
4833
        ;;
 
4834
      sunos4*)
 
4835
        case $cc_basename in
 
4836
          CC*)
 
4837
            # Sun C++ 4.x
 
4838
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
4839
            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
4840
            ;;
 
4841
          lcc*)
 
4842
            # Lucid
 
4843
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
4844
            ;;
 
4845
          *)
 
4846
            ;;
 
4847
        esac
 
4848
        ;;
 
4849
      tandem*)
 
4850
        case $cc_basename in
 
4851
          NCC*)
 
4852
            # NonStop-UX NCC 3.20
 
4853
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
4854
            ;;
 
4855
          *)
 
4856
            ;;
 
4857
        esac
 
4858
        ;;
 
4859
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
4860
        case $cc_basename in
 
4861
          CC*)
 
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'
 
4865
            ;;
 
4866
        esac
 
4867
        ;;
 
4868
      vxworks*)
 
4869
        ;;
 
4870
      *)
 
4871
        _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
4872
        ;;
 
4873
    esac
 
4874
  fi
 
4875
],
 
4876
[
 
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'
 
4880
 
 
4881
    case $host_os in
 
4882
      aix*)
 
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'
 
4887
      fi
 
4888
      ;;
 
4889
 
 
4890
    amigaos*)
 
4891
      # FIXME: we need at least 68020 code to build shared libraries, but
 
4892
      # adding the `-m68020' flag to GCC prevents building anything better,
 
4893
      # like `-m68040'.
 
4894
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
 
4895
      ;;
 
4896
 
 
4897
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
4898
      # PIC is the default for these OSes.
 
4899
      ;;
 
4900
 
 
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'])
 
4908
      ;;
 
4909
 
 
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'
 
4914
      ;;
 
4915
 
 
4916
    interix[[3-9]]*)
 
4917
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
4918
      # Instead, we relocate shared libraries at runtime.
 
4919
      ;;
 
4920
 
 
4921
    msdosdjgpp*)
 
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
 
4925
      enable_shared=no
 
4926
      ;;
 
4927
 
 
4928
    sysv4*MP*)
 
4929
      if test -d /usr/nec; then
 
4930
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
 
4931
      fi
 
4932
      ;;
 
4933
 
 
4934
    hpux*)
 
4935
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
4936
      # not for PA HP-UX.
 
4937
      case $host_cpu in
 
4938
      hppa*64*|ia64*)
 
4939
        # +Z the default
 
4940
        ;;
 
4941
      *)
 
4942
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4943
        ;;
 
4944
      esac
 
4945
      ;;
 
4946
 
 
4947
    *)
 
4948
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4949
      ;;
 
4950
    esac
 
4951
  else
 
4952
    # PORTME Check for flag to pass linker flags through the system compiler.
 
4953
    case $host_os in
 
4954
    aix*)
 
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'
 
4959
      else
 
4960
        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
 
4961
      fi
 
4962
      ;;
 
4963
      darwin*)
 
4964
        # PIC is the default on this platform
 
4965
        # Common symbols not allowed in MH_DYLIB files
 
4966
       case $cc_basename in
 
4967
         xlc*)
 
4968
         _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon'
 
4969
         _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4970
         ;;
 
4971
       esac
 
4972
       ;;
 
4973
 
 
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'])
 
4979
      ;;
 
4980
 
 
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
 
4984
      # not for PA HP-UX.
 
4985
      case $host_cpu in
 
4986
      hppa*64*|ia64*)
 
4987
        # +Z the default
 
4988
        ;;
 
4989
      *)
 
4990
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
 
4991
        ;;
 
4992
      esac
 
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'
 
4995
      ;;
 
4996
 
 
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'
 
5001
      ;;
 
5002
 
 
5003
    newsos6)
 
5004
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5005
      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5006
      ;;
 
5007
 
 
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'
 
5017
        ;;
 
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'
 
5024
        ;;
 
5025
      ccc*)
 
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'
 
5029
        ;;
 
5030
      *)
 
5031
        case `$CC -V 2>&1 | sed 5q` in
 
5032
        *Sun\ C*)
 
5033
          # Sun C 5.9
 
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,'
 
5037
          ;;
 
5038
        *Sun\ F*)
 
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)=''
 
5043
          ;;
 
5044
        esac
 
5045
        ;;
 
5046
      esac
 
5047
      ;;
 
5048
 
 
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'
 
5053
      ;;
 
5054
 
 
5055
    rdos*)
 
5056
      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
5057
      ;;
 
5058
 
 
5059
    solaris*)
 
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
 
5063
      f77* | f90* | f95*)
 
5064
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
 
5065
      *)
 
5066
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
 
5067
      esac
 
5068
      ;;
 
5069
 
 
5070
    sunos4*)
 
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'
 
5074
      ;;
 
5075
 
 
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'
 
5080
      ;;
 
5081
 
 
5082
    sysv4*MP*)
 
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'
 
5086
      fi
 
5087
      ;;
 
5088
 
 
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'
 
5093
      ;;
 
5094
 
 
5095
    unicos*)
 
5096
      _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5097
      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
5098
      ;;
 
5099
 
 
5100
    uts4*)
 
5101
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
 
5102
      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5103
      ;;
 
5104
 
 
5105
    *)
 
5106
      _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
 
5107
      ;;
 
5108
    esac
 
5109
  fi
 
5110
])
 
5111
AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
 
5112
 
 
5113
#
 
5114
# Check to make sure the PIC flag actually works.
 
5115
#
 
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
 
5121
     "" | " "*) ;;
 
5122
     *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
 
5123
     esac],
 
5124
    [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
5125
     _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
 
5126
fi
 
5127
case $host_os in
 
5128
  # For platforms which do not support PIC, -DPIC is meaningless:
 
5129
  *djgpp*)
 
5130
    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
 
5131
    ;;
 
5132
  *)
 
5133
    _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
 
5134
    ;;
 
5135
esac
 
5136
 
 
5137
#
 
5138
# Check to make sure the static flag actually works.
 
5139
#
 
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,
 
5144
  [],
 
5145
  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
 
5146
])
 
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])
 
5149
ifelse([$1],[CXX],[
 
5150
  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
5151
  case $host_os in
 
5152
  aix[[4-9]]*)
 
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'
 
5157
    else
 
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'
 
5159
    fi
 
5160
    ;;
 
5161
  pw32*)
 
5162
    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
 
5163
  ;;
 
5164
  cygwin* | mingw*)
 
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'
 
5166
  ;;
 
5167
  *)
 
5168
    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
5169
  ;;
 
5170
  esac
 
5171
  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
 
5172
],[
 
5173
  runpath_var=
 
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])
 
5213
  case $host_os in
 
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
 
5219
      with_gnu_ld=no
 
5220
    fi
 
5221
    ;;
 
5222
  interix*)
 
5223
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
5224
    with_gnu_ld=yes
 
5225
    ;;
 
5226
  openbsd*)
 
5227
    with_gnu_ld=no
 
5228
    ;;
 
5229
  esac
 
5230
 
 
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
 
5234
    wlarc='${wl}'
 
5235
 
 
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'
 
5245
      else
 
5246
        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
 
5247
    fi
 
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 ;;
 
5255
    esac
 
5256
 
 
5257
    # See if GNU ld supports shared libraries.
 
5258
    case $host_os in
 
5259
    aix[[3-9]]*)
 
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
 
5263
        cat <<EOF 1>&2
 
5264
 
 
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.
 
5270
 
 
5271
EOF
 
5272
      fi
 
5273
      ;;
 
5274
 
 
5275
    amigaos*)
 
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
 
5279
 
 
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
 
5285
      # them.
 
5286
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5287
      ;;
 
5288
 
 
5289
    beos*)
 
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'
 
5295
      else
 
5296
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5297
      fi
 
5298
      ;;
 
5299
 
 
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'
 
5308
 
 
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;
 
5315
        else
 
5316
          echo EXPORTS > $output_objdir/$soname.def;
 
5317
          cat $export_symbols >> $output_objdir/$soname.def;
 
5318
        fi~
 
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'
 
5320
      else
 
5321
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5322
      fi
 
5323
      ;;
 
5324
 
 
5325
    interix[[3-9]]*)
 
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'
 
5338
      ;;
 
5339
 
 
5340
    gnu* | linux* | k*bsd*-gnu)
 
5341
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
5342
        tmp_addflag=
 
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'
 
5347
          ;;
 
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' ;;
 
5357
        esac
 
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' ;;
 
5364
        *)
 
5365
          tmp_sharedflag='-shared' ;;
 
5366
        esac
 
5367
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
5368
 
 
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'
 
5374
        fi
 
5375
      else
 
5376
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5377
      fi
 
5378
      ;;
 
5379
 
 
5380
    netbsd*)
 
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'
 
5383
        wlarc=
 
5384
      else
 
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'
 
5387
      fi
 
5388
      ;;
 
5389
 
 
5390
    solaris*)
 
5391
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
5392
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5393
        cat <<EOF 1>&2
 
5394
 
 
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.
 
5401
 
 
5402
EOF
 
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'
 
5406
      else
 
5407
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5408
      fi
 
5409
      ;;
 
5410
 
 
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
 
5415
        cat <<_LT_EOF 1>&2
 
5416
 
 
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.
 
5423
 
 
5424
_LT_EOF
 
5425
        ;;
 
5426
        *)
 
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'
 
5431
          else
 
5432
            _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5433
          fi
 
5434
        ;;
 
5435
      esac
 
5436
      ;;
 
5437
 
 
5438
    sunos4*)
 
5439
      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
5440
      wlarc=
 
5441
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5442
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5443
      ;;
 
5444
 
 
5445
    *)
 
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'
 
5449
      else
 
5450
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5451
      fi
 
5452
      ;;
 
5453
    esac
 
5454
 
 
5455
    if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then
 
5456
      runpath_var=
 
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)=
 
5460
    fi
 
5461
  else
 
5462
    # PORTME fill in a description of your system's linker (not GNU ld)
 
5463
    case $host_os in
 
5464
    aix3*)
 
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
 
5473
        # broken collect2.
 
5474
        _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
 
5475
      fi
 
5476
      ;;
 
5477
 
 
5478
    aix[[4-9]]*)
 
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'
 
5484
        no_entry_flag=""
 
5485
      else
 
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'
 
5490
        else
 
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'
 
5492
        fi
 
5493
        aix_use_runtimelinking=no
 
5494
 
 
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
 
5502
            break
 
5503
          fi
 
5504
          done
 
5505
          ;;
 
5506
        esac
 
5507
 
 
5508
        exp_sym_flag='-bexport'
 
5509
        no_entry_flag='-bnoentry'
 
5510
      fi
 
5511
 
 
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.
 
5517
 
 
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
 
5522
 
 
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
 
5530
          then
 
5531
          # We have reworked collect2
 
5532
          :
 
5533
          else
 
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)=
 
5542
          fi
 
5543
          ;;
 
5544
        esac
 
5545
        shared_flag='-shared'
 
5546
        if test "$aix_use_runtimelinking" = yes; then
 
5547
          shared_flag="$shared_flag "'${wl}-G'
 
5548
        fi
 
5549
      else
 
5550
        # not using gcc
 
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:
 
5554
          shared_flag='-G'
 
5555
        else
 
5556
          if test "$aix_use_runtimelinking" = yes; then
 
5557
            shared_flag='${wl}-G ${wl}-bnoipath'
 
5558
          else
 
5559
            shared_flag='${wl}-bM:SRE'
 
5560
          fi
 
5561
        fi
 
5562
      fi
 
5563
 
 
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"
 
5575
       else
 
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"
 
5580
        else
 
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'
 
5593
        fi
 
5594
      fi
 
5595
      ;;
 
5596
 
 
5597
    amigaos*)
 
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
 
5603
      ;;
 
5604
 
 
5605
    bsdi[[45]]*)
 
5606
      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
 
5607
      ;;
 
5608
 
 
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.
 
5617
      libext=lib
 
5618
      # Tell ltmain to make .dll files, not .so files.
 
5619
      shrext_cmds=".dll"
 
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
 
5628
      ;;
 
5629
 
 
5630
    darwin* | rhapsody*)
 
5631
      case $host_os in
 
5632
        rhapsody* | darwin1.[[012]])
 
5633
         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
 
5634
         ;;
 
5635
       *) # Darwin 1.3 on
 
5636
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
5637
           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
5638
         else
 
5639
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
5640
             10.[[012]])
 
5641
               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
5642
               ;;
 
5643
             10.*)
 
5644
               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
 
5645
               ;;
 
5646
           esac
 
5647
         fi
 
5648
         ;;
 
5649
      esac
 
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}"
 
5662
    else
 
5663
      case $cc_basename in
 
5664
        xlc*)
 
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}'
 
5671
          ;;
 
5672
       *)
 
5673
         _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5674
          ;;
 
5675
      esac
 
5676
    fi
 
5677
      ;;
 
5678
 
 
5679
    dgux*)
 
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
 
5683
      ;;
 
5684
 
 
5685
    freebsd1*)
 
5686
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5687
      ;;
 
5688
 
 
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
 
5692
    # extra space).
 
5693
    freebsd2.2*)
 
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
 
5698
      ;;
 
5699
 
 
5700
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
5701
    freebsd2*)
 
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
 
5706
      ;;
 
5707
 
 
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
 
5714
      ;;
 
5715
 
 
5716
    hpux9*)
 
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'
 
5719
      else
 
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'
 
5721
      fi
 
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
 
5725
 
 
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'
 
5730
      ;;
 
5731
 
 
5732
    hpux10*)
 
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'
 
5735
      else
 
5736
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
5737
      fi
 
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)=:
 
5741
 
 
5742
        _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5743
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
5744
 
 
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
 
5748
      fi
 
5749
      ;;
 
5750
 
 
5751
    hpux11*)
 
5752
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
5753
        case $host_cpu in
 
5754
        hppa*64*)
 
5755
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
5756
          ;;
 
5757
        ia64*)
 
5758
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
5759
          ;;
 
5760
        *)
 
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'
 
5762
          ;;
 
5763
        esac
 
5764
      else
 
5765
        case $host_cpu in
 
5766
        hppa*64*)
 
5767
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
5768
          ;;
 
5769
        ia64*)
 
5770
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
5771
          ;;
 
5772
        *)
 
5773
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
5774
          ;;
 
5775
        esac
 
5776
      fi
 
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)=:
 
5780
 
 
5781
        case $host_cpu in
 
5782
        hppa*64*|ia64*)
 
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
 
5786
          ;;
 
5787
        *)
 
5788
          _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5789
          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
5790
 
 
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
 
5794
          ;;
 
5795
        esac
 
5796
      fi
 
5797
      ;;
 
5798
 
 
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'
 
5802
      else
 
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'
 
5805
      fi
 
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
 
5809
      ;;
 
5810
 
 
5811
    netbsd*)
 
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
 
5814
      else
 
5815
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
5816
      fi
 
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
 
5820
      ;;
 
5821
 
 
5822
    newsos6)
 
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
 
5828
      ;;
 
5829
 
 
5830
    openbsd*)
 
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'
 
5839
        else
 
5840
          case $host_os in
 
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'
 
5844
             ;;
 
5845
           *)
 
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'
 
5848
             ;;
 
5849
          esac
 
5850
        fi
 
5851
      else
 
5852
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5853
      fi
 
5854
      ;;
 
5855
 
 
5856
    os2*)
 
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'
 
5862
      ;;
 
5863
 
 
5864
    osf3*)
 
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'
 
5868
      else
 
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'
 
5871
      fi
 
5872
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
 
5873
      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
5874
      ;;
 
5875
 
 
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'
 
5881
      else
 
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'
 
5886
 
 
5887
        # Both c and cxx compiler support -rpath directly
 
5888
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
 
5889
      fi
 
5890
      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
 
5891
      ;;
 
5892
 
 
5893
    solaris*)
 
5894
      _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
 
5895
      if test "$GCC" = yes; then
 
5896
        wlarc='${wl}'
 
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'
 
5900
      else
 
5901
        wlarc=''
 
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'
 
5905
      fi
 
5906
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
5907
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5908
      case $host_os in
 
5909
      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
5910
      *)
 
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'
 
5917
        else
 
5918
          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
5919
        fi
 
5920
        ;;
 
5921
      esac
 
5922
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
 
5923
      ;;
 
5924
 
 
5925
    sunos4*)
 
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'
 
5930
      else
 
5931
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
5932
      fi
 
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
 
5937
      ;;
 
5938
 
 
5939
    sysv4)
 
5940
      case $host_vendor in
 
5941
        sni)
 
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???
 
5944
        ;;
 
5945
        siemens)
 
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
 
5951
        ;;
 
5952
        motorola)
 
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
 
5955
        ;;
 
5956
      esac
 
5957
      runpath_var='LD_RUN_PATH'
 
5958
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
5959
      ;;
 
5960
 
 
5961
    sysv4.3*)
 
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'
 
5965
      ;;
 
5966
 
 
5967
    sysv4*MP*)
 
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
 
5974
      fi
 
5975
      ;;
 
5976
 
 
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'
 
5982
 
 
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'
 
5986
      else
 
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'
 
5989
      fi
 
5990
      ;;
 
5991
 
 
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
 
5998
      # as -z defs.
 
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'
 
6008
 
 
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'
 
6012
      else
 
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'
 
6015
      fi
 
6016
      ;;
 
6017
 
 
6018
    uts4*)
 
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
 
6022
      ;;
 
6023
 
 
6024
    *)
 
6025
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
6026
      ;;
 
6027
    esac
 
6028
  fi
 
6029
])
 
6030
AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
 
6031
test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
 
6032
 
 
6033
#
 
6034
# Do we need to explicitly link libc?
 
6035
#
 
6036
case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
 
6037
x|xyes)
 
6038
  # Assume -lc should be added
 
6039
  _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
6040
 
 
6041
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
6042
    case $_LT_AC_TAGVAR(archive_cmds, $1) in
 
6043
    *'~'*)
 
6044
      # FIXME: we may have to deal with multi-command sequences.
 
6045
      ;;
 
6046
    '$CC '*)
 
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])
 
6051
      $rm conftest*
 
6052
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
6053
 
 
6054
      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
 
6055
        soname=conftest
 
6056
        lib=conftest
 
6057
        libobjs=conftest.$ac_objext
 
6058
        deplibs=
 
6059
        wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
 
6060
        pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
 
6061
        compiler_flags=-v
 
6062
        linker_flags=-v
 
6063
        verstring=
 
6064
        output_objdir=.
 
6065
        libname=conftest
 
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)
 
6069
        then
 
6070
          _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
 
6071
        else
 
6072
          _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
 
6073
        fi
 
6074
        _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
 
6075
      else
 
6076
        cat conftest.err 1>&5
 
6077
      fi
 
6078
      $rm conftest*
 
6079
      AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
 
6080
      ;;
 
6081
    esac
 
6082
  fi
 
6083
  ;;
 
6084
esac
 
6085
])
 
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>
 
6092
#
 
6093
# #ifndef __CYGWIN__
 
6094
# #  ifdef __CYGWIN32__
 
6095
# #    define __CYGWIN__ __CYGWIN32__
 
6096
# #  endif
 
6097
# #endif
 
6098
#
 
6099
# #ifdef __cplusplus
 
6100
# extern "C" {
 
6101
# #endif
 
6102
# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
 
6103
# #ifdef __cplusplus
 
6104
# }
 
6105
# #endif
 
6106
#
 
6107
# #ifdef __CYGWIN__
 
6108
# #include <cygwin/cygwin_dll.h>
 
6109
# DECLARE_CYGWIN_DLL( DllMain );
 
6110
# #endif
 
6111
# HINSTANCE __hDllInstance_base;
 
6112
#
 
6113
# BOOL APIENTRY
 
6114
# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
 
6115
# {
 
6116
#   __hDllInstance_base = hInst;
 
6117
#   return TRUE;
 
6118
# }
 
6119
# /* ltdll.c ends here */
 
6120
])
 
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"
 
6131
  AC_SUBST(GCJFLAGS)
 
6132
])
 
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)
 
6134
])
 
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
 
6140
for as_dir in $PATH
 
6141
do
 
6142
  IFS=$as_save_IFS
 
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"
 
6148
      fi
 
6149
    done
 
6150
  done
 
6151
done
 
6152
IFS=$as_save_IFS
 
6153
lt_ac_max=0
 
6154
lt_ac_count=0
 
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
 
6160
  lt_ac_count=0
 
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
 
6165
    break
 
6166
  fi
 
6167
  while true; do
 
6168
    cat conftest.in conftest.in >conftest.tmp
 
6169
    mv conftest.tmp conftest.in
 
6170
    cp conftest.in conftest.nl
 
6171
    echo >>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
 
6180
    fi
 
6181
  done
 
6182
done
 
6183
])
 
6184
SED=$lt_cv_path_SED
 
6185
AC_SUBST([SED])
 
6186
AC_MSG_RESULT([$SED])
 
6187
])
 
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`
 
6194
])
 
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
 
6198
AC_SUBST([$1_TRUE])
 
6199
AC_SUBST([$1_FALSE])
 
6200
if $2; then
 
6201
  $1_TRUE=
 
6202
  $1_FALSE='#'
 
6203
else
 
6204
  $1_TRUE='#'
 
6205
  $1_FALSE=
 
6206
fi
 
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.]])
 
6211
fi])])
 
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
 
6216
 
 
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=])
 
6222
 
 
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
 
6230
  # in D'.
 
6231
  mkdir conftest.dir
 
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
 
6235
  cd 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
 
6241
  # directory.
 
6242
  mkdir sub
 
6243
 
 
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`
 
6247
  fi
 
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.
 
6252
    #
 
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.
 
6256
    : > sub/conftest.c
 
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
 
6262
    done
 
6263
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6264
 
 
6265
    case $depmode in
 
6266
    nosideeffect)
 
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
 
6270
        continue
 
6271
      else
 
6272
        break
 
6273
      fi
 
6274
      ;;
 
6275
    none) break ;;
 
6276
    esac
 
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
 
6298
        break
 
6299
      fi
 
6300
    fi
 
6301
  done
 
6302
 
 
6303
  cd ..
 
6304
  rm -rf conftest.dir
 
6305
else
 
6306
  am_cv_$1_dependencies_compiler_type=none
 
6307
fi
 
6308
])
 
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])
 
6313
])
 
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
 
6316
])
 
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"
 
6322
  AMDEPBACKSLASH='\'
 
6323
fi
 
6324
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 
6325
AC_SUBST([AMDEPBACKSLASH])
 
6326
])
 
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")`
 
6338
  else
 
6339
    continue
 
6340
  fi
 
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
 
6353
  # expansion.
 
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"
 
6363
  done
 
6364
done
 
6365
])
 
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"])
 
6369
])
 
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])
 
6380
fi
 
6381
 
 
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'
 
6386
  else
 
6387
    CYGPATH_W=echo
 
6388
  fi
 
6389
fi
 
6390
AC_SUBST([CYGPATH_W])
 
6391
 
 
6392
# Define the identity of the package.
 
6393
dnl Distinguish between old-style and new-style calls.
 
6394
m4_ifval([$2],
 
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
 
6401
 
 
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
 
6405
 
 
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)
 
6414
AM_PROG_INSTALL_SH
 
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
 
6418
# some platforms.
 
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
 
6434
])
 
6435
])
 
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.
 
6437
_am_stamp_count=1
 
6438
for _am_header in $config_headers :; do
 
6439
  case $_am_header in
 
6440
    $1 | $1:* )
 
6441
      break ;;
 
6442
    * )
 
6443
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
6444
  esac
 
6445
done
 
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
 
6453
  am__leading_dot=.
 
6454
else
 
6455
  am__leading_dot=_
 
6456
fi
 
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
 
6469
  AC_SUBST(MAINT)dnl
 
6470
 
 
6471
])
 
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'
 
6478
am__doit:
 
6479
        @echo done
 
6480
.PHONY: am__doit
 
6481
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])
 
6484
am__include="#"
 
6485
am__quote=
 
6486
_am_result=none
 
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
 
6495
   am__include=include
 
6496
   am__quote=
 
6497
   _am_result=GNU
 
6498
fi
 
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
 
6504
      am__quote="\""
 
6505
      _am_result=BSD
 
6506
   fi
 
6507
fi
 
6508
AC_SUBST([am__include])
 
6509
AC_SUBST([am__quote])
 
6510
AC_MSG_RESULT([$_am_result])
 
6511
rm -f confinc confmf
 
6512
])
 
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"}
 
6515
AC_SUBST($1)])
 
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 "
 
6521
else
 
6522
  am_missing_run=
 
6523
  AC_MSG_WARN([`missing' script is too old or missing])
 
6524
fi
 
6525
])
 
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
 
6531
  # for two reasons:
 
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 --'
 
6542
else
 
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
 
6546
  # exists.
 
6547
  for d in ./-p ./--version;
 
6548
  do
 
6549
    test -d $d && rmdir $d
 
6550
  done
 
6551
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
6552
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
6553
    mkdir_p='$(mkinstalldirs)'
 
6554
  else
 
6555
    mkdir_p='$(install_sh) -d'
 
6556
  fi
 
6557
fi
 
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
 
6565
   ac_status=$?
 
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])
 
6569
# Just in case
 
6570
sleep 1
 
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
 
6576
# directory).
 
6577
if (
 
6578
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
6579
   if test "$[*]" = "X"; then
 
6580
      # -L didn't work.
 
6581
      set X `ls -t $srcdir/configure conftest.file`
 
6582
   fi
 
6583
   rm -f conftest.file
 
6584
   if test "$[*]" != "X $srcdir/configure conftest.file" \
 
6585
      && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
6586
 
 
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])
 
6593
   fi
 
6594
 
 
6595
   test "$[2]" = conftest.file
 
6596
   )
 
6597
then
 
6598
   # Ok.
 
6599
   :
 
6600
else
 
6601
   AC_MSG_ERROR([newly created file is older than distributed files!
 
6602
Check your system clock])
 
6603
fi
 
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], :)
 
6613
fi
 
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])
 
6618
m4_if([$1], [v7],
 
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
 
6629
do
 
6630
  case $_am_tool in
 
6631
  gnutar)
 
6632
    for _am_tar in tar gnutar gtar;
 
6633
    do
 
6634
      AM_RUN_LOG([$_am_tar --version]) && break
 
6635
    done
 
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 -"
 
6639
    ;;
 
6640
  plaintar)
 
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 -'
 
6647
    ;;
 
6648
  pax)
 
6649
    am__tar='pax -L -x $1 -w "$$tardir"'
 
6650
    am__tar_='pax -L -x $1 -w "$tardir"'
 
6651
    am__untar='pax -r'
 
6652
    ;;
 
6653
  cpio)
 
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'
 
6657
    ;;
 
6658
  none)
 
6659
    am__tar=false
 
6660
    am__tar_=false
 
6661
    am__untar=false
 
6662
    ;;
 
6663
  esac
 
6664
 
 
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
 
6668
 
 
6669
  # tar/untar a dummy directory, and stop if the command works
 
6670
  rm -rf conftest.dir
 
6671
  mkdir conftest.dir
 
6672
  echo GrepMe > conftest.dir/file
 
6673
  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
 
6674
  rm -rf conftest.dir
 
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
 
6678
  fi
 
6679
done
 
6680
rm -rf conftest.dir
 
6681
 
 
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])])
 
6684
AC_SUBST([am__tar])
 
6685
AC_SUBST([am__untar])
 
6686
])
 
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
 
6690
                exit 1
 
6691
        fi
 
6692
 
 
6693
        AC_SUBST(GPT_LOCATION)
 
6694
 
 
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
 
6697
        . ./tmpfile.gpt
 
6698
        rm ./tmpfile.gpt
 
6699
        GPT_VERSION="$GPT_MAJOR_VERSION.$GPT_MINOR_VERSION"
 
6700
 
 
6701
        # Determine if GPT is version 2.x
 
6702
 
 
6703
        GPT_IS_2="no"
 
6704
 
 
6705
        if test -f "$GPT_LOCATION/sbin/gpt-build"; then
 
6706
                GPT_IS_2="yes"
 
6707
        fi
 
6708
 
 
6709
        AC_SUBST(GPT_IS_2)
 
6710
 
 
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],
 
6716
 
 
6717
        [
 
6718
        case $enableval in
 
6719
        no)
 
6720
                GPT_LINKTYPE="shared"
 
6721
                ;;
 
6722
        yes)
 
6723
                GPT_LINKTYPE="static"
 
6724
dnl             if test "$STATIC_LDFLAGS" = ""; then
 
6725
dnl             GPT_LDFLAGS=" -all-static $GPT_LDFLAGS"
 
6726
dnl             else
 
6727
dnl             GPT_LDFLAGS=" $STATIC_LDFLAGS $GPT_LDFLAGS"
 
6728
dnl             fi
 
6729
                ;;
 
6730
        *)
 
6731
                echo "--enable-static-only has no arguments" >&2
 
6732
                exit 1
 
6733
                ;;
 
6734
        esac
 
6735
        ]
 
6736
        )
 
6737
 
 
6738
        #extract the cumulative build environment from the installed development tree
 
6739
        [
 
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";
 
6742
        else 
 
6743
                exit 1;
 
6744
        fi
 
6745
        ]
 
6746
 
 
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.
 
6755
 
 
6756
 
 
6757
 
 
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"
 
6766
 
 
6767
 
 
6768
 
 
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)
 
6774
        AC_SUBST(GPT_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)
 
6783
        builddir=`pwd`
 
6784
        AC_SUBST(builddir)
 
6785
])
 
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], [
 
6787
        GPT_CFLAGS_TMP=$1
 
6788
        GPT_CFLAGS="$GPT_CFLAGS_TMP $GPT_CFLAGS"
 
6789
        GPT_PKG_CFLAGS="$GPT_CFLAGS_TMP $GPT_PKG_CFLAGS"
 
6790
])
 
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], [
 
6792
 
 
6793
        GPT_INCLUDES_TMP=$1
 
6794
        GPT_EXTERNAL_INCLUDES="$GPT_EXTERNAL_INCLUDES $GPT_INCLUDES_TMP"
 
6795
        GPT_INCLUDES="$GPT_INCLUDES_TMP $GPT_INCLUDES"
 
6796
])
 
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], [
 
6798
 
 
6799
        GPT_LIBS_TMP=$1
 
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"
 
6803
])
 
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], [
 
6805
 
 
6806
         GPT_LDFLAGS_TMP=$1
 
6807
         GPT_EXTERNAL_LDFLAGS="$GPT_EXTERNAL_LDFLAGS $GPT_LDFLAGS_TMP"
 
6808
         GPT_LDFLAGS=" $GPT_LDFLAGS_TMP $GPT_LDFLAGS"
 
6809
])
 
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)
 
6813
])
 
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)
 
6817
])
 
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)
 
6821
])
 
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)
 
6825
])
 
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=""
 
6828
    for x in "" $1; do
 
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"
 
6835
    fi
 
6836
    done
 
6837
    AC_SUBST(lac_doxygen_tagfiles)
 
6838
    AC_SUBST(lac_doxygen_internal_tagfiles)
 
6839
    AC_SUBST(lac_doxygen_installdox)
 
6840
])
 
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]
 
6843
])
 
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]
 
6846
])
 
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]
 
6849
])
 
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
 
6855
    [
 
6856
        if test "$enableval" = "yes"; then
 
6857
        AC_PATH_PROG(DOXYGEN,
 
6858
            doxygen,
 
6859
            [
 
6860
            AC_MSG_ERROR(Doxygen installation not found)
 
6861
            ])
 
6862
        else
 
6863
        DOXYGEN="$enableval"
 
6864
        AC_SUBST(DOXYGEN)
 
6865
        fi
 
6866
    ],
 
6867
    [
 
6868
        DOXYGEN=""
 
6869
        AC_SUBST(DOXYGEN)
 
6870
    ])
 
6871
 
 
6872
 
 
6873
    AC_ARG_ENABLE(internal-doc,
 
6874
    [ --enable-internal-doc        Generate Doxygen documentation for
 
6875
                   internal functions. Requires --enable-doxygen],
 
6876
    [
 
6877
    DOXYFILE="Doxyfile-internal"
 
6878
    AC_SUBST(DOXYFILE) 
 
6879
    ],
 
6880
    [
 
6881
    DOXYFILE="Doxyfile"
 
6882
    AC_SUBST(DOXYFILE)
 
6883
    ])
 
6884
 
 
6885
 
 
6886
    if test -n "$DOXYGEN" ; then
 
6887
    AC_PATH_PROG(DOT, dot)
 
6888
    
 
6889
    if test -z "$GLOBUS_SH_PERL" ; then
 
6890
        AC_PATH_PROG(PERL, perl)
 
6891
    else
 
6892
        PERL="$GLOBUS_SH_PERL"
 
6893
        AC_SUBST(PERL)
 
6894
    fi
 
6895
    if test "$DOT" != ""; then
 
6896
        HAVE_DOT=YES
 
6897
    else
 
6898
        HAVE_DOT=NO
 
6899
    fi
 
6900
 
 
6901
    AC_SUBST(HAVE_DOT)
 
6902
 
 
6903
    LAC_DOXYGEN_SOURCE_DIRS($1)
 
6904
    LAC_DOXYGEN_FILE_PATTERNS($2)   
 
6905
    LAC_DOXYGEN_INPUT_FILTER($3)
 
6906
 
 
6907
    LAC_DOXYGEN_PROJECT($GPT_NAME)
 
6908
    LAC_DOXYGEN_OUTPUT_TAGFILE($GPT_NAME)
 
6909
 
 
6910
    lac_dep_check="$GLOBUS_LOCATION/sbin/globus-build-doxygen-dependencies"
 
6911
 
 
6912
    if test ! -x $lac_dep_check ; then
 
6913
 
 
6914
        # assume we are dealing with common
 
6915
        
 
6916
        lac_dep_check="$srcdir/scripts/globus-build-doxygen-dependencies"
 
6917
        chmod 0755 $lac_dep_check
 
6918
 
 
6919
    fi
 
6920
 
 
6921
    AC_MSG_CHECKING([documentation dependencies])
 
6922
 
 
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.])
 
6927
    else
 
6928
        AC_MSG_RESULT([ok])
 
6929
    fi
 
6930
 
 
6931
    LAC_DOXYGEN_TAGFILES($tagfiles)
 
6932
 
 
6933
    AC_SUBST(lac_doxygen_file_patterns)
 
6934
    AC_SUBST(lac_doxygen_examples)
 
6935
    AC_SUBST(lac_doxygen_predefines)
 
6936
    fi
 
6937
 
 
6938
])
 
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], [
 
6940
 
 
6941
AM_MAINTAINER_MODE
 
6942
 
 
6943
# checking for the GLOBUS_LOCATION
 
6944
 
 
6945
if test "x$GLOBUS_LOCATION" = "x"; then
 
6946
    echo "ERROR Please specify GLOBUS_LOCATION" >&2
 
6947
    exit 1
 
6948
fi
 
6949
if test "x$GPT_LOCATION" = "x"; then
 
6950
    GPT_LOCATION=$GLOBUS_LOCATION
 
6951
    export GPT_LOCATION
 
6952
fi
 
6953
 
 
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
 
6956
 
 
6957
. ./tmpfile.gpt
 
6958
rm ./tmpfile.gpt
 
6959
 
 
6960
if test "x$GPT_BUILD_WITH_FLAVORS" = "xno"; then
 
6961
        GLOBUS_FLAVOR_NAME="noflavor"
 
6962
fi
 
6963
 
 
6964
AC_ARG_WITH(flavor,
 
6965
        [ --with-flavor=<FL>     Specify the globus build flavor or without-flavor for a flavor independent  ],
 
6966
 
 
6967
        [
 
6968
        case $withval in
 
6969
        no)
 
6970
                NO_FLAVOR="yes"
 
6971
                ;;
 
6972
        yes)
 
6973
                echo "Please specify a globus build flavor" >&2
 
6974
                exit 1
 
6975
                ;;
 
6976
        *)
 
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
 
6980
        else
 
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
 
6984
                        exit 1
 
6985
                fi 
 
6986
 
 
6987
        fi
 
6988
                ;;
 
6989
        esac
 
6990
        ],
 
6991
 
 
6992
        [ 
 
6993
        if test "x$GLOBUS_FLAVOR_NAME" = "x"; then
 
6994
                echo "Please specify a globus build flavor" >&2
 
6995
                exit 1
 
6996
        fi
 
6997
        ]
 
6998
)
 
6999
 
 
7000
 
 
7001
GPT_INIT
 
7002
 
 
7003
 
 
7004
 
 
7005
AM_CONDITIONAL(WITHOUT_FLAVORS, test "$NO_FLAVOR" = "yes")
 
7006
AC_SUBST(GLOBUS_FLAVOR_NAME)
 
7007
 
 
7008
 
 
7009
# get the environment scripts
 
7010
 
 
7011
if test "x$GLOBUS_FLAVOR_NAME" != "xnoflavor" ; then
 
7012
        . $GLOBUS_LOCATION/libexec/globus-build-env-$GLOBUS_FLAVOR_NAME.sh
 
7013
fi
 
7014
 
 
7015
prefix='$(GLOBUS_LOCATION)'
 
7016
exec_prefix='$(GLOBUS_LOCATION)'
 
7017
 
 
7018
AC_SUBST(CC)
 
7019
AC_SUBST(CPP)
 
7020
AC_SUBST(CFLAGS)
 
7021
AC_SUBST(CPPFLAGS)
 
7022
AC_SUBST(LD)
 
7023
AC_SUBST(LDFLAGS)
 
7024
AC_SUBST(LIBS)
 
7025
AC_SUBST(CXX)
 
7026
AC_SUBST(CXXCPP)
 
7027
AC_SUBST(CXXFLAGS)
 
7028
AC_SUBST(INSURE)
 
7029
AC_SUBST(DOXYGEN)
 
7030
AC_SUBST(F77)
 
7031
AC_SUBST(F77FLAGS)
 
7032
AC_SUBST(F90)
 
7033
AC_SUBST(F90FLAGS)
 
7034
AC_SUBST(AR)
 
7035
AC_SUBST(ARFLAGS)
 
7036
AC_SUBST(RANLIB)
 
7037
AC_SUBST(PERL)
 
7038
AC_SUBST(CROSS)
 
7039
AC_SUBST(cross_compiling)
 
7040
AC_SUBST(OBJEXT)
 
7041
AC_SUBST(EXEEXT)
 
7042
AC_SUBST(OBJECT_MODE)
 
7043
 
 
7044
 
 
7045
define([AM_PROG_LIBTOOL],[
 
7046
        LIBTOOL='$(SHELL) $(GLOBUS_LOCATION)/sbin/libtool-$(GLOBUS_FLAVOR_NAME)'
 
7047
        AC_SUBST(LIBTOOL)
 
7048
        AC_SUBST(LN_S)
 
7049
])
 
7050
 
 
7051
dnl define FILELIST_FILE variable
 
7052
FILELIST_FILE=`pwd`;
 
7053
FILELIST_FILE="$FILELIST_FILE/pkgdata/master.filelist"
 
7054
AC_SUBST(FILELIST_FILE)
 
7055
 
 
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
 
7059
    . $srcdir/dirt.sh
 
7060
else
 
7061
    DIRT_TIMESTAMP=`perl -e 'print time'`
 
7062
    DIRT_BRANCH_ID=99999
 
7063
fi
 
7064
 
 
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)
 
7070
 
 
7071
 
 
7072
AC_ARG_ENABLE([programs],
 
7073
[   --disable-programs    Don't compile/link programs],
 
7074
    [case "${enableval}" in
 
7075
        yes) 
 
7076
            ENABLE_PROGRAMS=true
 
7077
        ;;
 
7078
        no)
 
7079
            ENABLE_PROGRAMS=false
 
7080
        ;;
 
7081
        *)
 
7082
            AC_MSG_ERROR([bad value ${enableval} for --enable-programs])
 
7083
        ;;
 
7084
    esac],
 
7085
    [ENABLE_PROGRAMS=true])
 
7086
AM_CONDITIONAL(ENABLE_PROGRAMS, test "x$ENABLE_PROGRAMS" = "xtrue")
 
7087
 
 
7088
 
 
7089
dnl END OF GLOBUS_INIT
 
7090
])
 
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], [
 
7092
 
 
7093
lac_INSURE=$INSURE
 
7094
 
 
7095
AC_ARG_ENABLE(insure,
 
7096
        changequote(<<, >>)dnl
 
7097
  <<--disable-insure    disable Insure++ >>,
 
7098
        changequote([, ])dnl
 
7099
        [
 
7100
                if test "$enableval" = "yes"; then
 
7101
                        lac_INSURE="${INSURE-insure}"
 
7102
                else
 
7103
                        lac_INSURE="$enableval"
 
7104
                fi
 
7105
        ],
 
7106
        [
 
7107
                lac_INSURE=""
 
7108
        ])
 
7109
 
 
7110
 
 
7111
if test ! -z "$lac_INSURE"; then
 
7112
        CC=$lac_INSURE
 
7113
        LD=$lac_INSURE
 
7114
        CXX=$lac_INSURE
 
7115
        AC_SUBST(CC) 
 
7116
        AC_SUBST(LD) 
 
7117
        AC_SUBST(CXX) 
 
7118
fi 
 
7119
 
 
7120
])
 
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 */
 
7254
#undef 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 */
 
7257
#undef VERSION])
 
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
 
7303
])
 
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
 
7337
        Makefile
 
7338
        doxygen/Makefile
 
7339
        doxygen/Doxyfile
 
7340
        doxygen/Doxyfile-internal
 
7341
])
 
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])