/[debian]/mimetic/branches/upstream/current/aclocal.m4
ViewVC logotype

Diff of /mimetic/branches/upstream/current/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1728 by gregoa, Wed Oct 8 16:15:50 2008 UTC revision 1729 by gregoa, Fri May 15 15:30:29 2009 UTC
# Line 1  Line 1 
1  # generated automatically by aclocal 1.10 -*- Autoconf -*-  # generated automatically by aclocal 1.10.1 -*- Autoconf -*-
2    
3  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4  # 2005, 2006  Free Software Foundation, Inc.  # 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
5  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
6  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
7  # with or without modifications, as long as this notice is preserved.  # with or without modifications, as long as this notice is preserved.
# Line 11  Line 11 
11  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12  # PARTICULAR PURPOSE.  # PARTICULAR PURPOSE.
13    
14  m4_if(m4_PACKAGE_VERSION, [2.61],,  m4_ifndef([AC_AUTOCONF_VERSION],
15  [m4_fatal([this file was generated for autoconf 2.61.    [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16  You have another version of autoconf.  If you want to use that,  m4_if(AC_AUTOCONF_VERSION, [2.61],,
17  you should regenerate the build system entirely.], [63])])  [m4_warning([this file was generated for autoconf 2.61.
18    You have another version of autoconf.  It may work, but is not guaranteed to.
19    If you have problems, you may need to regenerate the build system entirely.
20    To do so, use the procedure documented by the package, typically `autoreconf'.])])
21    
22  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
23    
24  # serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL  # serial 52 Debian 1.5.26-1ubuntu1 AC_PROG_LIBTOOL
25    
26    
27  # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)  # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
# Line 106  AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl Line 109  AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
109  AC_REQUIRE([AC_OBJEXT])dnl  AC_REQUIRE([AC_OBJEXT])dnl
110  AC_REQUIRE([AC_EXEEXT])dnl  AC_REQUIRE([AC_EXEEXT])dnl
111  dnl  dnl
   
112  AC_LIBTOOL_SYS_MAX_CMD_LEN  AC_LIBTOOL_SYS_MAX_CMD_LEN
113  AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE  AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
114  AC_LIBTOOL_OBJDIR  AC_LIBTOOL_OBJDIR
# Line 181  test -z "$STRIP" && STRIP=: Line 183  test -z "$STRIP" && STRIP=:
183  test -z "$ac_objext" && ac_objext=o  test -z "$ac_objext" && ac_objext=o
184    
185  # Determine commands to create old-style static archives.  # Determine commands to create old-style static archives.
186  old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'  old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
187  old_postinstall_cmds='chmod 644 $oldlib'  old_postinstall_cmds='chmod 644 $oldlib'
188  old_postuninstall_cmds=  old_postuninstall_cmds=
189    
# Line 208  file_magic*) Line 210  file_magic*)
210    ;;    ;;
211  esac  esac
212    
213    _LT_REQUIRED_DARWIN_CHECKS
214    
215  AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)  AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
216  AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],  AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
217  enable_win32_dll=yes, enable_win32_dll=no)  enable_win32_dll=yes, enable_win32_dll=no)
# Line 268  cc_basename=`$echo "X$cc_temp" | $Xsed - Line 272  cc_basename=`$echo "X$cc_temp" | $Xsed -
272  # Check for compiler boilerplate output or warnings with  # Check for compiler boilerplate output or warnings with
273  # the simple compiler test code.  # the simple compiler test code.
274  AC_DEFUN([_LT_COMPILER_BOILERPLATE],  AC_DEFUN([_LT_COMPILER_BOILERPLATE],
275  [ac_outfile=conftest.$ac_objext  [AC_REQUIRE([LT_AC_PROG_SED])dnl
276  printf "$lt_simple_compile_test_code" >conftest.$ac_ext  ac_outfile=conftest.$ac_objext
277    echo "$lt_simple_compile_test_code" >conftest.$ac_ext
278  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
279  _lt_compiler_boilerplate=`cat conftest.err`  _lt_compiler_boilerplate=`cat conftest.err`
280  $rm conftest*  $rm conftest*
# Line 281  $rm conftest* Line 286  $rm conftest*
286  # Check for linker boilerplate output or warnings with  # Check for linker boilerplate output or warnings with
287  # the simple link test code.  # the simple link test code.
288  AC_DEFUN([_LT_LINKER_BOILERPLATE],  AC_DEFUN([_LT_LINKER_BOILERPLATE],
289  [ac_outfile=conftest.$ac_objext  [AC_REQUIRE([LT_AC_PROG_SED])dnl
290  printf "$lt_simple_link_test_code" >conftest.$ac_ext  ac_outfile=conftest.$ac_objext
291    echo "$lt_simple_link_test_code" >conftest.$ac_ext
292  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
293  _lt_linker_boilerplate=`cat conftest.err`  _lt_linker_boilerplate=`cat conftest.err`
294  $rm conftest*  $rm -r conftest*
295  ])# _LT_LINKER_BOILERPLATE  ])# _LT_LINKER_BOILERPLATE
296    
297    # _LT_REQUIRED_DARWIN_CHECKS
298    # --------------------------
299    # Check for some things on darwin
300    AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
301      case $host_os in
302        rhapsody* | darwin*)
303        AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
304        AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
305    
306        AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
307          [lt_cv_apple_cc_single_mod=no
308          if test -z "${LT_MULTI_MODULE}"; then
309       # By default we will add the -single_module flag. You can override
310       # by either setting the environment variable LT_MULTI_MODULE
311       # non-empty at configure time, or by adding -multi_module to the
312       # link flags.
313       echo "int foo(void){return 1;}" > conftest.c
314       $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
315         -dynamiclib ${wl}-single_module conftest.c
316       if test -f libconftest.dylib; then
317         lt_cv_apple_cc_single_mod=yes
318         rm -rf libconftest.dylib*
319       fi
320       rm conftest.c
321          fi])
322        AC_CACHE_CHECK([for -exported_symbols_list linker flag],
323          [lt_cv_ld_exported_symbols_list],
324          [lt_cv_ld_exported_symbols_list=no
325          save_LDFLAGS=$LDFLAGS
326          echo "_main" > conftest.sym
327          LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
328          AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
329       [lt_cv_ld_exported_symbols_list=yes],
330       [lt_cv_ld_exported_symbols_list=no])
331       LDFLAGS="$save_LDFLAGS"
332        ])
333        case $host_os in
334        rhapsody* | darwin1.[[0123]])
335          _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
336        darwin1.*)
337         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
338        darwin*)
339          # if running on 10.5 or later, the deployment target defaults
340          # to the OS version, if on x86, and 10.4, the deployment
341          # target defaults to 10.4. Don't you love it?
342          case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
343       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
344         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
345       10.[[012]]*)
346         _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
347       10.*)
348         _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
349          esac
350        ;;
351      esac
352        if test "$lt_cv_apple_cc_single_mod" = "yes"; then
353          _lt_dar_single_mod='$single_module'
354        fi
355        if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
356          _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
357        else
358          _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
359        fi
360        if test "$DSYMUTIL" != ":"; then
361          _lt_dsymutil="~$DSYMUTIL \$lib || :"
362        else
363          _lt_dsymutil=
364        fi
365        ;;
366      esac
367    ])
368    
369  # _LT_AC_SYS_LIBPATH_AIX  # _LT_AC_SYS_LIBPATH_AIX
370  # ----------------------  # ----------------------
# Line 298  $rm conftest* Line 375  $rm conftest*
375  # If we don't find anything, use the default library path according  # If we don't find anything, use the default library path according
376  # to the aix ld manual.  # to the aix ld manual.
377  AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],  AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
378  [AC_LINK_IFELSE(AC_LANG_PROGRAM,[  [AC_REQUIRE([LT_AC_PROG_SED])dnl
379  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }  AC_LINK_IFELSE(AC_LANG_PROGRAM,[
380  }'`  lt_aix_libpath_sed='
381        /Import File Strings/,/^$/ {
382            /^0/ {
383                s/^0  *\(.*\)$/\1/
384                p
385            }
386        }'
387    aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
388  # Check for a 64-bit object if we didn't find anything.  # Check for a 64-bit object if we didn't find anything.
389  if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }  if test -z "$aix_libpath"; then
390  }'`; fi],[])    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
391    fi],[])
392  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
393  ])# _LT_AC_SYS_LIBPATH_AIX  ])# _LT_AC_SYS_LIBPATH_AIX
394    
# Line 534  ia64-*-hpux*) Line 619  ia64-*-hpux*)
619    rm -rf conftest*    rm -rf conftest*
620    ;;    ;;
621    
622  x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)  x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
623    s390*-*linux*|sparc*-*linux*)
624    # Find out which ABI we are using.    # Find out which ABI we are using.
625    echo 'int i;' > conftest.$ac_ext    echo 'int i;' > conftest.$ac_ext
626    if AC_TRY_EVAL(ac_compile); then    if AC_TRY_EVAL(ac_compile); then
627      case `/usr/bin/file conftest.o` in      case `/usr/bin/file conftest.o` in
628      *32-bit*)      *32-bit*)
629        case $host in        case $host in
630            x86_64-*kfreebsd*-gnu)
631              LD="${LD-ld} -m elf_i386_fbsd"
632              ;;
633          x86_64-*linux*)          x86_64-*linux*)
634            LD="${LD-ld} -m elf_i386"            LD="${LD-ld} -m elf_i386"
635            ;;            ;;
# Line 557  x86_64-*linux*|ppc*-*linux*|powerpc*-*li Line 646  x86_64-*linux*|ppc*-*linux*|powerpc*-*li
646        ;;        ;;
647      *64-bit*)      *64-bit*)
648        case $host in        case $host in
649            x86_64-*kfreebsd*-gnu)
650              LD="${LD-ld} -m elf_x86_64_fbsd"
651              ;;
652          x86_64-*linux*)          x86_64-*linux*)
653            LD="${LD-ld} -m elf_x86_64"            LD="${LD-ld} -m elf_x86_64"
654            ;;            ;;
# Line 597  sparc*-*solaris*) Line 689  sparc*-*solaris*)
689      *64-bit*)      *64-bit*)
690        case $lt_cv_prog_gnu_ld in        case $lt_cv_prog_gnu_ld in
691        yes*) LD="${LD-ld} -m elf64_sparc" ;;        yes*) LD="${LD-ld} -m elf64_sparc" ;;
692        *)    LD="${LD-ld} -64" ;;        *)
693            if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
694              LD="${LD-ld} -64"
695            fi
696            ;;
697        esac        esac
698        ;;        ;;
699      esac      esac
# Line 628  AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], Line 724  AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
724  AC_CACHE_CHECK([$1], [$2],  AC_CACHE_CHECK([$1], [$2],
725    [$2=no    [$2=no
726    ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])    ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
727     printf "$lt_simple_compile_test_code" > conftest.$ac_ext     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
728     lt_compiler_flag="$3"     lt_compiler_flag="$3"
729     # Insert the option either (1) after the last *FLAGS variable, or     # Insert the option either (1) after the last *FLAGS variable, or
730     # (2) before a word containing "conftest.", or (3) at the end.     # (2) before a word containing "conftest.", or (3) at the end.
# Line 669  fi Line 765  fi
765  # ------------------------------------------------------------  # ------------------------------------------------------------
766  # Check whether the given compiler option works  # Check whether the given compiler option works
767  AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],  AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
768  [AC_CACHE_CHECK([$1], [$2],  [AC_REQUIRE([LT_AC_PROG_SED])dnl
769    AC_CACHE_CHECK([$1], [$2],
770    [$2=no    [$2=no
771     save_LDFLAGS="$LDFLAGS"     save_LDFLAGS="$LDFLAGS"
772     LDFLAGS="$LDFLAGS $3"     LDFLAGS="$LDFLAGS $3"
773     printf "$lt_simple_link_test_code" > conftest.$ac_ext     echo "$lt_simple_link_test_code" > conftest.$ac_ext
774     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
775       # The linker can only warn and ignore the option if not recognized       # The linker can only warn and ignore the option if not recognized
776       # So say no if there are warnings       # So say no if there are warnings
# Line 689  AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], Line 786  AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
786         $2=yes         $2=yes
787       fi       fi
788     fi     fi
789     $rm conftest*     $rm -r conftest*
790     LDFLAGS="$save_LDFLAGS"     LDFLAGS="$save_LDFLAGS"
791  ])  ])
792    
# Line 787  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d Line 884  AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [d
884      fi      fi
885      ;;      ;;
886    *)    *)
887      # If test is not a shell built-in, we'll probably end up computing a      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
888      # maximum length that is only half of the actual maximum length, but      if test -n "$lt_cv_sys_max_cmd_len"; then
889      # we can't tell.        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
890      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
891      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \      else
892          SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
893          while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
894                 = "XX$teststring") >/dev/null 2>&1 &&                 = "XX$teststring") >/dev/null 2>&1 &&
895              new_result=`expr "X$teststring" : ".*" 2>&1` &&                new_result=`expr "X$teststring" : ".*" 2>&1` &&
896              lt_cv_sys_max_cmd_len=$new_result &&                lt_cv_sys_max_cmd_len=$new_result &&
897              test $i != 17 # 1/2 MB should be enough                test $i != 17 # 1/2 MB should be enough
898      do        do
899        i=`expr $i + 1`          i=`expr $i + 1`
900        teststring=$teststring$teststring          teststring=$teststring$teststring
901      done        done
902      teststring=        teststring=
903      # Add a significant safety factor because C++ compilers can tack on massive        # Add a significant safety factor because C++ compilers can tack on massive
904      # amounts of additional arguments before passing them to the linker.        # amounts of additional arguments before passing them to the linker.
905      # It appears as though 1/2 is a usable value.        # It appears as though 1/2 is a usable value.
906      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
907        fi
908      ;;      ;;
909    esac    esac
910  ])  ])
# Line 957  else Line 1057  else
1057      AC_CHECK_FUNC([shl_load],      AC_CHECK_FUNC([shl_load],
1058            [lt_cv_dlopen="shl_load"],            [lt_cv_dlopen="shl_load"],
1059        [AC_CHECK_LIB([dld], [shl_load],        [AC_CHECK_LIB([dld], [shl_load],
1060              [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],              [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1061          [AC_CHECK_FUNC([dlopen],          [AC_CHECK_FUNC([dlopen],
1062                [lt_cv_dlopen="dlopen"],                [lt_cv_dlopen="dlopen"],
1063            [AC_CHECK_LIB([dl], [dlopen],            [AC_CHECK_LIB([dl], [dlopen],
# Line 965  else Line 1065  else
1065              [AC_CHECK_LIB([svld], [dlopen],              [AC_CHECK_LIB([svld], [dlopen],
1066                    [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],                    [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1067                [AC_CHECK_LIB([dld], [dld_link],                [AC_CHECK_LIB([dld], [dld_link],
1068                      [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])                      [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1069                ])                ])
1070              ])              ])
1071            ])            ])
# Line 1031  fi Line 1131  fi
1131  # ---------------------------------  # ---------------------------------
1132  # Check to see if options -c and -o are simultaneously supported by compiler  # Check to see if options -c and -o are simultaneously supported by compiler
1133  AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],  AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1134  [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl  [AC_REQUIRE([LT_AC_PROG_SED])dnl
1135    AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1136  AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],  AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1137    [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],    [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1138    [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no    [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
# Line 1039  AC_CACHE_CHECK([if $compiler supports -c Line 1140  AC_CACHE_CHECK([if $compiler supports -c
1140     mkdir conftest     mkdir conftest
1141     cd conftest     cd conftest
1142     mkdir out     mkdir out
1143     printf "$lt_simple_compile_test_code" > conftest.$ac_ext     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1144    
1145     lt_compiler_flag="-o out/conftest2.$ac_objext"     lt_compiler_flag="-o out/conftest2.$ac_objext"
1146     # Insert the option either (1) after the last *FLAGS variable, or     # Insert the option either (1) after the last *FLAGS variable, or
# Line 1179  else Line 1280  else
1280     darwin*)     darwin*)
1281         if test -n "$STRIP" ; then         if test -n "$STRIP" ; then
1282           striplib="$STRIP -x"           striplib="$STRIP -x"
1283             old_striplib="$STRIP -S"
1284           AC_MSG_RESULT([yes])           AC_MSG_RESULT([yes])
1285         else         else
1286    AC_MSG_RESULT([no])    AC_MSG_RESULT([no])
# Line 1196  fi Line 1298  fi
1298  # -----------------------------  # -----------------------------
1299  # PORTME Fill in your ld.so characteristics  # PORTME Fill in your ld.so characteristics
1300  AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],  AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1301  [AC_MSG_CHECKING([dynamic linker characteristics])  [AC_REQUIRE([LT_AC_PROG_SED])dnl
1302    AC_MSG_CHECKING([dynamic linker characteristics])
1303  library_names_spec=  library_names_spec=
1304  libname_spec='lib$name'  libname_spec='lib$name'
1305  soname_spec=  soname_spec=
# Line 1210  shlibpath_overrides_runpath=unknown Line 1313  shlibpath_overrides_runpath=unknown
1313  version_type=none  version_type=none
1314  dynamic_linker="$host_os ld.so"  dynamic_linker="$host_os ld.so"
1315  sys_lib_dlsearch_path_spec="/lib /usr/lib"  sys_lib_dlsearch_path_spec="/lib /usr/lib"
1316    m4_if($1,[],[
1317  if test "$GCC" = yes; then  if test "$GCC" = yes; then
1318    sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`    case $host_os in
1319    if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1320        *) lt_awk_arg="/^libraries:/" ;;
1321      esac
1322      lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1323      if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
1324      # if the path contains ";" then we assume it to be the separator      # if the path contains ";" then we assume it to be the separator
1325      # otherwise default to the standard path separator (i.e. ":") - it is      # otherwise default to the standard path separator (i.e. ":") - it is
1326      # assumed that no part of a normal pathname contains ";" but that should      # assumed that no part of a normal pathname contains ";" but that should
1327      # okay in the real world where ";" in dirpaths is itself problematic.      # okay in the real world where ";" in dirpaths is itself problematic.
1328      sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`      lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1329    else    else
1330      sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`      lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1331    fi    fi
1332      # Ok, now we have the path, separated by spaces, we can step through it
1333      # and add multilib dir if necessary.
1334      lt_tmp_lt_search_path_spec=
1335      lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
1336      for lt_sys_path in $lt_search_path_spec; do
1337        if test -d "$lt_sys_path/$lt_multi_os_dir"; then
1338          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
1339        else
1340          test -d "$lt_sys_path" && \
1341            lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1342        fi
1343      done
1344      lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
1345    BEGIN {RS=" "; FS="/|\n";} {
1346      lt_foo="";
1347      lt_count=0;
1348      for (lt_i = NF; lt_i > 0; lt_i--) {
1349        if ($lt_i != "" && $lt_i != ".") {
1350          if ($lt_i == "..") {
1351            lt_count++;
1352          } else {
1353            if (lt_count == 0) {
1354              lt_foo="/" $lt_i lt_foo;
1355            } else {
1356              lt_count--;
1357            }
1358          }
1359        }
1360      }
1361      if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1362      if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1363    }'`
1364      sys_lib_search_path_spec=`echo $lt_search_path_spec`
1365  else  else
1366    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1367  fi  fi])
1368  need_lib_prefix=unknown  need_lib_prefix=unknown
1369  hardcode_into_libs=no  hardcode_into_libs=no
1370    
# Line 1241  aix3*) Line 1382  aix3*)
1382    soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
1383    ;;    ;;
1384    
1385  aix4* | aix5*)  aix[[4-9]]*)
1386    version_type=linux    version_type=linux
1387    need_lib_prefix=no    need_lib_prefix=no
1388    need_version=no    need_version=no
# Line 1380  darwin* | rhapsody*) Line 1521  darwin* | rhapsody*)
1521    shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
1522    shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
1523    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1524    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.    m4_if([$1], [],[
1525    if test "$GCC" = yes; then    sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`  
   else  
     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'  
   fi  
1526    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1527    ;;    ;;
1528    
# Line 1439  freebsd* | dragonfly*) Line 1576  freebsd* | dragonfly*)
1576      shlibpath_overrides_runpath=no      shlibpath_overrides_runpath=no
1577      hardcode_into_libs=yes      hardcode_into_libs=yes
1578      ;;      ;;
1579    freebsd*) # from 4.6 on    *) # from 4.6 on, and DragonFly
1580      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
1581      hardcode_into_libs=yes      hardcode_into_libs=yes
1582      ;;      ;;
# Line 1502  hpux9* | hpux10* | hpux11*) Line 1639  hpux9* | hpux10* | hpux11*)
1639    postinstall_cmds='chmod 555 $lib'    postinstall_cmds='chmod 555 $lib'
1640    ;;    ;;
1641    
1642  interix3*)  interix[[3-9]]*)
1643    version_type=linux    version_type=linux
1644    need_lib_prefix=no    need_lib_prefix=no
1645    need_version=no    need_version=no
# Line 1573  linux* | k*bsd*-gnu) Line 1710  linux* | k*bsd*-gnu)
1710    
1711    # Append ld.so.conf contents to the search path    # Append ld.so.conf contents to the search path
1712    if test -f /etc/ld.so.conf; then    if test -f /etc/ld.so.conf; then
1713      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`      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' ' '`
1714      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1715    fi    fi
1716    
# Line 1679  osf3* | osf4* | osf5*) Line 1816  osf3* | osf4* | osf5*)
1816    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1817    ;;    ;;
1818    
1819    rdos*)
1820      dynamic_linker=no
1821      ;;
1822    
1823  solaris*)  solaris*)
1824    version_type=linux    version_type=linux
1825    need_lib_prefix=no    need_lib_prefix=no
# Line 1774  esac Line 1915  esac
1915  AC_MSG_RESULT([$dynamic_linker])  AC_MSG_RESULT([$dynamic_linker])
1916  test "$dynamic_linker" = no && can_build_shared=no  test "$dynamic_linker" = no && can_build_shared=no
1917    
1918    AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
1919    [lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
1920    sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
1921    AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
1922    [lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
1923    sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
1924    
1925  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1926  if test "$GCC" = yes; then  if test "$GCC" = yes; then
1927    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
# Line 1784  fi Line 1932  fi
1932  # _LT_AC_TAGCONFIG  # _LT_AC_TAGCONFIG
1933  # ----------------  # ----------------
1934  AC_DEFUN([_LT_AC_TAGCONFIG],  AC_DEFUN([_LT_AC_TAGCONFIG],
1935  [AC_ARG_WITH([tags],  [AC_REQUIRE([LT_AC_PROG_SED])dnl
1936    AC_ARG_WITH([tags],
1937      [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],      [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
1938          [include additional configurations @<:@automatic@:>@])],          [include additional configurations @<:@automatic@:>@])],
1939      [tagnames="$withval"])      [tagnames="$withval"])
# Line 2045  m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC Line 2194  m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC
2194    
2195  # AC_PATH_TOOL_PREFIX  # AC_PATH_TOOL_PREFIX
2196  # -------------------  # -------------------
2197  # find a file program which can recognise shared library  # find a file program which can recognize shared library
2198  AC_DEFUN([AC_PATH_TOOL_PREFIX],  AC_DEFUN([AC_PATH_TOOL_PREFIX],
2199  [AC_REQUIRE([AC_PROG_EGREP])dnl  [AC_REQUIRE([AC_PROG_EGREP])dnl
2200  AC_MSG_CHECKING([for $1])  AC_MSG_CHECKING([for $1])
# Line 2108  fi Line 2257  fi
2257    
2258  # AC_PATH_MAGIC  # AC_PATH_MAGIC
2259  # -------------  # -------------
2260  # find a file program which can recognise a shared library  # find a file program which can recognize a shared library
2261  AC_DEFUN([AC_PATH_MAGIC],  AC_DEFUN([AC_PATH_MAGIC],
2262  [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)  [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2263  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
# Line 2255  esac Line 2404  esac
2404  # how to check for library dependencies  # how to check for library dependencies
2405  #  -- PORTME fill in with the dynamic library characteristics  #  -- PORTME fill in with the dynamic library characteristics
2406  AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],  AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
2407  [AC_CACHE_CHECK([how to recognise dependent libraries],  [AC_CACHE_CHECK([how to recognize dependent libraries],
2408  lt_cv_deplibs_check_method,  lt_cv_deplibs_check_method,
2409  [lt_cv_file_magic_cmd='$MAGIC_CMD'  [lt_cv_file_magic_cmd='$MAGIC_CMD'
2410  lt_cv_file_magic_test_file=  lt_cv_file_magic_test_file=
# Line 2272  lt_cv_deplibs_check_method='unknown' Line 2421  lt_cv_deplibs_check_method='unknown'
2421  # whether `pass_all' will *always* work, you probably want this one.  # whether `pass_all' will *always* work, you probably want this one.
2422    
2423  case $host_os in  case $host_os in
2424  aix4* | aix5*)  aix[[4-9]]*)
2425    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
2426    ;;    ;;
2427    
# Line 2294  cygwin*) Line 2443  cygwin*)
2443    
2444  mingw* | pw32*)  mingw* | pw32*)
2445    # Base MSYS/MinGW do not provide the 'file' command needed by    # Base MSYS/MinGW do not provide the 'file' command needed by
2446    # func_win32_libid shell function, so use a weaker test based on 'objdump'.    # func_win32_libid shell function, so use a weaker test based on 'objdump',
2447    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'    # unless we find 'file', for example because we are cross-compiling.
2448    lt_cv_file_magic_cmd='$OBJDUMP -f'    if ( file / ) >/dev/null 2>&1; then
2449        lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2450        lt_cv_file_magic_cmd='func_win32_libid'
2451      else
2452        lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2453        lt_cv_file_magic_cmd='$OBJDUMP -f'
2454      fi
2455    ;;    ;;
2456    
2457  darwin* | rhapsody*)  darwin* | rhapsody*)
# Line 2341  hpux10.20* | hpux11*) Line 2496  hpux10.20* | hpux11*)
2496    esac    esac
2497    ;;    ;;
2498    
2499  interix3*)  interix[[3-9]]*)
2500    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
2501    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
2502    ;;    ;;
# Line 2391  osf3* | osf4* | osf5*) Line 2546  osf3* | osf4* | osf5*)
2546    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
2547    ;;    ;;
2548    
2549    rdos*)
2550      lt_cv_deplibs_check_method=pass_all
2551      ;;
2552    
2553  solaris*)  solaris*)
2554    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
2555    ;;    ;;
# Line 2443  AC_DEFUN([AC_PROG_NM], Line 2602  AC_DEFUN([AC_PROG_NM],
2602    lt_cv_path_NM="$NM"    lt_cv_path_NM="$NM"
2603  else  else
2604    lt_nm_to_check="${ac_tool_prefix}nm"    lt_nm_to_check="${ac_tool_prefix}nm"
2605    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2606      lt_nm_to_check="$lt_nm_to_check nm"      lt_nm_to_check="$lt_nm_to_check nm"
2607    fi    fi
2608    for lt_tmp_nm in $lt_nm_to_check; do    for lt_tmp_nm in $lt_nm_to_check; do
# Line 2659  objext=o Line 2818  objext=o
2818  _LT_AC_TAGVAR(objext, $1)=$objext  _LT_AC_TAGVAR(objext, $1)=$objext
2819    
2820  # Code to be used in simple compile tests  # Code to be used in simple compile tests
2821  lt_simple_compile_test_code="int some_variable = 0;\n"  lt_simple_compile_test_code="int some_variable = 0;"
2822    
2823  # Code to be used in simple link tests  # Code to be used in simple link tests
2824  lt_simple_link_test_code='int main(){return(0);}\n'  lt_simple_link_test_code='int main(){return(0);}'
2825    
2826  _LT_AC_SYS_COMPILER  _LT_AC_SYS_COMPILER
2827    
# Line 2698  aix3*) Line 2857  aix3*)
2857    fi    fi
2858    ;;    ;;
2859    
2860  aix4* | aix5*)  aix[[4-9]]*)
2861    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2862      test "$enable_shared" = yes && enable_static=no      test "$enable_shared" = yes && enable_static=no
2863    fi    fi
# Line 2755  _LT_AC_TAGVAR(postdep_objects, $1)= Line 2914  _LT_AC_TAGVAR(postdep_objects, $1)=
2914  _LT_AC_TAGVAR(predeps, $1)=  _LT_AC_TAGVAR(predeps, $1)=
2915  _LT_AC_TAGVAR(postdeps, $1)=  _LT_AC_TAGVAR(postdeps, $1)=
2916  _LT_AC_TAGVAR(compiler_lib_search_path, $1)=  _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
2917    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
2918    
2919  # Source file extension for C++ test sources.  # Source file extension for C++ test sources.
2920  ac_ext=cpp  ac_ext=cpp
# Line 2764  objext=o Line 2924  objext=o
2924  _LT_AC_TAGVAR(objext, $1)=$objext  _LT_AC_TAGVAR(objext, $1)=$objext
2925    
2926  # Code to be used in simple compile tests  # Code to be used in simple compile tests
2927  lt_simple_compile_test_code="int some_variable = 0;\n"  lt_simple_compile_test_code="int some_variable = 0;"
2928    
2929  # Code to be used in simple link tests  # Code to be used in simple link tests
2930  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
2931    
2932  # ltmain only uses $CC for tagged configurations so make sure $CC is set.  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
2933  _LT_AC_SYS_COMPILER  _LT_AC_SYS_COMPILER
# Line 2864  case $host_os in Line 3024  case $host_os in
3024      # FIXME: insert proper C++ library support      # FIXME: insert proper C++ library support
3025      _LT_AC_TAGVAR(ld_shlibs, $1)=no      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3026      ;;      ;;
3027    aix4* | aix5*)    aix[[4-9]]*)
3028      if test "$host_cpu" = ia64; then      if test "$host_cpu" = ia64; then
3029        # On IA64, the linker does run time linking by default, so we don't        # On IA64, the linker does run time linking by default, so we don't
3030        # have to do anything special.        # have to do anything special.
# Line 2877  case $host_os in Line 3037  case $host_os in
3037        # Test if we are trying to use run time linking or normal        # Test if we are trying to use run time linking or normal
3038        # AIX style linking. If -brtl is somewhere in LDFLAGS, we        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3039        # need to do runtime linking.        # need to do runtime linking.
3040        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
3041          for ld_flag in $LDFLAGS; do          for ld_flag in $LDFLAGS; do
3042            case $ld_flag in            case $ld_flag in
3043            *-brtl*)            *-brtl*)
# Line 2913  case $host_os in Line 3073  case $host_os in
3073             strings "$collect2name" | grep resolve_lib_name >/dev/null             strings "$collect2name" | grep resolve_lib_name >/dev/null
3074          then          then
3075            # We have reworked collect2            # We have reworked collect2
3076            _LT_AC_TAGVAR(hardcode_direct, $1)=yes            :
3077          else          else
3078            # We have old collect2            # We have old collect2
3079            _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported            _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
# Line 3023  case $host_os in Line 3183  case $host_os in
3183      fi      fi
3184    ;;    ;;
3185        darwin* | rhapsody*)        darwin* | rhapsody*)
         case $host_os in  
         rhapsody* | darwin1.[[012]])  
          _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'  
          ;;  
        *) # Darwin 1.3 on  
          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then  
            _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'  
          else  
            case ${MACOSX_DEPLOYMENT_TARGET} in  
              10.[[012]])  
                _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'  
                ;;  
              10.*)  
                _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'  
                ;;  
            esac  
          fi  
          ;;  
         esac  
3186        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3187        _LT_AC_TAGVAR(hardcode_direct, $1)=no        _LT_AC_TAGVAR(hardcode_direct, $1)=no
3188        _LT_AC_TAGVAR(hardcode_automatic, $1)=yes        _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3189        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3190        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3191        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3192          _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
3193      if test "$GXX" = yes ; then        if test "$GXX" = yes ; then
       lt_int_apple_cc_single_mod=no  
3194        output_verbose_link_cmd='echo'        output_verbose_link_cmd='echo'
3195        if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then        _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}"
3196         lt_int_apple_cc_single_mod=yes        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3197          _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}"
3198          _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}"
3199          if test "$lt_cv_apple_cc_single_mod" != "yes"; then
3200            _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}"
3201            _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}"
3202        fi        fi
       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
       else  
           _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'  
         fi  
         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'  
         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds  
           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
             _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
           else  
             _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
           fi  
             _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}'  
