Differences From Artifact [1249f626fd]:
- File aclocal/dc_versionscript.m4 — part of check-in [3dee1a5953] at 2010-05-17 14:44:38 on branch trunk — Updated version-script detection macro (user: rkeene, size: 502) [annotate] [blame] [check-ins using]
To Artifact [7b1ee0452b]:
- File
aclocal/dc_versionscript.m4
— part of check-in
[521abe23e2]
at
2011-09-08 03:01:24
on branch trunk
— CACKey 0.6.4
Moved determining how to weaken and strip symbols into an autoconf macro
Added support for stripping symbols to Mac OS X builds (user: rkeene, size: 1146) [annotate] [blame] [check-ins using]
︙ | |||
18 19 20 21 22 23 24 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | LDFLAGS="${SAVE_LDFLAGS} ${addldflags}" AC_MSG_RESULT($addldflags) else LDFLAGS="${SAVE_LDFLAGS}" AC_MSG_RESULT([don't know]) fi ]) AC_DEFUN(DC_FIND_STRIP_AND_REMOVESYMS, [ SYMFILE="$1" dnl Determine how to strip executables AC_CHECK_TOOL(OBJCOPY, objcopy, [false]) AC_CHECK_TOOL(STRIP, strip, [false]) if test "x${STRIP}" = "xfalse"; then STRIP="${OBJCOPY}" fi WEAKENSYMS='true' REMOVESYMS='true' case $host_os in darwin*) REMOVESYMS="${STRIP} -s ${SYMFILE}" ;; *) if test "x${OBJCOPY}" != "xfalse"; then WEAKENSYMS="${OBJCOPY} --keep-global-symbols=${SYMFILE}" REMOVESYMS="${OBJCOPY} --discard-all" elif test "x${STRIP}" != "xfalse"; then REMOVESYMS="${STRIP} -x" fi ;; esac AC_SUBST(WEAKENSYMS) AC_SUBST(REMOVESYMS) ]) |