summaryrefslogtreecommitdiff
path: root/m4/lib-ignore.m4
AgeCommit message (Collapse)Author
2006-06-20(gl_IGNORE_UNUSED_LIBRARIES):Paul Eggert
Use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11 cc merely issues a bunch of annoying warnings for --as-needed (this problem was reported by Bob Proulx). Also, try linking with -lm to detect a bug in binutils 2.16 (this problem was reported by Ralf Wildenhues).
2006-06-19(gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils'sPaul Eggert
--as-needed option if available.
2006-01-21(gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignorePaul Eggert
rather than -Xlinker -z -Xlinker ignore, as it's more portable.
2006-01-17(gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as it's not portablePaul Eggert
and it doesn't work with cross-compiles. Fix missing-$ typo in 'test "gl_cv_ignore_unused_libraries" ...' that prevented -zignore from being used with Sun's C compiler.
2006-01-07Initial version.Paul Eggert