Changeset 36228

Show
Ignore:
Timestamp:
12/22/09 15:45:19 (3 years ago)
Author:
kazuho
Message:

assume x86 if uname -p returns unknown (on debian)

Location:
lang/c/swifty/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/c/swifty/trunk/configure.ac

    r32226 r36228  
    1111 
    1212PROC_TYPE=`uname -p` 
    13 if test "$PROC_TYPE" = "i386" -o "$PROC_TYPE" = "i686" -o "$PROC_TYPE" = "x86_64"; then 
     13if test "$PROC_TYPE" = "i386" -o "$PROC_TYPE" = "i686" -o "$PROC_TYPE" = "x86_64" -o "$PROC_TYPE" = "unknown"; then 
     14    if test "$PROC_TYPE" = "unknown" ; then 
     15        echo "Could not obtain CPU informaiton, assuming i386 or x86_64" >&2 
     16    fi 
    1417    MB_CFLAGS="-msse2" 
    1518    AC_DEFINE([CPU_X86],1,[i386 or i686 or x86_64]) 
  • lang/c/swifty/trunk/libtool

    r32226 r36228  
    1 #! /bin/sh 
     1#! /bin/bash 
    22 
    33# libtoolT - Provide generalized library-building support services. 
     
    55# NOTE: Changes made to this file will be lost: look at ltmain.sh. 
    66# 
    7 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 
     7# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 
    88# Free Software Foundation, Inc. 
    99# 
     
    2323# You should have received a copy of the GNU General Public License 
    2424# along with this program; if not, write to the Free Software 
    25 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
     25# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 
    2626# 
    2727# As a special exception to the GNU General Public License, if you 
     
    3131 
    3232# A sed program that does not truncate output. 
    33 SED="/usr/bin/sed" 
     33SED="/bin/sed" 
    3434 
    3535# Sed that helps us avoid accidentally triggering echo(1) options like -n. 
    36 Xsed="/usr/bin/sed -e s/^X//" 
     36Xsed="/bin/sed -e 1s/^X//" 
    3737 
    3838# The HP-UX ksh and POSIX shell print the target directory to stdout 
    3939# if CDPATH is set. 
    40 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 
     40(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    4141 
    4242# The names of the tagged configurations supported by this script. 
     
    4545# ### BEGIN LIBTOOL CONFIG 
    4646 
    47 # Libtool was configured on host KazMac.local: 
    48  
    49 # Set the command separator (default: ~) 
    50 _S_=${LIBTOOL_CMD_SEP-\~} 
     47# Libtool was configured on host kazpro.in.labs.cybozu.co.jp: 
    5148 
    5249# Shell to use when invoking shell scripts. 
    53 SHELL="/bin/sh" 
     50SHELL="/bin/bash" 
    5451 
    5552# Whether or not to build shared libraries. 
     
    7067# The host system. 
    7168host_alias= 
    72 host=i386-apple-darwin8.10.1 
     69host=x86_64-unknown-linux-gnu 
     70host_os=linux-gnu 
     71 
     72# The build system. 
     73build_alias= 
     74build=x86_64-unknown-linux-gnu 
     75build_os=linux-gnu 
    7376 
    7477# An echo program that does not interpret backslashes. 
     
    8285LTCC="gcc" 
    8386 
     87# LTCC compiler flags. 
     88LTCFLAGS="-g -O2" 
     89 
    8490# A language-specific compiler. 
    8591CC="gcc" 
     
    8995 
    9096# An ERE matcher. 
    91 EGREP="grep -E" 
     97EGREP="/bin/grep -E" 
    9298 
    9399# The linker used to build libraries. 
    94 LD="/usr/bin/ld" 
     100LD="/usr/bin/ld -m elf_x86_64" 
    95101 
    96102# Whether we need hard or soft links. 
     
    98104 
    99105# A BSD-compatible nm program. 
    100 NM="/usr/bin/nm -p" 
     106NM="/usr/bin/nm -B" 
    101107 
    102108# A symbol stripping program 
    103 STRIP=strip 
     109STRIP="strip" 
    104110 
    105111# Used to examine libraries when file_magic_cmd begins "file" 
     
    120126# How to create reloadable object files. 
    121127reload_flag=" -r" 
    122 reload_cmds="\$CC -nostdlib -Xlinker\$reload_flag \$archargs -o \$output\$reload_objs" 
     128reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" 
    123129 
    124130# How to pass a linker flag through the compiler. 
     
    132138 
    133139# Shared library suffix (normally ".so"). 
    134 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 
     140shrext_cmds='.so' 
    135141 
    136142# Executable file suffix (normally ""). 
     
    138144 
    139145# Additional compiler flags for building library objects. 
    140 pic_flag=" -fno-common -DPIC" 
     146pic_flag=" -fPIC -DPIC" 
    141147pic_mode=default 
    142148 
    143149# What is the maximum length of a command? 
    144 max_cmd_len=65536 
     150max_cmd_len=98304 
    145151 
    146152# Does compiler simultaneously support -c and -o options? 
    147153compiler_c_o="yes" 
    148154 
    149 # Must we lock files when doing compilation ? 
     155# Must we lock files when doing compilation? 
    150156need_locks="no" 
    151157 
     
    172178 
    173179# Compiler flag to allow reflexive dlopens. 
    174 export_dynamic_flag_spec="" 
     180export_dynamic_flag_spec="\${wl}--export-dynamic" 
    175181 
    176182# Compiler flag to generate shared objects directly from archives. 
    177 whole_archive_flag_spec="-all_load \$convenience" 
     183whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" 
    178184 
    179185# Compiler flag to generate thread-safe objects. 
     
    181187 
    182188# Library versioning type. 
    183 version_type=darwin 
     189version_type=linux 
    184190 
    185191# Format of library name prefix. 
     
    188194# List of archive names.  First name is the real one, the rest are links. 
    189195# The last name is the one that the linker finds with -lNAME. 
    190 library_names_spec="\${libname}\${release}\${major}\$shared_ext \${libname}\$shared_ext \${libname}\${release}\${versuffix}\$shared_ext" 
     196library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" 
    191197 
    192198# The coded name of the library, if different from the real name. 
    193 soname_spec="\${libname}\${release}\${major}\$shared_ext" 
     199soname_spec="\${libname}\${release}\${shared_ext}\$major" 
    194200 
    195201# Commands used to build and install an old-style archive. 
    196202RANLIB="ranlib" 
    197 old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs${_S_}\$RANLIB \$oldlib" 
    198 old_postinstall_cmds="\$RANLIB \$oldlib${_S_}chmod 644 \$oldlib" 
     203old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" 
     204old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib" 
    199205old_postuninstall_cmds="" 
    200206 
     
    206212 
    207213# Commands used to build and install a shared archive. 
    208 archive_cmds="\$CC -dynamiclib \$archargs \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$compiler_flags -install_name \$rpath/\$soname \$verstring" 
    209 archive_expsym_cmds="sed -e \\\"s,#.*,,\\\" -e \\\"s,^[    ]*,,\\\" -e \\\"s,^\\\\(..*\\\\),_&,\\\" < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym${_S_}\$CC -dynamiclib \$archargs \$allow_undefined_flag  -o \$lib \$libobjs \$deplibs\$compiler_flags -install_name \$rpath/\$soname \$verstring${_S_}nmedit -s \$output_objdir/\${libname}-symbols.expsym \${lib}" 
     214archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" 
     215archive_expsym_cmds="\$echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~ 
     216  cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~ 
     217  \$echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~ 
     218          \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib" 
    210219postinstall_cmds="" 
    211220postuninstall_cmds="" 
    212221 
    213222# Commands used to build a loadable module (assumed same as above if empty) 
    214 module_cmds="\$CC -bundle \$archargs \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$compiler_flags" 
    215 module_expsym_cmds="sed -e \\\"s,#.*,,\\\" -e \\\"s,^[    ]*,,\\\" -e \\\"s,^\\\\(..*\\\\),_&,\\\" < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym${_S_}\$CC -bundle \$archargs \$allow_undefined_flag  -o \$lib \$libobjs \$deplibs\$compiler_flags${_S_}nmedit -s \$output_objdir/\${libname}-symbols.expsym \${lib}" 
     223module_cmds="" 
     224module_expsym_cmds="" 
    216225 
    217226# Commands to strip libraries. 
    218 old_striplib="" 
    219 striplib="" 
     227old_striplib="strip --strip-debug" 
     228striplib="strip --strip-unneeded" 
    220229 
    221230# Dependencies to place before the objects being linked to create a 
     
    235244postdeps="" 
    236245 
     246# The directories searched by this compiler when creating a shared 
     247# library 
     248compiler_lib_search_dirs="" 
     249 
    237250# The library search path used internally by the compiler when linking 
    238251# a shared library. 
     
    243256 
    244257# Command to use when deplibs_check_method == file_magic. 
    245 file_magic_cmd="/usr/bin/file -L" 
     258file_magic_cmd="\$MAGIC_CMD" 
    246259 
    247260# Flag that allows shared libraries with undefined symbols to be built. 
    248 allow_undefined_flag="-flat_namespace -undefined suppress" 
     261allow_undefined_flag="" 
    249262 
    250263# Flag that forces no undefined symbols. 
     
    252265 
    253266# Commands used to finish a libtool library installation in a directory. 
    254 finish_cmds="" 
     267finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" 
    255268 
    256269# Same as above, but a single script fragment to be evaled but not shown. 
     
    258271 
    259272# Take the output of nm and produce a listing of raw symbols and C names. 
    260 global_symbol_pipe="sed -n -e 's/^.*[   ]\\([BCDEGRST][BCDEGRST]*\\)[   ][      ]*\\(_\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'" 
     273global_symbol_pipe="sed -n -e 's/^.*[   ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[       ][      ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'" 
    261274 
    262275# Transform the output of nm in a proper C declaration 
     
    267280 
    268281# This is the shared library runtime path variable. 
    269 runpath_var= 
     282runpath_var=LD_RUN_PATH 
    270283 
    271284# This is the shared library path variable. 
    272 shlibpath_var=DYLD_LIBRARY_PATH 
     285shlibpath_var=LD_LIBRARY_PATH 
    273286 
    274287# Is shlibpath searched before the hard-coded library search path? 
    275 shlibpath_overrides_runpath=yes 
     288shlibpath_overrides_runpath=no 
    276289 
    277290# How to hardcode a shared library path into an executable. 
     
    279292 
    280293# Whether we should hardcode library paths into libraries. 
    281 hardcode_into_libs=no 
     294hardcode_into_libs=yes 
    282295 
    283296# Flag to hardcode $libdir into a binary during linking. 
    284297# This must work even if $libdir does not exist. 
    285 hardcode_libdir_flag_spec="" 
     298hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir" 
    286299 
    287300# If ld is used when linking, flag to hardcode $libdir into 
     
    307320# Set to yes if building a shared library automatically hardcodes DIR into the library 
    308321# and all subsequent libraries and executables linked against it. 
    309 hardcode_automatic=yes 
     322hardcode_automatic=no 
    310323 
    311324# Variables whose values should be saved in libtool wrapper scripts and 
    312325# restored at relink time. 
    313 variables_saved_for_relink="PATH   GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
     326variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
    314327 
    315328# Whether libtool must link a program against all its dependency libraries. 
    316 link_all_deplibs=yes 
     329link_all_deplibs=no 
    317330 
    318331# Compile-time system search path for libraries 
    319 sys_lib_search_path_spec=" /usr/lib/gcc/i686-apple-darwin8/4.0.1/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../../i686-apple-darwin8/lib/i686-apple-darwin8/4.0.1/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../../i686-apple-darwin8/lib/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../i686-apple-darwin8/4.0.1/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../ /lib/i686-apple-darwin8/4.0.1/ /lib/ /usr/lib/i686-apple-darwin8/4.0.1/ /usr/lib/  /lib /usr/lib /usr/local/lib" 
     332sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.2.4 /usr/lib /lib" 
    320333 
    321334# Run-time system search path for libraries 
    322 sys_lib_dlsearch_path_spec="/usr/local/lib /lib /usr/lib" 
     335sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/local/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu " 
    323336 
    324337# Fix the shell variable $srcfile for the compiler. 
     
    335348 
    336349# Symbols that should not be listed in the preloaded symbols. 
    337 exclude_expsyms="_GLOBAL_OFFSET_TABLE_" 
     350exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*" 
    338351 
    339352# Symbols that must always be exported. 
     
    72157228# ### BEGIN LIBTOOL TAG CONFIG: CXX 
    72167229 
    7217 # Libtool was configured on host KazMac.local: 
    7218  
    7219 # Set the command separator (default: ~) 
    7220 _S_=${LIBTOOL_CMD_SEP-\~} 
     7230# Libtool was configured on host kazpro.in.labs.cybozu.co.jp: 
    72217231 
    72227232# Shell to use when invoking shell scripts. 
    7223 SHELL="/bin/sh" 
     7233SHELL="/bin/bash" 
    72247234 
    72257235# Whether or not to build shared libraries. 
     
    72367246 
    72377247# Whether or not to optimize for fast installation. 
    7238 fast_install=needless 
     7248fast_install=yes 
    72397249 
    72407250# The host system. 
    72417251host_alias= 
    7242 host=i386-apple-darwin8.10.1 
     7252host=x86_64-unknown-linux-gnu 
     7253host_os=linux-gnu 
     7254 
     7255# The build system. 
     7256build_alias= 
     7257build=x86_64-unknown-linux-gnu 
     7258build_os=linux-gnu 
    72437259 
    72447260# An echo program that does not interpret backslashes. 
     
    72527268LTCC="gcc" 
    72537269 
     7270# LTCC compiler flags. 
     7271LTCFLAGS="-g -O2" 
     7272 
    72547273# A language-specific compiler. 
    72557274CC="g++" 
     
    72597278 
    72607279# An ERE matcher. 
    7261 EGREP="grep -E" 
     7280EGREP="/bin/grep -E" 
    72627281 
    72637282# The linker used to build libraries. 
    7264 LD="/usr/bin/ld" 
     7283LD="/usr/bin/ld -m elf_x86_64" 
    72657284 
    72667285# Whether we need hard or soft links. 
     
    72687287 
    72697288# A BSD-compatible nm program. 
    7270 NM="/usr/bin/nm -p" 
     7289NM="/usr/bin/nm -B" 
    72717290 
    72727291# A symbol stripping program 
    7273 STRIP=strip 
     7292STRIP="strip" 
    72747293 
    72757294# Used to examine libraries when file_magic_cmd begins "file" 
     
    72907309# How to create reloadable object files. 
    72917310reload_flag=" -r" 
    7292 reload_cmds="\$CC -nostdlib -Xlinker\$reload_flag \$archargs -o \$output\$reload_objs" 
     7311reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" 
    72937312 
    72947313# How to pass a linker flag through the compiler. 
     
    73027321 
    73037322# Shared library suffix (normally ".so"). 
    7304 shrext='$(test .$module = .yes && echo .so || echo .dylib)' 
     7323shrext_cmds='.so' 
    73057324 
    73067325# Executable file suffix (normally ""). 
     
    73087327 
    73097328# Additional compiler flags for building library objects. 
    7310 pic_flag=" -fno-common -DPIC" 
     7329pic_flag=" -fPIC -DPIC" 
    73117330pic_mode=default 
    73127331 
    73137332# What is the maximum length of a command? 
    7314 max_cmd_len=65536 
     7333max_cmd_len=98304 
    73157334 
    73167335# Does compiler simultaneously support -c and -o options? 
    73177336compiler_c_o="yes" 
    73187337 
    7319 # Must we lock files when doing compilation ? 
     7338# Must we lock files when doing compilation? 
    73207339need_locks="no" 
    73217340 
     
    73427361 
    73437362# Compiler flag to allow reflexive dlopens. 
    7344 export_dynamic_flag_spec="" 
     7363export_dynamic_flag_spec="\${wl}--export-dynamic" 
    73457364 
    73467365# Compiler flag to generate shared objects directly from archives. 
    7347 whole_archive_flag_spec="-all_load \$convenience" 
     7366whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" 
    73487367 
    73497368# Compiler flag to generate thread-safe objects. 
     
    73517370 
    73527371# Library versioning type. 
    7353 version_type=darwin 
     7372version_type=linux 
    73547373 
    73557374# Format of library name prefix. 
     
    73587377# List of archive names.  First name is the real one, the rest are links. 
    73597378# The last name is the one that the linker finds with -lNAME. 
    7360 library_names_spec="\${libname}\${release}\${major}\$shared_ext \${libname}\$shared_ext \${libname}\${release}\${versuffix}\$shared_ext" 
     7379library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" 
    73617380 
    73627381# The coded name of the library, if different from the real name. 
    7363 soname_spec="\${libname}\${release}\${major}\$shared_ext" 
     7382soname_spec="\${libname}\${release}\${shared_ext}\$major" 
    73647383 
    73657384# Commands used to build and install an old-style archive. 
    73667385RANLIB="ranlib" 
    7367 old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs${_S_}\$RANLIB \$oldlib" 
    7368 old_postinstall_cmds="\$RANLIB \$oldlib${_S_}chmod 644 \$oldlib" 
     7386old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib" 
     7387old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib" 
    73697388old_postuninstall_cmds="" 
    73707389 
     
    73767395 
    73777396# Commands used to build and install a shared archive. 
    7378 archive_cmds="\$CC -dynamiclib \$archargs -single_module \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring" 
    7379 archive_expsym_cmds="sed -e \\\"s,#.*,,\\\" -e \\\"s,^[    ]*,,\\\" -e \\\"s,^\\\\(..*\\\\),_&,\\\" < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym${_S_}\$CC -dynamiclib \$archargs -single_module \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_S_}nmedit -s \$output_objdir/\${libname}-symbols.expsym \${lib}" 
     7397archive_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" 
     7398archive_expsym_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib" 
    73807399postinstall_cmds="" 
    73817400postuninstall_cmds="" 
    73827401 
    73837402# Commands used to build a loadable module (assumed same as above if empty) 
    7384 module_cmds="\$CC -bundle \$archargs \${wl}-bind_at_load \$allow_undefined_flag -o \$lib \$libobjs \$deplibs\$compiler_flags" 
    7385 module_expsym_cmds="sed -e \\\"s,#.*,,\\\" -e \\\"s,^[    ]*,,\\\" -e \\\"s,^\\\\(..*\\\\),_&,\\\" < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym${_S_}\$CC -bundle \$archargs \$allow_undefined_flag  -o \$lib \$libobjs \$deplibs\$compiler_flags${_S_}nmedit -s \$output_objdir/\${libname}-symbols.expsym \${lib}" 
     7403module_cmds="" 
     7404module_expsym_cmds="" 
    73867405 
    73877406# Commands to strip libraries. 
    7388 old_striplib="" 
    7389 striplib="" 
     7407old_striplib="strip --strip-debug" 
     7408striplib="strip --strip-unneeded" 
    73907409 
    73917410# Dependencies to place before the objects being linked to create a 
    73927411# shared library. 
    7393 predep_objects="" 
     7412predep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.2.4/crtbeginS.o" 
    73947413 
    73957414# Dependencies to place after the objects being linked to create a 
    73967415# shared library. 
    7397 postdep_objects="" 
     7416postdep_objects="/usr/lib/gcc/x86_64-linux-gnu/4.2.4/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/crtn.o" 
    73987417 
    73997418# Dependencies to place before the objects being linked to create a 
     
    74037422# Dependencies to place after the objects being linked to create a 
    74047423# shared library. 
    7405 postdeps="" 
     7424postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s" 
     7425 
     7426# The directories searched by this compiler when creating a shared 
     7427# library 
     7428compiler_lib_search_dirs="/usr/lib/gcc/x86_64-linux-gnu/4.2.4 /usr/lib/gcc/x86_64-linux-gnu/4.2.4 /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../.." 
    74067429 
    74077430# The library search path used internally by the compiler when linking 
    74087431# a shared library. 
    7409 compiler_lib_search_path="" 
     7432compiler_lib_search_path="-L/usr/lib/gcc/x86_64-linux-gnu/4.2.4 -L/usr/lib/gcc/x86_64-linux-gnu/4.2.4 -L/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../.." 
    74107433 
    74117434# Method to check whether dependent libraries are shared objects. 
     
    74137436 
    74147437# Command to use when deplibs_check_method == file_magic. 
    7415 file_magic_cmd="/usr/bin/file -L" 
     7438file_magic_cmd="\$MAGIC_CMD" 
    74167439 
    74177440# Flag that allows shared libraries with undefined symbols to be built. 
    7418 allow_undefined_flag="-flat_namespace -undefined suppress" 
     7441allow_undefined_flag="" 
    74197442 
    74207443# Flag that forces no undefined symbols. 
     
    74227445 
    74237446# Commands used to finish a libtool library installation in a directory. 
    7424 finish_cmds="" 
     7447finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" 
    74257448 
    74267449# Same as above, but a single script fragment to be evaled but not shown. 
     
    74287451 
    74297452# Take the output of nm and produce a listing of raw symbols and C names. 
    7430 global_symbol_pipe="sed -n -e 's/^.*[   ]\\([BCDEGRST][BCDEGRST]*\\)[   ][      ]*\\(_\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'" 
     7453global_symbol_pipe="sed -n -e 's/^.*[   ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[       ][      ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'" 
    74317454 
    74327455# Transform the output of nm in a proper C declaration 
     
    74377460 
    74387461# This is the shared library runtime path variable. 
    7439 runpath_var= 
     7462runpath_var=LD_RUN_PATH 
    74407463 
    74417464# This is the shared library path variable. 
    7442 shlibpath_var=DYLD_LIBRARY_PATH 
     7465shlibpath_var=LD_LIBRARY_PATH 
    74437466 
    74447467# Is shlibpath searched before the hard-coded library search path? 
    7445 shlibpath_overrides_runpath=yes 
     7468shlibpath_overrides_runpath=no 
    74467469 
    74477470# How to hardcode a shared library path into an executable. 
     
    74497472 
    74507473# Whether we should hardcode library paths into libraries. 
    7451 hardcode_into_libs=no 
     7474hardcode_into_libs=yes 
    74527475 
    74537476# Flag to hardcode $libdir into a binary during linking. 
    74547477# This must work even if $libdir does not exist. 
    7455 hardcode_libdir_flag_spec="" 
     7478hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir" 
    74567479 
    74577480# If ld is used when linking, flag to hardcode $libdir into 
     
    74777500# Set to yes if building a shared library automatically hardcodes DIR into the library 
    74787501# and all subsequent libraries and executables linked against it. 
    7479 hardcode_automatic=yes 
     7502hardcode_automatic=no 
    74807503 
    74817504# Variables whose values should be saved in libtool wrapper scripts and 
    74827505# restored at relink time. 
    7483 variables_saved_for_relink="PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
     7506variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
    74847507 
    74857508# Whether libtool must link a program against all its dependency libraries. 
    7486 link_all_deplibs=yes 
     7509link_all_deplibs=no 
    74877510 
    74887511# Compile-time system search path for libraries 
    7489 sys_lib_search_path_spec=" /usr/lib/gcc/i686-apple-darwin8/4.0.1/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../../i686-apple-darwin8/lib/i686-apple-darwin8/4.0.1/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../../i686-apple-darwin8/lib/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../i686-apple-darwin8/4.0.1/ /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../ /lib/i686-apple-darwin8/4.0.1/ /lib/ /usr/lib/i686-apple-darwin8/4.0.1/ /usr/lib/  /lib /usr/lib /usr/local/lib" 
     7512sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.2.4 /usr/lib /lib" 
    74907513 
    74917514# Run-time system search path for libraries 
    7492 sys_lib_dlsearch_path_spec="/usr/local/lib /lib /usr/lib" 
     7515sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/local/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu " 
    74937516 
    74947517# Fix the shell variable $srcfile for the compiler. 
     
    75057528 
    75067529# Symbols that should not be listed in the preloaded symbols. 
    7507 exclude_expsyms="" 
     7530exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*" 
    75087531 
    75097532# Symbols that must always be exported.