Add an autoconf check for -retain-symbols-file and conditionalize
[oota-llvm.git] / autoconf / configure.ac
index 76083d27485ce33e20ea931204c615fee4cc684b..49a140cdc4a653392a61fc358bc4a7b3200156f4 100644 (file)
@@ -1022,6 +1022,9 @@ AC_LINK_USE_R
 dnl Determine whether the linker supports the -export-dynamic option.
 AC_LINK_EXPORT_DYNAMIC
 
+dnl Determine whether the linker supports the -retain-symbols-file option.
+AC_LINK_RETAIN_SYMBOLS_FILE
+
 dnl Check for libtool and the library that has dlopen function (which must come
 dnl before the AC_PROG_LIBTOOL check in order to enable dlopening libraries with
 dnl libtool).