summaryrefslogtreecommitdiff
path: root/legacy/eet/configure.ac
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-12-03 18:27:17 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-12-03 18:27:17 +0000
commit98f2dfecd79944d81344f3db720d02fd0b6f72ac (patch)
treeff5ef5bb4c9ef2577f30cf3da99aeaa4fbe231bb /legacy/eet/configure.ac
parent5ef394f0bd8fe2ffd63a8c12dfa84882082311f2 (diff)
* eet: improve detection of -Wl,--as-needed
SVN revision: 55214
Diffstat (limited to 'legacy/eet/configure.ac')
-rw-r--r--legacy/eet/configure.ac15
1 files changed, 1 insertions, 14 deletions
diff --git a/legacy/eet/configure.ac b/legacy/eet/configure.ac
index 6e6e4289d2..11bced3dcd 100644
--- a/legacy/eet/configure.ac
+++ b/legacy/eet/configure.ac
@@ -415,20 +415,7 @@ case "$host_os" in
415esac 415esac
416AC_SUBST(lt_enable_auto_import) 416AC_SUBST(lt_enable_auto_import)
417 417
418# use --as-needed if supported 418EFL_LINKER_FLAG([-Wl,--as-needed])
419
420LDFLAGS_SAVE=${LDFLAGS}
421LDFLAGS="${LDFLAGS} -Wl,--as-needed"
422
423AC_LINK_IFELSE(
424 [AC_LANG_PROGRAM([[]], [])],
425 [ld_as_needed="-Wl,--as-needed"],
426 [ld_as_needed=""]
427)
428
429LDFLAGS=${LDFLAGS_SAVE}
430AC_SUBST(ld_as_needed)
431
432 419
433### Checks for library functions 420### Checks for library functions
434AC_FUNC_ALLOCA 421AC_FUNC_ALLOCA