3203        else        else
3204        case $cc_basename in        case $cc_basename in
3205          xlc*)          xlc*)
3206           output_verbose_link_cmd='echo'           output_verbose_link_cmd='echo'
3207            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'            _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'
3208            _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'            _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3209            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3210            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'            _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}'
3211            _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}'            _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}'
3212            ;;            ;;
3213         *)         *)
# Line 3158  case $host_os in Line 3290  case $host_os in
3290        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:        _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3291    
3292        case $host_cpu in        case $host_cpu in
3293        hppa*64*|ia64*)        hppa*64*|ia64*) ;;
         _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'  
         ;;  
3294        *)        *)
3295          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3296          ;;          ;;
# Line 3228  case $host_os in Line 3358  case $host_os in
3358          ;;          ;;
3359      esac      esac
3360      ;;      ;;
3361    interix3*)    interix[[3-9]]*)
3362      _LT_AC_TAGVAR(hardcode_direct, $1)=no      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3363      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3364      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
# Line 3320  case $host_os in Line 3450  case $host_os in
3450          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3451          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
3452          ;;          ;;
3453        pgCC*)        pgCC* | pgcpp*)
3454          # Portland Group C++ compiler          # Portland Group C++ compiler
3455          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3456          _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'          _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'
# Line 3348  case $host_os in Line 3478  case $host_os in
3478          # dependencies.          # dependencies.
3479          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'          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'
3480          ;;          ;;
3481          *)
3482            case `$CC -V 2>&1 | sed 5q` in
3483            *Sun\ C*)
3484              # Sun C++ 5.9
3485              _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3486              _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3487              _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'
3488              _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3489              _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'
3490    
3491              # Not sure whether something based on
3492              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
3493              # would be better.
3494              output_verbose_link_cmd='echo'
3495    
3496              # Archives containing C++ object files must be created using
3497              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
3498              # necessary to make sure instantiated templates are included
3499              # in the archive.
3500              _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3501              ;;
3502            esac
3503            ;;
3504      esac      esac
3505      ;;      ;;
3506    lynxos*)    lynxos*)
# Line 3386  case $host_os in Line 3539  case $host_os in
3539      _LT_AC_TAGVAR(ld_shlibs, $1)=no      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3540      ;;      ;;
3541    openbsd*)    openbsd*)
3542      _LT_AC_TAGVAR(hardcode_direct, $1)=yes      if test -f /usr/libexec/ld.so; then
3543      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no        _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3544      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3545      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3546      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3547        _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'        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3548        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'          _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'
3549        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3550            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3551          fi
3552          output_verbose_link_cmd='echo'
3553        else
3554          _LT_AC_TAGVAR(ld_shlibs, $1)=no
3555      fi      fi
     output_verbose_link_cmd='echo'  
