Changeset 14328 for trunk/FACT++/.aux_dir/ltmain.sh
- Timestamp:
- 08/08/12 21:18:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/.aux_dir/ltmain.sh
r12832 r14328 1 1 2 # libtool (GNU libtool) 2.4 2 # libtool (GNU libtool) 2.4.2 3 3 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 4 4 5 5 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 6 # 2007, 2008, 2009, 2010 Free Software Foundation, Inc.6 # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. 7 7 # This is free software; see the source for copying conditions. There is NO 8 8 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. … … 42 42 # --no-quiet, --no-silent 43 43 # print informational messages (default) 44 # --no-warn don't display warning messages 44 45 # --tag=TAG use configuration variables from tag TAG 45 46 # -v, --verbose print more informational messages than default … … 70 71 # compiler flags: $LTCFLAGS 71 72 # linker: $LD (gnu? $with_gnu_ld) 72 # $progname: (GNU libtool) 2.4 Debian-2.4-2ubuntu173 # $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1 73 74 # automake: $automake_version 74 75 # autoconf: $autoconf_version … … 80 81 PROGRAM=libtool 81 82 PACKAGE=libtool 82 VERSION="2.4 Debian-2.4-2ubuntu1"83 VERSION="2.4.2 Debian-2.4.2-1ubuntu1" 83 84 TIMESTAMP="" 84 package_revision=1.3 29385 package_revision=1.3337 85 86 86 87 # Be Bourne compatible … … 137 138 : ${CP="cp -f"} 138 139 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} 139 : ${EGREP="/bin/grep -E"}140 : ${FGREP="/bin/grep -F"}141 : ${GREP="/bin/grep"}142 : ${LN_S="ln -s"}143 140 : ${MAKE="make"} 144 141 : ${MKDIR="mkdir"} 145 142 : ${MV="mv -f"} 146 143 : ${RM="rm -f"} 147 : ${SED="/bin/sed"}148 144 : ${SHELL="${CONFIG_SHELL-/bin/sh}"} 149 145 : ${Xsed="$SED -e 1s/^X//"} … … 388 384 *) 389 385 save_IFS="$IFS" 390 IFS= :386 IFS=${PATH_SEPARATOR-:} 391 387 for progdir in $PATH; do 392 388 IFS="$save_IFS" … … 772 768 s*\$LD*'"$LD"'* 773 769 s/\$with_gnu_ld/'"$with_gnu_ld"'/ 774 s/\$automake_version/'"`( automake--version) 2>/dev/null |$SED 1q`"'/775 s/\$autoconf_version/'"`( autoconf--version) 2>/dev/null |$SED 1q`"'/770 s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ 771 s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ 776 772 p 777 773 d … … 1053 1049 opt_help_all=false 1054 1050 opt_silent=: 1051 opt_warning=: 1055 1052 opt_verbose=: 1056 1053 opt_silent=false … … 1119 1116 --no-silent|--no-quiet) 1120 1117 opt_silent=false 1118 func_append preserve_args " $opt" 1119 ;; 1120 --no-warning|--no-warn) 1121 opt_warning=false 1121 1122 func_append preserve_args " $opt" 1122 1123 ;; … … 2060 2061 *.ada | *.adb | *.ads | *.asm | \ 2061 2062 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ 2062 *.[fF][09]? | *.for | *.java | *. obj | *.sx | *.cu | *.cup)2063 *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) 2063 2064 func_xform "$libobj" 2064 2065 libobj=$func_xform_result … … 3202 3203 # Set up the ranlib parameters. 3203 3204 oldlib="$destdir/$name" 3205 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 3206 tool_oldlib=$func_to_tool_file_result 3204 3207 3205 3208 func_show_eval "$install_prog \$file \$oldlib" 'exit $?' 3206 3209 3207 3210 if test -n "$stripme" && test -n "$old_striplib"; then 3208 func_show_eval "$old_striplib $ oldlib" 'exit $?'3211 func_show_eval "$old_striplib $tool_oldlib" 'exit $?' 3209 3212 fi 3210 3213 … … 3471 3474 # pic_flag when linking with -static. The problem exists in 3472 3475 # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. 3473 *-*-freebsd2 *|*-*-freebsd3.0*|*-*-freebsdelf3.0*)3476 *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) 3474 3477 pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; 3475 3478 *-*-hpux*) … … 3983 3986 func_exec_program () 3984 3987 { 3985 for lt_wr_arg 3986 do 3987 case \$lt_wr_arg in 3988 --lt-*) ;; 3989 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; 3990 esac 3991 shift 3992 done 3988 case \" \$* \" in 3989 *\\ --lt-*) 3990 for lt_wr_arg 3991 do 3992 case \$lt_wr_arg in 3993 --lt-*) ;; 3994 *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; 3995 esac 3996 shift 3997 done ;; 3998 esac 3993 3999 func_exec_program_core \${1+\"\$@\"} 3994 4000 } … … 5058 5064 EOF 5059 5065 func_emit_wrapper yes | 5060 $SED -e 's/\([\\"]\)/\\\1/g' \ 5061 -e 's/^/ fputs ("/' -e 's/$/\\n", f);/' 5062 5066 $SED -n -e ' 5067 s/^\(.\{79\}\)\(..*\)/\1\ 5068 \2/ 5069 h 5070 s/\([\\"]\)/\\\1/g 5071 s/$/\\n/ 5072 s/\([^\n]*\).*/ fputs ("\1", f);/p 5073 g 5074 D' 5063 5075 cat <<"EOF" 5064 5076 } … … 5644 5656 ;; 5645 5657 5646 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) 5658 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ 5659 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) 5647 5660 func_append compiler_flags " $arg" 5648 5661 func_append compile_command " $arg" … … 6151 6164 found=no 6152 6165 case $deplib in 6153 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) 6166 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ 6167 |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) 6154 6168 if test "$linkmode,$pass" = "prog,link"; then 6155 6169 compile_deplibs="$deplib $compile_deplibs" … … 6702 6716 fi 6703 6717 done 6718 if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then 6719 if test "$linkmode" != prog; then 6720 echo 6721 # $ECHO "*** Warning: Linking the executable $output against the loadable module" 6722 #else 6723 $ECHO "*** Warning: Linking the shared library $output against the loadable module" 6724 $ECHO "*** $linklib is not portable!" 6725 fi 6726 fi 6704 6727 if test "$linkmode" = lib && 6705 6728 test "$hardcode_into_libs" = yes; then … … 6826 6849 add="$dir/$linklib" 6827 6850 elif test "$hardcode_minus_L" = yes; then 6828 add_dir="-L$ dir"6851 add_dir="-L$absdir" 6829 6852 # Try looking first in the location we're being installed to. 6830 6853 if test -n "$inst_prefix_dir"; then … … 7311 7334 # 7312 7335 case $version_type in 7336 # correct linux to gnu/linux during the next big refactor 7313 7337 darwin|linux|osf|windows|none) 7314 7338 func_arith $number_major + $number_minor … … 7430 7454 ;; 7431 7455 7432 linux) 7456 linux) # correct to gnu/linux during the next big refactor 7433 7457 func_arith $current - $age 7434 7458 major=.$func_arith_result … … 8018 8042 # Test again, we may have decided not to build it any more 8019 8043 if test "$build_libtool_libs" = yes; then 8044 # Remove ${wl} instances when linking with ld. 8045 # FIXME: should test the right _cmds variable. 8046 case $archive_cmds in 8047 *\$LD\ *) wl= ;; 8048 esac 8020 8049 if test "$hardcode_into_libs" = yes; then 8021 8050 # Hardcode the library paths … … 8048 8077 case "$perm_rpath " in 8049 8078 *" $libdir "*) ;; 8050 *) func_appe d perm_rpath " $libdir" ;;8079 *) func_append perm_rpath " $libdir" ;; 8051 8080 esac 8052 8081 fi … … 8056 8085 test -n "$hardcode_libdirs"; then 8057 8086 libdir="$hardcode_libdirs" 8058 if test -n "$hardcode_libdir_flag_spec_ld"; then 8059 eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" 8060 else 8061 eval dep_rpath=\"$hardcode_libdir_flag_spec\" 8062 fi 8087 eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" 8063 8088 fi 8064 8089 if test -n "$runpath_var" && test -n "$perm_rpath"; then … … 9150 9175 done 9151 9176 fi 9177 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 9178 tool_oldlib=$func_to_tool_file_result 9152 9179 eval cmds=\"$old_archive_cmds\" 9153 9180 … … 9259 9286 func_basename "$deplib" 9260 9287 name="$func_basename_result" 9261 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` 9288 func_resolve_sysroot "$deplib" 9289 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` 9262 9290 test -z "$libdir" && \ 9263 9291 func_fatal_error "\`$deplib' is not a valid libtool archive"
Note:
See TracChangeset
for help on using the changeset viewer.