3556      ;;      ;;
3557    osf3*)    osf3*)
3558      case $cc_basename in      case $cc_basename in
# Line 3557  case $host_os in Line 3714  case $host_os in
3714          case $host_os in          case $host_os in
3715            solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;            solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3716            *)            *)
3717              # The C++ compiler is used as linker so we must use $wl              # The compiler driver will combine and reorder linker options,
3718              # flag to pass the commands to the underlying system              # but understands `-z linker_flag'.
             # linker. We must also pass each convience library through  
             # to the system linker between allextract/defaultextract.  
             # The C++ compiler will combine linker options so we  
             # cannot just pass the convience library names through  
             # without $wl.  
3719              # Supported since Solaris 2.6 (maybe 2.5.1?)              # Supported since Solaris 2.6 (maybe 2.5.1?)
3720              _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'              _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
3721              ;;              ;;
3722          esac          esac
3723          _LT_AC_TAGVAR(link_all_deplibs, $1)=yes          _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
# Line 3612  case $host_os in Line 3764  case $host_os in
3764            fi            fi
3765    
3766            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
3767              case $host_os in
3768              solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3769              *)
3770                _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
3771                ;;
3772              esac
3773          fi          fi
3774          ;;          ;;
3775      esac      esac
# Line 3727  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld Line 3885  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
3885  # compiler output when linking a shared library.  # compiler output when linking a shared library.
3886  # Parse the compiler output and extract the necessary  # Parse the compiler output and extract the necessary
3887  # objects, libraries and library flags.  # objects, libraries and library flags.
3888  AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[  AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
3889    [AC_REQUIRE([LT_AC_PROG_SED])dnl
3890  dnl we can't use the lt_simple_compile_test_code here,  dnl we can't use the lt_simple_compile_test_code here,
3891  dnl because it contains code intended for an executable,  dnl because it contains code intended for an executable,
3892  dnl not a library.  It's possible we should let each  dnl not a library.  It's possible we should let each
# Line 3852  fi Line 4011  fi
4011    
4012  $rm -f confest.$objext  $rm -f confest.$objext
4013    
4014    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
4015    if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
4016      _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
4017    fi
4018    
4019  # PORTME: override above test on systems where it is broken  # PORTME: override above test on systems where it is broken
4020  ifelse([$1],[CXX],  ifelse([$1],[CXX],
4021  [case $host_os in  [case $host_os in
4022  interix3*)  interix[[3-9]]*)
4023    # Interix 3.5 installs completely hosed .la files for C++, so rather than    # Interix 3.5 installs completely hosed .la files for C++, so rather than
4024    # hack all around it, let's just trust "g++" to DTRT.    # hack all around it, let's just trust "g++" to DTRT.
4025    _LT_AC_TAGVAR(predep_objects,$1)=    _LT_AC_TAGVAR(predep_objects,$1)=
# Line 3863  interix3*) Line 4027  interix3*)
4027    _LT_AC_TAGVAR(postdeps,$1)=    _LT_AC_TAGVAR(postdeps,$1)=
4028    ;;    ;;
4029    
4030    linux*)
4031      case `$CC -V 2>&1 | sed 5q` in
4032      *Sun\ C*)
4033        # Sun C++ 5.9
4034        #
4035        # The more standards-conforming stlport4 library is
4036        # incompatible with the Cstd library. Avoid specifying
4037        # it if it's in CXXFLAGS. Ignore libCrun as
4038        # -library=stlport4 depends on it.
4039        case " $CXX $CXXFLAGS " in
4040        *" -library=stlport4 "*)
4041          solaris_use_stlport4=yes
4042          ;;
4043        esac
4044        if test "$solaris_use_stlport4" != yes; then
4045          _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4046        fi
4047        ;;
4048      esac
4049      ;;
4050    
4051  solaris*)  solaris*)
4052    case $cc_basename in    case $cc_basename in
4053    CC*)    CC*)
4054        # The more standards-conforming stlport4 library is
4055        # incompatible with the Cstd library. Avoid specifying
4056        # it if it's in CXXFLAGS. Ignore libCrun as
4057        # -library=stlport4 depends on it.
4058        case " $CXX $CXXFLAGS " in
4059        *" -library=stlport4 "*)
4060          solaris_use_stlport4=yes
4061          ;;
4062        esac
4063    
4064      # Adding this requires a known-good setup of shared libraries for      # Adding this requires a known-good setup of shared libraries for
4065      # Sun compiler versions before 5.6, else PIC objects from an old      # Sun compiler versions before 5.6, else PIC objects from an old
4066      # archive will be linked into the output, leading to subtle bugs.      # archive will be linked into the output, leading to subtle bugs.
4067      _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'      if test "$solaris_use_stlport4" != yes; then
4068          _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4069        fi
4070      ;;      ;;
4071    esac    esac
4072    ;;    ;;
4073  esac  esac
4074  ])  ])
   
4075  case " $_LT_AC_TAGVAR(postdeps, $1) " in  case " $_LT_AC_TAGVAR(postdeps, $1) " in
4076  *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;  *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4077  esac  esac
# Line 3918  objext=o Line 4114  objext=o
4114  _LT_AC_TAGVAR(objext, $1)=$objext  _LT_AC_TAGVAR(objext, $1)=$objext
4115    
4116  # Code to be used in simple compile tests  # Code to be used in simple compile tests
4117  lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"  lt_simple_compile_test_code="\
4118          subroutine t
4119          return
4120          end
4121    "
4122    
4123  # Code to be used in simple link tests  # Code to be used in simple link tests
4124  lt_simple_link_test_code="      program t\n      end\n"  lt_simple_link_test_code="\
4125          program t
4126          end
4127    "
4128    
4129  # ltmain only uses $CC for tagged configurations so make sure $CC is set.  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
4130  _LT_AC_SYS_COMPILER  _LT_AC_SYS_COMPILER
# Line 3953  aix3*) Line 4156  aix3*)
4156      postinstall_cmds='$RANLIB $lib'      postinstall_cmds='$RANLIB $lib'
4157    fi    fi
4158    ;;    ;;
4159  aix4* | aix5*)  aix[[4-9]]*)
4160    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4161      test "$enable_shared" = yes && enable_static=no      test "$enable_shared" = yes && enable_static=no
4162    fi    fi
# Line 4000  objext=o Line 4203  objext=o
4203  _LT_AC_TAGVAR(objext, $1)=$objext  _LT_AC_TAGVAR(objext, $1)=$objext
4204    
4205  # Code to be used in simple compile tests  # Code to be used in simple compile tests
4206  lt_simple_compile_test_code="class foo {}\n"  lt_simple_compile_test_code="class foo {}"
4207    
4208  # Code to be used in simple link tests  # Code to be used in simple link tests
4209  lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'  lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
4210    
4211  # ltmain only uses $CC for tagged configurations so make sure $CC is set.  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
4212  _LT_AC_SYS_COMPILER  _LT_AC_SYS_COMPILER
# Line 4056  objext=o Line 4259  objext=o
4259  _LT_AC_TAGVAR(objext, $1)=$objext  _LT_AC_TAGVAR(objext, $1)=$objext
4260    
4261  # Code to be used in simple compile tests  # Code to be used in simple compile tests
4262  lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'  lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
4263    
4264  # Code to be used in simple link tests  # Code to be used in simple link tests
4265  lt_simple_link_test_code="$lt_simple_compile_test_code"  lt_simple_link_test_code="$lt_simple_compile_test_code"
# Line 4130  if test -f "$ltmain"; then Line 4333  if test -f "$ltmain"; then
4333      _LT_AC_TAGVAR(predeps, $1) \      _LT_AC_TAGVAR(predeps, $1) \
4334      _LT_AC_TAGVAR(postdeps, $1) \      _LT_AC_TAGVAR(postdeps, $1) \
4335      _LT_AC_TAGVAR(compiler_lib_search_path, $1) \      _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
4336        _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
4337      _LT_AC_TAGVAR(archive_cmds, $1) \      _LT_AC_TAGVAR(archive_cmds, $1) \
4338      _LT_AC_TAGVAR(archive_expsym_cmds, $1) \      _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4339      _LT_AC_TAGVAR(postinstall_cmds, $1) \      _LT_AC_TAGVAR(postinstall_cmds, $1) \
# Line 4145  if test -f "$ltmain"; then Line 4349  if test -f "$ltmain"; then
4349      _LT_AC_TAGVAR(module_cmds, $1) \      _LT_AC_TAGVAR(module_cmds, $1) \
4350      _LT_AC_TAGVAR(module_expsym_cmds, $1) \      _LT_AC_TAGVAR(module_expsym_cmds, $1) \
4351      _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \      _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
4352        _LT_AC_TAGVAR(fix_srcfile_path, $1) \
4353      _LT_AC_TAGVAR(exclude_expsyms, $1) \      _LT_AC_TAGVAR(exclude_expsyms, $1) \
4354      _LT_AC_TAGVAR(include_expsyms, $1); do      _LT_AC_TAGVAR(include_expsyms, $1); do
4355    
# Line 4191  ifelse([$1], [], Line 4396  ifelse([$1], [],
4396  # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)  # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4397  # NOTE: Changes made to this file will be lost: look at ltmain.sh.  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
4398  #  #
4399  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4400  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
4401  #  #
4402  # This file is part of GNU Libtool:  # This file is part of GNU Libtool:
# Line 4428  predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) Line 4633  predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
4633  # shared library.  # shared library.
4634  postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)  postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
4635    
4636    # The directories searched by this compiler when creating a shared
4637    # library
4638    compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
4639    
4640  # The library search path used internally by the compiler when linking  # The library search path used internally by the compiler when linking
4641  # a shared library.  # a shared library.
4642  compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)  compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
# Line 4516  sys_lib_search_path_spec=$lt_sys_lib_sea Line 4725  sys_lib_search_path_spec=$lt_sys_lib_sea
4725  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4726    
4727  # Fix the shell variable \$srcfile for the compiler.  # Fix the shell variable \$srcfile for the compiler.
4728  fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"  fix_srcfile_path=$lt_fix_srcfile_path
4729    
4730  # Set to yes if exported symbols are required.  # Set to yes if exported symbols are required.
4731  always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)  always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
# Line 4599  fi Line 4808  fi
4808  # ---------------------------------  # ---------------------------------
4809  AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],  AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
4810  [AC_REQUIRE([AC_CANONICAL_HOST])  [AC_REQUIRE([AC_CANONICAL_HOST])
4811    AC_REQUIRE([LT_AC_PROG_SED])
4812  AC_REQUIRE([AC_PROG_NM])  AC_REQUIRE([AC_PROG_NM])
4813  AC_REQUIRE([AC_OBJEXT])  AC_REQUIRE([AC_OBJEXT])
4814  # Check for command to grab the raw symbol name followed by C symbol from nm.  # Check for command to grab the raw symbol name followed by C symbol from nm.
# Line 4776  EOF Line 4986  EOF
4986      echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD      echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4987      cat conftest.$ac_ext >&5      cat conftest.$ac_ext >&5
4988    fi    fi
4989    rm -f conftest* conftst*    rm -rf conftest* conftst*
4990    
4991    # Do not use the global_symbol_pipe unless it works.    # Do not use the global_symbol_pipe unless it works.
4992    if test "$pipe_works" = yes; then    if test "$pipe_works" = yes; then
# Line 4825  AC_MSG_CHECKING([for $compiler option to Line 5035  AC_MSG_CHECKING([for $compiler option to
5035        # like `-m68040'.        # like `-m68040'.
5036        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5037        ;;        ;;
5038      beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)      beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5039        # PIC is the default for these OSes.        # PIC is the default for these OSes.
5040        ;;        ;;
5041      mingw* | os2* | pw32*)      mingw* | cygwin* | os2* | pw32*)
5042        # This hack is so that the source file can tell whether it is being        # This hack is so that the source file can tell whether it is being
5043        # built for inclusion in a dll (and should export symbols for example).        # built for inclusion in a dll (and should export symbols for example).
5044        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'        # Although the cygwin gcc ignores -fPIC, still need this for old-style
5045          # (--disable-auto-import) libraries
5046          m4_if([$1], [GCJ], [],
5047            [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5048        ;;        ;;
5049      darwin* | rhapsody*)      darwin* | rhapsody*)
5050        # PIC is the default on this platform        # PIC is the default on this platform
# Line 4842  AC_MSG_CHECKING([for $compiler option to Line 5055  AC_MSG_CHECKING([for $compiler option to
5055        # DJGPP does not support shared libraries at all        # DJGPP does not support shared libraries at all
5056        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
5057        ;;        ;;
5058      interix3*)      interix[[3-9]]*)
5059        # Interix 3.x gcc -fpic/-fPIC options generate broken code.        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5060        # Instead, we relocate shared libraries at runtime.        # Instead, we relocate shared libraries at runtime.
5061        ;;        ;;
# Line 4868  AC_MSG_CHECKING([for $compiler option to Line 5081  AC_MSG_CHECKING([for $compiler option to
5081      esac      esac
5082    else    else
5083      case $host_os in      case $host_os in
5084        aix4* | aix5*)        aix[[4-9]]*)
5085          # All AIX code is PIC.          # All AIX code is PIC.
5086          if test "$host_cpu" = ia64; then          if test "$host_cpu" = ia64; then
5087            # AIX 5 now supports IA64 processor            # AIX 5 now supports IA64 processor
# Line 4964  AC_MSG_CHECKING([for $compiler option to Line 5177  AC_MSG_CHECKING([for $compiler option to
5177              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5178              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5179              ;;              ;;
5180            pgCC*)            pgCC* | pgcpp*)
5181              # Portland Group C++ compiler.              # Portland Group C++ compiler.
5182              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5183              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
# Line 4978  AC_MSG_CHECKING([for $compiler option to Line 5191  AC_MSG_CHECKING([for $compiler option to
5191              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5192              ;;              ;;
5193            *)            *)
5194                case `$CC -V 2>&1 | sed 5q` in
5195                *Sun\ C*)
5196                  # Sun C++ 5.9
5197                  _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5198                  _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5199                  _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
5200                  ;;
5201                esac
5202              ;;              ;;
5203          esac          esac
5204          ;;          ;;
# Line 5098  AC_MSG_CHECKING([for $compiler option to Line 5319  AC_MSG_CHECKING([for $compiler option to
5319        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5320        ;;        ;;
5321    
5322      beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)      beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5323        # PIC is the default for these OSes.        # PIC is the default for these OSes.
5324        ;;        ;;
5325    
5326      mingw* | pw32* | os2*)      mingw* | cygwin* | pw32* | os2*)
5327        # This hack is so that the source file can tell whether it is being        # This hack is so that the source file can tell whether it is being
5328        # built for inclusion in a dll (and should export symbols for example).        # built for inclusion in a dll (and should export symbols for example).
5329        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'        # Although the cygwin gcc ignores -fPIC, still need this for old-style
5330          # (--disable-auto-import) libraries
5331          m4_if([$1], [GCJ], [],
5332            [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5333        ;;        ;;
5334    
5335      darwin* | rhapsody*)      darwin* | rhapsody*)
# Line 5114  AC_MSG_CHECKING([for $compiler option to Line 5338  AC_MSG_CHECKING([for $compiler option to
5338        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5339        ;;        ;;
5340    
5341      interix3*)      interix[[3-9]]*)
5342        # Interix 3.x gcc -fpic/-fPIC options generate broken code.        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5343        # Instead, we relocate shared libraries at runtime.        # Instead, we relocate shared libraries at runtime.
5344        ;;        ;;
# Line 5172  AC_MSG_CHECKING([for $compiler option to Line 5396  AC_MSG_CHECKING([for $compiler option to
5396         esac         esac
5397         ;;         ;;
5398    
5399      mingw* | pw32* | os2*)      mingw* | cygwin* | pw32* | os2*)
5400        # This hack is so that the source file can tell whether it is being        # This hack is so that the source file can tell whether it is being
5401        # built for inclusion in a dll (and should export symbols for example).        # built for inclusion in a dll (and should export symbols for example).
5402        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'        m4_if([$1], [GCJ], [],
5403            [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5404        ;;        ;;
5405    
5406      hpux9* | hpux10* | hpux11*)      hpux9* | hpux10* | hpux11*)
# Line 5224  AC_MSG_CHECKING([for $compiler option to Line 5449  AC_MSG_CHECKING([for $compiler option to
5449          # All Alpha code is PIC.          # All Alpha code is PIC.
5450          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5451          ;;          ;;
5452          *)
5453            case `$CC -V 2>&1 | sed 5q` in
5454            *Sun\ C*)
5455              # Sun C 5.9
5456              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5457              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5458              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5459              ;;
5460            *Sun\ F*)
5461              # Sun Fortran 8.3 passes all unrecognized flags to the linker
5462              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5463              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5464              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
5465              ;;
5466            esac
5467            ;;
5468        esac        esac
5469        ;;        ;;
5470    
# Line 5233  AC_MSG_CHECKING([for $compiler option to Line 5474  AC_MSG_CHECKING([for $compiler option to
5474        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5475        ;;        ;;
5476    
5477        rdos*)
5478          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5479          ;;
5480    
5481      solaris*)      solaris*)
5482        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5483        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
# Line 5292  AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_co Line 5537  AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_co
5537  #  #
5538  if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then  if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
5539    AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],    AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
5540      _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),      _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
5541      [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],      [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
5542      [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in      [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
5543       "" | " "*) ;;       "" | " "*) ;;
# Line 5316  esac Line 5561  esac
5561  #  #
5562  wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"  wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5563  AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],  AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5564    _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),    _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
5565    $lt_tmp_static_flag,    $lt_tmp_static_flag,
5566    [],    [],
5567    [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])    [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
# Line 5327  AC_LIBTOOL_LINKER_OPTION([if $compiler s Line 5572  AC_LIBTOOL_LINKER_OPTION([if $compiler s
5572  # ------------------------------------  # ------------------------------------
5573  # See if the linker supports building shared libraries.  # See if the linker supports building shared libraries.
5574  AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],  AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
5575  [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])  [AC_REQUIRE([LT_AC_PROG_SED])dnl
5576    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5577  ifelse([$1],[CXX],[  ifelse([$1],[CXX],[
5578    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5579    case $host_os in    case $host_os in
5580    aix4* | aix5*)    aix[[4-9]]*)
5581      # If we're using GNU nm, then we don't want the "-C" option.      # If we're using GNU nm, then we don't want the "-C" option.
5582      # -C means demangle to AIX nm, but means don't demangle with GNU nm      # -C means demangle to AIX nm, but means don't demangle with GNU nm
5583      if $NM -V 2>&1 | grep 'GNU' > /dev/null; then      if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
# Line 5344  ifelse([$1],[CXX],[ Line 5590  ifelse([$1],[CXX],[
5590      _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"      _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
5591    ;;    ;;
5592    cygwin* | mingw*)    cygwin* | mingw*)
5593      _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'      _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'
5594    ;;    ;;
5595    linux* | k*bsd*-gnu)    linux* | k*bsd*-gnu)
5596      _LT_AC_TAGVAR(link_all_deplibs, $1)=no      _LT_AC_TAGVAR(link_all_deplibs, $1)=no
# Line 5353  ifelse([$1],[CXX],[ Line 5599  ifelse([$1],[CXX],[
5599      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5600    ;;    ;;
5601    esac    esac
5602      _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5603  ],[  ],[
5604    runpath_var=    runpath_var=
5605    _LT_AC_TAGVAR(allow_undefined_flag, $1)=    _LT_AC_TAGVAR(allow_undefined_flag, $1)=
# Line 5383  ifelse([$1],[CXX],[ Line 5630  ifelse([$1],[CXX],[
5630    # it will be wrapped by ` (' and `)$', so one must not match beginning or    # it will be wrapped by ` (' and `)$', so one must not match beginning or
5631    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5632    # as well as any symbol that contains `d'.    # as well as any symbol that contains `d'.
5633    _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"    _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5634    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5635    # platforms (ab)use it in PIC code, but their linkers get confused if    # platforms (ab)use it in PIC code, but their linkers get confused if
5636    # the symbol is explicitly referenced.  Since portable code cannot    # the symbol is explicitly referenced.  Since portable code cannot
5637    # rely on this symbol name, it's probably fine to never include it in    # rely on this symbol name, it's probably fine to never include it in
5638    # preloaded symbol tables.    # preloaded symbol tables.
5639      # Exclude shared library initialization/finalization symbols.
5640    dnl Note also adjust exclude_expsyms for C++ above.
5641    extract_expsyms_cmds=    extract_expsyms_cmds=
5642    # Just being paranoid about ensuring that cc_basename is set.    # Just being paranoid about ensuring that cc_basename is set.
5643    _LT_CC_BASENAME([$compiler])    _LT_CC_BASENAME([$compiler])
# Line 5438  ifelse([$1],[CXX],[ Line 5687  ifelse([$1],[CXX],[
5687    
5688      # See if GNU ld supports shared libraries.      # See if GNU ld supports shared libraries.
5689      case $host_os in      case $host_os in
5690      aix3* | aix4* | aix5*)      aix[[3-9]]*)
5691        # On AIX/PPC, the GNU linker is very broken        # On AIX/PPC, the GNU linker is very broken
5692        if test "$host_cpu" != ia64; then        if test "$host_cpu" != ia64; then
5693          _LT_AC_TAGVAR(ld_shlibs, $1)=no          _LT_AC_TAGVAR(ld_shlibs, $1)=no
# Line 5486  EOF Line 5735  EOF
5735        _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported        _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5736        _LT_AC_TAGVAR(always_export_symbols, $1)=no        _LT_AC_TAGVAR(always_export_symbols, $1)=no
5737        _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes        _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5738        _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'        _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'
5739    
5740        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5741          _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'          _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'
# Line 5504  EOF Line 5753  EOF
5753        fi        fi
5754        ;;        ;;
5755    
5756      interix3*)      interix[[3-9]]*)
5757        _LT_AC_TAGVAR(hardcode_direct, $1)=no        _LT_AC_TAGVAR(hardcode_direct, $1)=no
5758        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5759        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
# Line 5519  EOF Line 5768  EOF
5768        _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'        _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'
5769        ;;        ;;
5770    
5771      linux* | k*bsd*-gnu)      gnu* | linux* | k*bsd*-gnu)
5772        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5773          tmp_addflag=          tmp_addflag=
5774          case $cc_basename,$host_cpu in          case $cc_basename,$host_cpu in
# Line 5537  EOF Line 5786  EOF
5786          ifc* | ifort*)                  # Intel Fortran compiler          ifc* | ifort*)                  # Intel Fortran compiler
5787            tmp_addflag=' -nofor_main' ;;            tmp_addflag=' -nofor_main' ;;
5788          esac          esac
5789          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'          case `$CC -V 2>&1 | sed 5q` in
5790            *Sun\ C*)                       # Sun C 5.9
5791              _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'
5792              tmp_sharedflag='-G' ;;
5793            *Sun\ F*)                       # Sun Fortran 8.3
5794              tmp_sharedflag='-G' ;;
5795            *)
5796              tmp_sharedflag='-shared' ;;
5797            esac
5798            _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5799    
5800          if test $supports_anon_versioning = yes; then          if test $supports_anon_versioning = yes; then
5801            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
5802    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5803    $echo "local: *; };" >> $output_objdir/$libname.ver~    $echo "local: *; };" >> $output_objdir/$libname.ver~
5804            $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5805          fi          fi
5806          _LT_AC_TAGVAR(link_all_deplibs, $1)=no          _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5807        else        else
# Line 5584  EOF Line 5842  EOF
5842    
5843      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5844        case `$LD -v 2>&1` in        case `$LD -v 2>&1` in
5845          *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)          *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5846          _LT_AC_TAGVAR(ld_shlibs, $1)=no          _LT_AC_TAGVAR(ld_shlibs, $1)=no
5847          cat <<_LT_EOF 1>&2          cat <<_LT_EOF 1>&2
5848    
# Line 5649  _LT_EOF Line 5907  _LT_EOF
5907        fi        fi
5908        ;;        ;;
5909    
5910      aix4* | aix5*)      aix[[4-9]]*)
5911        if test "$host_cpu" = ia64; then        if test "$host_cpu" = ia64; then
5912          # On IA64, the linker does run time linking by default, so we don't          # On IA64, the linker does run time linking by default, so we don't
5913          # have to do anything special.          # have to do anything special.
# Line 5669  _LT_EOF Line 5927  _LT_EOF
5927          # Test if we are trying to use run time linking or normal          # Test if we are trying to use run time linking or normal
5928          # AIX style linking. If -brtl is somewhere in LDFLAGS, we          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5929          # need to do runtime linking.          # need to do runtime linking.
5930          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5931            for ld_flag in $LDFLAGS; do            for ld_flag in $LDFLAGS; do
5932            if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then            if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5933              aix_use_runtimelinking=yes              aix_use_runtimelinking=yes
# Line 5703  _LT_EOF Line 5961  _LT_EOF
5961             strings "$collect2name" | grep resolve_lib_name >/dev/null             strings "$collect2name" | grep resolve_lib_name >/dev/null
5962            then            then
5963            # We have reworked collect2            # We have reworked collect2
5964            _LT_AC_TAGVAR(hardcode_direct, $1)=yes            :
5965            else            else
5966            # We have old collect2            # We have old collect2
5967            _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported            _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
# Line 5796  _LT_EOF Line 6054  _LT_EOF
6054        # The linker will automatically build a .lib file if we build a DLL.        # The linker will automatically build a .lib file if we build a DLL.
6055        _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'        _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
6056        # FIXME: Should let the user specify the lib program.        # FIXME: Should let the user specify the lib program.
6057        _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'        _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
6058        _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'        _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
6059        _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes        _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6060        ;;        ;;
# Line 5829  _LT_EOF Line 6087  _LT_EOF
6087        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6088      if test "$GCC" = yes ; then      if test "$GCC" = yes ; then
6089          output_verbose_link_cmd='echo'          output_verbose_link_cmd='echo'
6090          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'          _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}"
6091        _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'          _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
6092        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds          _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}"
6093        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'          _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}"
       _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}'  
6094      else      else
6095        case $cc_basename in        case $cc_basename in
6096          xlc*)          xlc*)
6097           output_verbose_link_cmd='echo'           output_verbose_link_cmd='echo'
6098           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'           _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'
6099           _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'           _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6100            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds            # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6101           _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'           _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}'
6102            _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}'            _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}'
6103            ;;            ;;
6104         *)         *)
# Line 6003  _LT_EOF Line 6260  _LT_EOF
6260        ;;        ;;
6261    
6262      openbsd*)      openbsd*)
6263        _LT_AC_TAGVAR(hardcode_direct, $1)=yes        if test -f /usr/libexec/ld.so; then
6264        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no          _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6265        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then          _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6266          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6267          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6268          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6269          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6270              _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6271            else
6272              case $host_os in
6273               openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6274                 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6275                 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6276                 ;;
6277               *)
6278                 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6279                 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6280                 ;;
6281              esac
6282            fi
6283        else        else
6284         case $host_os in          _LT_AC_TAGVAR(ld_shlibs, $1)=no
          openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)  
            _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  
            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'  
            ;;  
          *)  
            _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'  
            _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'  
            ;;  
        esac  
6285        fi        fi
6286        ;;        ;;
6287    
# Line 6079  _LT_EOF Line 6340  _LT_EOF
6340        case $host_os in        case $host_os in
6341        solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;        solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6342        *)        *)
6343          # The compiler driver will combine linker options so we          # The compiler driver will combine and reorder linker options,
6344          # cannot just pass the convience library names through          # but understands `-z linker_flag'.  GCC discards it without `$wl',
6345          # without $wl, iff we do not link with $LD.          # but is careful enough not to reorder.
         # Luckily, gcc supports the same syntax we need for Sun Studio.  
6346          # Supported since Solaris 2.6 (maybe 2.5.1?)          # Supported since Solaris 2.6 (maybe 2.5.1?)
6347          case $wlarc in          if test "$GCC" = yes; then
6348          '')            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
6349            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;          else
6350          *)            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
6351            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;          fi
6352          esac ;;          ;;
6353        esac        esac
6354        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6355        ;;        ;;
# Line 6146  _LT_EOF Line 6406  _LT_EOF
6406        fi        fi
6407        ;;        ;;
6408    
6409      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6410        _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'        _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6411        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6412        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
# Line 6221  x|xyes) Line 6481  x|xyes)
6481        # to ld, don't add -lc before -lgcc.        # to ld, don't add -lc before -lgcc.
6482        AC_MSG_CHECKING([whether -lc should be explicitly linked in])        AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6483        $rm conftest*        $rm conftest*
6484        printf "$lt_simple_compile_test_code" > conftest.$ac_ext        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6485    
6486        if AC_TRY_EVAL(ac_compile) 2>conftest.err; then        if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6487          soname=conftest          soname=conftest
# Line 6324  AC_DEFUN([LT_AC_PROG_RC], Line 6584  AC_DEFUN([LT_AC_PROG_RC],
6584  [AC_CHECK_TOOL(RC, windres, no)  [AC_CHECK_TOOL(RC, windres, no)
6585  ])  ])
6586    
6587    
6588    # Cheap backport of AS_EXECUTABLE_P and required macros
6589    # from Autoconf 2.59; we should not use $as_executable_p directly.
6590    
6591    # _AS_TEST_PREPARE
6592    # ----------------
6593    m4_ifndef([_AS_TEST_PREPARE],
6594    [m4_defun([_AS_TEST_PREPARE],
6595    [if test -x / >/dev/null 2>&1; then
6596      as_executable_p='test -x'
6597    else
6598      as_executable_p='test -f'
6599    fi
6600    ])])# _AS_TEST_PREPARE
6601    
6602    # AS_EXECUTABLE_P
6603    # ---------------
6604    # Check whether a file is executable.
6605    m4_ifndef([AS_EXECUTABLE_P],
6606    [m4_defun([AS_EXECUTABLE_P],
6607    [AS_REQUIRE([_AS_TEST_PREPARE])dnl
6608    $as_executable_p $1[]dnl
6609    ])])# AS_EXECUTABLE_P
6610    
6611  # NOTE: This macro has been submitted for inclusion into   #  # NOTE: This macro has been submitted for inclusion into   #
6612  #  GNU Autoconf as AC_PROG_SED.  When it is available in   #  #  GNU Autoconf as AC_PROG_SED.  When it is available in   #
6613  #  a released version of Autoconf we should remove this    #  #  a released version of Autoconf we should remove this    #
# Line 6344  do Line 6628  do
6628    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
6629    for lt_ac_prog in sed gsed; do    for lt_ac_prog in sed gsed; do
6630      for ac_exec_ext in '' $ac_executable_extensions; do      for ac_exec_ext in '' $ac_executable_extensions; do
6631        if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then        if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
6632          lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"          lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6633        fi        fi
6634      done      done
6635    done    done
6636  done  done
6637    IFS=$as_save_IFS
6638  lt_ac_max=0  lt_ac_max=0
6639  lt_ac_count=0  lt_ac_count=0
6640  # Add /usr/xpg4/bin/sed as it is typically found on Solaris  # Add /usr/xpg4/bin/sed as it is typically found on Solaris
# Line 6382  for lt_ac_sed in $lt_ac_sed_list /usr/xp Line 6667  for lt_ac_sed in $lt_ac_sed_list /usr/xp
6667  done  done
6668  ])  ])
6669  SED=$lt_cv_path_SED  SED=$lt_cv_path_SED
6670    AC_SUBST([SED])
6671  AC_MSG_RESULT([$SED])  AC_MSG_RESULT([$SED])
6672  ])  ])
6673    
6674  # Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.  # Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
6675  #  #
6676  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
6677  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
# Line 6400  AC_DEFUN([AM_AUTOMAKE_VERSION], Line 6686  AC_DEFUN([AM_AUTOMAKE_VERSION],
6686  [am__api_version='1.10'  [am__api_version='1.10'
6687  dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to  dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
6688  dnl require some minimum version.  Point them to the right macro.  dnl require some minimum version.  Point them to the right macro.
6689  m4_if([$1], [1.10], [],  m4_if([$1], [1.10.1], [],
6690        [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl        [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
6691  ])  ])
6692    
# Line 6416  m4_define([_AM_AUTOCONF_VERSION], []) Line 6702  m4_define([_AM_AUTOCONF_VERSION], [])
6702  # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.  # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
6703  # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.  # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6704  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6705  [AM_AUTOMAKE_VERSION([1.10])dnl  [AM_AUTOMAKE_VERSION([1.10.1])dnl
6706  _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])  m4_ifndef([AC_AUTOCONF_VERSION],
6707      [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
6708    _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
6709    
6710  # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-  # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
6711    
# Line 6689  AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS Line 6977  AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS
6977    # each Makefile.in and add a new line on top of each file to say so.    # each Makefile.in and add a new line on top of each file to say so.
6978    # Grep'ing the whole file is not good either: AIX grep has a line    # Grep'ing the whole file is not good either: AIX grep has a line
6979    # limit of 2048, but all sed's we know have understand at least 4000.    # limit of 2048, but all sed's we know have understand at least 4000.
6980    if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6981      dirpart=`AS_DIRNAME("$mf")`      dirpart=`AS_DIRNAME("$mf")`
6982    else    else
6983      continue      continue
# Line 6749  AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_ Line 7037  AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_
7037  # Do all the work for Automake.                             -*- Autoconf -*-  # Do all the work for Automake.                             -*- Autoconf -*-
7038    
7039  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,  # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
7040  # 2005, 2006 Free Software Foundation, Inc.  # 2005, 2006, 2008 Free Software Foundation, Inc.
7041  #  #
7042  # This file is free software; the Free Software Foundation  # This file is free software; the Free Software Foundation
7043  # gives unlimited permission to copy and/or distribute it,  # gives unlimited permission to copy and/or distribute it,
7044  # with or without modifications, as long as this notice is preserved.  # with or without modifications, as long as this notice is preserved.
7045    
7046  # serial 12  # serial 13
7047    
7048  # This macro actually does too much.  Some checks are only needed if  # This macro actually does too much.  Some checks are only needed if
7049  # your package does certain things.  But this isn't really a big deal.  # your package does certain things.  But this isn't really a big deal.
# Line 6860  AC_PROVIDE_IFELSE([AC_PROG_OBJC], Line 7148  AC_PROVIDE_IFELSE([AC_PROG_OBJC],
7148  # our stamp files there.  # our stamp files there.
7149  AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],  AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
7150  [# Compute $1's index in $config_headers.  [# Compute $1's index in $config_headers.
7151    _am_arg=$1
7152  _am_stamp_count=1  _am_stamp_count=1
7153  for _am_header in $config_headers :; do  for _am_header in $config_headers :; do
7154    case $_am_header in    case $_am_header in
7155      $1 | $1:* )      $_am_arg | $_am_arg:* )
7156        break ;;        break ;;
7157      * )      * )
7158        _am_stamp_count=`expr $_am_stamp_count + 1` ;;        _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7159    esac    esac
7160  done  done
7161  echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])  echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
7162    
7163  # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.  # Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
7164  #  #
# Line 7141  AC_SUBST([INSTALL_STRIP_PROGRAM])]) Line 7430  AC_SUBST([INSTALL_STRIP_PROGRAM])])
7430    
7431  # _AM_SUBST_NOTMAKE(VARIABLE)  # _AM_SUBST_NOTMAKE(VARIABLE)
7432  # ---------------------------  # ---------------------------
7433  # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.  # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
7434  # This macro is traced by Automake.  # This macro is traced by Automake.
7435  AC_DEFUN([_AM_SUBST_NOTMAKE])  AC_DEFUN([_AM_SUBST_NOTMAKE])
7436    

Legend:
Removed from v.1728  
changed lines
  Added in v.1729

  ViewVC Help
Powered by ViewVC 1.1.26